A task data detection method and system based on industrial Internet and big data
By using big data detection methods in the industrial Internet, the associated parameters, delay and sender legitimacy of task data are analyzed to determine task risks, solve the problem of task errors or delays, and improve the security of task execution and the safety of production equipment. stability.
Patent Information
- Application Number
- CN202411050951.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-01
AI Technical Summary
In industrial Internet applications, due to improper human operations by managers, improper authority management, external intrusions, software errors, network fluctuations, etc., tasks issued are incorrect or delayed, affecting the normal operation of production equipment.
Using the task data detection method based on the industrial Internet and big data, by obtaining the currently issued task, timestamp, sender and underlying data, using the pre-built association model to calculate the risk value, and detecting the associated parameters, delay and sender of the task Legality of the task, determine whether there are risks in the task, and then decide whether to perform the task.
It improves the safety of task execution, reduces production interruptions due to errors or delayed tasks, and ensures the normal operation of production equipment.
Smart Images

Figure CN118573486B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial Internet technology, and specifically to a task data detection method and system based on industrial Internet and big data. Background Art
[0002] The Industrial Internet generally includes the perception layer, network layer and application layer. The perception layer is mainly responsible for collecting and perceiving data from industrial production sites, the network layer is responsible for transmitting the data collected by the perception layer to the cloud or other devices, and the application layer is mainly responsible for analyzing and processing the collected data to realize intelligent production and management.
[0003] When the Industrial Internet is actually applied to the field of production and operation, the analysis results of the application layer will be used to perform some control tasks. For example, by analyzing the environmental data of the production site at the application layer, the temperature of the production equipment is increased, and the administrator issues the air conditioning cooling task to keep the production equipment running healthily. However, in some cases, due to improper human operation of the management personnel, improper authority management leading to external intrusion, software errors, network fluctuations and other reasons, the issued tasks are wrong or delayed. At this time, the relevant equipment still executes the task, which will cause production to be disturbed. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a task data detection method and system based on industrial Internet and big data to solve the problems in the prior art.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A task data detection method based on industrial Internet and big data of the present invention comprises the following steps:
[0007] Obtain the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer;
[0008] Determine the associated parameters of the currently issued task and the reference value range of the associated parameters according to the pre-constructed first associated model; and calculate the first risk value based on the underlying data at the current time point, the associated parameters and the reference value range of the associated parameters, wherein the first associated model characterizes the associated parameters corresponding to multiple issued tasks and the reference value range of the associated parameters;
[0009] Calculating a second risk value according to a task type of the currently issued task and a timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task;
[0010] Determine the associated sender of the currently issued task according to a pre-built second association model, and calculate a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders;
[0011] The currently issued task is detected based on the first risk value, the second risk value and the third risk value.
[0012] In one embodiment of the present invention, the method for constructing the first association model includes:
[0013] For a first dispatched task type with a trigger rule description, obtain the trigger rule description of the first dispatched task type; for a second dispatched task type without a trigger rule description, obtain the historical underlying data of the second dispatched task type when it is triggered, wherein the historical underlying data includes values of multiple environmental parameters and multiple production parameters in multiple historical trigger time periods, and the historical trigger time period includes the trigger time point and multiple time points before the trigger time point;
[0014] Parsing the associated parameters of the first dispatched task and the reference value range of the associated parameters from the trigger rule description;
[0015] Determining the associated parameters of the first task based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, and constructing a reference value range of the associated parameters of the first task based on the values of the multiple environmental parameters and multiple production parameters in multiple historical time periods;
[0016] The first association model is constructed based on the association parameter and a reference value range of the association parameter.
[0017] In one embodiment of the present invention, determining the associated parameters of the first task to be issued based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, and constructing the reference value range of the associated parameters of the first task to be issued based on the values of the multiple environmental parameters and multiple production parameters in multiple historical time periods, includes:
[0018] Calculate the An environmental parameter or production parameter is The variance of the values at multiple time points in the historical time period ;
[0019] Filter out The variance of an environmental parameter or a production parameter The target historical time periods that are greater than the variance threshold, and the ratio of the number of target historical time periods to the total number of historical time periods is calculated;
[0020] The ratio is greater than The environmental parameters or production parameters are used as candidate parameters; and the The average value of multiple trigger time points of the candidate parameters and standard deviation ,in, is the ratio threshold;
[0021] The standard deviation The candidate parameters with a standard deviation less than the threshold are taken as the associated parameters, and the average value of the associated parameters is calculated based on the and the second variance Constructing the reference value range of the associated parameters ,in, is the range adjustment parameter.
[0022] In one embodiment of the present invention, calculating the first risk value based on the underlying data at the current time point, the associated parameter, and the reference value range of the associated parameter includes:
[0023] Determining values of associated parameters in the underlying data;
[0024] When the value of the associated parameter in the underlying data falls within the corresponding reference value range, the first risk value is assigned is 0, otherwise, the first risk value Assign a value of 1.
[0025] In one embodiment of the present invention, calculating the second risk value according to the task type of the currently issued task and the timestamp of the currently issued task includes:
[0026] Calculate the difference between the timestamp of the currently issued task and the current time point;
[0027] When the difference between the timestamp of the currently issued task and the current time point is less than or equal to the preset time threshold, the second risk value Assign a value of 0;
[0028] When the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a scheduled task, the second risk value is Assign a value of 0;
[0029] When the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a non-scheduled task, the second risk value is Assign a value of 1.
[0030] In one embodiment of the present invention, the method for constructing the second association model includes:
[0031] Obtain historical tasks issued at multiple historical time points and the senders of historical tasks issued;
[0032] Classify and count the historical tasks issued at multiple historical time points and the senders of the historical tasks issued, and obtain the sender corresponding to each historical task issued and the sending frequency of each sender;
[0033] For each historical dispatch task, calculate the ratio of each sender's dispatch frequency to the total frequency of historical dispatch tasks, and obtain the dispatch probability of multiple senders in multiple dispatch tasks;
[0034] The sender whose sending probability is greater than the preset probability threshold is regarded as the associated sender;
[0035] A second association model is constructed based on associated senders in a plurality of delivery tasks and delivery probabilities of the associated senders.
[0036] In one embodiment of the present invention, the third risk value is calculated based on the associated sender and the sender of the currently issued task, including:
[0037] The sender of the currently issued task is compared with the associated sender. When the sender of the currently issued task is inconsistent with the associated sender, the third risk value is Assign a value of 1, and when the sender of the currently issued task is the same as the associated sender, the third risk value Assigned to , For the The first task of issuing The sending probability corresponding to the associated sender.
[0038] In one embodiment of the present invention, detecting the currently issued task based on the first risk value, the second risk value, and the third risk value includes:
[0039] Based on the first risk value The second risk value and the third risk value Calculate Total Value at Risk ,in, , is the first weight, is the second weight, is the third weight;
[0040] The total risk value Compared with the risk threshold, the total risk value When the total risk value is greater than the risk threshold, it is determined that the currently issued task has an error risk; When the error risk is less than or equal to the risk threshold, it is determined that the currently issued task does not have an error risk.
[0041] In one embodiment of the present invention, it also includes:
[0042] When there is an error risk in the currently issued task, an error message is sent to the host computer;
[0043] When receiving a continue execution instruction from the host computer, continue to execute the currently issued task; when receiving a stop execution instruction from the host computer or not receiving any instruction from the host computer, stop executing the currently issued task.
[0044] The present invention also provides a task data detection system based on industrial Internet and big data, comprising:
[0045] An acquisition module is used to acquire the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer;
[0046] A first calculation module, used to determine the association parameters of the currently issued task and the reference value range of the association parameters according to a pre-constructed first association model; and calculate a first risk value based on the underlying data at the current time point, the association parameters and the reference value range of the association parameters, wherein the first association model characterizes the association parameters corresponding to multiple issued tasks and the reference value range of the association parameters;
[0047] A second calculation module, configured to calculate a second risk value according to a task type of the currently issued task and a timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task;
[0048] A third calculation module, which determines the associated sender of the currently issued task according to a pre-constructed second association model, and calculates a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders;
[0049] A detection module is used to detect the currently issued task based on the first risk value, the second risk value and the third risk value.
[0050] The beneficial effects of the present invention are as follows: a task data detection method and system based on industrial Internet and big data of the present invention obtains the current dispatched task at the current time point, the timestamp of the current dispatched task, the sender of the current dispatched task and the underlying data at the current time point; and determines whether the current dispatched task is associated with the underlying data at the current time point through a pre-built first association model, and calculates the first risk value; determines whether there is a delay through the difference between the timestamp of the current dispatched task and the current time point, and calculates the second risk value; determines whether the sender of the current dispatched task is consistent with the corresponding associated sender through a pre-built second association model, and calculates the third risk value; finally, determines whether the current dispatched task has a risk based on the first risk value, the second risk value and the third risk value. The present invention detects the task data through the above mechanism before executing the dispatched task, which can improve the security of task execution. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0052] Figure 1 It is an application scenario diagram of a task data detection method based on industrial Internet and big data shown in one embodiment of the present invention;
[0053] Figure 2 is a flow chart of a task data detection method based on industrial Internet and big data shown in one embodiment of the present invention;
[0054] Figure 3 It is a structural diagram of a task data detection system based on industrial Internet and big data shown in one embodiment of the present invention;
[0055] Figure 4 A schematic diagram showing the structure of a computer system of an electronic device suitable for implementing an embodiment of the present invention is shown;
[0056] The accompanying drawings are marked as follows: 110 - upper computer, 120 - lower computer, 130 - management terminal, 140 - analysis terminal, 150 - perception layer; 401 - CPU, 402 - ROM, 403 - RAM, 404 - bus, 405 - I / O interface, 406 - input part, 407 - output part, 408 - storage part, 409 - communication part, 410 - drive, 411 - removable medium. DETAILED DESCRIPTION
[0057] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0058] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show the layers related to the present invention rather than being drawn according to the number, shape and size of the layers in actual implementation. In actual implementation, the type, quantity and proportion of each layer may be changed arbitrarily, and the layer layout may also be more complicated.
[0059] In the following description, numerous details are discussed to provide a more thorough explanation of embodiments of the present invention; however, it is apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details.
[0060] Figure 1 is an application scenario diagram of a task data detection method based on industrial Internet and big data shown in one embodiment of the present invention, such as Figure 1 As shown, in the present invention, multiple host computers 110 are connected to the lower computer 120 through the industrial Internet, wherein one of the multiple host computers 110 is the management terminal 130. In the present invention, an analysis terminal 140 is also provided, and the task instruction issued by the host computer first reaches the analysis terminal 140, and the analysis terminal 140 is also connected to the perception layer 150. The analysis terminal 140 performs data detection based on the underlying data collected by the perception layer 150 and the task data issued by the host computer 110. If the task is determined to be risk-free, it is forwarded to the corresponding lower computer 120. If the task is determined to be risky, it is forwarded to the management terminal 130, and the management terminal 130 continues to execute after confirmation. If the management terminal 130 does not make a determination or determines not to execute, the task execution is stopped.
[0061] The host computer 110 and the management terminal 130 in the above scenario can be terminal devices such as a PC host, a tablet computer, a mobile phone, an industrial host, etc. The slave computer 120 can be a production equipment, a conveyor belt controller, an air conditioning system, a humidity control system, etc. No limitation is made here.
[0062] Figure 2 is a flowchart of a task data detection method based on industrial Internet and big data shown in one embodiment of the present invention. Figure 2As shown: A task data detection method based on industrial Internet and big data in this embodiment may include steps S210 to S250:
[0063] S210, obtaining the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer;
[0064] In the present invention, when the upper computer issues a task, it can be selected whether the analysis terminal automatically performs task data detection. If selected, the system automatically records the current task issued at the current time point, the timestamp of the current task issued, the sender of the current task issued, and the underlying data at the current time point, and executes the following process.
[0065] When executing some safety control instructions such as emergency shutdown, they can be directly sent to the lower computer for execution without being analyzed by the analysis terminal.
[0066] S220, determining the associated parameters of the currently issued task and the reference value range of the associated parameters according to a pre-constructed first associated model; and calculating a first risk value based on the underlying data at the current time point, the associated parameters and the reference value range of the associated parameters, wherein the first associated model characterizes the associated parameters corresponding to a plurality of issued tasks and the reference value range of the associated parameters;
[0067] In the production adjustment stage, most tasks are generated based on the underlying data. For example, when the raw material position drops, a raw material replenishment task is issued, and when the assembly line speed is too fast, a deceleration task is issued. Therefore, in the present invention, historical data is used to construct a first association model to find the association parameters of multiple issued tasks and the reference value range of each association parameter. That is, when the value of a parameter reaches the corresponding range, the law of the corresponding issued task will be triggered.
[0068] In one embodiment of the present invention, the method for constructing the first association model includes:
[0069] (1) For a first dispatched task type that has a trigger rule description, obtaining the trigger rule description of the first dispatched task type; for a second dispatched task type that does not have a trigger rule description, obtaining historical underlying data of the second dispatched task type when it is triggered, wherein the historical underlying data includes values of multiple environmental parameters and multiple production parameters in multiple historical trigger time periods, and the historical trigger time period includes the trigger time point and multiple time points before the trigger time point;
[0070] (2) parsing the associated parameters of the first dispatched task and the reference value range of the associated parameters from the trigger rule description;
[0071] (3) determining the associated parameters of the first task based on the values of the plurality of environmental parameters and the plurality of production parameters in the plurality of historical time periods, and constructing a reference value range of the associated parameters of the first task based on the values of the plurality of environmental parameters and the plurality of production parameters in the plurality of historical time periods;
[0072] (4) Constructing the first association model based on the association parameter and the reference value range of the association parameter.
[0073] In the present invention, if there is an automatic task with a trigger rule, for example, automatically increasing the power of the air conditioning system when the indoor temperature rises to 28°C, for this type of task, the present invention directly extracts the corresponding parameters from the text, such as "indoor temperature", and the corresponding reference value range is ">28°C".
[0074] If there is no trigger rule, but it is a second task type issued by the staff's experience, it is impossible to directly build a model by extracting rules. Therefore, the present invention searches for rules by obtaining historical underlying data. Specifically, it includes:
[0075] (3-1) Calculate the An environmental parameter or production parameter is The variance of the values at multiple time points in the historical time period The historical time period can be a period of 2-5 minutes before the task is issued. By observing the changes in various parameter values in the historical time period, the parameters that changed before the task was issued can be found. These parameters may be the parameters that trigger the task to be issued.
[0076] (3-2) Filter out The variance of an environmental parameter or a production parameter The target historical time periods that are greater than the variance threshold, and the ratio of the number of target historical time periods to the total number of historical time periods is calculated;
[0077] Among them, variance is used to reflect the stability of multiple data points. If it is greater than the variance threshold, it means that the corresponding parameter has changed dramatically during the historical period.
[0078] (3-3) The ratio is greater than The environmental parameters or production parameters are used as candidate parameters; and the The average value of multiple trigger time points of the candidate parameters and standard deviation ,in, is the ratio threshold;
[0079] If a parameter has a drastic change in more than 90% of the historical time periods among multiple historical time periods, it can be explained that the parameter will always trigger the corresponding task after the drastic change. In the present invention, such a parameter is used as a candidate parameter.
[0080] The present invention also extracts the average value of the candidate parameter at multiple trigger time points and standard deviation , which is used to filter out the associated parameters and construct the corresponding reference value range.
[0081] (3-4) The standard deviation The candidate parameters with a standard deviation less than the threshold are taken as the associated parameters, and the average value of the associated parameters is calculated based on the and the second variance Constructing the reference value range of the associated parameters ,in, is the range adjustment parameter.
[0082] Finally, if the standard deviation of the candidate parameter values at multiple trigger time points If the value is less than the standard deviation threshold, it means that the candidate parameter has a relatively stable value distribution when triggering the task. It can be said that there is a corresponding relationship between the candidate parameter and the triggering of the corresponding task, that is, there is a correlation. and standard deviation Construct the corresponding reference value range .
[0083] In the above process, the associated parameters of various dispatched tasks and the corresponding reference value ranges are determined. Therefore, the first risk value is calculated based on the underlying data at the current time point, the associated parameters and the reference value ranges of the associated parameters, including:
[0084] S221, determining the value of the associated parameter in the underlying data;
[0085] S222, when the value of the associated parameter in the underlying data falls within the corresponding reference value range, assigning a first risk value is 0, otherwise, the first risk value Assign a value of 1.
[0086] The underlying data includes the values of multiple parameters. Therefore, if the value of the associated parameter in the underlying data at the current time point falls within the corresponding reference value range, it can be inferred that the value of the associated parameter has changed in accordance with historical laws, resulting in the triggering and issuance of the corresponding task. This triggering relationship is reasonable, so the first risk value is 0. However, if the values of all the associated parameters of the issued task do not fall within the corresponding reference value range, it means that the triggering of the task is unreasonable. In this case, the first risk value is 1.
[0087] S230, calculating a second risk value according to the task type of the currently issued task and the timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task;
[0088] In the present invention, the lower computer is also susceptible to network fluctuations or line influences, resulting in delays in task delivery. Therefore, the present invention also compares the task delivery time with the current time point to determine whether there is a risk of delay in receiving task data. Specifically, it includes:
[0089] S231, calculating the difference between the timestamp of the currently issued task and the current time point;
[0090] S232, when the difference between the timestamp of the currently issued task and the current time point is less than or equal to a preset time threshold, the second risk value Assign a value of 0;
[0091] S233, when the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a scheduled task, the second risk value Assign a value of 0;
[0092] S234, when the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a non-scheduled task, the second risk value Assign a value of 1.
[0093] In the present invention, if the difference between the timestamp of the currently issued task and the current time point does not exceed 1 second, the specific delay is ignored. If it is greater than 1 second, it is determined whether the currently issued task is a scheduled task. If it is not a scheduled task, and the difference between the receiving time and the timestamp exceeds 1 second, it means that the currently issued task has a relatively serious delay risk. At this time, the second risk value is set to Assign a value of 1.
[0094] S240, determining the associated sender of the currently issued task according to a pre-constructed second association model, and calculating a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders;
[0095] Affected by work authority, different positions are generally responsible for different lower-level computer controls. Therefore, the present invention also establishes a second association model to determine the main senders of different tasks, and then determines whether the sender of the current task is consistent with historical rules. In this way, it is determined whether there is a risk of external intrusion.
[0096] The construction process of the second association model is as follows:
[0097] (1) Obtain the historical tasks issued at multiple historical time points and the senders of the historical tasks issued;
[0098] (2) Classify and count the historical tasks and senders of the historical tasks at multiple historical time points to obtain the senders corresponding to each historical task and the sending frequency of each sender;
[0099] (3) For each historical dispatch task, calculate the ratio of the sending frequency of each sender to the total frequency of historical dispatch tasks, and obtain the dispatch probability of multiple senders in multiple dispatch tasks;
[0100] (4) The sender whose sending probability is greater than the preset probability threshold is regarded as the associated sender;
[0101] (5) Constructing a second association model based on the associated senders in the various dispatching tasks and the dispatching probabilities of the associated senders.
[0102] The present invention obtains historical data, counts the frequency of multiple senders of each task from the historical data, and uses multiple senders with higher frequencies as associated senders. Finally, a second association model is constructed, wherein the second association model includes multiple tasks, associated senders of multiple tasks, and the probability of multiple associated senders of multiple tasks.
[0103] The calculation process of the third risk value specifically includes: comparing the sender of the currently issued task with the associated sender, and when the sender of the currently issued task is inconsistent with the associated sender, calculating the third risk value Assign a value of 1, and when the sender of the currently issued task is the same as the associated sender, the third risk value Assigned to , For the The first task of issuing The sending probability corresponding to the associated sender.
[0104] When the sender of the currently issued task is inconsistent with the associated sender, it means that the sender of the currently issued task does not conform to the historical law. Therefore, the third risk value Assign a value of 1. Otherwise, the third risk value is determined according to its probability, that is, , the greater the probability of issuance, the smaller the corresponding third risk value.
[0105] S250: Detect the currently issued task based on the first risk value, the second risk value, and the third risk value.
[0106] Specifically include:
[0107] S251, based on the first risk value The second risk value and the third risk value Calculate Total Value at Risk ,in, , is the first weight, is the second weight, is the third weight;
[0108] S252, the total risk value Compared with the risk threshold, the total risk value When the total risk value is greater than the risk threshold, it is determined that the currently issued task has an error risk; When the error risk is less than or equal to the risk threshold, it is determined that the currently issued task does not have an error risk.
[0109] The present invention has a first risk value , Second Risk Value and the third risk value The weighted sum is performed to obtain the total risk value. The total risk value comprehensively evaluates the current dispatched task from three dimensions: environment and production parameters, delay, and sender, so as to determine whether there is an error risk in the current dispatched physical object.
[0110] When there is an error risk in the currently issued task, an error message is sent to the host computer;
[0111] When receiving a continue execution instruction from the host computer, continue to execute the currently issued task; when receiving a stop execution instruction from the host computer or not receiving any instruction from the host computer, stop executing the currently issued task.
[0112] The host computer here can be the sender or the management end. Under normal circumstances, the error information is directly returned to the sender. However, if the second risk value is 1, the error information is returned to the management end for confirmation.
[0113] The present invention is a task data detection method based on industrial Internet and big data, by obtaining the current task issued at the current time point, the timestamp of the current task issued, the sender of the current task issued and the underlying data at the current time point; and determining whether the current task issued is associated with the underlying data at the current time point through a pre-constructed first association model, and calculating the first risk value; determining whether there is a delay through the difference between the timestamp of the current task issued and the current time point, and calculating the second risk value; determining whether the sender of the current task issued is consistent with the corresponding associated sender through a pre-constructed second association model, and calculating the third risk value; and finally judging whether the current task issued has a risk based on the first risk value, the second risk value and the third risk value. The present invention detects the task data through the above mechanism before executing the issued task, which can improve the security of task execution.
[0114] like Figure 3 As shown, the present invention also provides a task data detection system based on industrial Internet and big data, comprising:
[0115] An acquisition module is used to acquire the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer;
[0116] A first calculation module, used to determine the association parameters of the currently issued task and the reference value range of the association parameters according to a pre-constructed first association model; and calculate a first risk value based on the underlying data at the current time point, the association parameters and the reference value range of the association parameters, wherein the first association model characterizes the association parameters corresponding to multiple issued tasks and the reference value range of the association parameters;
[0117] A second calculation module, configured to calculate a second risk value according to a task type of the currently issued task and a timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task;
[0118] A third calculation module, which determines the associated sender of the currently issued task according to a pre-constructed second association model, and calculates a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders;
[0119] A detection module is used to detect the currently issued task based on the first risk value, the second risk value and the third risk value.
[0120] The task data detection system based on industrial Internet and big data of the present invention obtains the current task issued at the current time point, the timestamp of the current task issued, the sender of the current task issued, and the underlying data at the current time point; and determines whether the current task issued is associated with the underlying data at the current time point through a pre-constructed first association model, and calculates the first risk value; determines whether there is a delay through the difference between the timestamp of the current task issued and the current time point, and calculates the second risk value; determines whether the sender of the current task issued is consistent with the corresponding associated sender through a pre-constructed second association model, and calculates the third risk value; finally, determines whether the current task issued has a risk based on the first risk value, the second risk value, and the third risk value. The present invention detects the task data through the above mechanism before executing the issued task, which can improve the security of task execution.
[0121] Figure 4 The structure diagram of the computer system of the electronic device suitable for implementing the embodiment of the present invention is shown. It should be noted that: Figure 4 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0122] like Figure 4 As shown, the computer system includes a CPU 401 (Central Processing Unit), which can perform various appropriate actions and processes according to the program stored in a ROM 402 (Read-Only Memory) or the program loaded from a storage part 408 to a RAM 403 (Random Access Memory), such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 403. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O interface 405 is also connected to the bus 404.
[0123] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.
[0124] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the CPU 401, various functions defined in the system of the present invention are executed.
[0125] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device or any suitable combination of the above. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0126] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0127] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0128] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the above method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0129] Another aspect of the present invention further provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in each of the above embodiments.
[0130] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A task data detection method based on industrial Internet and big data, characterized in that: Includes steps: Obtain the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer; Determine the associated parameters of the currently issued task and the reference value range of the associated parameters according to the pre-constructed first association model; and calculate the first risk value based on the underlying data at the current time point, the associated parameters and the reference value range of the associated parameters, wherein the first association model characterizes the associated parameters corresponding to multiple issued tasks and the reference value range of the associated parameters; the construction method of the first association model includes: for a first issued task type with a trigger rule description, obtain the trigger rule description of the first issued task type; for a second issued task type with no trigger rule description, obtain the historical underlying data of the second issued task type when it is triggered, wherein the historical underlying data includes the values of multiple environmental parameters and multiple production parameters in multiple historical trigger time periods, and the historical trigger time periods include The method comprises the steps of: determining the associated parameters of the first task to be issued and the reference value range of the associated parameters based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods; determining the associated parameters of the first task to be issued and the reference value range of the associated parameters of the first task to be issued based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods; constructing the first association model based on the associated parameters and the reference value range of the associated parameters; determining the associated parameters of the first task to be issued and the reference value range of the associated parameters of the first task to be issued based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, and constructing the reference value range of the associated parameters of the first task to be issued based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, including: calculating the first An environmental parameter or production parameter is in The variance of the values at multiple time points in the historical time period ; Filter out The variance of an environmental parameter or a production parameter The target historical time period is greater than the variance threshold, and the ratio of the number of the target historical time period to the total number of historical time periods is calculated; the ratio is greater than The environmental parameters or production parameters are used as candidate parameters; and the The average value of multiple trigger time points of the candidate parameters and standard deviation ,in, is the ratio threshold; the standard deviation The candidate parameters with a standard deviation less than the threshold are taken as the associated parameters, and the average value of the associated parameters is calculated based on the and the second variance Constructing the reference value range of the associated parameters ,in, is the range adjustment parameter; Calculating a second risk value according to a task type of the currently issued task and a timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task; Determine the associated sender of the currently issued task according to a pre-built second association model, and calculate a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders; The currently issued task is detected based on the first risk value, the second risk value and the third risk value.
2. According to the task data detection method based on industrial Internet and big data in claim 1, it is characterized in that: Calculating a first risk value based on the underlying data at the current time point, the associated parameter, and a reference value range of the associated parameter includes: Determining values of associated parameters in the underlying data; When the value of the associated parameter in the underlying data falls within the corresponding reference value range, the first risk value is assigned is 0, otherwise, the first risk value Assign a value of 1.
3. According to the task data detection method based on industrial Internet and big data in claim 1, it is characterized in that: Calculating a second risk value according to the task type of the currently issued task and the timestamp of the currently issued task includes: Calculate the difference between the timestamp of the currently issued task and the current time point; When the difference between the timestamp of the currently issued task and the current time point is less than or equal to the preset time threshold, the second risk value Assign a value of 0; When the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a scheduled task, the second risk value is Assign a value of 0; When the difference between the timestamp of the currently issued task and the current time point is greater than a preset time threshold, and the task type of the currently issued task is a non-scheduled task, the second risk value is Assign a value of 1.
4. The task data detection method based on industrial Internet and big data according to claim 1 is characterized in that: The method for constructing the second association model includes: Obtain historical tasks issued at multiple historical time points and the senders of historical tasks issued; Classify and count the historical tasks issued at multiple historical time points and the senders of the historical tasks issued, and obtain the sender corresponding to each historical task issued and the sending frequency of each sender; For each historical dispatch task, calculate the ratio of each sender's dispatch frequency to the total frequency of historical dispatch tasks, and obtain the dispatch probability of multiple senders in multiple dispatch tasks; The sender whose sending probability is greater than the preset probability threshold is regarded as the associated sender; A second association model is constructed based on associated senders in a plurality of delivery tasks and delivery probabilities of the associated senders.
5. The task data detection method based on industrial Internet and big data according to claim 1 is characterized in that: And calculating a third risk value based on the associated sender and the sender of the currently issued task, including: The sender of the currently issued task is compared with the associated sender. When the sender of the currently issued task is inconsistent with the associated sender, the third risk value is Assign a value of 1, and when the sender of the currently issued task is the same as the associated sender, the third risk value Assigned to , For the The first task of issuing The sending probability corresponding to the associated sender.
6. The task data detection method based on industrial Internet and big data according to claim 1 is characterized in that: Detecting the currently issued task based on the first risk value, the second risk value, and the third risk value includes: Based on the first risk value The second risk value and the third risk value Calculate Total Value at Risk ,in, , is the first weight, is the second weight, is the third weight; The total risk value Compared with the risk threshold, the total risk value When the total risk value is greater than the risk threshold, it is determined that the currently issued task has an error risk; When the risk is less than or equal to the risk threshold, it is determined that the currently issued task has no error risk.
7. The task data detection method based on industrial Internet and big data according to claim 6 is characterized in that: Also includes: When there is an error risk in the currently issued task, an error message is sent to the host computer; When receiving a continue execution instruction from the host computer, continue to execute the currently issued task; When a stop execution instruction is received from the host computer or no instruction is received from the host computer, the execution of the currently issued task is stopped.
8. A task data detection system based on industrial Internet and big data, characterized in that: include: An acquisition module is used to acquire the currently issued task at the current time point, the timestamp of the currently issued task, the sender of the currently issued task, and the underlying data at the current time point, wherein the underlying data includes the values of various environmental parameters and various production parameters collected by the perception layer, and the timestamp of the currently issued task is marked by the task issuer; The first calculation module is used to determine the associated parameters of the current dispatched task and the reference value range of the associated parameters according to a pre-constructed first association model; and calculate the first risk value based on the underlying data at the current time point, the associated parameters and the reference value range of the associated parameters, wherein the first association model characterizes the associated parameters corresponding to multiple dispatched tasks and the reference value range of the associated parameters; the construction method of the first association model includes: for a first dispatched task type with a trigger rule description, obtaining the trigger rule description of the first dispatched task type; for a second dispatched task type without a trigger rule description, obtaining the historical underlying data of the second dispatched task type when it is triggered, wherein the historical underlying data includes the values of multiple environmental parameters and multiple production parameters in multiple historical trigger time periods, and the historical trigger The time period includes a trigger time point and multiple time points before the trigger time point; parsing the associated parameters of the first task and the reference value range of the associated parameters from the trigger rule description; determining the associated parameters of the first task based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, and constructing the reference value range of the associated parameters of the first task based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods; constructing the first association model based on the associated parameters and the reference value range of the associated parameters; determining the associated parameters of the first task based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, and constructing the reference value range of the associated parameters of the first task based on the values of multiple environmental parameters and multiple production parameters in multiple historical time periods, including: calculating the first An environmental parameter or production parameter is in The variance of the values at multiple time points in the historical time period ; Filter out The variance of an environmental parameter or a production parameter The target historical time period is greater than the variance threshold, and the ratio of the number of the target historical time period to the total number of historical time periods is calculated; the ratio is greater than The environmental parameters or production parameters are used as candidate parameters; and the The average value of multiple trigger time points of the candidate parameters and standard deviation ,in, is the ratio threshold; the standard deviation The candidate parameters with a standard deviation less than the threshold are taken as the associated parameters, and the average value of the associated parameters is calculated based on the and the second variance Constructing the reference value range of the associated parameters ,in, is the range adjustment parameter; A second calculation module, configured to calculate a second risk value according to a task type of the currently issued task and a timestamp of the currently issued task, wherein the task type includes a scheduled task and a non-scheduled task; A third calculation module, which determines the associated sender of the currently issued task according to a pre-constructed second association model, and calculates a third risk value based on the associated sender and the sender of the currently issued task, wherein the second association model characterizes the associated senders corresponding to multiple issued tasks and the sending probabilities of the associated senders; A detection module is used to detect the currently issued task based on the first risk value, the second risk value and the third risk value.
Citation Information
Patent Citations
Data security protection system, method and device, computer equipment and storage medium
CN114666156A
Distributed well lid intelligent management monitoring system and method and storage medium
CN117114658A
Engineering machinery production line control method and system
CN117132054A
Adaptive Additive Manufacturing for Value Chain Networks
US20220305735A1
Method for Monitoring a Production Process and Corresponding Technical Issues
US20230259106A1
