A machine autonomous learning system based on data sharing technology
Through the machine autonomous learning system based on data sharing technology, the problem of insufficient flexibility and adaptability of machine equipment in complex environments is solved, cross-device data sharing and collaborative learning are realized, the autonomous learning and intelligent decision-making capabilities of the equipment are improved, and the This improves the overall intelligence level and operational efficiency of the system.
Patent Information
- Application Number
- CN202410328518.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-03-21
AI Technical Summary
Existing machines and equipment lack flexibility and adaptability in complex or unknown operating environments, and the phenomenon of data islands in a multi-device environment hinders knowledge sharing and overall optimization, resulting in a lack of effective data sharing and collaboration mechanisms between devices, limiting the use of equipment. Autonomous learning and intelligent decision-making capabilities.
A machine autonomous learning system based on data sharing technology is designed, including data collection, preprocessing, encrypted sharing, autonomous learning and decision-making modules. Through multi-source data collection, encrypted sharing, joint learning algorithms and deep neural networks, cross-device Data sharing and collaborative learning ensure data security and privacy.
Significantly improves the autonomous learning capabilities of machine equipment, enhances the intelligence level of the system, improves operational efficiency and safety, allows equipment to automatically optimize performance in a real-time environment, and through joint learning and intelligent data sharing, each equipment can learn and share with each other Knowledge improves the overall learning and progress speed of the system.
Smart Images

