Urban operation data sensing method and system based on digital twinning
By analyzing the time and location of the event, combined with the update interval of the data source, we calculate the linkage coefficient and perception probability, and perform dimensionality reduction of the data source. This solves the problem of the destruction of interpretation relationships when reducing the dimensionality of multi-dimensional data sources in the digital twin model, and improves urban efficiency. Perceived efficiency and accuracy of digital twins.
Patent Information
- Application Number
- CN202411008168.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The existing digital twin model destroys the interpretation relationship between data sources when reducing the dimensionality of multi-dimensional data sources, causing the accuracy of the digital twin model to be affected. Especially in urban operation data, real-time updates of heterogeneous data sources may lead to over-simulation. The problem of integration and generality collapse.
By analyzing the time and place of the event in the digital twin model, combined with the update interval of each data source, we obtain associated slices and associated data points, calculate the linkage coefficient of the event, quantify the interpretability of the event, and based on the combination of data sources The recall rate and information carrying rate are used to obtain the perceived probability of the data source, and then dimensionality reduction is performed to ensure that the reduced data source retains effective and interpretable event information.
It improves the perception efficiency of the urban digital twin model, ensures that the interpretation relationship between data sources is preserved, and enhances the ability to accurately perceive urban operation data. It is suitable for large-scale and dynamically changing urban operation data.
Smart Images

