A smart park management method and system
By introducing highly adaptive energy management algorithms and deep learning technology into the smart park management system, the shortcomings of the existing system in energy management, security monitoring and equipment maintenance are solved, and a more efficient, safer and more economical park is achieved. manage.
Patent Information
- Application Number
- CN202410569933.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-05-09
AI Technical Summary
The existing smart park management system lacks flexibility and adaptability in energy management, safety monitoring and equipment maintenance, and cannot effectively integrate multiple sources of energy, resulting in energy waste and increased costs; in terms of safety monitoring and fault prediction, real-time response and Insufficient early warning capabilities lead to increased security risks and maintenance costs.
Adopt highly adaptive energy management algorithms, use machine learning (especially reinforcement learning) to predict energy demand and dynamically adjust energy allocation, combine deep learning technology for real-time behavior monitoring and anomaly identification, and integrate data analysis tools for equipment failure prediction and optimized maintenance .
Significantly reduce energy waste, reduce costs, improve the accuracy and real-timeness of security monitoring, reduce equipment failure rates, reduce maintenance costs, and improve the overall performance and sustainability of park management.
Smart Images

Figure CN118378844B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of artificial intelligence, and in particular relates to a smart park management method and system. Background Art
[0002] In the current technological context, smart park management systems mainly focus on using IoT technology, artificial intelligence, and big data analysis to improve park energy management, security monitoring, and facility maintenance. These systems typically include functions such as energy consumption monitoring, intelligent optimization algorithms, and real-time security monitoring. However, existing smart park management solutions often face several key technical challenges and limitations.
[0003] First, existing systems often lack sufficient flexibility and adaptability in energy management. Although they can monitor energy consumption, they are often not intelligent enough in dynamically adjusting energy distribution and optimizing energy utilization, and cannot flexibly adjust energy supply strategies based on real-time data and forecast results. For example, for the management of multiple sources of energy (such as the combined use of solar energy, wind energy and traditional electricity), existing systems often fail to effectively integrate and optimize the use of these energy sources, resulting in energy waste and increased costs.
[0004] Secondly, although most systems use video surveillance and other sensors for security monitoring, the accuracy and real-time performance of behavior recognition and security warnings still need to be improved. Existing technologies often cannot respond in real time when processing large-scale data and conducting complex behavior analysis, and cannot effectively predict and prevent potential security risks.
[0005] Finally, although the smart campus management system integrates a variety of technologies for facility maintenance, its capabilities in preventive maintenance and fault prediction are not strong enough. Existing systems mostly rely on regular inspections or response measures after a fault occurs, and lack effective data analysis tools to predict equipment failures and automatically schedule maintenance, which leads to increased maintenance costs and reduced equipment operating efficiency. Summary of the invention
[0006] The purpose of this invention is to design a smart park management method and system, which introduces a highly adaptive energy management algorithm and uses machine learning algorithms (especially reinforcement learning) to predict energy demand and dynamically adjust energy allocation. Compared with the existing technology, this method can improve the accuracy and real-time performance of security monitoring and effectively prevent the occurrence of security accidents.
[0007] In order to achieve the above object, a first aspect of the present invention provides a smart park management method, the method comprising the following steps:
[0008] S1. Collect video data, pre-process the data and extract behavioral features, quantify the behavioral features for time series correlation analysis, build a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns;
[0009] S2. Integrate data from data sources and perform time series analysis on the data, and produce statistical reports; wherein the data sources include sensor data, equipment status, and safety monitoring output;
[0010] S3, use machine learning algorithms to monitor and analyze total equipment data to predict failures and maintenance needs;
[0011] S4. Build demand forecasting models and environmental impact models based on real-time data to analyze the data and optimize energy allocation; the real-time data includes temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building. Then, the real-time data is moved averaged to smooth short-term fluctuations, and the sliding average of each data is calculated. It is expressed as follows
[0012]
[0013] Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time;
[0014] The demand forecasting model is
[0015]
[0016] Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred represents the predicted demand;
[0017] S5. Build a multi-resource demand model to optimize the scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N mand machine state; wherein, the definition of reinforcement learning and the design of an Actor-Critic network to train reinforcement learning specifically include:
[0018] The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ;
[0019] Actions include decisions to adjust various energy inputs and resource allocations;
[0020] The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as:
[0021] R=-(c s P s +c w P w +c g P g +c w N w +c m N m )
[0022] Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively;
[0023] S6. Optimize the flow routes of people and vehicles through machine learning based on the data from the data source in S2.
[0024] Furthermore, each node in the behavior association graph represents a behavior state at a time point, and the edges between nodes represent the possibility and similarity of behavior conversion. The weight of the edge G ij The calculation is as follows:
[0025]
[0026] Among them, α represents the adaptive adjustment parameter, which is dynamically adjusted according to the scene to adapt to the sensitivity of behavior changes in different time and environment, and f ik represents the output of the kth feature channel after ReLU activation, f ik represents a feature vector.
[0027] Furthermore, the behavior association graph is trained to identify the behavior pattern, wherein the detection algorithm is as follows:
[0028]
[0029] Among them, ω j It represents the weight adjusted according to the proximity in time and space, N(x) represents the set of adjacent nodes of node x, S(x) represents the current calculated danger value, when S(x) exceeds the dynamically calculated threshold, the system automatically triggers an alarm.
[0030] Furthermore, the data is subjected to trend analysis and periodicity analysis using time series analysis, wherein the trend analysis is expressed as follows
[0031]
[0032]
[0033] in, represents the predicted value, X t represents the actual observed value, b t represents the trend component, and α and β represent smoothing parameters.
[0034] Furthermore, the S3 specifically includes:
[0035] S301, collect total equipment data and standardize the data;
[0036] S302, constructing a physical model and estimating model parameters; wherein the model parameters are estimated using the least squares method; wherein the physical model is expressed as follows:
[0037]
[0038] Where T represents the motor temperature, P represents the heat generated by the motor power, h represents the convection heat transfer coefficient, A represents the motor surface area, and T env represents the ambient temperature, m and c represent the motor mass and specific heat capacity respectively;
[0039] S303. Based on the physical model and real-time sensor data, define the total equipment health index H, which is expressed as follows:
[0040]
[0041] Among them, T nom Indicates the nominal operating temperature of the equipment, T max Indicates the maximum safe operating temperature;
[0042] S304: Monitor the total equipment health index H and trigger an early warning based on the monitoring situation.
[0043] Furthermore, the S4 also includes periodically identifying the data and predicting the demand peak and valley, as shown below:
[0044]
[0045] Among them, x n represents the nth data point in the time series, X k Represents the complex amplitude of the kth frequency component.
[0046] Furthermore, the multi-resource demand model uses a vector autoregression model to jointly predict power demand, manpower demand and machinery use demand, as shown below:
[0047]
[0048] Among them, Φ1,…,Φ p is the model coefficient matrix, c is the constant vector, ∈ is the error vector; They represent electricity demand, manpower demand and machinery use demand respectively; E t-i ,N w,t-i ,N m,t-i They represent the electricity demand, manpower demand and machinery usage demand at the i-th time point in the past, i∈[1.2.3...p].
[0049] Furthermore, based on minimizing the total cost, including energy cost, labor cost and equipment operation cost, an optimization model is constructed, which is expressed as follows:
[0050] minimizeC=c s P s +c w P w +c g P g +c w N w +c m N m
[0051] subject to P s +P w +P g ≥E required ,N w ≥N w,required ,N m ≥N m,required
[0052] Among them, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively.
[0053] Furthermore, the S6 specifically includes:
[0054] S601, collect data from the data source and perform standardization processing;
[0055] S602: Building a load balancing network flow model, including:
[0056] The park map is converted into a weighted graph, where nodes represent key locations and edges represent feasible paths. The edge weights are dynamically adjusted, and a time variable is introduced to adjust the weights to reflect traffic changes in different time periods. The improved Dijkstra algorithm is applied, in which the path cost function considers time, distance, and congestion level, as shown below:
[0057] Cost i,j =time i,j +λ×congestion i,j
[0058] Among them, λ represents the congestion sensitivity parameter, time i,j and congestion i,j Respectively represent the travel time from node i to j and the current congestion level; Cost i,j represents the path cost;
[0059] S603: Perform real-time path optimization and resource scheduling according to the path cost, including:
[0060] The path cost function based on time step t is defined as:
[0061] Cost i,j (t) = t i,j +λ·c i,j (t)
[0062] Among them, t i,j represents the basic travel time from node i to j, c i,j (t) represents the congestion factor based on time t, λ represents the adjustment coefficient, which is used to balance the weight of time and congestion;
[0063] Design a dynamic path optimization algorithm:
[0064] f(n)=g(n)+h(n)
[0065] Where g(n) represents the known cost from the starting point to node n, and h(n) represents the estimated minimum cost from node n to the target;
[0066] Real-time resource scheduling:
[0067] R k (t) = α·D k (t)+β·S k (t)
[0068] Among them, R k (t) represents the adjustment level of resource k at time t, D k (t) represents demand forecast, S k (t) represents the current state of resource k, α and β represent adjustment parameters;
[0069] Wherein, the S6 at least includes the following steps:
[0070] Iterate based on system performance indicator analysis and system feedback data.
[0071] In a second aspect of the present invention, a smart park management system is provided, the system comprising:
[0072] The video data acquisition unit is used to collect video data, pre-process the data and extract behavioral features, quantify the behavioral features for time series correlation analysis, construct a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns;
[0073] A time series analysis unit, used to integrate data from data sources, perform time series analysis on the data, and generate statistical reports; wherein the data sources include sensor data, equipment status, and safety monitoring output;
[0074] A machine learning prediction unit, which is used to monitor and analyze total equipment data using machine learning algorithms to predict failures and maintenance needs;
[0075] The energy allocation optimization unit is used to build a demand forecasting model and an environmental impact model based on real-time data to analyze the data and optimize energy allocation; the real-time data includes the temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building. Then, the real-time data is moved averaged to smooth short-term fluctuations, and the sliding average of each data is calculated. It is expressed as follows
[0076]
[0077] Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time;
[0078] The demand forecasting model is
[0079]
[0080] Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred represents the predicted demand;
[0081] The optimization scheduling strategy unit is used to build a multi-resource demand model to optimize the scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N m and machine state; wherein, the definition of reinforcement learning and the design of an Actor-Critic network to train reinforcement learning specifically include:
[0082] The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ;
[0083] Actions include decisions to adjust various energy inputs and resource allocations;
[0084] The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as:
[0085] R=-(c s P s +c w P w +c g P g +c w N w +c m N m )
[0086] Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively;
[0087] The flow route optimization unit is used to optimize the flow routes of people and vehicles through machine learning based on the data of the data source in the time series analysis unit.
[0088] The beneficial technical effects of the present invention are at least as follows:
[0089] (1) The present invention introduces a highly adaptive energy management algorithm that uses machine learning algorithms (particularly reinforcement learning) to predict energy demand and dynamically adjust energy allocation. The system is able to integrate energy inputs from different sources, such as solar energy, wind energy, and the power grid, and optimize energy usage strategies in real time based on energy prices and usage needs, significantly reducing energy waste and costs.
[0090] (2) The present invention uses advanced deep learning technologies (such as convolutional neural networks and long short-term memory networks) to monitor and analyze behavioral patterns in the park in real time, automatically identify abnormal behaviors and respond quickly. Compared with existing technologies, this method can improve the accuracy and real-time performance of security monitoring and effectively prevent the occurrence of safety accidents.
[0091] (3) The present invention integrates advanced data analysis tools, utilizes the large amount of equipment operation data collected by the Internet of Things, and predicts potential equipment failures through data mining and machine learning techniques. This enables park managers to implement preventive maintenance, reduce equipment failure rates, reduce maintenance costs, and improve the overall operating efficiency of equipment.
[0092] (4) The present invention not only solves the limitations of existing technologies in energy management, security monitoring and equipment maintenance, but also provides a more efficient, safer and more economical solution for park management. These innovations accurately solve the core problems of existing technologies and improve the overall performance and sustainability of park management. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0094] Figure 1 This is a flow chart of a smart park management method according to an embodiment of the present invention.
[0095] Figure 2 This is a framework diagram of a smart park management system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0096] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0097] In one or more embodiments, Figure 1 As shown, a smart park management method of the present invention is disclosed, and the method includes steps 1 to 6, including:
[0098] S1. Collect video data, pre-process the data and extract behavioral features, quantify the behavioral features for time series correlation analysis, build a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns.
[0099] Specifically, a high-resolution camera system is configured to cover all key areas of the park, collect video streams in real time, and apply real-time image segmentation algorithms (such as U-Net or MaskR-CNN) to distinguish foreground (individuals) from background to reduce noise and errors in subsequent analysis. A pre-trained deep convolutional neural network (such as VGG-16 or ResNet) is used to extract behavioral features from the segmented images. The feature vector F generated by each image frame i =[f i1 ,f i2 ,…,f in ], where f ij Represents the output of the jth feature channel activated by ReLU, ensuring that all eigenvalues are non-negative and enhancing the nonlinear expression ability of the model.
[0100] Perform time series correlation analysis on the feature vectors and construct a behavior graph. Each node represents the behavior state at a time point, and the edges between nodes represent the possibility and similarity of behavior conversion. The weight of the edge G ij The calculation is as follows:
[0101]
[0102] Among them, α represents the adaptive adjustment parameter, which is dynamically adjusted according to the scene to adapt to the sensitivity of behavior changes in different time and environment, and f ik represents the output of the kth feature channel after ReLU activation, f ik represents a feature vector.
[0103] Specifically, we apply graph convolutional network (GCN) to conduct deep learning on behavior graphs and identify behavior patterns. The anomaly detection algorithm is as follows:
[0104]
[0105] Among them, ω j is a weight adjusted according to temporal and spatial proximity, and N(x) is the set of neighboring nodes of node x. When S(x) exceeds a dynamically calculated threshold, the system automatically triggers an alarm.
[0106] As an embodiment of the present invention, the system monitors through real-time data streams. Once abnormal behavior is detected, a visual alarm is immediately issued in the control center, pointing to the specific camera location and timestamp to facilitate rapid response and processing. At the same time, for specific types of abnormalities that occur frequently, the system adjusts the model parameters through a self-learning mechanism to improve the accuracy of prediction and the timeliness of response.
[0107] S2. Integrate data from data sources, perform time series analysis on the data, and generate statistical reports; wherein the data sources include sensor data, equipment status, and safety monitoring output.
[0108] Specifically, the data sources include but are not limited to environmental sensor data (temperature T, humidity H, light intensity L), device status (on / off status S, energy consumption E) and security monitoring output (number of people in the area N, alarm status A). Then, all sensor outputs are time-stamped and standardized to ensure data synchronization, as shown below:
[0109] t'=t-t0
[0110] Among them, t is the original timestamp, t0 is the start time of the data collection day, and t' is the aligned timestamp.
[0111] As an embodiment of the present invention, the relationship between physical quantities is established through basic physical laws and actual measurements. For example, the relationship between the device energy consumption E and the ambient temperature T and the device state S can be expressed as:
[0112] E=β1TS+β2S
[0113] Among them, β1 and β2 are coefficients obtained through historical data regression analysis, which represent the impact of temperature and equipment switching status on energy consumption.
[0114] Specifically, the integrated model provides in-depth data insights and trend predictions to support decision-making in park operations and resource management.
[0115] Furthermore, for data showing obvious seasonal changes in environmental parameters such as temperature and humidity, seasonal adjustment methods are used to eliminate the influence of seasonal effects. This can be achieved through seasonal decomposition of time series (STL), the formula is:
[0116] X tadjusted =X t -S t
[0117] Among them, X t is the original time series data, S t is the seasonal component obtained from the STL decomposition.
[0118] Among them, time series analysis includes trend analysis and periodicity analysis. Time series analysis uses time series analysis methods (such as the Holt-Winters method) to predict the long-term trend of data. The formula is:
[0119]
[0120]
[0121] in, is the predicted value, X t is the actual observed value, b t is the trend component, α and β are smoothing parameters.
[0122] Periodicity analysis is the identification of recurring patterns or periodic changes in data to help predict demand fluctuations or resource usage peaks. Periodicity analysis can be identified using the autocorrelation function (ACF) and partial autocorrelation function (PACF).
[0123] Furthermore, statistical reports are generated to provide management with descriptive statistics of key indicators, including mean, median, standard deviation, skewness and kurtosis. This helps to depict the distribution characteristics and variability of the data. At the same time, based on the trend and periodicity analysis results, detailed reports are generated to point out possible risk areas and optimization opportunities. These reports will place special emphasis on optimizing cost control of resource utilization.
[0124] S3. Use machine learning algorithms to monitor and analyze total equipment data to predict failures and maintenance needs, including:
[0125] S301, collect total equipment data and standardize the data;
[0126] Specifically, the total equipment data includes sensor data such as temperature T (degrees Celsius), pressure P (Pascals), speed R (rev / min), current I (amperes), etc. The data is collected from various types of equipment such as pumps, motors, compressors, etc.
[0127] The data is first received from each sensor through a real-time data acquisition system, and then all the data are standardized using the formula:
[0128]
[0129] Here, x' is a normalized value to make sensor data of different types and ranges comparable.
[0130] S302, construct a physical model and estimate model parameters (the model describes the thermal behavior of the motor, taking into account energy input, heat dissipation and environmental interaction); wherein the estimated model parameters are estimated using the least square method, such as h, A, m, and c; wherein the physical model is expressed as follows:
[0131]
[0132] Where T represents the motor temperature, P represents the heat generated by the motor power, h represents the convection heat transfer coefficient, A represents the motor surface area, and T env represents the ambient temperature, m and c represent the motor mass and specific heat capacity respectively;
[0133] S303. Based on the physical model and real-time sensor data, define the total equipment health index H, which is expressed as follows:
[0134]
[0135] Among them, T nom Indicates the nominal operating temperature of the equipment, T max Indicates the maximum safe operating temperature;
[0136] Among them, the operating data is compared with the model prediction data in real time, the health indicators are calculated, and the monitoring indicators cross the preset thresholds. For example, when H is lower than 0.8, an early warning is triggered.
[0137] S304, monitoring the total equipment health index H, and triggering an early warning according to the monitoring situation;
[0138] Specifically, when the health indicator drops below the warning threshold, the system automatically triggers a warning, which includes the device ID, current health indicator, and recommended maintenance operations. Based on the specific value of the health indicator, the system automatically generates maintenance recommendations, such as replacing worn parts, adjusting operating parameters, or performing maintenance. Maintenance recommendations are intended to prevent possible equipment failures and ensure that the equipment operates in the best condition.
[0139] S4. Build demand forecasting models and environmental impact models based on real-time data to analyze the data and optimize energy allocation; the real-time data includes temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building. Then, the real-time data is moved averaged to smooth short-term fluctuations, and the sliding average of each data is calculated. It is expressed as follows
[0140]
[0141] Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time;
[0142] Using Fourier transforms to analyze the periodicity of energy usage data, we can predict possible peaks and valleys in demand:
[0143]
[0144] Among them, x n is the nth data point in the time series, X k is the complex amplitude of the kth frequency component;
[0145] Reconstruct the environmental impact model and establish the impact model of environmental factors on energy demand, such as the impact of temperature and light on the HVAC system:
[0146] E HVAC =αT+βL+γ
[0147] Among them, α and β are coefficients obtained by historical data regression, reflecting the sensitivity of temperature and light changes to energy demand, and γ is a constant term
[0148] The energy demand forecasting is performed by combining the above analysis results with a multivariate linear regression model. The demand forecasting model is:
[0149]
[0150] Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred Represents the predicted demand.
[0151] Specific, based on forecasted demand E pred , the system automatically generates energy scheduling suggestions, such as adjusting air conditioning settings, lighting control, etc., to optimize energy efficiency.
[0152] The collected data is uploaded in real time through loT devices and organized according to a predetermined format to ensure the timeliness and integrity of the data.
[0153] S5. Build a multi-resource demand model to optimize the scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N m and machine status;
[0154] The multi-resource demand model uses a vector autoregression model to jointly predict power demand, manpower demand and machinery use demand, as shown below:
[0155]
[0156] Among them, Φ1,…,Φ p is the model coefficient matrix, c is the constant vector, ∈ is the error vector; They represent electricity demand, manpower demand and machinery use demand respectively; E t-i ,N w,t-i ,N m,t-i They represent the electricity demand, manpower demand and machinery usage demand at the i-th time point in the past, i∈[1.2.3...p].
[0157] Based on minimizing the total cost, including energy cost, labor cost and equipment operation cost, an optimization model is constructed, which is expressed as follows:
[0158] minimizeC=c s P s +c w P w +c g P g +c w N w +c m N m
[0159] subject to P s +P w +P g ≥E required ,N w ≥N w,required ,N m ≥N m,required
[0160] Among them, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively;
[0161] The definition of reinforcement learning and the design of an Actor-Critic network for training reinforcement learning specifically include:
[0162] The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ;
[0163] Actions include decisions to adjust various energy inputs and resource allocations; The actions that the agent can take include decisions to adjust various energy inputs and resource allocations, such as increasing or decreasing solar output ΔP s , wind energy output ΔP w , Mains power usage ΔP g , adjust manpower ΔN w and mechanical use ΔN m ;
[0164] The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as:
[0165] R=-(c s P s +c w P w +c g P g +c w N w +c m N m )
[0166] Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively.
[0167] Specifically, data integration includes real-time collection of the usage status and availability of all resources and synchronous updating of the resource database to reflect the current resource configuration.
[0168] Specifically, the actor network (Actor) is responsible for generating actions in a given state. The network input is the current state, and the output is the corresponding action. The critic network (Critic) evaluates the value of the current state and the action selected by the actor. The input is the state and action, and the output is the value function estimate of the state-action pair. The experience replay mechanism is then used for training, storing the transfer (state, action, reward, new state) of each time step, and using random sample batches for network training to break time correlation and reduce variance. The actor network is responsible for generating the optimal action, and the critic network is responsible for optimizing the value function estimate through the gradient descent method. The soft update strategy is used to gradually adjust the weights of the target network to the weights of the main network to maintain the stability of the learning process.
[0169] In each decision cycle, the optimal action is generated through the actor network based on the current state, and resource allocation is adjusted in real time. As external conditions (such as weather changes, market price fluctuations, etc.) and internal conditions (such as equipment aging, maintenance needs, etc.) change, the system continuously receives new status information and dynamically adjusts strategies to cope with real-time changes.
[0170] S6. Based on the data from the data source in S2, optimize the flow routes of people and vehicles through machine learning, including:
[0171] S601, collect data from the data source and perform standardization processing;
[0172] Specifically, real-time crowd flow data: collected through Wi-Fij tracking, video surveillance, access control systems, etc.
[0173] Traffic flow data: collected through geomagnetic sensors, ANPR (automatic number plate recognition system), etc.
[0174] Resource status data: including meeting room occupancy, restaurant seat usage, parking space availability, etc.
[0175] Preprocessing involves synchronizing and integrating real-time information from various data points using a central data processing center (CDC), including cleaning, normalization, and time series analysis to ensure data quality and consistency.
[0176] S602: Building a load balancing network flow model, including:
[0177] The campus map is converted into a weighted graph, where nodes represent key locations and edges represent feasible paths. The edge weights are designed to be dynamically adjusted based on real-time data to reflect the congestion level or resource utilization rate of the path. At the same time, a time variable is introduced to adjust the weight to reflect the traffic changes in different time periods. The improved Dijkstra algorithm is applied, in which the path cost function takes into account time, distance, and congestion level, as shown below:
[0178] Cost i,j =time i,j +λ×congestion i,j
[0179] Among them, λ represents the congestion sensitivity parameter, time i,j and congestion i,j Respectively represent the travel time from node i to j and the current congestion level; Cost i,j represents the path cost;
[0180] S603: Perform real-time path optimization and resource scheduling according to the path cost, including:
[0181] The path cost function based on time step t is defined as:
[0182] Cost i,j (t) = t i,j +λ·c i,j (t)
[0183] Among them, t i,j represents the basic travel time from node i to j, c i,j (t) represents the congestion factor based on time t, λ represents the adjustment coefficient, which is used to balance the weight of time and congestion;
[0184] Design a dynamic path optimization algorithm, using the A* search algorithm, taking into account the actual travel time and expected congestion between nodes:
[0185] f(n)=g(n)+h(n)
[0186] Where g(n) represents the known cost from the starting point to node n, and h(n) represents the estimated minimum cost from node n to the target;
[0187] Adjust the availability and configuration of key resources based on real-time and forecast data:
[0188] R k (t) = α·D k (t)+β·S k (t)
[0189] Among them, R k (t) represents the adjustment level of resource k at time t, D k (t) represents demand forecast, S k (t) represents the current state of resource k, α and β represent adjustment parameters;
[0190] Iterate based on system performance indicator analysis and system feedback data:
[0191] Calculate the system performance index P, which measures the proportion of optimal path selection to evaluate the effectiveness of the system:
[0192]
[0193] Adjust model parameters based on feedback data:
[0194]
[0195] Among them, θ is the model parameter, η is the learning rate, is the gradient of the cost function J with respect to the parameter θ, and D is the collected feedback data.
[0196] As an embodiment of the present invention, periodic model retraining and parameter adjustment are implemented to adapt to new data and operating environment, monitor key performance indicators, and adjust system configuration based on historical trends and predictive models.
[0197] Through these detailed steps and formulas, not only can real-time and accurate navigation and resource scheduling solutions be provided, but also self-optimization can be achieved through a powerful feedback mechanism to ensure long-term and continuous system performance improvement. The implementation of this approach will greatly improve the operational efficiency and user satisfaction of the smart park.
[0198] In one or more embodiments, Figure 2 As shown, a smart park management system of the present invention is disclosed, and the system includes:
[0199] The video data acquisition unit 101 is used to acquire video data, pre-process the data and extract behavioral features, quantize the behavioral features for time series correlation analysis, construct a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns;
[0200] A time series analysis unit 102, for integrating data from data sources, performing time series analysis on the data, and generating statistical reports; wherein the data sources include sensor data, device status, and safety monitoring output;
[0201] A machine learning prediction unit 103, for monitoring and analyzing total equipment data using a machine learning algorithm to predict failures and maintenance requirements;
[0202] The energy allocation optimization unit 104 is used to build a demand prediction model and an environmental impact model based on real-time data to analyze the data and optimize energy allocation; the real-time data includes the temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building, and then smooth short-term fluctuations by moving the real-time data average method, and calculate the sliding average of each data. It is expressed as follows
[0203]
[0204] Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time;
[0205] The demand forecasting model is
[0206]
[0207] Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred represents the predicted demand;
[0208] The optimization scheduling strategy unit 105 is used to build a multi-resource demand model optimization scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar energy P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N m and machine state; wherein, the definition of reinforcement learning and the design of an Actor-Critic network to train reinforcement learning specifically include:
[0209] The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ;
[0210] Actions include decisions to adjust various energy inputs and resource allocations;
[0211] The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as:
[0212] R=-(c s P s +c w P w +c g P g +c w N w +c m N m )
[0213] Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively;
[0214] The flow route optimization unit 106 is used to optimize the flow routes of people and vehicles through machine learning based on the data of the data source in the time series analysis unit.
[0215] In summary, the present invention uses advanced deep learning technologies, such as convolutional neural networks and recurrent neural networks, to monitor the behavior of personnel and vehicles in the park in real time, ensuring that abnormal situations can be identified and responded to in a timely manner. This step not only improves the safety level of the park, but also provides rich behavioral data and safety status information for subsequent steps. By using advanced deep learning technologies, such as convolutional neural networks and recurrent neural networks, the behavior of personnel and vehicles in the park is monitored in real time, ensuring that abnormal situations can be identified and responded to in a timely manner. This step not only improves the safety level of the park, but also provides rich behavioral data and safety status information for subsequent steps. By using advanced deep learning technologies, such as convolutional neural networks and recurrent neural networks, the behavior of personnel and vehicles in the park is monitored in real time, ensuring that abnormal situations can be identified and responded to in a timely manner. This step not only improves the safety level of the park, but also provides rich behavioral data and safety status information for subsequent steps. Based on the data generated in the previous steps, especially the comprehensive information from the intelligent analysis platform, this step uses time series analysis and prediction models to predict energy demand. By accurately predicting energy demand in different time periods, decision support is provided for energy allocation to ensure the optimization of energy use. After accurately predicting energy demand, an energy management system based on optimization algorithms such as genetic algorithms is used to dynamically adjust energy supply and integrate multiple energy resources such as solar energy and wind energy to achieve the lowest cost and most efficient energy use. This directly solves the inefficiency and waste of energy management in existing technologies. Finally, based on real-time data and prediction results, the system optimizes the flow of people and vehicles in the park, provides real-time route suggestions and resource scheduling solutions, reduces congestion, and improves the overall operational efficiency of the park.
[0216] The above disclosures are only some preferred embodiments of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.
Claims
1. A smart park management method, characterized in that: The method comprises the following steps: S1. Collect video data, pre-process the data and extract behavioral features, quantify the behavioral features for time series correlation analysis, build a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns; S2. Integrate data from data sources and perform time series analysis on the data, and produce statistical reports; wherein the data sources include sensor data, equipment status, and safety monitoring output; S3. Use machine learning algorithms to monitor and analyze total equipment data to predict failures and maintenance needs, including: S301, collect total equipment data and standardize the data; S302, constructing a physical model and estimating model parameters; wherein the model parameters are estimated using the least squares method; wherein the physical model is expressed as follows: Where T represents the motor temperature, P represents the heat generated by the motor power, h represents the convection heat transfer coefficient, A represents the motor surface area, and T env represents the ambient temperature, m and c represent the motor mass and specific heat capacity respectively; S303. Based on the physical model and real-time sensor data, define the total equipment health index H, which is expressed as follows: Among them, T nom Indicates the nominal operating temperature of the equipment, T max Indicates the maximum safe operating temperature; S304, monitoring the total equipment health index H, and triggering an early warning according to the monitoring situation; S4. Build demand forecasting models and environmental impact models based on real-time data to analyze the data and optimize energy allocation; the real-time data includes temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building. Then, the real-time data is moved averaged to smooth short-term fluctuations and calculate the sliding average of each data. It is expressed as follows Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time; The demand forecasting model is Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred represents the predicted demand; S5. Build a multi-resource demand model to optimize the scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N m and machine state; wherein, the definition of reinforcement learning and the design of an Actor-Critic network to train reinforcement learning specifically include: The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ; Actions include decisions to adjust various energy inputs and resource allocations; The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as: R=-(c s P s +c w P w +c g P g +c w N w +c m N m ) Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively; S6. Optimize the flow routes of people and vehicles through machine learning based on the data from the data source in S2.
2. A smart park management method according to claim 1, characterized in that: Each node in the behavior association graph represents a behavior state at a time point, and the edges between nodes represent the possibility and similarity of behavior conversion. The weight of the edge G ij The calculation is as follows: Among them, α represents the adaptive adjustment parameter, which is dynamically adjusted according to the scene to adapt to the sensitivity of behavior changes in different time and environment, and f ik represents the output of the kth feature channel after ReLU activation, f ik represents a feature vector.
3. A smart park management method according to claim 2, characterized in that: The behavior association graph is trained to identify the behavior pattern, wherein the detection algorithm is as follows: Among them, ω j It represents the weight adjusted according to the proximity in time and space, N(x) represents the set of adjacent nodes of node x, S(x) represents the current calculated danger value, when S(x) exceeds the dynamically calculated threshold, the system automatically triggers an alarm.
4. A smart park management method according to claim 1, characterized in that: The data is subjected to time series analysis, trend analysis and periodicity analysis, wherein the trend analysis is expressed as follows in, represents the predicted value, X t represents the actual observed value, b t represents the trend component, and α and β represent smoothing parameters.
5. A smart park management method according to claim 1, characterized in that: The S4 also includes periodic identification of data and prediction of demand peaks and valleys, as shown below: Among them, x n represents the nth data point in the time series, X k Represents the complex amplitude of the kth frequency component.
6. A smart park management method according to claim 1, characterized in that: The multi-resource demand model uses a vector autoregression model to jointly predict power demand, manpower demand and machinery use demand, as shown below: Among them, Φ1,…,Φ p is the model coefficient matrix, c is the constant vector, ∈ is the error vector; They represent electricity demand, manpower demand and machinery use demand respectively; E t-i ,N w,t-i ,N m,t-i They represent the electricity demand, manpower demand and machinery usage demand at the i-th time point in the past, i∈[1.2.3...p].
7. A smart park management method according to claim 6, characterized in that: Based on minimizing the total cost, including energy cost, labor cost and equipment operation cost, an optimization model is constructed, which is expressed as follows: minimizeC=c s P s +c w P w +c g P g +c w N w +c m N m subject to P s +P w +P g ≥E required ,N w ≥N w,required ,N m ≥N m,required Among them, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively.
8. A smart park management method according to claim 1, characterized in that: The S6 specifically includes: S601, collect data from the data source and perform standardization processing; S602: Building a load balancing network flow model, including: The park map is converted into a weighted graph, where nodes represent key locations and edges represent feasible paths. The edge weights are dynamically adjusted, and a time variable is introduced to adjust the weights to reflect traffic changes in different time periods. The improved Dijkstra algorithm is applied, in which the path cost function considers time, distance, and congestion level, as shown below: Cost i,j =time i,j +λ×congestion i,j Among them, λ represents the congestion sensitivity parameter, time i,j and congestion i,j Respectively represent the travel time from node i to j and the current congestion level; Cost i,j represents the path cost; S603: Perform real-time path optimization and resource scheduling according to the path cost, including: The path cost function based on time step t is defined as: Cost i,j (t)=t i,j +λ·c i,j (t) Among them, t i,j represents the basic travel time from node i to j, c i,j (t) represents the congestion factor based on time t, λ represents the adjustment coefficient, which is used to balance the weight of time and congestion; Design a dynamic path optimization algorithm: f(n)=g(n)+h(n) Where g(n) represents the known cost from the starting point to node n, and h(n) represents the estimated minimum cost from node n to the target; Real-time resource scheduling: R k (t)=α·D k (t)+β·S k (t) Among them, R k (t) represents the adjustment level of resource k at time t, D k (t) represents the demand forecast, S k (t) represents the current state of resource k, α and β represent adjustment parameters; Wherein, the S6 at least includes the following steps: Iterate based on system performance indicator analysis and system feedback data.
9. A smart park management system, characterized in that: The system comprises: The video data acquisition unit is used to collect video data, pre-process the data and extract behavioral features, quantify the behavioral features for time series correlation analysis, construct a behavioral correlation graph, train the behavioral correlation graph, and identify behavioral patterns; A time series analysis unit, used to integrate data from data sources, perform time series analysis on the data, and produce statistical reports; wherein the data sources include sensor data, equipment status, and safety monitoring output; The machine learning prediction unit is used to monitor and analyze total equipment data using machine learning algorithms to predict failures and maintenance needs, including: S301, collect total equipment data and standardize the data; S302, constructing a physical model and estimating model parameters; wherein the model parameters are estimated using the least squares method; wherein the physical model is expressed as follows: Where T represents the motor temperature, P represents the heat generated by the motor power, h represents the convection heat transfer coefficient, A represents the motor surface area, and T env represents the ambient temperature, m and c represent the motor mass and specific heat capacity respectively; S303. Based on the physical model and real-time sensor data, define the total equipment health index H, which is expressed as follows: Among them, T nom Indicates the nominal operating temperature of the equipment, T max Indicates the maximum safe operating temperature; S304, monitoring the total equipment health index H, and triggering an early warning according to the monitoring situation; The energy allocation optimization unit is used to build a demand forecasting model and an environmental impact model based on real-time data to analyze the data and optimize energy allocation; the real-time data includes the temperature T, humidity H, light L, current energy usage E, and building occupancy O inside and outside the building. Then, the real-time data is moved averaged to smooth short-term fluctuations, and the sliding average of each data is calculated. It is expressed as follows Among them, n represents the moving window size, x i represents the real-time data to be calculated, t represents the original timestamp, and i represents the lower bound of the window time; The demand forecasting model is Among them, a1, a2, a3, and a4 represent model parameters, which are learned from historical data through machine learning algorithms; b represents the bias term; represents the average temperature, Represents the average humidity value, represents the average light intensity. Indicates the average building occupancy; E pred represents the predicted demand; The optimization scheduling strategy unit is used to build a multi-resource demand model to optimize the scheduling strategy based on the predicted demand and real-time data, define reinforcement learning to minimize the total cost, and then manage and schedule resources; the resources include electricity, manpower and mechanical equipment resources, and the power resources include solar P s 、Wind Energy w and mains P g , the human resources include the number of staff N w The mechanical equipment resources include the number of machines in use N m and machine state; wherein, the definition of reinforcement learning and the design of an Actor-Critic network to train reinforcement learning specifically include: The state includes the energy supply P at the current time step s ,P w ,P g and the human and mechanical usage status N w ,N m ; Actions include decisions to adjust various energy inputs and resource allocations; The reward function is the negative of the cost function, and the goal is to minimize the total cost, expressed as: R=-(c s P s +c w P w +c g P g +c w N w +c m N m ) Among them, R represents the reward function, c s ,c w ,c g ,c w ,c m Represent the unit costs of solar energy, wind energy, city electricity, manpower and machinery respectively; The flow route optimization unit is used to optimize the flow routes of people and vehicles through machine learning based on the data of the data source in the time series analysis unit.