Figure CN118070874B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous learning technology, and in particular to a machine autonomous learning system based on data sharing technology. Background Art
[0002] In the traditional machine equipment operation mode, the learning and decision-making capabilities of the equipment are usually limited to preset programs and rules. This mode makes the equipment lack flexibility and adaptability when facing complex or unknown operating environments. Although some modern systems have begun to adopt machine learning technology, these technologies often rely on centralized data processing and analysis, which limits learning efficiency and system scalability.
[0003] In a multi-device environment, data is usually processed and stored in isolation, creating "data islands". This decentralized data management method hinders knowledge sharing and overall optimization, reduces the overall intelligence level of the system, and lacks effective data sharing and collaboration mechanisms between devices, so that each device can only rely on limited data for learning and decision-making, and cannot fully utilize other data resources in the network.
[0004] With the advancement of technology and the diversification of application scenarios, higher requirements are placed on the autonomous learning capabilities of machine equipment. Equipment needs to be able to adaptively learn and optimize its operations to cope with changing environments and tasks. There is an urgent need to develop a system that can achieve cross-device data sharing, collaborative learning, and autonomous intelligent decision-making in complex environments. Summary of the invention
[0005] Based on the above objectives, the present invention provides a machine autonomous learning system based on data sharing technology.
[0006] A machine autonomous learning system based on data sharing technology, including the following modules:
[0007] Data collection module: collects data from multiple sources;
[0008] Data preprocessing module: cleaning, formatting and preliminary analysis of collected data;
[0009] Data encryption sharing module: encrypts data to ensure secure sharing of data between different devices;
[0010] Autonomous learning module: uses federated learning algorithms to extract knowledge and patterns from shared data;
[0011] Decision-making module: Make and execute decisions based on the output of the learning module;
[0012] Feedback module: collects execution results and provides them to the data collection module to form a closed-loop learning.
[0013] Furthermore, the multiple sources include sensors, the Internet, and user input, and the data collected by the data collection module specifically includes:
[0014] Sensor data collection: Use built-in or external sensors to monitor the core operating parameters of the machine equipment in real time, including temperature, pressure, speed, current, voltage, power consumption, failure rate and maintenance requirements. For mobile devices, collect positioning data, movement trajectory and speed. For devices that need to operate in specific environments, collect environmental data related to device performance.
[0015] Internet data collection: Collect remote monitoring data related to the equipment through network connection, including equipment operation logs, performance reports and maintenance records, and collect industry standards, regulatory updates and security alerts related to the equipment;
[0016] User input data collection: Collect user operation data, setting preferences and usage feedback on machine equipment to understand how users interact with the equipment, and collect user evaluations of equipment performance and maintenance requests through the user interface;
[0017] It also includes collaborative equipment data sharing: data sharing with similar or related equipment to collect performance data and operating experience in similar operating environments, and to achieve cross-equipment data sharing through the network.
[0018] Furthermore, the data preprocessing module specifically includes:
[0019] Data cleaning: Identify and remove erroneous or incomplete data records. For device sensor data, identify and correct deviations, adjust abnormal readings based on historical data patterns, and use natural language processing technology to filter out irrelevant information in user input data, including erroneous input or invalid commands.
[0020] Data formatting: Convert the collected data into a unified format, standardize timestamps, unify digital representation methods, implement standardized processing for multi-source data to ensure data consistency and comparability, and encode categorical data into numerical values to meet the needs of machine learning algorithms;
[0021] Preliminary Analysis: Perform basic statistical analysis, including calculating means, standard deviations, trend lines, and for time series data, perform time series analysis to identify cyclical and seasonal patterns.
[0022] Furthermore, the data encryption sharing module specifically includes:
[0023] Dynamic key generation and management: Establish a dynamic key generation submodule, where keys are dynamically generated based on the specific context of the interaction between devices, and set up a central key management unit to monitor the life cycle of keys and update them immediately when they expire or are compromised;
[0024] A two-layer encryption approach is used: the first layer uses standard encryption technology, and the second layer uses a device-specific encryption algorithm that is based on the operating environment or unique properties of the device.
[0025] Furthermore, the dynamic key generation submodule specifically includes:
[0026] Context-based key generation: Key generation depends on the specific context of the interaction between devices, including interaction time, device status, operation sequence, and environmental factors. The key is generated through a hash algorithm using specific context dynamic parameters as input;
[0027] Key generation algorithm: Use a cryptographically secure pseudo-random number generator (CSPRNG) to ensure the randomness and unpredictability of the key, and use the SHA-256 hash function to generate the key from the context data;
[0028] Context-aware mechanism: Continuously monitor the interaction patterns and environmental changes between devices, update the context information used for key generation in real time, and automatically trigger the generation of new keys when new or abnormal interactions are detected by analyzing device usage data and behavior patterns;
[0029] The central key management unit tracks all generated keys, records the generation time, usage and scheduled expiration time, and regularly evaluates the security and effectiveness of the keys to ensure that they are not outdated or cracked. When the key reaches the preset life cycle or a potential security threat is detected, a new key is automatically generated and the old key is discarded. When the key is destroyed or leaked, it is immediately identified and an emergency replacement procedure is initiated. The newly generated key is distributed to related devices, and a pre-defined security protocol is used between devices to receive and synchronize the new key.
[0030] Furthermore, the double-layer encryption method specifically includes:
[0031] First layer of encryption: Use the AES encryption standard to encrypt data in the first layer, and choose the 256-bit key version of AES. The AES encryption process involves multiple rounds of repeated processing, including substitution, permutation, mixing and adding keys;
[0032] Second layer encryption: Create a device ID-based hash function based on the device ID attribute of the device as the basis for generating the second layer key. The second layer encryption algorithm is lightweight and is executed in real time on the device without affecting performance. It includes device ID processing, making the device ID = D, selecting a base number P (such as a digital representation of the device manufacturing date) for base transformation, calculating T = D*P, applying the hash function H to T, and calculating K = H(T), where K is the final generated key.
[0033] Encryption process: Take the output of the first layer of encryption AES encryption as input data I, and apply the second layer of encryption to each data block B (part of I): Encrypted B = B XOR K, where XOR is the exclusive OR operation, and repeat the operation until all data blocks are processed.
[0034] Furthermore, the federated learning algorithm in the autonomous learning module is based on a distributed machine learning method, allowing multiple devices to collaboratively learn a shared learning model while maintaining the privacy of their respective data. Each device uses local data to train a part of the learning model, and then sends the learning model update to the central server for aggregation without sharing the original data, specifically including:
[0035] Local model training: On each device, a model is trained using its local data;
[0036] Model update aggregation: Model updates from all devices are sent to a central server for aggregation, and the central server calculates the average of all updates to generate a global model;
[0037] Global model distribution: Distribute the updated global model back to each device for the next round of local training.
[0038] Furthermore, the local model training uses a deep neural network to learn the operation mode of the device, as follows:
[0039] Neural network structure: Assume that the neural network has L layers, each layer has a different number of neurons, and the number of neurons in each layer is recorded as N l , the input layer receives feature data, the middle hidden layer is responsible for the nonlinear transformation of features, and the output layer generates prediction results;
[0040] Forward propagation: For each layer l (from the input layer to the output layer), calculate the output value of its neuron. If the output of the l-1 layer is a (l-1) , then the input z of the lth layer (l) The calculation formula is: (l) =W (l) a (l-1) +b (l) , where W (l) and b(l) are the weight matrix and bias vector of the lth layer, respectively, and then apply the activation function g (such as ReLU or Sigmoid function) to z (l) Get the output a of this layer (l) :a (l) =g(z (l) );
[0041] The cross entropy loss function is used to measure the difference between the predicted value and the actual value;
[0042] Use the back-propagation algorithm to calculate the gradient of the loss function for each parameter, and update the network parameters according to the calculated gradient to reduce the value of the loss function. The parameter update algorithm includes gradient descent or stochastic gradient descent.
[0043] Training process: On each device, the neural network is trained using its local data. The model of each device will specifically learn parameters that reflect the characteristics of its own data. The training process includes multiple iterations, and each iteration updates the network parameters to minimize the loss function.
[0044] The calculation process of the model update summary includes:
[0045] Collect model updates: After each device completes local model training, it generates model parameter updates. Let the model parameter update of the i-th device be ΔW i and Δb i , W and b represent the weight and bias of the model respectively, and each device updates its model parameters by ΔW i and Δb i Send to a central server;
[0046] Calculate the average update value: The central server collects the model updates sent by all devices and then calculates the average value of the model updates. If there are N devices participating in the joint learning, the calculation formula for the average update value is:
[0047]
[0048]
[0049] in, and are the averages of all device weight updates and bias updates, respectively;
[0050] Generate global model: The central server uses all average update values to update the parameters of the global model. If the current parameters of the global model are W global and b global , then the updated global model parameters are:
[0051]
[0052]
[0053] Distribute global model: Updated global model parameters and Sent back to each device for the next round of local training.
[0054] Furthermore, extracting knowledge and patterns from shared data includes:
[0055] Feature extraction: During the local model training phase, key features are extracted from the data of each device when learning the device's operating mode based on the deep neural network. The key features include the device's operating status, performance indicators, and environmental interaction mode.
[0056] Pattern recognition and knowledge extraction: Use different model structures or parameter settings to train on each device, then integrate the different models and analyze the summarized global model on the central server to identify common patterns and abnormal behaviors across devices. By comparing the model differences between different devices, the unique behavior or potential anomalies of a specific device can be discovered.
[0057] Furthermore, the output of the learning module includes the identified patterns, trends, abnormal behavior indicators and equipment performance parameter predictions, and the decision module specifically includes:
[0058] Decision Making:
[0059] Maintenance and preventive maintenance: If signs of equipment performance degradation or component wear are detected, the decision module schedules scheduled maintenance or preventive maintenance;
[0060] Operational optimization: For detected efficiency issues or performance fluctuations, adjust operating parameters to optimize performance;
[0061] Abnormal handling: For abnormal behaviors detected, including equipment failure or operating errors, the decision module triggers the emergency shutdown process or alarms to notify operators;
[0062] Decision execution includes automatic or manual intervention. Automatic execution includes adjusting equipment parameters and initiating maintenance procedures. Manual intervention includes sending notifications and recommendations to operators or maintenance teams.
[0063] Beneficial effects of the present invention:
[0064] The present invention significantly improves the autonomous learning ability of machine equipment by integrating advanced data processing, learning and decision-making modules. Each device can independently learn and adapt to its operating environment, thereby automatically optimizing its performance and response without human intervention. The equipment can automatically adjust operating parameters based on real-time data and historical experience to cope with different operating conditions and potential problems, thereby improving operational efficiency and safety. Through joint learning and intelligent data sharing, different devices can learn from each other and share knowledge, thereby improving the overall intelligence level of the system. This synergistic effect enables a single device to benefit from the experience of other devices, accelerating the learning and progress of the entire system.
[0065] The present invention, through advanced data preprocessing and distributed data sharing modules, can efficiently collect and process data from multiple sources to ensure data quality and consistency. This efficient data management method greatly improves the availability and value of data. The joint learning environment enables each device to share learning results without sharing original data, which not only ensures the privacy and security of the data, but also enables the entire system to learn and extract knowledge from a wider range of data.
[0066] In the present invention, the decision module utilizes the deep insights obtained from the learning module to automatically make and execute decisions, greatly improving the response speed and operational efficiency, which is particularly important in environments that require rapid response, such as automated production lines or equipment failure handling in emergency situations. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0068] Figure 1 The figure is a logic block diagram of the autonomous learning system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0069] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0070] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0071] like Figure 1 As shown, a machine autonomous learning system based on data sharing technology includes the following modules:
[0072] Data collection module: collects data from multiple sources;
[0073] Data preprocessing module: cleaning, formatting and preliminary analysis of collected data;
[0074] Data encryption sharing module: encrypts data to ensure secure sharing of data between different devices;
[0075] Autonomous learning module: uses federated learning algorithms to extract knowledge and patterns from shared data;
[0076] Decision-making module: Make and execute decisions based on the output of the learning module;
[0077] Feedback module: collects execution results and provides them to the data collection module to form a closed-loop learning.
[0078] The multiple sources include sensors, the Internet, and user input. The data collected by the data collection module specifically include:
[0079] Sensor data collection: Use built-in or external sensors to monitor the core operating parameters of the machine equipment in real time, including temperature, pressure, speed, current, voltage, power consumption, failure rate and maintenance requirements. For mobile devices, collect positioning data, movement trajectory and speed. For devices that need to operate in specific environments, collect environmental data related to device performance.
[0080] Internet data collection: Collect remote monitoring data related to the equipment through network connection, including equipment operation logs, performance reports and maintenance records, and collect industry standards, regulatory updates and security alerts related to the equipment;
[0081] User input data collection: Collect user operation data, setting preferences and usage feedback on machine equipment to understand how users interact with the equipment, and collect user evaluations of equipment performance and maintenance requests through the user interface;
[0082] It also includes collaborative equipment data sharing: data sharing with similar or related equipment to collect performance data and operating experience in similar operating environments, and to achieve cross-equipment data sharing through the network;
[0083] For devices that need to interact with external systems, relevant data interfaces are integrated, such as supply chain management systems, customer relationship management systems (CRM), etc., to obtain comprehensive data on the equipment throughout its life cycle. The application of the above methods ensures that the data collection module can fully and deeply obtain key data on machine equipment operation and user interaction, thereby supporting the system's efficient learning and intelligent decision-making. In implementation, each data collection method will comply with relevant data protection and privacy regulations to ensure data security and compliance.
[0084] The data preprocessing module specifically includes:
[0085] Data cleaning: Identify and remove erroneous or incomplete data records. For device sensor data, identify and correct deviations, adjust abnormal readings based on historical data patterns, and use natural language processing technology to filter out irrelevant information in user input data, including erroneous input or invalid commands.
[0086] Data formatting: Convert the collected data into a unified format, standardize timestamps, unify digital representation methods, implement standardized processing for multi-source data, such as data from different types of sensors or different user interfaces, to ensure data consistency and comparability, and encode categorical data into numerical values to meet the needs of machine learning algorithms;
[0087] Preliminary Analysis: Perform basic statistical analysis, including calculating means, standard deviations, trend lines, and for time series data, perform time series analysis to identify cyclical and seasonal patterns, and use data visualization techniques, such as charts and heat maps, to help identify patterns and anomalies in the data;
[0088] Integrate data from different sources to ensure temporal consistency and contextual relevance of data. In a multi-device environment, align data from different devices to ensure their consistency in time and space.
[0089] Incorporate external data sources, including industry databases or public data sets, to enhance the depth and breadth of collected data, and use data-derived techniques, such as calculating new features or indicators, to provide more dimensional data analysis.
[0090] The above steps ensure that the data preprocessing module can effectively prepare the data and provide accurate and reliable input for the machine learning module and decision making. These methods maintain data integrity and usefulness while also complying with data security and privacy requirements.
[0091] The data encryption sharing module specifically includes:
[0092] Dynamic key generation and management: Establish a dynamic key generation submodule, where keys are dynamically generated based on the specific context of the interaction between devices. For example, keys can be generated based on the real-time operating parameters of the device or a predetermined security protocol. Set up a central key management unit to monitor the life cycle of the key and update it immediately when the key expires or is compromised;
[0093] A two-layer encryption method is adopted: the first layer uses standard encryption technology, and the second layer adopts a device-specific encryption algorithm, which is based on the operating environment or unique properties of the device. This two-layer encryption method not only increases the difficulty of cracking, but even if the mainstream encryption is cracked, the device-specific encryption layer also provides additional protection for the data.
[0094] The dynamic key generation submodule specifically includes:
[0095] Context-based key generation: Key generation depends on the specific context of the interaction between devices, including interaction time, device status, operation sequence, and environmental factors. The key is generated through a hash algorithm using specific context dynamic parameters as input. For example, a unique key is generated by combining the current timestamp, device ID, and recent operation records.
[0096] Key generation algorithm: Use a cryptographically secure pseudo-random number generator (CSPRNG) to ensure the randomness and unpredictability of the key, and use the SHA-256 hash function to generate the key from the context data;
[0097] Context-aware mechanism: Continuously monitor the interaction patterns and environmental changes between devices, update the context information used for key generation in real time, and automatically trigger the generation of new keys when new or abnormal interactions are detected by analyzing device usage data and behavior patterns;
[0098] The central key management unit tracks all generated keys, records the generation time, usage and scheduled expiration time, and regularly evaluates the security and effectiveness of the keys to ensure that they are not outdated or cracked. When the key reaches the preset life cycle or a potential security threat is detected, a new key is automatically generated and the old key is discarded. When the key is destroyed or leaked, it is immediately identified and the emergency replacement procedure is initiated. The newly generated key is distributed to related devices, and the devices use a pre-defined security protocol to receive and synchronize the new key.
[0099] The central management system ensures that all devices can switch seamlessly after key updates, maintaining the continuity of data sharing and communication.
[0100] The double-layer encryption method specifically includes:
[0101] First layer of encryption: Use the AES encryption standard to encrypt data in the first layer, and choose the 256-bit key version of AES. The AES encryption process involves multiple rounds of repeated processing, including substitution, permutation, mixing and adding keys;
[0102] Second layer encryption: Create a device ID-based hash function based on the device ID attribute of the device as the basis for generating the second layer key. The second layer encryption algorithm is lightweight and is executed in real time on the device without affecting performance. It includes device ID processing, making the device ID = D, selecting a base number P (such as a digital representation of the device manufacturing date) for base transformation, calculating T = D*P, applying the hash function H to T, and calculating K = H(T), where K is the final generated key.
[0103] Encryption process: Take the output of the first layer of encryption AES encryption as input data I, and apply the second layer of encryption to each data block B (a part of I): Encrypted B = B XOR K, where XOR is the exclusive OR operation, and repeat the operation until all data blocks are processed;
[0104] This double-layer encryption method ensures that even if the first layer is cracked, the second layer of device-specific encryption still protects the data from illegal access. In the present invention, the second layer encryption algorithm adds uniqueness for each device. Since key generation depends on the specific attributes of the device (such as device ID and manufacturing date), this makes the data encryption of each device unique even in a data sharing environment, increasing security.
[0105] This algorithm is particularly suitable for distributed systems, where each device can generate its own unique key without relying on a central key management system. In this way, even if the key of one device is cracked, it will not affect the data security of other devices in the system.
[0106] The security of the algorithm depends largely on the choice of the base number P and the strength of the hash function. P should be a secret number known only to legitimate devices, and the hash function should be a recognized secure one, such as SHA-256. Since encryption relies on device-specific properties, even if two devices have the same data, their encrypted output will be different, thereby improving overall data security.
[0107] The federated learning algorithm in the autonomous learning module is based on a distributed machine learning approach that allows multiple devices to collaboratively learn a shared learning model while maintaining the privacy of their respective data. Each device uses local data to train part of the learning model, and then sends the learning model updates to the central server for aggregation without sharing the original data. Specifically, it includes:
[0108] Local model training: On each device, a model is trained using its local data;
[0109] Model update aggregation: Model updates from all devices are sent to a central server for aggregation, and the central server calculates the average of all updates to generate a global model;
[0110] Global model distribution: Distribute the updated global model back to each device for the next round of local training.
[0111] Application scenario examples:
[0112] In a production line consisting of multiple types of machines and equipment, the federated learning algorithm can be used to learn and extract efficiency patterns, fault prediction signals or optimize operation strategies from the operating data of each device. This approach not only enhances the intelligence level of the entire system, but also, due to its data privacy protection characteristics, is very suitable for application environments involving sensitive data.
[0113] This customized joint learning algorithm fully considers the privacy protection in the data sharing environment and the collaborative learning needs among multiple devices, and provides an effective solution for the autonomous learning system of machine devices. When writing a patent application, the description of such technical details is very critical.
[0114] A deep neural network is used in local model training to learn the operation mode of the device, as follows:
[0115] Neural network structure: Assume that the neural network has L layers, each layer has a different number of neurons, and the number of neurons in each layer is recorded as N l , the input layer receives feature data, the middle hidden layer is responsible for the nonlinear transformation of features, and the output layer generates prediction results;
[0116] Forward propagation: For each layer l (from the input layer to the output layer), calculate the output value of its neuron. If the output of the l-1 layer is a (l-1) , then the input z of the lth layer (l) The calculation formula is: (l) =W (l) a (l-1) +b (l) , where W (l) and b (l)are the weight matrix and bias vector of the lth layer, respectively, and then apply the activation function g (such as ReLU or Sigmoid function) to z (l) Get the output a of this layer (l) :a (l) =g(z (l) );
[0117] The cross entropy loss function is used to measure the difference between the predicted value and the actual value;
[0118] Use the back-propagation algorithm to calculate the gradient of the loss function for each parameter, and update the network parameters according to the calculated gradient to reduce the value of the loss function. The parameter update algorithm includes gradient descent or stochastic gradient descent.
[0119] Training process: On each device, the neural network is trained using its local data. The model of each device will specifically learn parameters that reflect the characteristics of its own data. The training process includes multiple iterations, and each iteration updates the network parameters to minimize the loss function.
[0120] A federated learning environment applied to the present invention.
[0121] In a federated learning environment, each device independently performs the above training process and uses its local data to train the local DNN model. Afterwards, the devices do not share their original data, but only share model parameters (such as weights W and bias b) or parameter updates. The central server aggregates the updates from each device, calculates the average update value, and redistributes these updated global parameters to each device. Each device uses these global parameters to adjust their local models to achieve knowledge sharing and integration.
[0122] The calculation process of the model update summary includes:
[0123] Collect model updates: After each device completes local model training, it generates model parameter updates. Let the model parameter update of the i-th device be ΔW i and Δb i , W and b represent the weight and bias of the model respectively, and each device updates its model parameters by ΔW i and Δb i Send to a central server;
[0124] Calculate the average update value: The central server collects the model updates sent by all devices and then calculates the average value of the model updates. If there are N devices participating in the joint learning, the calculation formula for the average update value is:
[0125]
[0126]
[0127] in, and are the averages of all device weight updates and bias updates, respectively;
[0128] Generate global model: The central server uses all average update values to update the parameters of the global model. If the current parameters of the global model are W global and b global , then the updated global model parameters are:
[0129]
[0130]
[0131] Distribute global model: Updated global model parameters and Sent back to each device for the next round of local training.
[0132] Extracting knowledge and patterns from shared data includes:
[0133] Feature extraction: During the local model training phase, key features are extracted from the data of each device when learning the device's operating mode based on a deep neural network. The key features include the device's operating status, performance indicators, and environmental interaction mode. After training, each device will have a set of trained model parameters (weights and biases) that are learned based on its local data. Devices do not share their original data or directly extracted features. Instead, they only share the model's parameter updates (i.e., changes in weights and biases) to the central server. This approach ensures the privacy of the original data because the original data never leaves the local device.
[0134] Pattern recognition and knowledge extraction: Use different model structures or parameter settings to train on each device, then integrate the different models and analyze the summarized global model on the central server to identify common patterns and abnormal behaviors across devices. By comparing the model differences between different devices, the unique behavior or potential anomalies of a specific device can be discovered.
[0135] Use the global model to perform data analysis on a central server to identify common patterns and potential abnormal behaviors across devices, and compare the differences between the global model and the local models of each device to reveal unique behaviors or potential anomalies of specific devices.
[0136] For example, if a device’s model differs significantly from the global model on certain features, it may indicate that the device is behaving abnormally on those features, and the central server can further analyze these differences to identify possible failure modes, performance issues, or operational anomalies.
[0137] On each device, the weights and biases learned through training reflect the important features of the device data. These features can be regarded as device-specific "knowledge", revealing the key patterns and relationships in the device operation data. On the central server, a global model is created by aggregating model updates from different devices. This global model integrates knowledge from all devices and reflects the common and differentiated features of the entire network. The extracted patterns and knowledge can be used to guide maintenance decisions, optimize operating processes, or improve overall system performance. For example, identified common failure modes can be used for early warning, while unique behavior identification of specific equipment can help customize maintenance plans.
[0138] The output of the learning module includes identified patterns, trends, indicators of abnormal behavior, and predictions of equipment performance parameters. The output may include signs of reduced equipment efficiency, predictions of component wear, or performance fluctuations under specific operating conditions. The decision module specifically includes:
[0139] Decision Making:
[0140] Maintenance and preventive maintenance: If signs of equipment performance degradation or component wear are detected, the decision module schedules scheduled maintenance or preventive maintenance;
[0141] Operational optimization: For detected efficiency issues or performance fluctuations, adjust operating parameters to optimize performance;
[0142] Abnormal handling: For abnormal behaviors detected, including equipment failure or operating errors, the decision module triggers the emergency shutdown process or alarms to notify operators;
[0143] Decision execution includes automatic or manual intervention. Automatic execution includes adjusting equipment parameters and initiating maintenance procedures. Manual intervention includes sending notifications and recommendations to operators or maintenance teams.
[0144] In the automatic execution mode, the decision module sends instructions directly to the relevant equipment or control system to adjust the operating settings or trigger the maintenance process. After the decision is executed, the system will monitor the corresponding effects and feed back the results to the learning module, which helps to continuously improve the decision algorithm to make it more accurate and efficient.
[0145] On an automated production line, the decision-making module automatically adjusts the machine's operating speed based on the output of the learning module to optimize production efficiency.
[0146] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0147] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A machine autonomous learning system based on data sharing technology, characterized in that: Includes the following modules: Data collection module: collects data from multiple sources; Data preprocessing module: cleaning, formatting and preliminary analysis of collected data; Data encryption sharing module: encrypts data to ensure secure sharing of data between different devices; Autonomous learning module: uses a federated learning algorithm to extract knowledge and patterns from shared data. The federated learning algorithm is based on a distributed machine learning method that allows multiple devices to collaboratively learn a shared learning model while maintaining the privacy of their respective data. Each device uses local data to train part of the learning model, and then sends the learning model updates to the central server for aggregation without sharing the original data. Specifically, it includes: Local model training: On each device, a model is trained using its local data; Model update aggregation: Model updates from all devices are sent to a central server for aggregation, and the central server calculates the average of all updates to generate a global model; Global model distribution: Distribute the updated global model back to each device for the next round of local training; The local model training uses a deep neural network to learn the operation mode of the device, as follows: Neural network structure: Assume that the neural network has Layers, each with a different number of neurons. The number of neurons is recorded as , the input layer receives feature data, the middle hidden layer is responsible for the nonlinear transformation of features, and the output layer generates prediction results; Forward propagation: For each layer , calculate the output value of its neuron, if we record The output of the layer is , then Layer Input The calculation formula is: ,in and They are The weight matrix and bias vector of the layer, and then apply the activation function At Get the output of this layer : ; The cross entropy loss function is used to measure the difference between the predicted value and the actual value; Use the back-propagation algorithm to calculate the gradient of the loss function for each parameter, and update the network parameters according to the calculated gradient to reduce the value of the loss function. The parameter update algorithm includes gradient descent or stochastic gradient descent. Training process: On each device, the neural network is trained using its local data. The model of each device will specifically learn parameters that reflect the characteristics of its own data. The training process includes multiple iterations, and each iteration updates the network parameters to minimize the loss function. The calculation process of the model update summary includes: Collect model updates: After each device completes local model training, it generates updates to the model parameters. The model parameters of each device are updated as and , and Represent the weight and bias of the model respectively, and each device updates its model parameters and Send to a central server; Calculate the average update value: The central server collects the model updates sent by all devices and then calculates the average value of the model updates. Devices participate in joint learning, and the average update value is calculated as: ; ; in, and are the averages of all device weight updates and bias updates, respectively; Generate global model: The central server uses all average update values to update the parameters of the global model. If the current parameters of the global model are and , then the updated global model parameters are: ; ; Distribute global model: Updated global model parameters and Send it back to each device for the next round of local training; Decision-making module: Make and execute decisions based on the output of the learning module; Feedback module: collects execution results and provides them to the data collection module to form a closed-loop learning.
2. According to claim 1, a machine autonomous learning system based on data sharing technology is characterized in that: The multiple sources include sensors, the Internet, and user input, and the data collected by the data collection module specifically includes: Sensor data collection: Use built-in or external sensors to monitor the core operating parameters of the machine equipment in real time, including temperature, pressure, speed, current, voltage, power consumption, failure rate and maintenance requirements. For mobile devices, collect positioning data, movement trajectory and speed. For devices that need to operate in specific environments, collect environmental data related to device performance. Internet data collection: Collect remote monitoring data related to the equipment through network connection, including equipment operation logs, performance reports and maintenance records, and collect industry standards, regulatory updates and security alerts related to the equipment; User input data collection: Collect user operation data, setting preferences and usage feedback on machine equipment to understand how users interact with the equipment, and collect user evaluations of equipment performance and maintenance requests through the user interface; It also includes collaborative equipment data sharing: data sharing with similar or related equipment to collect performance data and operating experience in similar operating environments, and to achieve cross-equipment data sharing through the network.
3. According to claim 2, a machine autonomous learning system based on data sharing technology is characterized in that: The data preprocessing module specifically includes: Data cleaning: Identify and remove erroneous or incomplete data records. For device sensor data, identify and correct deviations, adjust abnormal readings based on historical data patterns, and use natural language processing technology to filter out irrelevant information in user input data, including erroneous input or invalid commands. Data formatting: Convert the collected data into a unified format, standardize timestamps, unify digital representation methods, implement standardized processing for multi-source data to ensure data consistency and comparability, and encode categorical data into numerical values to meet the needs of machine learning algorithms; Preliminary Analysis: Perform basic statistical analysis, including calculating means, standard deviations, trend lines, and for time series data, perform time series analysis to identify cyclical and seasonal patterns.
4. The machine autonomous learning system based on data sharing technology according to claim 3 is characterized in that: The data encryption sharing module specifically includes: Dynamic key generation and management: Establish a dynamic key generation submodule, where keys are dynamically generated based on the specific context of the interaction between devices, and set up a central key management unit to monitor the life cycle of keys and update them immediately when they expire or are compromised; A two-layer encryption approach is used: the first layer uses standard encryption technology, and the second layer uses a device-specific encryption algorithm that is based on the operating environment or unique properties of the device.
5. The machine autonomous learning system based on data sharing technology according to claim 4 is characterized in that: The dynamic key generation submodule specifically includes: Context-based key generation: Key generation depends on the specific context of the interaction between devices, including interaction time, device status, operation sequence, and environmental factors. The key is generated through a hash algorithm using specific context dynamic parameters as input; Key generation algorithm: Use a cryptographically secure pseudo-random number generator to ensure the randomness and unpredictability of the key, and use the SHA-256 hash function to generate the key from the context data; Context-aware mechanism: Continuously monitor the interaction patterns and environmental changes between devices, update the context information used for key generation in real time, and automatically trigger the generation of new keys when new or abnormal interactions are detected by analyzing device usage data and behavior patterns; The central key management unit tracks all generated keys, records the generation time, usage and scheduled expiration time, and regularly evaluates the security and effectiveness of the keys to ensure that they are not outdated or cracked. When the key reaches the preset life cycle or a potential security threat is detected, a new key is automatically generated and the old key is discarded. When the key is destroyed or leaked, it is immediately identified and an emergency replacement procedure is initiated. The newly generated key is distributed to related devices, and a pre-defined security protocol is used between devices to receive and synchronize the new key.
6. The machine autonomous learning system based on data sharing technology according to claim 5 is characterized in that: The double-layer encryption method specifically includes: First layer of encryption: Use the AES encryption standard to encrypt data in the first layer, and choose the 256-bit key version of AES. The AES encryption process involves multiple rounds of repeated processing, including substitution, permutation, mixing and adding keys; Second layer encryption: Create a hash function based on the device ID attribute of the device as the basis for generating the second layer key. The second layer encryption algorithm is lightweight and is executed in real time on the device without affecting performance. It includes device ID processing, making the device , choose a base number Perform a basic transformation and calculate * , apply the hash function At ,calculate , is the final generated key; Encryption process: Take the output of the first layer of encryption AES encryption as input data I, and apply the second layer of encryption to each data block B: Encrypted B , where XOR is the exclusive OR operation, and the operation is repeated until all data blocks are processed.
7. The machine autonomous learning system based on data sharing technology according to claim 1 is characterized in that: The extraction of knowledge and patterns from shared data includes: Feature extraction: During the local model training phase, key features are extracted from the data of each device when learning the device's operating mode based on the deep neural network. The key features include the device's operating status, performance indicators, and environmental interaction mode. Pattern recognition and knowledge extraction: Use different model structures or parameter settings to train on each device, then integrate the different models and analyze the summarized global model on the central server to identify common patterns and abnormal behaviors across devices. By comparing the model differences between different devices, the unique behavior or potential anomalies of a specific device can be discovered.
8. The machine autonomous learning system based on data sharing technology according to claim 7 is characterized in that: The output of the learning module includes the identified patterns, trends, abnormal behavior indicators and equipment performance parameter predictions. The decision module specifically includes: Decision Making: Maintenance and preventive maintenance: If signs of equipment performance degradation or component wear are detected, the decision module schedules scheduled maintenance or preventive maintenance; Operational optimization: For detected efficiency issues or performance fluctuations, adjust operating parameters to optimize performance; Abnormal handling: For abnormal behaviors detected, including equipment failure or operating errors, the decision module triggers the emergency shutdown process or alarms to notify operators; Decision execution includes automatic or manual intervention. Automatic execution includes adjusting equipment parameters and initiating maintenance procedures. Manual intervention includes sending notifications and recommendations to operators or maintenance teams.