Figure CN118550928A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and system for perceiving urban operation data based on digital twins. Background Art
[0002] The city perception system relies on the Internet of Things technology to collect various data on urban operations, including traffic flow, air quality, energy use, etc., and uses digital twin technology to generate a detailed urban digital twin model of these data, including geographic information, buildings, infrastructure, transportation networks, etc. In the digital twin model, patterns can be identified, trends can be predicted, and urban operations in different scenarios can be simulated with the help of visualization forms such as charts, maps, and dashboards, helping city managers to monitor the city's operating status in real time and simulate the impact of decisions, so as to make more scientific management decisions.
[0003] High-precision perception of urban operations must be real-time, so the digital twin model is required to be updated regularly or continuously based on new data inputs. However, there are a large number of heterogeneous data sources in the urban environment. Unlimited real-time updates may cause the digital twin model to overfit and lose its versatility. Usually, when integrating these complex data sources into the digital twin model, the data needs to be reduced in dimensionality. However, the conventional dimensionality reduction logic is to retain the principal components of each data source and does not focus on the interpretation of the principal components. It is difficult to ensure that data from different sources and in different formats can be correctly integrated and interpreted after dimensionality reduction, resulting in some invalid and false abnormal events, which in turn affects the accuracy of the digital twin model. Summary of the invention
[0004] The present invention provides a city operation data perception method and system based on digital twins to solve the problem of destroying the interpretation relationship between data sources when reducing the dimensionality of the existing multi-dimensional data sources of digital twins. The technical solutions adopted are as follows: The present invention proposes a city operation data perception method based on digital twins, which includes the following steps: Obtain the operating data of several types of data sources in the data twin model as of the current moment, and obtain the occurrence time, location and type of several events; Obtain several historical data slices for each type of data source, and combine them with the time of occurrence of each event to obtain the associated slices of each event in each type of data source; obtain the core impact area of each event and several associated data points therein according to the location of each event; combine the associated slices to obtain the correlation probability of each event and its associated data points, and then obtain the linkage coefficient of each event; obtain the interpretability of each type of event based on the differences between the linkage coefficients of the same type of events; According to all the associated data points of each type of event, several associated data sources and data source combinations of each type of event are obtained; based on the distribution of associated data sources in each event, the recall rate of each data source combination for each type of event is obtained, and then the optimal number of data source combinations for each type of event is obtained; according to the optimal number of data source combinations, several associated data source combinations for each type of event are obtained, and based on the distribution of data sources in the associated data source combinations, the probability of positive samples of each type of data source for each type of event is obtained; According to the update status of the data source, the probability of positive samples of each type of event, and the recall rate of each type of event for different data source combinations, the information carrying rate of each type of data source for each type of event is obtained; combined with the interpretability of each type of event, the perception probability of each type of data source is obtained; A perception sequence is obtained based on the perception probability of the data source, and dimension reduction is performed according to the order of the data sources in the perception sequence to obtain a number of data sources after dimension reduction.
[0005] Optionally, the method of obtaining the associated slices of each event in each type of data source and obtaining the core impact area of each event and several associated data points therein according to the location of each event includes the following specific methods: For any event, the historical data slices of each type of data source at the time of occurrence of the event are recorded as the associated slices of the event in each type of data source; An impact radius is preset, with the location of the event as the center, and the circular range of the impact radius as the core impact area of the event, and all data points in the core impact area are recorded as associated data points of the event.
[0006] Optionally, the method of obtaining the correlation probability between each event and its associated data point, and then obtaining the linkage coefficient of each event, includes the following specific methods: For any event and any type of data source, calculate the difference between the occurrence time of the event and the leftmost time of the event on the associated slice of the data source, and use the ratio of the obtained difference to the length of the historical data slice of the data source as the relevance of the event to the data source; For any associated data point of the event, several data sources on the associated data point are recorded as the related data sources of the associated data point; the average of the relevance of the event to all the related data sources of the associated data point is taken as the relevance probability of the associated data point to the event; No. The linkage coefficient of each event The calculation method is: in, Indicates The number of data points associated with an event, Indicates The event The associated data point is The distance from where the event occurred, Indicates The event The associated data points are The probability of an event, Represents an exponential function with a natural constant as its base.
[0007] Optionally, the obtaining of the explainability of each type of event includes the following specific methods: For any type of event, the variance of the linkage coefficients of all events under this type of event is taken as the explainability of this type of event.
[0008] Optionally, the specific method of obtaining several associated data sources and data source combinations for each type of event includes: For any type of event, all relevant data sources corresponding to all associated data points in the core impact area of all events under this type of event are used as several associated data sources of this type of event, and a total of Class associated data source; Get the number of data source combinations for this type of event The class-associated data sources are combined under each data source combination quantity to obtain several data source combinations for the event of this class.
[0009] Optionally, the method of obtaining the recall rate of each data source combination for each type of event, and then obtaining the optimal number of data source combinations for each type of event, includes the following specific methods: For any combination of data sources, if all associated data sources in the combination are integrated into any associated data point of any event, the combination of data sources occurs correspondingly in the event; if all associated data sources in the combination of data sources cannot be integrated into any associated data point of the event, the data source does not occur in the event; The ratio of the number of occurrences of all events of the data source combination under any type of event to the number of occurrences of this type of event is taken as the recall rate of this data source combination for this type of event; For any combination of data sources of this type of event, the average recall rate of all data source combinations of this type of event is recorded as the average recall rate of this combination of data sources; Obtain the average recall rate of each data source combination of this type of event, construct a mapping plane with the number of data source combinations as the horizontal axis and the average recall rate as the vertical axis, and map the average recall rate of each data source combination of this type of event to the mapping plane to obtain a number of coordinate points; The coordinate points in the mapping plane are fitted with a curve using the least squares method to obtain a cumulative curve. The slope of each coordinate point is obtained based on the cumulative curve, and the average slope of all coordinate points is obtained. The number of data source combinations corresponding to the coordinate point with the smallest absolute value of the difference between the slope and the average slope is taken as the optimal number of data source combinations for this type of event.
[0010] Optionally, the method of obtaining several associated data source combinations for each type of event based on the optimal number of data source combinations, and obtaining the probability of positive class samples of each type of data source for each type of event based on the distribution of data sources in the associated data source combinations, includes the following specific methods: For any type of event, the data source combinations corresponding to all data source combination numbers between the optimal data source combination number and the maximum data source combination number of the event are used as the associated data source combinations of the event; For any data source, the ratio of the number of associated data source combinations including the data source to the number of associated data source combinations of this type of event is used as the probability of positive samples of this type of data source for this type of event.
[0011] Optionally, the information carrying rate of each type of data source for each type of event is obtained; and the perception probability of each type of data source is obtained in combination with the explainability of each type of event, including the specific method of: According to the update status of the data source at the current moment, the data source that is still being updated is recorded as the real-time update data source. Class data source for Information carrying rate of class events The calculation method is: in, Indicates Class data source for The probability of positive samples of class events, Including Class data source The number of associated data source combinations for class events, Including Class data source The first The number of real-time update data sources included in the associated data source combination. Including Class data source The first The number of data sources included in the associated data source combination. Including Class data source The first The combination of related data sources Recall rate of class events; For Class data source, calculate the Class data source for The information carrying rate of this type of event is The product of the interpretability of the class event is denoted as The class data source is in The perception rate of this type of event; get the The perception rate of each type of event of the data source, and the maximum value of all perception rates is taken as the first The perceived probability of a class data source.
[0012] Optionally, the obtaining of the perception sequence based on the perception probability of the data source includes the following specific methods: All real-time update data sources are arranged in descending order from large to small according to the perception probability, and then the non-real-time update data sources are arranged in descending order from large to small according to the perception probability. The obtained sequence is recorded as the perception sequence.
[0013] The present invention also proposes a city operation data perception system based on digital twins, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the above method are implemented.
[0014] The beneficial effects of the present invention are as follows: by analyzing the occurrence time and location of events in the digital twin model, combined with the update interval of each data source, the associated slices and associated data points are obtained, and the connection coefficient of the event is further analyzed to reflect the connection relationship between the event and the data source and data point, thereby quantifying the interpretability of the event and better relying on the data source and data point to express the event phenomenon; by analyzing the associated data points of a class of events, the associated data source is obtained and a data source combination is constructed, and the recall rate is quantified based on the number of occurrences of the data source combination in a class of events, thereby obtaining the recall rate of the number of data source combinations, and obtaining the optimal number of data source combinations, and then dividing to obtain the associated data source combination, and quantifying the probability of the data source for a class of events. Positive sample probability of a class of events , thereby quantifying the credibility of the data source's recognition of events; by calculating the information carrying rate of the data source, reflecting the amount of information carried by the data source for the event, combined with the interpretability of the event, the perception probability is obtained. The data source with a larger perception probability has a higher interpretability and carries more event information; by quantifying the amount of event information carried by the data source and the interpretability of the event, the perception probability of the data source is obtained and arranged, so that the reduced dimensionality data source obtained by dimensionality reduction based on the perception sequence can retain effective and interpretable event information for possible events. Compared with the traditional PCA dimensionality reduction algorithm, it is more suitable for urban operation data with large data volume and real-time dynamic changes, thereby improving the perception efficiency of the urban digital twin model. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] Figure 1 A schematic diagram of a process flow of a city operation data perception method based on digital twins provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of the associated slices of events and time series; Figure 3 Schematic diagram of the mapping between the number of data source combinations and the average recall rate. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] See also Figure 1 , which shows a flow chart of a city operation data perception method based on digital twins provided by an embodiment of the present invention, the method comprising the following steps: Step S001: Obtain the operating data of several types of data sources in the data twin model as of the current moment, and obtain the occurrence time, location and event type of several events.
[0019] The purpose of this embodiment is to analyze and update the digital twin model of the city. The digital twin model of the city includes multiple sections, such as infrastructure section, transportation section, environment section, energy section, economic section and environment section, etc. Each section contains different types of data sources and their recording forms, and different data sources can constitute a time series sequence, that is, the data collected by each data source can be expanded in time series.
[0020] Specifically, this embodiment takes the environment section in the city digital twin model as an example, and collects data from various data sources in the environment section from the moment when each data source starts dynamic updating to the current moment, and uses the data as the time series operation data of each type of data source; it should be noted that the update interval of each type of data source is determined by the data source. The update interval of each type of data source in the digital twin model is fixed, so this embodiment will not go into details; at the same time, the digital twin model will record the events that occur, and the occurrence time, location and event type of all events since the start of dynamic updating are obtained.
[0021] So far, the operation data of several types of data sources have been obtained, and the occurrence time, location and type of several events have been obtained.
[0022] It should be noted that in the digital twin model, the occurrence of an event is a data fusion body integrated by several geographical locations, several data sources, and several characteristic manifestations. This data fusion body contains almost all the properties of an event and can therefore be recognized by the event perception system. However, the amount of data in the data fusion body is very large, and dimensionality reduction is generally required when used to build a digital twin model. However, the principal components obtained by the dimensionality reduction algorithm are usually abstract and do not directly correspond to any specific features of the original data. Moreover, the principal components can only explain most of the variations in the data source itself and may not contain specific information that is critical to the data fusion task, resulting in a lack of explanatory power for the data in the digital twin space.
[0023] Step S002: obtain several historical data slices for each type of data source, and combine the occurrence time of each event to obtain the associated slices of each event in each type of data source; according to the occurrence location of each event, obtain the core impact area of each event and several associated data points therein; combine the associated slices to obtain the correlation probability of each event and its associated data points, and then obtain the linkage coefficient of each event; according to the difference between the linkage coefficients of the same type of events, obtain the interpretability of each type of event.
[0024] It should be noted that a city is an ever-changing ecosystem, which often involves multiple systems, multiple dynamic responses and multiple direct or indirect stakeholders. There are complex connections and interactions between the data. Changes in some urban operation data will cause other data to change dynamically. For example, traffic flow will fluctuate with time, weather and events.
[0025] It should be further explained that any data in the digital twin model has location information when it is collected, so each location in the digital twin model represents a data point, and the update intervals of different types of data sources at each data point in the digital twin model are not the same, depending on the analysis purpose and needs of the urban digital twin model. For example, the update frequency of the infrastructure sector is daily or weekly, the transportation sector may be updated every few seconds, and the economic sector can be updated according to daily settlement, monthly settlement or quarterly settlement; then there are differences in the type of sensors integrated on each data point, and the update intervals of the corresponding data sources of each sensor are different. Therefore, each data point has different multi-dimensional features at different times. The integrated data at different times need to be dynamically reduced in dimension, and the dynamically updated data source is only a fragment of the data. Therefore, the problem of loss of explanatory power is more likely to occur during dynamic dimensionality reduction.
[0026] Preferably, in one embodiment of the present invention, a number of historical data slices are obtained for each type of data source, and the associated slices of each event in each type of data source are obtained in combination with the occurrence time of each event, including the specific method of: For any type of data source, time slices are divided according to the update interval of this type of data source to obtain several historical data slices of this type of data source. The time length of the historical data slice is the update interval of this type of data source; several historical data slices of each type of data source are obtained.
[0027] Furthermore, for any event, the historical data slices of each data source at the time of occurrence of the event are recorded as the associated slices of the event in each data source; the associated slices of each event in each data source are obtained; please refer to Figure 2 , which shows a schematic diagram of events and associated slices in time sequence, Figure 2The event and its occurrence time are shown in the figure. The lengths of historical data slices of data sources 1, 2 and 3 are different. The historical data slice at the time of event occurrence is the associated slice of the event in the corresponding data source.
[0028] Preferably, in one embodiment of the present invention, the core impact area of each event and several associated data points therein are obtained according to the location of each event, including the specific method of: For any event, an impact radius is preset. In this embodiment, the impact radius is set to 1km. The location of the event is taken as the center of the circle, and the circular range with a radius of 1km is taken as the core impact area of the event. All data points in the core impact area are recorded as associated data points of the event.
[0029] Preferably, in one embodiment of the present invention, the correlation probability of each event and its associated data point is obtained by combining the associated slices, and then the linkage coefficient of each event is obtained, including the specific method of: For any event and any type of data source, calculate the difference between the occurrence time of the event and the leftmost time of the event on the associated slice of the data source, and use the ratio of the difference to the length of the historical data slice of the data source as the relevance of the event to the data source; for any associated data point of the event, record the several data sources on the associated data point as the related data sources of the associated data point; and use the average of the relevance of the event to all the related data sources of the associated data point as the relevance probability of the associated data point to the event.
[0030] Further, the Take the event as an example, The linkage coefficient of each event The calculation method is: in, Indicates The number of data points associated with an event, Indicates The event The associated data point is The distance from where the event occurred, Indicates The event The associated data points are The probability of an event, represents an exponential function with a natural constant as the base. In this embodiment, Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.
[0031] What needs to be explained is that the connection coefficient of the event is quantified by taking the weighted average of the correlation probabilities of each related data point in the core impact area of the event, and the weight is obtained according to the distance between the related data point and the place where the event occurred. The closer the distance, the greater the impact, and the greater the weight. The closer the distance, the greater the correlation probability of the data point, that is, the related data points are updated more concentratedly, which means that the connection between the event and the related data points in the core impact area is greater, and the connection coefficient is greater.
[0032] Preferably, in one embodiment of the present invention, the interpretability of each type of event is obtained according to the difference between the linkage coefficients of the same type of events, and the specific method includes: For any type of event, the variance of the linkage coefficients of all events under this type of event (the same event type) is used as the interpretability of this type of event; the interpretability of each type of event is obtained.
[0033] It should be noted that the interpretability of an event reflects the stability of the data expression capability of the event. If a type of event can be identified and extracted from data features that are close to a fixed pattern, that is, data features can be identified from a fixed data source, the interpretability of this type of event is stronger.
[0034] At this point, by analyzing the time and place of occurrence of events in the digital twin model, combined with the update interval of each data source, we get the associated slices and associated data points, and further analyze the connection coefficient of the event to reflect the connection between the event and the data source and data point, and then quantify the interpretability of the event, so as to better rely on the data source and data points to express the event phenomenon.
[0035] Step S003: Based on all the associated data points of each type of event, several associated data sources and data source combinations of each type of event are obtained; based on the distribution of the associated data sources in each event, the recall rate of each data source combination for each type of event is obtained, and then the optimal number of data source combinations for each type of event is obtained; based on the optimal number of data source combinations, several associated data source combinations for each type of event are obtained, and based on the distribution of data sources in the associated data source combinations, the probability of positive samples of each type of data source for each type of event is obtained.
[0036] Preferably, in one embodiment of the present invention, a number of associated data sources and data source combinations of each type of event are obtained based on all associated data points of each type of event, including the following specific methods: For any type of event, all relevant data sources corresponding to all associated data points in the core impact area of all events under this type of event are used as several associated data sources of this type of event, and a total of The class is associated with the data source.
[0037] Starting with 2 data source combinations, the number of data source combinations increases by 1 and iterates. The maximum number of data source combinations is , get the number of data source combinations, and the The class-associated data sources are combined under each data source combination quantity to obtain several data source combinations for this type of event; for example, when the number of data source combinations is 2, the number of data source combinations is ; Obtain several associated data sources and data source combinations for each type of event according to the above method.
[0038] It should be noted that historical events have already occurred and have been verified. Therefore, before a mature perception model is obtained, we can reversely assume that each historical event that has occurred and has been verified is integrated and perceived from certain categories of data sources. Then we can further assume that different data sources are combined into a virtual event perception model and calculate the recall rate of each type of event for different data source combinations.
[0039] Preferably, in one embodiment of the present invention, based on the distribution of associated data sources in each event, the recall rate of each data source combination for each type of event is obtained, and then the optimal number of data source combinations for each type of event is obtained, including the specific method of: For any combination of data sources, if all associated data sources in the combination are integrated into any associated data point of any event, then the combination occurs correspondingly in the event; if all associated data sources in the combination cannot be integrated into any associated data point of the event, then the data source does not occur in the event.
[0040] Further, the The first Take the data source combination as an example. The combination of data sources has Recall rate of class events The calculation method is: in, Indicates The first The data source combination is The number of occurrences of all events under the class event, Indicates The number of all events under this type of event, that is, The number of occurrences of this type of event.
[0041] It should be noted that the closer the ratio of the number of occurrences of the data source combination of the event under this type of event to the total number of occurrences of this type of event is to 1, the greater the probability of the data source combination appearing in this type of event, and the higher the recall rate of the data source combination for this type of event. By calculating the recall rates of different data source combinations for a type of event, the event perception performance of subsequent data sources is evaluated through the virtual event perception model assumed by the data source.
[0042] Furthermore, for any data source combination number of any type of event, the average of the recall rates of all data source combinations of the data source combination number for this type of event is recorded as the average recall rate of the data source combination number; the average recall rate of each data source combination number of this type of event is obtained, and a mapping plane is constructed with the data source combination number as the horizontal axis and the average recall rate as the vertical axis. The sum of the average recall rates of any data source combination number of this type of event and all previous data source combination numbers is taken as the coordinate point of the data source combination number of this type of event in the mapping plane; the coordinate points in the mapping plane are curve-fitted by the least squares method to obtain a cumulative curve, such as Figure 3 It is understandable that Figure 3 When the horizontal axis is 5, it means that the number of data source combinations is 5. The vertical axis of the point corresponding to the horizontal axis on the cumulative curve represents the sum of the average recall rates corresponding to all data source combinations from 1 to 5.
[0043] Based on the cumulative curve, the slope of each coordinate point is obtained, and the average slope of all coordinate points is obtained. The number of data source combinations corresponding to the coordinate point with the smallest absolute value of the difference between the slope and the average slope is taken as the optimal number of data source combinations for this type of event.
[0044] It should be noted that as the number of data source combinations increases, the average recall rate will also increase, but the growth of the cumulative curve will become smaller and smaller. Therefore, the number of data source combinations with the largest growth rate is taken to obtain the optimal number of data source combinations.
[0045] Preferably, in one embodiment of the present invention, according to the optimal number of data source combinations, several associated data source combinations for each type of event are obtained, and based on the distribution of data sources in the associated data source combinations, the probability of positive class samples of each type of data source for each type of event is obtained, including the specific method of: For any type of event, the data source combinations corresponding to all data source combination numbers between the optimal data source combination number and the maximum data source combination number of this type of event are used as the associated data source combinations of this type of event (including the data source combinations below the optimal data source combination number and the maximum data source combination number).
[0046] Furthermore, for any data source, the ratio of the number of associated data source combinations including the data source to the number of associated data source combinations of this type of event is used as the probability of positive samples of this type of data source for this type of event.
[0047] It should be noted that the probability of positive samples is used to evaluate the probability of a perception model judging the classification result as positive, which represents the quality of the model's perception result. The larger the probability of positive samples in a data source, the higher the credibility of the perception model in identifying events from this data source.
[0048] At this point, by analyzing the associated data points of a type of event, the associated data sources are obtained and the data source combinations are constructed. The recall rate is quantified based on the number of occurrences of the data source combination in a type of event, and then the recall rate of the number of data source combinations is obtained, and the optimal number of data source combinations is obtained. The associated data source combinations are then divided to quantify the probability of positive samples of the data source for a type of event, thereby quantifying the credibility of the data source in identifying the event.
[0049] Step S004: According to the update status of the data source, the probability of positive samples of the data source for each type of event, and the recall rate of different data source combinations for each type of event, the information carrying rate of each type of data source for each type of event is obtained; combined with the interpretability of each type of event, the perception probability of each type of data source is obtained.
[0050] Preferably, in one embodiment of the present invention, the information carrying rate of each type of data source for each type of event is obtained according to the update status of the data source, the probability of the positive sample of each type of event by the data source, and the recall rate of each type of event by different data source combinations, including the specific method of: According to the update status of the data source at the current moment, the data source that is still being updated is recorded as the real-time update data source. Class data source for Information carrying rate of class events The calculation method is: in, Indicates Class data source for The probability of positive samples of class events, Including Class data source The number of associated data source combinations for class events, Including Class data source The first The number of real-time update data sources included in the associated data source combination. Including Class data source The first The number of data sources included in the associated data source combination. Including Class data source The first The combination of related data sources The recall rate of the event class.
[0051] It should be noted that by analyzing the proportion of real-time updated data sources in the associated data source combination that includes the data source, the completeness of the real-time update is reflected. The closer the proportion is to 1, the greater the completeness of the real-time update of the associated data source combination. The recall rate is used as the weight for weighted averaging. Combined with the probability of positive samples of the data source for the event, the greater the completeness of the real-time update, the higher the recall rate, the greater the identifiability of the event, and the greater the probability of positive samples reflects the credibility of the data source in identifying the event, the greater the information carrying rate of the data source for the event; and the data source with a larger information carrying rate, in the real-time update process of the digital twin model, it can be more real-time updated data sources to form a data source combination with a high recall rate that perceives a certain type of event, and the more event information it carries.
[0052] Preferably, in one embodiment of the present invention, the perception probability of each type of data source is obtained by combining the interpretability of each type of event, and the specific method includes: For Class data source, calculate the Class data source for The information carrying rate of this type of event is The product of the interpretability of the class event is denoted as The class data source is in The perception rate of this type of event; get the The perception rate of each type of event of the data source, and the maximum value of all perception rates is taken as the first The perceived probability of a class data source.
[0053] At this point, by calculating the information carrying rate of the data source, we can reflect the amount of information the data source carries for the event, and combine it with the interpretability of the event to obtain the perception probability. The data source with a larger perception probability has a higher interpretability and carries more event information.
[0054] Step S005: obtain a perception sequence based on the perception probability of the data source, perform dimensionality reduction according to the order of the data source in the perception sequence, obtain several data sources after dimensionality reduction, and complete the data source dimensionality reduction of the digital twin model.
[0055] Specifically, all real-time update data sources are arranged in descending order from large to small according to the perception probability, and then the non-real-time update data sources are arranged in descending order from large to small according to the perception probability. The obtained sequence is recorded as the perception sequence (all non-real-time update data sources are arranged after the real-time update data sources).
[0056] It should be noted that for PCA dimensionality reduction, the importance of dimensionality reduction sequence is one of the core concepts. The dimensionality reduction sequence refers to a series of principal components arranged from large to small according to the eigenvalue; each principal component is the projection of the data set in a new orthogonal feature space direction, and the direction is determined by the variance of the data; the order of the principal components is arranged from high to low according to their ability to explain the data variance; the first principal component explains the largest variance, the second principal component explains the second largest variance, and so on, and each principal component is orthogonal to the previous principal component (that is, no correlation); therefore, the first few principal components can usually capture most of the information in the data set; however, the dimensionality reduction sequence only contains the principal component information of the data source and is not interpretable, which may lead to a lack of interpretability of the data in the digital twin space, especially for short and frequently updated real-time data, which reduces the perception model's perception of real-time events.
[0057] Specifically, the dimensionality reduction is mapped in sequence according to the arrangement order of the data sources in the dimensionality reduction order, and then the dimensionality reduction results of all data sources of each type of event are obtained; that is, the first data source in the perception sequence constitutes a first coordinate system with the second data source, all data are mapped in the coordinate system, and the maximum variance direction of all mapping points is obtained as the first principal axis, and then the first principal axis is used as the horizontal coordinate to construct a second coordinate system with the third data source in the perception sequence, and the data is continued to be mapped, and the maximum variance direction of the mapping point is obtained as the second principal axis, and so on, all data sources are mapped in sequence, and then the first k principals are selected in the mapping order as the k data sources after dimensionality reduction, and various types of events rely on the data source after dimensionality reduction to obtain dimensionality reduction results; the PCA dimensionality reduction process is a well-known technology, and relying on the data source after dimensionality reduction to obtain dimensionality reduction results is an existing method, which will not be repeated in this embodiment; then the data source dimensionality reduction of the environmental sector is finally completed, and the dimensionality reduction of each sector in the digital twin model is completed by the above method, thereby realizing the data source dimensionality reduction of the digital twin model.
[0058] At this point, by quantifying the amount of event information carried by the data source and the interpretability of the events, the perception probability of the data source is obtained and arranged, so that the reduced-dimensional data source obtained by dimensionality reduction based on the perception sequence can retain effective and interpretable event information for possible events. Compared with the traditional PCA dimensionality reduction algorithm, it is more suitable for urban operation data with large data volume and real-time dynamic changes, thereby improving the perception efficiency of the urban digital twin model.
[0059] Another embodiment of the present invention provides a city operation data perception system based on digital twins, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the above-mentioned method steps S001 to S005 are implemented.
[0060] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. Urban operation data perception method based on digital twins, It is characterized in that The method comprises the following steps: Obtain the operating data of several types of data sources in the data twin model as of the current moment, and obtain the occurrence time, location and type of several events; Obtain several historical data slices for each type of data source, and combine them with the time of occurrence of each event to obtain the associated slices of each event in each type of data source; obtain the core impact area of each event and several associated data points therein according to the location of each event; combine the associated slices to obtain the correlation probability of each event and its associated data points, and then obtain the linkage coefficient of each event; obtain the interpretability of each type of event based on the differences between the linkage coefficients of the same type of events; According to all the associated data points of each type of event, several associated data sources and data source combinations of each type of event are obtained; based on the distribution of associated data sources in each event, the recall rate of each data source combination for each type of event is obtained, and then the optimal number of data source combinations for each type of event is obtained; according to the optimal number of data source combinations, several associated data source combinations for each type of event are obtained, and based on the distribution of data sources in the associated data source combinations, the probability of positive samples of each type of data source for each type of event is obtained; According to the update status of the data source, the probability of positive samples of each type of event, and the recall rate of each type of event for different data source combinations, the information carrying rate of each type of data source for each type of event is obtained; combined with the interpretability of each type of event, the perception probability of each type of data source is obtained; A perception sequence is obtained based on the perception probability of the data source, and dimension reduction is performed according to the order of the data sources in the perception sequence to obtain a number of data sources after dimension reduction; The method for obtaining the relevant probability includes: For any event and any type of data source, calculate the difference between the occurrence time of the event and the leftmost time of the event on the associated slice of the data source, and use the ratio of the obtained difference to the length of the historical data slice of the data source as the relevance of the event to the data source; For any associated data point of the event, several data sources on the associated data point are recorded as the relevant data sources of the associated data point; the average of the correlation degrees of the event in all the relevant data sources of the associated data point is taken as the correlation probability of the associated data point to the event.
2. According to the urban operation data perception method based on digital twins according to claim 1, It is characterized in that The method of obtaining the associated slices of each event in each type of data source and obtaining the core impact area of each event and several associated data points therein according to the location of each event includes: For any event, the historical data slices of each type of data source at the time of occurrence of the event are recorded as the associated slices of the event in each type of data source; An impact radius is preset, with the location of the event as the center, and the circular range of the impact radius as the core impact area of the event, and all data points in the core impact area are recorded as associated data points of the event.
3. According to the urban operation data perception method based on digital twins according to claim 1, It is characterized in that The specific method of obtaining the linkage coefficient of each event includes: No. The linkage coefficient of each event The calculation method is: in, Indicates The number of data points associated with an event, Indicates The event The associated data point is The distance from where the event occurred, Indicates The event The associated data points are The probability of an event, Represents an exponential function with a natural constant as its base.
4. According to the urban operation data perception method based on digital twins according to claim 1, It is characterized in that The specific method for obtaining the explainability of each type of event is as follows: For any type of event, the variance of the linkage coefficients of all events under this type of event is taken as the explainability of this type of event.
5. According to the urban operation data perception method based on digital twins according to claim 3, It is characterized in that The specific method of obtaining several associated data sources and data source combinations for each type of event includes: For any type of event, all relevant data sources corresponding to all associated data points in the core impact area of all events under this type of event are used as several associated data sources of this type of event, and a total of Class associated data source; Get the number of data source combinations for this type of event The class-associated data sources are combined under each data source combination quantity to obtain several data source combinations for the event of this class.
6. The urban operation data perception method based on digital twin according to claim 1, It is characterized in that The specific method of obtaining the recall rate of each data source combination for each type of event, and then obtaining the optimal number of data source combinations for each type of event, includes: For any combination of data sources, if all associated data sources in the combination are integrated into any associated data point of any event, the combination of data sources occurs correspondingly in the event; if all associated data sources in the combination of data sources cannot be integrated into any associated data point of the event, the data source does not occur in the event; The ratio of the number of occurrences of all events of the data source combination under any type of event to the number of occurrences of this type of event is taken as the recall rate of this data source combination for this type of event; For any combination of data sources of this type of event, the average recall rate of all data source combinations of this type of event is recorded as the average recall rate of this combination of data sources; Obtain the average recall rate of each data source combination of this type of event, construct a mapping plane with the number of data source combinations as the horizontal axis and the average recall rate as the vertical axis, and map the average recall rate of each data source combination of this type of event to the mapping plane to obtain a number of coordinate points; The coordinate points in the mapping plane are fitted with a curve by the least square method to obtain a cumulative curve; Based on the cumulative curve, the slope of each coordinate point is obtained, and the average slope of all coordinate points is obtained. The number of data source combinations corresponding to the coordinate point with the smallest absolute value of the difference between the slope and the average slope is taken as the optimal number of data source combinations for this type of event.
7. According to claim 1, the urban operation data perception method based on digital twins, It is characterized in that The method of obtaining several associated data source combinations for each type of event based on the optimal number of data source combinations and obtaining the probability of positive class samples for each type of event for each type of data source based on the distribution of data sources in the associated data source combinations includes the following specific methods: For any type of event, the data source combinations corresponding to all data source combination numbers between the optimal data source combination number and the maximum data source combination number of the event are used as the associated data source combinations of the event; For any data source, the ratio of the number of associated data source combinations including the data source to the number of associated data source combinations of this type of event is used as the probability of positive samples of this type of data source for this type of event.
8. The urban operation data perception method based on digital twin according to claim 1, It is characterized in that The information carrying rate of each type of data source for each type of event is obtained; and the perception probability of each type of data source is obtained in combination with the interpretability of each type of event, including the specific method of: According to the update status of the data source at the current moment, the data source that is still being updated is recorded as the real-time update data source. Class data source for Information carrying rate of class events The calculation method is: in, Indicates Class data source for The probability of positive samples of class events, Including Class data source The number of associated data source combinations for class events, Including Class data source The first The number of real-time update data sources included in the associated data source combination. Including Class data source The first The number of data sources included in the associated data source combination. Including Class data source The first The combination of related data sources Recall rate of class events; For Class data source, calculate the Class data source for The information carrying rate of this type of event is The product of the interpretability of the class event is denoted as The class data source is in The perception rate of this type of event; get the The perception rate of each type of event of the data source, and the maximum value of all perception rates is taken as the first The perceived probability of a class data source.
9. According to the urban operation data perception method based on digital twins according to claim 8, It is characterized in that The specific method of obtaining the perception sequence based on the perception probability of the data source includes: All real-time update data sources are arranged in descending order from large to small according to the perception probability, and then the non-real-time update data sources are arranged in descending order from large to small according to the perception probability. The obtained sequence is recorded as the perception sequence.
10. A city operation data perception system based on digital twins, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, It is characterized in that When the processor executes the computer program, the steps of the urban operation data perception method based on digital twins are implemented as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Voronoi diagram power big data abnormality detection method based on gray correlation method
CN107818135A
Event analysis method and device
CN115499287A
Complex industrial system operation monitoring method and system based on digital twinning
CN115857447A
Localized differential privacy protection method based on self-adaption high-dimensional data
CN116340992A
User interface for industrial digital twin providing conditions of interest with display of reduced dimensionality views
US20230281527A1
