Public safety big data fusion method and system
By constructing a data source conflict distance model, performing data cleaning, and calculating fusion weight coefficients for public safety big data fusion, the problem of reliability and low efficiency in public safety big data management has been solved, and data quality and management efficiency have been improved.
Patent Information
- Application Number
- CN202411084402.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-29
AI Technical Summary
The reliability, accuracy and low efficiency of public safety big data in management lead to low efficiency in public safety management.
By constructing a data source conflict distance model, we can obtain the support and credibility of the data source, calculate the fusion weight coefficient, combine the monitoring data with public safety big data fusion, perform data cleaning and noise filtering, reduce errors and duplicate data, and improve the data quality. quality.
It effectively improves the accuracy and reliability of public safety big data, maximizes the value of data, and improves the efficiency and decision-making quality of public safety management.
Smart Images

Figure CN118861990A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data and information technology, and in particular to a public safety big data fusion method and system. Background Art
[0002] Public safety management is a management model that involves the public interest of society and the safety of people's lives and property. It covers many aspects, including the identification and evaluation of potential risk factors in society, the security of public facilities, and the response and handling of crisis events. In public safety management, monitoring equipment can be used to obtain multi-source heterogeneous public safety big data, and effective and scientific management of public safety can be carried out based on the monitored public safety big data. However, due to the problem of data redundancy in the public safety big data obtained from the monitoring equipment, it leads to low efficiency in public safety management. Therefore, how to improve the reliability, accuracy and efficiency of public safety big data in public safety management is an urgent problem to be solved. Summary of the invention
[0003] In view of the shortcomings of existing methods and the needs of practical applications, in order to improve the accuracy of using public safety big data for public safety management, the problems of reliability, accuracy and low efficiency of public safety big data in public safety management should be solved.
[0004] On the one hand, the present invention provides a method for fusion of public safety big data, comprising the following steps: obtaining public safety big data, the public safety big data being monitoring data of multiple data sources; constructing a data source conflict distance model, obtaining a conflict distance matrix and a similarity matrix of the data source through the data source conflict distance model and the monitoring data; obtaining the support of the data source using the conflict distance matrix and the similarity matrix; obtaining a first parameter of the data source through the monitoring data, and obtaining the credibility of the data source using the first parameter; obtaining a fusion weight coefficient of the data source based on the support and the credibility; and completing the fusion of public safety big data by combining the monitoring data and the fusion weight coefficient. The present invention constructs a fusion weight coefficient of a data source by obtaining the support and credibility of the data source, and completes the fusion of public safety big data using the fusion weight coefficient, effectively reducing errors and duplicate data in the data, solving the problem of redundant multi-source heterogeneous monitoring data and unreliable data, and maximizing the value of public safety big data.
[0005] Optionally, the public safety big data fusion method further includes the following steps: performing data processing on the public safety big data, wherein the data processing includes data cleaning and noise filtering. The present invention further improves the data quality of the public safety big data through data cleaning and noise filtering, which is conducive to improving data analysis results and providing guarantee for decision-making quality.
[0006] Optionally, the data source conflict distance model satisfies the following relationship: ,in, Indicates Time step Data source to The conflict distance of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates Time step Probability estimation of monitoring data of data source. The data source conflict distance determined by the model formula of the present invention can objectively and accurately reflect the relationship between public safety big data, which is conducive to accurately obtaining the support of the data source, and further improves the accuracy of the present invention.
[0007] Optionally, obtaining the monitoring data probability estimate comprises the following steps: obtaining the monitoring data time series of the data source through the monitoring data, and vectorizing the monitoring data time series; obtaining the data source vector probability distribution function according to the vectorization result; and obtaining the monitoring data probability estimate using the data source vector probability distribution function. The present invention further ensures the objectivity of data source support by vectorizing the monitoring data time series and constructing the data source vector probability distribution function using the vectorization result.
[0008] Optionally, the conflict distance matrix and similarity matrix of the data source obtained by using the data source conflict distance model and the monitoring data satisfy the following formula: , ,in, Indicates The conflict distance matrix within a time step, Indicates Similarity matrix within time step, Indicates The conflict distance between the first data source and the first data source within the time step, Indicates The first data source and the second data source within the time step The conflict distance of the data source, Indicates Time step The conflict distance between the first data source and the second data source, Indicates Time step Data source and The present invention incorporates all data sources into the calculation, fully utilizes the characteristics of big data technology, and further improves the efficiency of using public security big data.
[0009] Optionally, the use of the conflict distance matrix and the similarity matrix to obtain the support of the data source satisfies the following formula: ,in, Indicates Time step The support of the data source, Indicates Time step Data source to The conflict distance of the data source, Describe the number of data sources, Indicates The conflict distance matrix within a time step, Indicates Similarity matrix within time step. The support of the data source obtained by the present invention is objective and accurate, and can fully express the correlation between the data sources, further improving the robustness of the present invention.
[0010] Optionally, obtaining the first parameter of the data source through the monitoring data satisfies the following formula: ,in, Indicates Time step The first parameter of the data source, Indicates Time step The normalized value and value of the monitoring data of the data source, The present invention uses the first parameter of the data source obtained by the normalized monitoring data to facilitate obtaining accurate credibility of the data source.
[0011] Optionally, the credibility of the data source is obtained by using the first parameter, satisfying the following formula: ,in, Indicates Time step The credibility of the data source, Indicates Time step The first parameter of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates The average value of the monitoring data of the data source, Indicates The standard deviation of the monitoring data of the data source. The present invention further improves the utilization efficiency of the monitoring data of each data source by judging the credibility of the data source.
[0012] Optionally, the fusion weight coefficient of the data source is obtained based on the support and the credibility, satisfying the following formula: ,in, Indicates Time step The fusion weight coefficient of the data source, Indicates Time step The support of the data source, Indicates Time step The credibility of the data source, The fusion weight coefficient designed by the present invention fully utilizes the support and credibility of the design of the present invention, and ensures the accuracy of the final public safety big data fusion result.
[0013] In the second aspect, in order to efficiently execute the public security big data fusion method provided by the present invention, the present invention also provides a public security big data fusion system, including a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the public security big data fusion method as described in the first aspect of the present invention. The public security big data fusion system of the present invention has a compact structure and stable performance, and can stably execute the public security big data fusion method provided by the present invention, further improving the overall applicability and practical application ability of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a flow chart of a public safety big data fusion method of the present invention; Figure 2 This is a framework diagram of a public safety big data fusion system of the present invention; Figure 3 A schematic diagram of the structure of a public security big data fusion device provided in an embodiment. DETAILED DESCRIPTION
[0015] The specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details do not need to be adopted to implement the present invention. In other examples, in order to avoid confusing the present invention, known circuits, software or methods are not specifically described.
[0016] Throughout the specification, references to "one embodiment," "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment," "in an embodiment," "an example," or "an example" appearing in various places throughout the specification do not necessarily all refer to the same embodiment or example. In addition, particular features, structures, or characteristics may be combined in one or more embodiments or examples in any suitable combination and / or subcombination. In addition, it should be understood by those of ordinary skill in the art that the figures provided herein are for illustrative purposes and that the figures are not necessarily drawn to scale.
[0017] See also Figure 1 In order to improve the accuracy of public safety management using public safety big data and solve the problems of reliability, accuracy and low efficiency of public safety big data in public safety management, the present invention provides a public safety big data fusion method, such as Figure 1 As shown, the method comprises the following steps: S1. Obtain public safety big data, where the public safety big data is monitoring data from multiple data sources.
[0018] In an optional embodiment, the monitoring data from the multiple data sources described in step S1 include monitoring data on chemical raw material pipeline transportation through multiple monitoring equipment; in some other embodiments, the monitoring data from the multiple data sources described in step S1 may also be remote sensing monitoring data for predicting landslides and other data for monitoring public safety incidents.
[0019] Furthermore, the acquisition of public safety big data described in step S1 can be implemented through monitoring equipment, and can also be retrieved from relevant public safety databases.
[0020] In another optional embodiment, after obtaining the public safety big data, data processing is also performed on the public safety big data, and the data processing includes data cleaning and noise filtering.
[0021] Specifically, data cleaning is the process of improving data quality by filling missing values, smoothing noisy data, correcting errors in data, and deleting duplicate data. The steps of data cleaning include: Processing missing values: Missing values in the data can be filled in a variety of ways, such as using the mean, median, mode, interpolation, regression, or machine learning algorithms for predictive filling; Correcting erroneous data: Obvious errors in the data (such as negative numbers in the age field) need to be identified and corrected; Deleting duplicate data: Check and delete duplicate records in the data set to avoid deviations in subsequent analysis; Formatting and standardization: Ensure that data formats are consistent, such as date formats, currency units, etc., and standardize the data for unified analysis; Outlier processing: Identify and process outliers in the data, which may be caused by incorrect input, equipment failure, or other reasons.
[0022] Noise data refers to data that is inconsistent with the main data distribution or is misleading. Noise filtering is the process of identifying and deleting or correcting these noise data.
[0023] S2. Constructing a data source conflict distance model, and obtaining a conflict distance matrix and a similarity matrix of the data source through the data source conflict distance model and the monitoring data.
[0024] In the embodiment, the data source conflict distance model described in step S2 satisfies the following relationship: ,in, Indicates Time step Data source to The conflict distance of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates Time step Probability estimates of monitoring data from data sources.
[0025] Further, obtaining the probability estimate of the monitoring data includes the following steps: S21. Obtain a monitoring data time series of the data source through the monitoring data, and vectorize the monitoring data time series.
[0026] Specifically, the monitoring data time series refers to a series of values of the same monitoring indicator arranged in the chronological order of their occurrence. This series has the general characteristics of time series data, including trend, seasonality, periodicity, randomness, autocorrelation and non-invariance.
[0027] Furthermore, vectorization of the monitoring data time series can be achieved through a sliding window method, a statistical feature extraction method or a Fourier transform method.
[0028] Furthermore, the sliding window method divides the time series data into fixed-size windows (or segments) and treats the data within each window as a separate vector. For example, if we have a time series of daily data points and we choose a window size of 7 days, then we can convert each consecutive 7 days of data into a vector; the statistical feature extraction method can extract various statistical features from the time series, such as mean, median, standard deviation, skewness, kurtosis, etc., and combine these features into a vector; the Fourier transform method is a method of converting a time series from the time domain to the frequency domain. Through Fourier transform, the time series can be decomposed into its constituent frequency sine waves and cosine waves, and the amplitude and phase of these frequencies can be extracted as feature vectors.
[0029] S22. Obtain the data source vector probability distribution function according to the vectorization result.
[0030] Specifically, a probability model is constructed, and the probability model is trained using the vectorization result to obtain a probability distribution function of the data source vector; in an embodiment, the constructed probability model is a Gaussian distribution or a multinomial distribution.
[0031] S23. Obtain the monitoring data probability estimate using the data source vector probability distribution function.
[0032] Specifically, according to the probability distribution function of the data source vector, a probability estimation value of the monitoring data at each time step is obtained.
[0033] Furthermore, the conflict distance matrix and similarity matrix of the data source obtained by using the data source conflict distance model and the monitoring data in step S2 satisfy the following formula: , ,in, Indicates The conflict distance matrix within a time step, Indicates Similarity matrix within time step, Indicates The conflict distance between the first data source and the first data source within the time step, Indicates The first data source and the second data source within the time step The conflict distance of the data source, Indicates Time step The conflict distance between the first data source and the second data source, Indicates Time step Data source and The conflict distance of the data source.
[0034] S3. Obtain the support degree of the data source by using the conflict distance matrix and the similarity matrix.
[0035] Specifically, the support degree of the data source is obtained by using the conflict distance matrix and the similarity matrix in step S3, which satisfies the following formula: ,in, Indicates Time step The support of the data source, Indicates Time step Data source to The conflict distance of the data source, Describe the number of data sources, Indicates The conflict distance matrix within a time step, Indicates Intra-timestep similarity matrix.
[0036] S4. Obtain a first parameter of the data source through the monitoring data, and obtain the credibility of the data source using the first parameter.
[0037] In an embodiment, the first parameter of the data source is obtained by the monitoring data in step S4, and satisfies the following formula: ,in, Indicates Time step The first parameter of the data source, Indicates Time step The normalized value and value of the monitoring data of the data source, Describes the number of data sources.
[0038] Furthermore, the credibility of the data source is obtained by using the first parameter in step S4, and satisfies the following formula: ,in, Indicates Time step The credibility of the data source, Indicates Time step The first parameter of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates The average value of the monitoring data of the data source, Indicates The standard deviation of the monitoring data of the data source.
[0039] S5. Based on the support and the credibility, obtain a fusion weight coefficient of the data source.
[0040] Specifically, in step S5, based on the support and the credibility, the fusion weight coefficient of the data source is obtained, which satisfies the following formula: ,in, Indicates Time step The fusion weight coefficient of the data source, Indicates Time step The support of the data source, Indicates Time step The credibility of the data source, Describes the number of data sources.
[0041] S6. Combine the monitoring data and the fusion weight coefficient to complete the public safety big data fusion.
[0042] In an embodiment, the combination of the monitoring data and the fusion weight coefficient described in step S6 to complete the fusion of public safety big data satisfies the following formula: ,in, represents the integrated public safety big data, Indicates Time step The fusion weight coefficient of the data source, Indicates Time step Monitoring data of data sources, Describes the number of data sources.
[0043] In another embodiment, when the integrated public safety big data is used to respond to emergencies such as natural disasters and public health incidents, it can provide fast and accurate intelligence support to help relevant departments formulate emergency plans and response measures. For example, by analyzing meteorological data, epidemic data, etc., the possibility of disasters can be predicted, emergency resources can be deployed in advance, and rescue efficiency can be improved; large amounts of information on various media platforms such as social media and news websites can be collected and analyzed in real time to quickly grasp the public's attitude and reaction to an event and provide relevant information to decision makers; urban traffic data can be collected, processed and analyzed to optimize the mobility of urban traffic and improve the prevention of traffic accidents.
[0044] See also Figure 2 In an embodiment, in order to efficiently execute a public security big data fusion method provided by the present invention, the present invention also provides a public security big data fusion system, including: an input device, an output device, a processor, and a memory, wherein the input device, the output device, the processor, and the memory are interconnected, and the memory contains program instructions, and the program instructions are used for the steps of the public security big data fusion method. The public security big data fusion system of the present invention has a compact structure and stable performance, and can stably execute a public security big data fusion method of the present invention, further improving the overall applicability and practical application ability of the present invention.
[0045] In an optional embodiment, the processor may be a central processing unit (CPU), which may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. An input device may be used to obtain data information. An output device may be used to output the results obtained by storing program instructions contained in a computer program in a memory provided by the present invention. The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the type of device.
[0046] In yet another alternative embodiment, see Figure 3In order to efficiently execute the public security big data fusion method provided by the present invention, this embodiment also provides a public security big data fusion device, such as Figure 3 As shown, including: The memory 10 is used to store computer programs; the processor 20 is used to execute the computer programs to implement the above-mentioned public safety big data fusion method.
[0047] Memory 10 , processor 20 , communication interface 31 and communication bus 32 . Memory 10 , processor 20 , communication interface 31 all communicate with each other via communication bus 32 .
[0048] In an embodiment, the memory 10 is used to store one or more program instructions. The memory 10 may store program instructions for implementing the following functions: obtaining public safety big data, which is monitoring data of multiple data sources; constructing a data source conflict distance model, and obtaining a conflict distance matrix and a similarity matrix of the data source through the data source conflict distance model and the monitoring data; obtaining the support of the data source using the conflict distance matrix and the similarity matrix; obtaining a first parameter of the data source through the monitoring data, and obtaining the credibility of the data source using the first parameter; obtaining a fusion weight coefficient of the data source based on the support and the credibility; and completing the fusion of public safety big data by combining the monitoring data and the fusion weight coefficient.
[0049] In a possible implementation, the memory 10 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function, etc.; the data storage area may store data created during use.
[0050] In addition, the memory 10 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include an NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic tasks and processing hardware-based tasks.
[0051] The processor 20 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, a microprocessor or any conventional processor, etc. The processor 20 may call a program stored in the memory 10 .
[0052] The communication interface 31 may be an interface of a communication module, and is used to connect to other devices or systems.
[0053] Of course, it should be noted that Figure 3 The structure shown does not constitute a limitation on the public security big data fusion device in this embodiment. In actual applications, the public security big data fusion device may include Figure 3 More or fewer components than shown, or combinations of certain components.
[0054] An embodiment also provides a storage medium having a computer program stored thereon, which implements the steps of the above-mentioned public security big data fusion method when executed by a processor.
[0055] The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0056] In summary, the present invention constructs the fusion weight coefficient of the data source by obtaining the support and credibility of the data source, and uses the fusion weight coefficient to complete the fusion of public safety big data, effectively reducing errors and duplicate data in the data, solving the problem of redundant and unreliable multi-source heterogeneous monitoring data, and maximizing the value of public safety big data. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.
[0057] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A public safety big data fusion method, characterized in that: The public safety big data fusion method comprises the following steps: Acquire public safety big data, where the public safety big data is monitoring data from multiple data sources; Constructing a data source conflict distance model, and obtaining a conflict distance matrix and a similarity matrix of the data source through the data source conflict distance model and the monitoring data; Obtaining the support of the data source by using the conflict distance matrix and the similarity matrix; Obtaining a first parameter of the data source through the monitoring data, and obtaining the credibility of the data source using the first parameter; Based on the support and the credibility, obtaining a fusion weight coefficient of the data source; The monitoring data and the fusion weight coefficient are combined to complete the public safety big data fusion.
2. A public safety big data fusion method according to claim 1, characterized in that: The public safety big data fusion method further includes the following steps: The public safety big data is processed, and the data processing includes data cleaning and noise filtering.
3. A public safety big data fusion method according to claim 1, characterized in that: The data source conflict distance model satisfies the following relationship: ; in, Indicates Time step Data source to The conflict distance of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates Time step Probability estimates of monitoring data from data sources.
4. A method for fusion of public safety big data according to claim 3, characterized in that: Obtaining the probability estimate of the monitoring data comprises the following steps: Obtaining a monitoring data time series of the data source through the monitoring data, and vectorizing the monitoring data time series; According to the vectorization result, the probability distribution function of the data source vector is obtained; The probability distribution function of the data source vector is used to obtain the monitoring data probability estimate.
5. The public safety big data fusion method according to claim 1 is characterized in that: The conflict distance matrix and similarity matrix of the data source obtained by using the data source conflict distance model and the monitoring data satisfy the following formula: ; ; in, Indicates The conflict distance matrix within a time step, Indicates Similarity matrix within time step, Indicates The conflict distance between the first data source and the first data source within the time step, Indicates The first data source and the second data source within the time step The conflict distance of the data source, Indicates Time step The conflict distance between the first data source and the second data source, Indicates Time step Data source and The conflict distance of the data source.
6. A method for fusion of public safety big data according to claim 1, characterized in that: The support degree of the data source is obtained by using the conflict distance matrix and the similarity matrix, satisfying the following formula: ; in, Indicates Time step The support of the data source, Indicates Time step Data source to The conflict distance of the data source, Describe the number of data sources, Indicates The conflict distance matrix within a time step, Indicates Intra-timestep similarity matrix.
7. The public safety big data fusion method according to claim 1 is characterized in that: The first parameter of the data source is obtained through the monitoring data, satisfying the following formula: ; in, Indicates Time step The first parameter of the data source, Indicates Time step The normalized value and value of the monitoring data of the data source, Describes the number of data sources.
8. The public safety big data fusion method according to claim 1 is characterized in that: The credibility of the data source is obtained by using the first parameter, satisfying the following formula: ; in, Indicates Time step The credibility of the data source, Indicates Time step The first parameter of the data source, Indicates Time step Probability estimate of monitoring data from data sources, Indicates The average value of the monitoring data of the data source, Indicates The standard deviation of the monitoring data of the data source.
9. The public safety big data fusion method according to claim 1, characterized in that: The fusion weight coefficient of the data source is obtained based on the support and the credibility, satisfying the following formula: ; in, Indicates Time step The fusion weight coefficient of the data source, Indicates Time step The support of the data source, Indicates Time step The credibility of the data source, Describes the number of data sources.
10. A public safety big data fusion system, characterized in that: The public security big data fusion system includes: an input device, an output device, a processor, and a memory. The input device, output device, processor, and memory are interconnected. The memory includes program instructions, and the program instructions are used to execute the steps of the public security big data fusion method described in any one of claims 1-9.
