Smart security data sharing method, device and system based on Internet of Things
By adopting the smart security data sharing method based on the Internet of Things in the security system, using real-time data analysis and adaptive algorithm models to process data and generate transmission configuration files, the problems of low efficiency and insufficient security in security data sharing are solved, and the problem of low efficiency and insufficient security in security data sharing is realized. Efficient, flexible and secure data sharing.
Patent Information
- Application Number
- CN202411211585.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing security data sharing methods have problems such as low data transmission efficiency, low security and insufficient processing, which cannot meet the needs of real-time and flexibility, which limits the improvement of security system performance.
Using the smart security data sharing method based on the Internet of Things, through real-time data analysis and dynamic matching of data providers, the trained adaptive algorithm model generates data transmission configuration files containing transmission protocols, paths and security policies to ensure efficient data transmission , flexible and safe.
It realizes efficient, flexible and secure data sharing, improves data sharing efficiency and security, and is suitable for intelligent security data sharing across regions and complex environments.
Smart Images

Figure CN118945233A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a smart security data sharing method, device and system based on the Internet of Things. Background Art
[0002] With the rapid development of Internet of Things technology, the amount of data generated by security systems has increased dramatically. This data is of great significance for improving the intelligence level of security systems and strengthening security management. However, in the current security data sharing methods, there are problems such as low data transmission efficiency, low security, and insufficient intelligence in data processing. Traditional data sharing methods often cannot meet the requirements of real-time, flexibility, and security, which restricts the further improvement of security system performance. Summary of the invention
[0003] In order to achieve efficient, flexible and secure data sharing, the present application provides a smart security data sharing method, device and system based on the Internet of Things.
[0004] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A smart security data sharing method based on the Internet of Things, the smart security data sharing method based on the Internet of Things comprising: Get data application request; Perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; Receiving data sent by the data supplier, processing the data by using a trained adaptive algorithm model to obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy; The data transmission configuration file is transmitted to the data demander.
[0005] By adopting the above technical solution, real-time data analysis is performed on data application requests, data suppliers are dynamically searched and matched, data is processed using trained adaptive algorithm models, and data transmission profiles containing transmission protocols, paths, and security policies are generated to ensure efficient, flexible, and secure data transmission. Real-time data analysis and dynamic matching improve the efficiency of data sharing, adaptive algorithm models and dynamic adjustment strategies enhance the flexibility of data transmission, and the integration of security policies ensures the security of data during transmission, thereby achieving efficient, flexible, and secure data sharing. This method effectively solves the problems of low efficiency, poor flexibility, and potential safety hazards faced in the data sharing process, and provides reliable technical support for intelligent security data sharing across regions and in complex environments.
[0006] In a preferred example, the present application may be further configured as follows: the request for obtaining data from the application party includes: Obtain data sharing requests from security devices; According to the device identification information, the data sharing request of the security device is classified and processed to obtain the data application party request.
[0007] By adopting the above technical solution, by obtaining the data sharing request of the security equipment and classifying and processing it based on the equipment identification information, efficient, flexible and safe data sharing can be achieved. Through classification processing, data requests can be responded to quickly and resource allocation can be optimized, thereby improving system processing efficiency.
[0008] In a preferred example, the present application may be further configured as follows: performing real-time data analysis on the data application party's request to obtain data demand information, and dynamically searching and matching data suppliers according to the data demand information, including: Classify and analyze the data demand information according to real-time requirements, data type requirements, frequency requirements, data format requirements, and security requirements to obtain the data demand information; According to the data demand information, the data supplier is dynamically searched and matched.
[0009] By adopting the above technical solutions, efficient, flexible and secure data sharing is achieved by classifying and analyzing data demand information in terms of real-time, data type, frequency, format and security. Through precise classification and dynamic search, the system can optimize resource allocation, reduce data processing delays, and flexibly adapt to various data needs. In terms of security, the classification and analysis system can take appropriate protection measures to ensure that data is effectively protected during the sharing process and prevent unauthorized access.
[0010] In a preferred example, the present application may be further configured as follows: dynamically searching and matching the data supplier according to the data demand information includes: The data demand information is processed through real-time data stream processing technology, and the data suppliers are dynamically searched and matched.
[0011] By adopting the above technical solutions, real-time data stream processing technology improves response speed and processing efficiency, making the data matching process faster and more efficient. The dynamic search and matching function ensures that the system can flexibly adapt to different data requirements and optimize resource allocation.
[0012] In a preferred example, the present application may be further configured as follows: the data sent by the data supplier is received, and the data is processed by a trained adaptive algorithm model to obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path and a security policy, and includes: The historical data demand information is divided into a training set, a validation set and a test set, and a preset adaptive algorithm model is gradually trained through the training set, the validation set and the test set to obtain the trained adaptive algorithm model.
[0013] By adopting the above technical solutions, through systematic training of training sets, validation sets and test sets, the model can accurately capture the patterns and trends of data requirements. This enables the system to efficiently predict future data needs, thereby quickly matching suitable data suppliers and reducing the time delay for data acquisition and processing. By continuously updating and optimizing the model, the system can adapt to different changes in data requirements. Whether it is changes in the type, frequency or format of data requirements, the trained model can flexibly adjust the strategy to adapt to new data demand scenarios.
[0014] In a preferred example, the present application can be further configured as follows: the historical data demand information is divided into a training set, a verification set and a test set, and the preset adaptive algorithm model is gradually trained through the training set, the verification set and the test set to obtain the trained adaptive algorithm model, including Using the training set to perform initial training on the preset adaptive algorithm model, by adjusting the preset adaptive algorithm model parameters to minimize the loss function, so that the preset adaptive algorithm model can learn the characteristics and laws of the historical data demand information; Evaluating the performance of the preset adaptive algorithm model through the validation set; The test set is used to evaluate the final performance of the preset adaptive algorithm model to ensure that the preset adaptive algorithm model can recognize unseen data.
[0015] By adopting the above technical solutions, the efficiency, flexibility and security of data sharing can be significantly improved by using training sets, validation sets and test sets to perform initial training, performance evaluation and final testing on the preset adaptive algorithm model. The initial training phase optimizes the model's predictive ability and improves the speed and accuracy of data matching. The validation and testing phases ensure that the model can adapt to changes in data requirements and identify unseen data, thereby flexibly adjusting data sharing strategies. Ultimately, the optimized model performance can improve the security of the system and protect data privacy through intelligent decision-making and risk management.
[0016] In a preferred example, the present application may be further configured as follows: the data transmission configuration file is connected to the intelligent security device, and the data supplier transmits the real-time security data to the data demander, and further includes: The transmission rate and priority of the real-time security data are dynamically adjusted according to the network status.
[0017] By adopting the above technical solutions, dynamically adjusting the transmission rate and priority of real-time security data according to the network status can significantly improve the efficiency, flexibility and security of data sharing. By optimizing bandwidth utilization and reducing transmission delays, the system can efficiently process data requests and quickly respond to network changes. Dynamic priority setting ensures flexible adaptation to different data needs, while improving the integrity and security of data transmission and preventing the impact of network attacks.
[0018] The second object of the invention is achieved by the following technical solutions: A smart security data sharing device based on the Internet of Things, the smart security data sharing device based on the Internet of Things comprising: A request acquisition module is used to obtain data application requests; A matching module, used to perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; A model processing module, used to receive data sent by the data supplier, process the data through the trained adaptive algorithm model, and obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy; The connection and sending module is used to connect the data transmission configuration file with the intelligent security device, and the data supplier transmits the real-time security data to the data demander.
[0019] By adopting the above technical solution, real-time data analysis is performed on data application requests, data suppliers are dynamically searched and matched, data is processed using trained adaptive algorithm models, and data transmission profiles containing transmission protocols, paths, and security policies are generated to ensure efficient, flexible, and secure data transmission. Real-time data analysis and dynamic matching improve the efficiency of data sharing, adaptive algorithm models and dynamic adjustment strategies enhance the flexibility of data transmission, and the integration of security policies ensures the security of data during transmission, thereby achieving efficient, flexible, and secure data sharing. This method effectively solves the problems of low efficiency, poor flexibility, and potential safety hazards faced in the data sharing process, and provides reliable technical support for intelligent security data sharing across regions and in complex environments.
[0020] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned smart security data sharing method based on the Internet of Things are implemented.
[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned smart security data sharing method based on the Internet of Things.
[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. Through real-time data analysis of data application requests, dynamic search and matching of data suppliers, data processing using trained adaptive algorithm models, and generation of data transmission configuration files containing transmission protocols, paths, and security policies, efficient, flexible, and secure data transmission is ensured. Real-time data analysis and dynamic matching improve the efficiency of data sharing, adaptive algorithm models and dynamic adjustment strategies enhance the flexibility of data transmission, and the integration of security policies ensures the security of data during transmission, thereby achieving efficient, flexible, and secure data sharing. This method effectively solves the problems of low efficiency, poor flexibility, and potential safety hazards faced in the data sharing process, and provides reliable technical support for intelligent security data sharing across regions and in complex environments; 2. Real-time data stream processing technology improves response speed and processing efficiency, making the data matching process faster and more efficient. Dynamic search and matching functions ensure that the system can flexibly adapt to different data needs and optimize resource allocation; 3. Dynamically adjusting the transmission rate and priority of real-time security data according to the network status can significantly improve the efficiency, flexibility and security of data sharing. By optimizing bandwidth utilization and reducing transmission delays, the system can efficiently process data requests and quickly respond to network changes. Dynamic priority settings ensure flexible adaptation to different data needs, while improving the integrity and security of data transmission and preventing the impact of network attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of a smart security data sharing method based on the Internet of Things in one embodiment of the present application; Figure 2 This is a flowchart of the implementation of the smart security data sharing method based on the Internet of Things before step S10 in one embodiment of the present application; Figure 3 This is a flowchart for implementing step S20 of the smart security data sharing method based on the Internet of Things in one embodiment of the present application; Figure 4 This is a flowchart for implementing step S22 of the smart security data sharing method based on the Internet of Things in one embodiment of the present application; Figure 5 This is a flowchart of the implementation of the smart security data sharing method based on the Internet of Things before step S30 in one embodiment of the present application; Figure 6 It is a flowchart for implementing step S301 of the smart security data sharing method based on the Internet of Things in one embodiment of the present application; Figure 7 This is a flowchart of the implementation of step S40 of the smart security data sharing method based on the Internet of Things in one embodiment of the present application; Figure 8 It is a principle block diagram of a smart security data sharing method based on the Internet of Things in one embodiment of the present application; Fig. 9 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The present application is further described in detail below in conjunction with the accompanying drawings.
[0025] In one embodiment, if Figure 1 As shown, the present application discloses a smart security data sharing method based on the Internet of Things, which specifically includes the following steps: S10: Obtain data application request.
[0026] In this embodiment, the data application party request refers to data demand information sent by the data demand party device to the data service platform.
[0027] Specifically, data application requests include but are not limited to the following: data type (such as video surveillance data, access control records, fire alarm data, etc.), real-time requirements (such as real-time transmission, delay tolerance), data frequency (such as the number of data packets transmitted per second), security requirements (such as encryption method, authentication method), data format (such as JSON, XML, binary stream), the data demander device sends the data request to the data service platform through a preset network protocol (such as HTTP / HTTPS). The data service platform parses and processes the received request. The platform determines the source of the request based on the device identification information and performs authentication and authorization to ensure that the request is legal. Extract the data demand information and store it in the platform database for subsequent processing and matching.
[0028] S20: Perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information.
[0029] In this embodiment, data demand information refers to specific data requirements extracted and analyzed from the data application party's request, including data type, real-time requirements, data frequency and security requirements, etc. Data supplier refers to a device or platform that can provide the required data.
[0030] Specifically, real-time data analysis is performed on the data application party's request to extract data demand information: data type, the type of data required by the request (such as video, audio, text, etc.). Real-time requirements, the timeliness requirements of data transmission (immediate or batch processing). Data frequency, the frequency of data update (such as 10 frames per second). Security requirements, the security requirements of data transmission (such as whether encryption or authentication is required). Data format, the format requirements of data (such as JSON, XML). According to the real-time requirements in the request, the data requirements are classified as real-time data requirements or non-real-time data requirements. Determine the frequency requirements for data transmission and evaluate the transmission load. Evaluate the security requirements for data transmission and decide whether encryption or other security measures are required. Confirm the required data format and ensure the compatibility of the data format. Dynamically search and match data suppliers based on data demand information. Collect and store data of all potential data suppliers, including: data type, data format, data transmission rate, geographic location, real-time capability and security capability. According to the data type in the data demand information, filter out data suppliers that can provide the corresponding data type from the database. Further filter and select data suppliers that can meet the real-time requirements. For example, for real-time transmission requirements, select suppliers with low latency and high bandwidth capabilities. Ensure that the selected data supplier can support the required data transmission frequency. According to the security requirements, select data suppliers that support the corresponding encryption and authentication mechanisms. Ensure that the data supplier can provide data in the required format. For requests that require real-time data, give priority to data suppliers that can provide high-speed real-time data transmission; for requests for batch data, choose suppliers with large data volumes and low update frequencies. Dynamically evaluate the current network conditions and select data suppliers with low network latency and stable transmission.
[0031] S30: Receive data sent by the data supplier, process the data through the trained adaptive algorithm model, and obtain a data transmission configuration file, which includes a transmission protocol, a path, and a security policy.
[0032] In this embodiment, the trained adaptive algorithm model refers to a model trained based on a large amount of historical data and rules. The model can automatically generate the optimal data transmission configuration based on the input data. The data transmission configuration file refers to a file generated based on the data and used to guide the data transmission process.
[0033] Specifically, the data is passed as input to the adaptive algorithm model, which processes the data and generates a data transmission profile containing a transmission protocol, transmission path, and security policy based on the input data.
[0034] S40: Transmit the data transmission configuration file to the data demander.
[0035] In this embodiment, the data demander refers to a system or device that receives and processes security data from a data supplier.
[0036] Specifically, the data service platform processes the metadata of the data supplier through an adaptive algorithm model to generate a data transmission configuration file containing the transmission protocol, path, and security policy. Establish a secure communication channel: Establish a secure communication channel through an SSL / TLS encrypted channel or other secure communication protocols to ensure the transmission security of the configuration file. After the configuration file is encrypted, it is sent to the data demander through a secure communication channel to ensure data security during the transmission process. The data demander receives the encrypted configuration file and decrypts it using the key to obtain the original configuration file content. The data demander verifies the integrity and authenticity of the configuration file, applies the transmission protocol, path, and security policy in the configuration file, and performs data transmission.
[0037] In one embodiment, if Figure 2 As shown, before step S10, that is, obtaining the data application request, the preceding steps include: S101: Obtaining a data sharing request from a security device.
[0038] In this embodiment, the data sharing request of the security device refers to a request sent by the security device to the data service platform, requesting to share or obtain data.
[0039] Specifically, the security device sends a data sharing request to the data service platform via the Internet, and the platform receives the request. The data service platform parses the received data sharing request and extracts detailed information such as device identification, data type, and request time. Based on the parsed information, it determines whether the request type is a data supplier request or a data demander request. S102: Classify and process the data sharing request of the security device according to the device identification information to obtain the data application party request.
[0040] In this embodiment, the device identification information refers to information used to uniquely identify each security device.
[0041] Specifically, the device identification information is used to uniquely identify each security device, including device ID, serial number, MAC address, etc. Using the preset classification rules and device identification information, the request is classified as a data producer request or a data user request. The data producer refers to the device that provides data, and the data user refers to the device that needs data. For requests classified as data user requests, detailed data information and requirements are further extracted and recorded to prepare for subsequent processing and data matching.
[0042] The preset classification rules refer to preset classification rules including but not limited to the following: Device type rules, which classify according to the type of device (such as camera, sensor, access control system, etc.), and determine whether the device is a source of data production or an application party that needs data. For example, cameras are usually used as data producers, while monitoring systems may be used as data applications. Data requirement rules, which classify according to the detailed information of the data requirements in the request (such as data type, data frequency, real-time requirements, etc.). Determine whether the request is to obtain data or provide data. For example, a data application party requests a real-time video stream, and a data producer requests to share sensor readings. Device role rules, which classify according to the role or configuration of the device in the system, and determine whether the device is a data producer or a data application party. For example, some devices are preset as data producers, while other devices are preset as data applications. Device status rules, which classify according to the current status or mode of the device (such as online, offline, standby, active, etc.). Only devices in the active state may be data producers, while devices in standby or other states may be data applications. Geographic location rules: Classify based on the geographic location of the device. For example, devices in certain specific areas may be preset as data producers, while devices in other areas may be preset as data users. Priority rules: Classify based on the priority of the device or request. High-priority requests may need to be processed immediately and classified as data users, while low-priority requests may be processed later.
[0043] In one embodiment, if Figure 3 As shown, in step S20, real-time data analysis is performed on the data application party's request to obtain data demand information, and data suppliers are dynamically searched and matched according to the data demand information, including: S21: Classify and analyze the data demand information according to real-time requirements, data type requirements, frequency requirements, data format requirements, and security requirements to obtain data demand information.
[0044] In this embodiment, the real-time requirement refers to the time delay and response speed required during the transmission and processing of data. The data type requirement refers to the category and nature of the data, including structured data, unstructured data, semi-structured data, etc. The frequency requirement refers to the frequency of data transmission and update, including the time interval for data collection and the frequency of data transmission. The data format requirement refers to the storage and transmission format of data, including text, binary, compressed format, etc. The security requirement refers to the confidentiality, integrity and availability of data during transmission and storage.
[0045] Specifically, the system receives a request from a data application party and extracts the data requirement information therein. If the real-time requirement is "high", it is marked as high real-time requirement. If the real-time requirement is "low", it is marked as low real-time requirement. According to the degree of structure of the data, the data type is classified into structured, unstructured or semi-structured. According to the frequency of data collection and transmission, the frequency requirement is classified into high frequency or low frequency. According to the storage and transmission format of the data, the data format requirement is classified into text format, binary format or compressed format. According to the security requirement of the data, the security requirement is classified into high security or low security. Example implementation: Assume that a data application party request is received, and its data requirement information is as follows: real-time requirement: high. Data type: unstructured data. Frequency requirement: high frequency. Data format: binary format. Security requirement: high. The system receives the data application party request and extracts the data requirement information. Real-time requirement analysis: marked as high real-time requirement. Data type requirement analysis: classified as unstructured data. Frequency requirement analysis: classified as high frequency. Data format requirement analysis: classified as binary format. Security requirement analysis: classified as high security. Finally, the system generates a data requirement information including real-time requirements, data types, frequency requirements, data formats and security requirements based on the above classification results, which serves as the basis for subsequent dynamic search and matching of data suppliers.
[0046] S22: Dynamically search and match data suppliers based on data demand information.
[0047] Specifically, according to the data demand information, the specific implementation of dynamically searching and matching data suppliers includes the following steps: First, extract the data demand information received from the data application party, including real-time requirements, data type requirements, frequency requirements, data format requirements and security requirements. Then, build a database containing detailed information of each data supplier, and establish an index based on these requirements. By designing a matching algorithm, gradually screen out data suppliers that meet the data demand information. In the specific implementation process, the data service platform adjusts the search strategy in real time to adapt to different requirements and network conditions. Through real-time search, scoring and sorting, priority selection and dynamic adjustment, the platform can quickly match the most suitable data supplier to ensure the real-time, reliability and security of data transmission. For example, the data demand information received from the data application party includes real-time requirements, data type requirements, frequency requirements, data format requirements and security requirements. Specific information: real-time requirements: high, data type requirements: unstructured, frequency requirements: high, data format requirements: binary, security requirements: high. Build a data supplier database. The database contains detailed information for each data supplier, as follows:Data Supplier A: Real-time: High, Data Type: Unstructured, Frequency: High, Data Format: Binary, Security: High.Data Supplier B: Real-time: Low, Data Type: Structured, Frequency: Low, Data Format: Text, Security: Medium.Data Supplier C: Real-time: High, Data Type: Semi-structured, Frequency: Medium, Data Format: JSON, Security: HighIndex the data supplier database. Indexes are built based on fields such as real-time, data type, frequency, data format, and security. For example:Real-time index: {High: Data Supplier A, Data Supplier C}.Data type index: {Unstructured: Data Supplier A, Semi-structured: Data Supplier C}.Frequency index: {High: Data Supplier A}.Data format index: {Binary: Data Supplier A}.Security index: {High: Data Supplier A, Data Supplier C}. Filter by real-time requirements: give priority to data suppliers with high real-time performance, namely data suppliers A and C. Filter by data type requirements: select data suppliers with unstructured data types, namely data supplier A. Filter by frequency requirements: select data suppliers with high frequency, namely data supplier A. Filter by data format requirements: select data suppliers with binary data formats, namely data supplier A. Filter by security requirements: select data suppliers with high security, namely data supplier A.
[0048] In one embodiment, if Figure 4 As shown, in step S22, dynamically searching and matching data suppliers according to data demand information includes: S221: Process data demand information through real-time data stream processing technology, and dynamically search and match data suppliers.
[0049] In this embodiment, the real-time data stream processing technology refers to.
[0050] Specifically, it refers to the real-time analysis and processing of continuous data streams through a stream processing framework to meet the needs of data applications.
[0051] Specifically, the stream processing framework receives the data demand information stream sent by the data application party. It parses the demand information in the data stream and extracts key information, such as real-time requirements, data types, frequencies, data formats, and security requirements. According to the data demand information received in real time, it updates the index information of the data supplier, including real-time, data types, frequencies, data formats, and security.
[0052] Dynamic screening: In the stream processing framework, information flows that meet current data requirements are screened in real time. The screening criteria include real-time requirements and other demand information. The screened data suppliers are scored. The scoring criteria include real-time, data type, frequency, data format and security. Each criterion is assigned a certain weight. Based on the scoring results, the data supplier with the highest score is selected for data transmission. At the same time, the data transmission status is monitored, such as transmission delay, data loss, etc. According to the monitoring results, the search and matching strategy is adjusted in real time to reselect the optimal data supplier.
[0053] In one embodiment, if Figure 5 As shown, before step S30, that is, by receiving the data sent by the data supplier, the data is processed by the trained adaptive algorithm model to obtain a data transmission configuration file, which includes a transmission protocol, a path and a security policy, including: S301: Divide the historical data demand information into a training set, a validation set and a test set, and gradually train the preset adaptive algorithm model through the training set, the validation set and the test set to obtain a trained adaptive algorithm model.
[0054] In this embodiment, the training set refers to the data set used to train the model. The validation set refers to the data set used to evaluate the model performance and perform hyperparameter tuning during the model training process to help avoid overfitting. The test set refers to the data set used to finally evaluate the model performance to ensure that the model performs well on unseen data. The preset adaptive algorithm model refers to the algorithm model used to process and analyze data demand information.
[0055] Specifically, the historical data demand information is divided into a training set, a validation set, and a test set. The training set is used to train the adaptive algorithm model so that it can learn the relationship between the input data and the output results. The validation set is used to evaluate the model performance and perform hyperparameter tuning during the training process to prevent overfitting. The test set is used to evaluate the final performance of the model after the training is completed to ensure that it performs well on unseen data. Through these steps, the preset adaptive algorithm model is gradually trained, and finally a trained adaptive algorithm model that can dynamically generate a data transmission profile based on the input metadata information is obtained.
[0056] In one embodiment, if Figure 6 As shown, in step S301, the historical data demand information is divided into a training set, a validation set and a test set, and the preset adaptive algorithm model is gradually trained through the training set, the validation set and the test set to obtain a trained adaptive algorithm model, including S3011: Use the training set to perform initial training on the preset adaptive algorithm model, and adjust the preset adaptive algorithm model parameters to minimize the loss function so that the preset adaptive algorithm model can learn the characteristics and rules of the historical data demand information.
[0057] Specifically, the historical data demand information is divided into training sets. The training set should contain multiple types of historical data demand information to ensure that the model can learn different demand characteristics and rules. The training set data is preprocessed, including data cleaning, normalization, feature extraction, etc. Data cleaning can remove noise data, normalization can ensure that the data is trained on a uniform scale, and feature extraction is to extract useful information from the original data. Initialize the preset adaptive algorithm model. The difference between the predicted value and the true value of the model is quantified by the loss function MSE. The smaller the loss value, the better the performance of the model. Use the training set data to train the model. Input the training set data into the model, calculate the predicted output of the model, and calculate the error between the predicted output and the true value through the loss function. Use the back propagation algorithm to calculate the gradient of the loss function relative to the model parameters, and then use the gradient descent optimization algorithm to update the model parameters and gradually minimize the loss function. Divide the training process into multiple iterations. In each iteration, the model uses the entire training set data to update the parameters once. As the number of iterations increases, the model parameters will gradually optimize and the loss value will gradually decrease.
[0058] S3012: Evaluate the performance of the preset adaptive algorithm model through the validation set.
[0059] Specifically, a part of the historical data demand information is divided as a validation set. Then, the preset adaptive algorithm model is initialized with the current hyperparameter combination, and the model is trained using the training set. During the training process, the validation set is used regularly to evaluate the model performance, and the loss value and other performance indicators on the validation set are calculated. The performance of each hyperparameter combination on the validation set is recorded, and the performance of different hyperparameter combinations is compared after the training is completed, and the hyperparameter combination with the best performance on the validation set is selected. In this way, the model can be ensured to perform well on unseen data, thereby optimizing the model's hyperparameter configuration.
[0060] S3013: Use the test set to evaluate the final performance of the preset adaptive algorithm model to ensure that the preset adaptive algorithm model can recognize unseen data.
[0061] Specifically, a portion of the data is divided from the historical data demand information as a test set to ensure that the test set is not used during the training and validation process. Then, the preset adaptive algorithm model is initialized using the best hyperparameter combination and model configuration selected in the validation set evaluation phase. Next, the data of the test set is input into the model, the prediction output is obtained, and the prediction results are recorded. Compare the prediction results with the true labels of the test set, and calculate the performance indicators of the model such as accuracy, precision, recall rate, F1 value, and loss value. By analyzing these performance indicators, the performance of the model on unseen data is evaluated to ensure that it has good generalization ability. Finally, the performance indicators on the test set are organized into a report to record and verify the actual application effect of the model.
[0062] In one embodiment, if Figure 7 As shown, in step S40, the data transmission configuration file is connected to the intelligent security device, and the data supplier transmits the real-time security data to the data demander, which also includes: S41: Dynamically adjust the transmission rate and priority of real-time security data according to network status.
[0063] Specifically, network status parameters are collected through network monitoring equipment and software tools, and summarized in real time to the control center to form a global view; transmission data is classified and prioritized, and dynamic adjustment policy rules are set; priority queues are used to manage data transmission, and transmission rate and priority are dynamically adjusted according to network status. For example, emergency alarm information is assigned the highest priority, and regular logs are assigned a lower priority. The adjusted strategy is applied in real time through the transmission scheduling system to ensure that high-priority data is transmitted first even when the network is congested. For example, when the network bandwidth utilization rate exceeds 80%, the transmission rate of low-priority data is reduced; when the delay exceeds the threshold, high-priority data is transmitted first. Through continuous monitoring and feedback, dynamic adjustment strategies are regularly evaluated and optimized to ensure optimal transmission performance under different network conditions.
[0064] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0065] In one embodiment, a smart security data sharing device based on the Internet of Things is provided, and the smart security data sharing device based on the Internet of Things corresponds one-to-one to the smart security data sharing method based on the Internet of Things in the above embodiment. Figure 8 As shown, the smart security data sharing device based on the Internet of Things includes a request acquisition module, a matching module, a model processing module and a connection and sending module. The detailed description of each functional module is as follows: A request acquisition module is used to obtain data application requests; The matching module is used to perform real-time data analysis on the data application party's request, obtain data demand information, and dynamically search and match data suppliers based on the data demand information; The model processing module is used to receive data sent by the data supplier, process the data through the trained adaptive algorithm model, and obtain a data transmission configuration file, which includes a transmission protocol, path, and security policy; The connection and sending module is used to connect the data transmission configuration file with the intelligent security device, and the data supplier transmits the real-time security data to the data demander.
[0066] Optionally, before requesting the module include: A sharing request module, used to obtain data sharing requests from security devices; The classification module is used to classify and process the data sharing requests of security equipment according to the equipment identification information to obtain the data application party's request.
[0067] Optionally, matching modules include: The analysis submodule is used to classify and analyze the data demand information according to real-time requirements, data type requirements, frequency requirements, data format requirements, and security requirements to obtain the data demand information; The matching submodule is used to dynamically search and match data suppliers based on data demand information.
[0068] Optionally, matching submodules include: The real-time data stream processing unit is used to process data demand information, dynamically search for and match data suppliers through real-time data stream processing technology.
[0069] Optionally, the model processing module includes: The preset model submodule is used to divide the historical data demand information into a training set, a validation set and a test set, and gradually train the preset adaptive algorithm model through the training set, the validation set and the test set to obtain a trained adaptive algorithm model.
[0070] Optionally, the preset model submodules include: A training unit, used to perform initial training on a preset adaptive algorithm model using a training set, and to enable the preset adaptive algorithm model to learn the characteristics and rules of the historical data demand information by adjusting the preset adaptive algorithm model parameters to minimize the loss function; A verification unit, used to evaluate the performance of a preset adaptive algorithm model through a verification set; The testing unit is used to evaluate the final performance of the preset adaptive algorithm model using the test set to ensure that the preset adaptive algorithm model can recognize unseen data.
[0071] Optionally, after connecting and sending the module, the following is also included: The network adjustment module is used to dynamically adjust the transmission rate and priority of real-time security data according to the network status.
[0072] For the specific definition of the smart security data sharing device based on the Internet of Things, please refer to the definition of the smart security data sharing method based on the Internet of Things above, which will not be repeated here. Each module in the above-mentioned smart security data sharing device based on the Internet of Things can be implemented in whole or in part through software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0073] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a smart security data sharing method of the Internet of Things is implemented.
[0074] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Get data application request; Conduct real-time data analysis on data application requests to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; Receive data sent by the data supplier, process the data through the trained adaptive algorithm model, and obtain a data transmission configuration file, which includes the transmission protocol, path, and security policy; Transmit the data transfer configuration file to the data demander.
[0075] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Get data application request; Perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; Receiving data sent by the data supplier, processing the data by using a trained adaptive algorithm model to obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy; The data transmission configuration file is transmitted to the data demander.
[0076] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0077] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0078] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A smart security data sharing method based on the Internet of Things, characterized in that: The smart security data sharing method based on the Internet of Things includes: Get data application request; Perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; Receiving data sent by the data supplier, processing the data by using a trained adaptive algorithm model to obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy; The data transmission configuration file is transmitted to the data demander.
2. The method for sharing smart security data based on the Internet of Things according to claim 1 is characterized in that: The request for obtaining data from the application party previously includes: Obtain data sharing requests from security devices; According to the device identification information, the data sharing request of the security device is classified and processed to obtain the data application party request.
3. The method for sharing smart security data based on the Internet of Things according to claim 1 is characterized in that: The real-time data analysis of the data application party's request to obtain data demand information, and dynamically searching and matching data suppliers according to the data demand information, includes: Classify and analyze the data demand information according to real-time requirements, data type requirements, frequency requirements, data format requirements, and security requirements to obtain the data demand information; According to the data demand information, the data supplier is dynamically searched and matched.
4. The method for sharing smart security data based on the Internet of Things according to claim 3 is characterized in that: The dynamically searching and matching the data supplier according to the data demand information includes: The data demand information is processed through real-time data stream processing technology, and the data suppliers are dynamically searched and matched.
5. The method for sharing smart security data based on the Internet of Things according to claim 1 is characterized in that: The data is received from the data supplier, and the data is processed by a trained adaptive algorithm model to obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy, and includes: The historical data demand information is divided into a training set, a validation set and a test set, and a preset adaptive algorithm model is gradually trained through the training set, the validation set and the test set to obtain the trained adaptive algorithm model.
6. The method for sharing smart security data based on the Internet of Things according to claim 5 is characterized in that: The historical data demand information is divided into a training set, a validation set and a test set, and a preset adaptive algorithm model is gradually trained by the training set, the validation set and the test set to obtain the trained adaptive algorithm model, including: Using the training set to initially train the preset adaptive algorithm model, by adjusting the preset adaptive algorithm model parameters to minimize the loss function, so that the preset adaptive algorithm model can learn the characteristics and laws of the historical data demand information; Evaluating the performance of the preset adaptive algorithm model through the validation set; The test set is used to evaluate the final performance of the preset adaptive algorithm model to ensure that the preset adaptive algorithm model can recognize unseen data.
7. The method for sharing smart security data based on the Internet of Things according to claim 1 is characterized in that: The transmitting the data transmission configuration file to the data demander also includes: The transmission rate and priority of the real-time security data are dynamically adjusted according to the network status.
8. A smart security data sharing device based on the Internet of Things, characterized in that: The smart security data sharing device based on the Internet of Things includes: A request acquisition module is used to obtain data application requests; A matching module, used to perform real-time data analysis on the data application party's request to obtain data demand information, and dynamically search and match data suppliers based on the data demand information; A model processing module, used to receive data sent by the data supplier, process the data through the trained adaptive algorithm model, and obtain a data transmission configuration file, wherein the data transmission configuration file includes a transmission protocol, a path, and a security policy; The connecting and sending module is used to transmit the data transmission configuration file to the data demander.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the smart security data sharing method based on the Internet of Things as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the smart security data sharing method based on the Internet of Things as described in any one of claims 1 to 7 are implemented.
