A method and system for encrypting factory equipment public data

By using Laplace noise encryption for public data on factory equipment, the problems of data leakage and security risks in the existing technology have been solved, and data security has been improved.

CN118536131BActive Publication Date: 2025-03-07GUANGDONG PROPHET BIG DATA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410474887.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2025-03-07
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

In the prior art, the public data of factory equipment is likely to cause data leakage and security risks, causing unnecessary losses to the factory.

Method used

By obtaining Laplace noise, the device information to be publicly announced is encrypted to form an encrypted set of device information to ensure that sensitive data is not accessed or leaked by unauthorized personnel or third parties.

Benefits of technology

Improve data security, prevent data leakage, and avoid unnecessary losses to the factory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536131B_ABST
    Figure CN118536131B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for encrypting factory equipment public data, which belongs to the field of data encryption technology. The method comprises: forming a device information set of the device information to be publicized; obtaining Laplace noise; encrypting the device information of the device to be publicized by the Laplace noise; and outputting the encrypted device information set. In the present invention, the device information to be publicized is encrypted by Laplace noise to ensure that sensitive data is not accessed or leaked by unauthorized personnel or third parties, thereby improving data security and avoiding unnecessary losses to the factory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data encryption, and in particular relates to a method and system for encrypting factory equipment public data. Background Art

[0002] Publicizing factory equipment data can increase transparency and allow internal employees, partners, regulators and the public to understand the factory's operations. This helps build trust and reduce uncertainty caused by information asymmetry.

[0003] The main current method of public disclosure is to display factory equipment data in the form of text tables and publish them on the official website. However, this method is prone to data leakage and security risks, causing unnecessary losses to the factory. Summary of the invention

[0004] In order to solve the technical problems in the prior art that easily cause data leakage and security risks, the present invention provides a method and system for encrypting factory equipment public data.

[0005] First aspect

[0006] The present invention provides a method for encrypting factory equipment public data, comprising:

[0007] S101: assemble the device information of the device to be announced into a device information set;

[0008] S102: Obtain Laplace noise;

[0009] S103: Encrypting the device information of the device to be announced by using the Laplace noise;

[0010] S104: Output the encrypted device information set.

[0011] Second aspect

[0012] The present invention provides a factory equipment public data encryption system, comprising:

[0013] A combination module, used to combine the device information of the devices to be publicized into a device information set;

[0014] An acquisition module, used for acquiring Laplace noise;

[0015] An encryption module, used for encrypting the device information of the device to be announced by using the Laplace noise;

[0016] The output module is used to output the encrypted device information set.

[0017] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0018] In the present invention, the device information to be disclosed is encrypted by Laplace noise to ensure that sensitive data is not accessed or leaked by unauthorized personnel or third parties, thereby improving data security and avoiding unnecessary losses to the factory. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0020] Figure 1 It is a flow chart of a method for encrypting factory equipment public data provided by the present invention;

[0021] Figure 2 It is a structural schematic diagram of a factory equipment public data encryption system provided by the present invention. DETAILED DESCRIPTION

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0023] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0024] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0027] Example 1

[0028] In one embodiment, the reference specification Figure 1 , showing a flow chart of a method for encrypting factory equipment public data provided by the present invention.

[0029] The present invention provides a method for encrypting factory equipment public data, comprising:

[0030] S101: The device information of the devices to be publicized is organized into a device information set.

[0031] In a possible implementation, the device information set is represented as: , m i Represents the device information of the i-th device, , n represents the total number of devices to be announced, , t1 i Indicates the working time of the i-th device, t2 i represents the downtime of the ith device, v i represents the theoretical processing cycle of the product of the i-th equipment, r i represents the number of products processed by the i-th equipment, w i It represents the amount of waste in the product processed by the i-th equipment.

[0032] S102: Obtain Laplace noise.

[0033] Among them, Laplace noise is a probability distribution commonly used in data privacy protection and randomization technology. It is usually used to increase randomness in the process of data publishing and sharing, thereby reducing the risk of leakage of sensitive information.

[0034] Among them, Laplace noise can be expressed as:

[0035]

[0036] Among them, f(x) represents the mathematical expression of Laplace noise, x represents the abscissa, b represents the size parameter, e represents the natural base, and u represents the location parameter.

[0037] The number of Laplace noises obtained is two, including a first Laplace noise and a second Laplace noise.

[0038] S103: Encrypt the device information of the device to be published by using Laplace noise.

[0039] In a possible implementation, S103 specifically includes sub-steps S1031 to S10311:

[0040] S1031: Calculate the first fluctuation score of each device according to the first Laplace noise:

[0041]

[0042] Among them, g1 i represents the first fluctuation score of the i-th device, u1 i represents the first Laplace noise, and ts1 represents the first judgment threshold.

[0043] Among them, those skilled in the art can set the size of the first judgment threshold according to actual conditions, and the present invention does not limit it.

[0044] S1032: Calculate the noise adaptation score according to the first fluctuation score:

[0045]

[0046] Wherein, gp represents the noise adaptation score, which is the minimum value in the first fluctuation score, and min represents the minimum value function.

[0047] S1033: Encrypt the working time of the device according to the noise adaptation score:

[0048]

[0049] Among them, tn1 i represents the working time of the i-th device after encryption, and ts2 represents the second judgment threshold.

[0050] Among them, those skilled in the art can set the size of the first judgment threshold according to actual conditions, and the present invention does not limit it.

[0051] S1034: Encrypt the downtime of the device according to the encrypted working time:

[0052]

[0053] Among them, tn2 i Indicates the downtime duration of the i-th device after encryption.

[0054] S1035: Obtain n random numbers and encrypt the theoretical processing cycle of the equipment's products:

[0055]

[0056] Among them, vn i represents the theoretical processing cycle of the i-th device after encryption, ci Represents the i-th random number.

[0057] Optionally, the random number is in the range [0.5, 2].

[0058] S1036: Encrypt the quantity of equipment processed products:

[0059]

[0060] Among them, rn i It represents the number of processed products after encryption by the i-th device, and int represents the rounding function.

[0061] S1037: Calculate the second fluctuation score of each device according to the second Laplace noise:

[0062]

[0063] Among them, g2 i represents the second fluctuation score of the i-th device, u2 i represents the second Laplace noise, e represents the natural base, and min represents the minimum function.

[0064] S1038: Based on the second fluctuation score, the quantity of waste products in the equipment processing products is preliminarily encrypted:

[0065]

[0066] Among them, wn i It represents the amount of waste in the processed products after the initial encryption of the i-th equipment.

[0067] S1039: Calculate the efficiency deviation score of each device:

[0068]

[0069] Among them, g3 i represents the efficiency deviation score of the i-th device.

[0070] S10310: Calculate adjustment score:

[0071]

[0072] Among them, g4 represents the adjustment score, and ts3 represents the third judgment threshold.

[0073] Among them, those skilled in the art can set the size of the third judgment threshold according to actual conditions, and the present invention does not limit it.

[0074] S10311: Based on the adjustment score, the number of waste products in the processed products after the initial encryption is re-encrypted:

[0075] wf i = int [ rn i ⋅ max ( w i r i + g 4 ⋅ g 2 i ⋅ u 2 i , 0 ) ]

[0076] Among them, wf i It represents the number of waste products in the processed products after secondary encryption of the i-th device, int represents the integer function, and max represents the maximum value function.

[0077] It should be noted that the number of scraps in processed products is data that requires higher confidentiality, so it is encrypted twice.

[0078] S104: Output the encrypted device information set.

[0079] In a possible implementation, the encrypted device information set is expressed as: , mn i Indicates the encrypted device information of the i-th device. , , n represents the total number of devices to be announced.

[0080] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0081] In the present invention, the device information to be disclosed is encrypted by Laplace noise to ensure that sensitive data is not accessed or leaked by unauthorized personnel or third parties, thereby improving data security and avoiding unnecessary losses to the factory.

[0082] Example 2

[0083] Reference Manual Attached Figure 2 , showing a structural schematic diagram of a factory equipment public data encryption system provided by the present invention.

[0084] In one embodiment, the present invention provides a factory equipment public data encryption system 20, comprising:

[0085] A combination module 201, used to combine the device information of the device to be publicized into a device information set;

[0086] An acquisition module 202, used for acquiring Laplace noise;

[0087] An encryption module 203, used for encrypting the device information of the device to be announced by using the Laplace noise;

[0088] The output module 204 is used to output the encrypted device information set.

[0089] In a possible implementation manner, the device information set is expressed as: , m iRepresents the device information of the i-th device, , n represents the total number of devices to be announced, , t1 i Indicates the working time of the i-th device, t2 i represents the downtime of the ith device, v i represents the theoretical processing cycle of the product of the i-th equipment, r i represents the number of products processed by the i-th equipment, w i It represents the amount of waste in the product processed by the i-th equipment.

[0090] In a possible implementation manner, the acquired Laplace noise includes a first Laplace noise and a second Laplace noise, and the encryption module is specifically used for:

[0091] According to the first Laplace noise, the first fluctuation score of each device is calculated:

[0092]

[0093] Among them, g1 i represents the first fluctuation score of the i-th device, u1 i represents the first Laplace noise, ts1 represents the first judgment threshold;

[0094] According to the first fluctuation score, the noise adaptation score is calculated:

[0095]

[0096] Wherein, gp represents the noise adaptation score, which is the minimum value in the first fluctuation score, and min represents the minimum value function;

[0097] According to the noise adaptation score, the working time of the device is encrypted:

[0098]

[0099] Among them, tn1 i represents the working time of the i-th device after encryption, and ts2 represents the second judgment threshold;

[0100] Encrypt the downtime of the equipment based on the encrypted working hours:

[0101]

[0102] Among them, tn2 i Indicates the downtime duration of the i-th device after encryption;

[0103] Get n random numbers and encrypt the theoretical processing cycle of the equipment's products:

[0104]

[0105] Among them, vn i represents the theoretical processing cycle of the i-th device after encryption, c i represents the i-th random number;

[0106] Encrypt the quantity of products processed by the equipment:

[0107]

[0108] Among them, rn i It represents the number of processed products after encryption by the i-th device, and int represents the rounding function;

[0109] According to the second Laplace noise, the second fluctuation score of each device is calculated:

[0110]

[0111] Among them, g2 i represents the second fluctuation score of the i-th device, u2 i represents the second Laplace noise, e represents the natural base, and min represents the minimum value function;

[0112] According to the second fluctuation score, the quantity of waste products in the equipment processing products is preliminarily encrypted:

[0113]

[0114] Among them, wn i It represents the number of waste products in the processed products after the initial encryption of the i-th equipment;

[0115] Calculate the efficiency deviation score for each device:

[0116]

[0117] Among them, g3 i represents the efficiency deviation score of the i-th device;

[0118] Calculate the reconciliation score:

[0119]

[0120] Wherein, g4 represents the adjustment score, and ts3 represents the third judgment threshold;

[0121] According to the adjustment score, the quantity of waste in the processed product after the initial encryption is encrypted again:

[0122] wf i = int [ rn i ⋅ max ( w i r i + g 4 ⋅ g 2 i ⋅ u 2 i , 0 ) ]

[0123] Among them, wf i It represents the number of waste products in the processed products after secondary encryption of the i-th device, int represents the integer function, and max represents the maximum value function.

[0124] In a possible implementation, the random number has a value range of [0.5, 2].

[0125] In a possible implementation manner, the encrypted device information set is expressed as: , mn i Indicates the encrypted device information of the i-th device. , , n represents the total number of devices to be announced

[0126] A factory equipment public data encryption system 20 provided by the present invention can implement the steps and effects of the factory equipment public data encryption method in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0127] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0128] In the present invention, the device information to be disclosed is encrypted by Laplace noise to ensure that sensitive data is not accessed or leaked by unauthorized personnel or third parties, thereby improving data security and avoiding unnecessary losses to the factory.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for encrypting factory equipment public data, characterized in that: include: S101: assemble the device information of the device to be announced into a device information set; S102: Obtain Laplace noise; S103: Encrypting the device information of the device to be announced by using the Laplace noise; S104: Output the encrypted device information set; The device information set is represented as: i }, mi represents the device information of the i-th device, i = 1, 2, ..., n, n represents the total number of devices to be announced, m i =(t1 i ,t2 i ,v i ,r i ,w i ), t1 i Indicates the working time of the i-th device, t2 i represents the downtime of the i-th device, v i represents the theoretical processing cycle of the product of the i-th equipment, r i represents the number of products processed by the i-th equipment, w i It represents the amount of waste in the product processed by the i-th equipment; The acquired Laplace noise includes the first Laplace noise and the second Laplace noise, and S103 specifically includes: S1031: Calculate a first fluctuation score of each device according to the first Laplace noise: Among them, g1 i represents the first fluctuation score of the i-th device, u1 i represents the first Laplace noise, ts1 represents the first judgment threshold; S1032: Calculate a noise adaptation score according to the first fluctuation score: gp=min{g1 i } Wherein, gp represents the noise adaptation score, which is the minimum value in the first fluctuation score, and min represents the minimum value function; S1033: Encrypting the working time of the device according to the noise adaptation score: Among them, tn1 i represents the working time of the i-th device after encryption, and ts2 represents the second judgment threshold; S1034: Encrypt the downtime of the device according to the encrypted working time: Among them, tn2 i Indicates the downtime duration of the i-th device after encryption; S1035: Obtain n random numbers and encrypt the theoretical processing cycle of the equipment's products: vn i =c i ·v i Among them, vn i represents the theoretical processing cycle of the i-th device after encryption, c i represents the i-th random number; S1036: Encrypt the quantity of equipment processed products: Among them, rn i It represents the number of processed products after encryption by the i-th device, and int represents the rounding function; S1037: Calculate a second fluctuation score of each device according to the second Laplace noise: Among them, g2 i represents the second fluctuation score of the i-th device, u2 i represents the second Laplace noise, e represents the natural base, and min represents the minimum value function; S1038: Preliminary encryption of the quantity of waste products in the equipment-processed products according to the second fluctuation score: Among them, wn i It represents the number of waste products in the processed products after the initial encryption of the i-th equipment; S1039: Calculate the efficiency deviation score of each device: Among them, g3 i represents the efficiency deviation score of the i-th device; S10310: Calculate adjustment score: Wherein, g4 represents the adjustment score, and ts3 represents the third judgment threshold; S10311: According to the adjustment score, the quantity of waste products in the processed product after the initial encryption is re-encrypted: Among them, wf i It represents the number of waste products in the processed products after secondary encryption of the i-th device, int represents the integer function, and max represents the maximum value function.

2. The method for encrypting factory equipment public data according to claim 1, characterized in that: The value range of the random number is [0.5, 2].

3. The method for encrypting factory equipment public data according to claim 1, characterized in that: The encrypted device information set is expressed as: i }, mni represents the encrypted device information of the i-th device, mn i =(tn1 i ,tn2 i ,vn i ,rn i ,wf i ), i = 1, 2, ..., n, n represents the total number of devices to be announced.

4. A factory equipment public data encryption system, characterized in that: include: A combination module, used to combine the device information of the devices to be publicized into a device information set; An acquisition module, used for acquiring Laplace noise; An encryption module, used for encrypting the device information of the device to be announced by using the Laplace noise; An output module, used to output the encrypted device information set; The device information set is represented as: i }, mi represents the device information of the i-th device, i = 1, 2, ..., n, n represents the total number of devices to be announced, m i =(t1 i ,t2 i ,v i ,r i ,w i ), t1 i Indicates the working time of the i-th device, t2 i represents the downtime of the i-th device, v i represents the theoretical processing cycle of the product of the i-th equipment, r i represents the number of products processed by the i-th equipment, w i It represents the amount of waste in the product processed by the i-th equipment; The acquired Laplace noise includes a first Laplace noise and a second Laplace noise, and the encryption module is specifically used for: According to the first Laplace noise, the first fluctuation score of each device is calculated: Among them, g1 i represents the first fluctuation score of the i-th device, u1 i represents the first Laplace noise, ts1 represents the first judgment threshold; According to the first fluctuation score, the noise adaptation score is calculated: gp=min{g1 i } Wherein, gp represents the noise adaptation score, which is the minimum value in the first fluctuation score, and min represents the minimum value function; According to the noise adaptation score, the working time of the device is encrypted: Among them, tn1 i represents the working time of the i-th device after encryption, and ts2 represents the second judgment threshold; Encrypt the downtime of the equipment based on the encrypted working hours: Among them, tn2 i Indicates the downtime duration of the i-th device after encryption; Get n random numbers and encrypt the theoretical processing cycle of the equipment's products: vn i =c i ·v i Among them, vn i represents the theoretical processing cycle of the i-th device after encryption, c i represents the i-th random number; Encrypt the quantity of products processed by the equipment: Among them, rn i It represents the number of processed products after encryption by the i-th device, and int represents the rounding function; According to the second Laplace noise, the second fluctuation score of each device is calculated: Among them, g2 i represents the second fluctuation score of the i-th device, u2 i represents the second Laplace noise, e represents the natural base, and min represents the minimum value function; According to the second fluctuation score, the quantity of waste products in the equipment processing products is preliminarily encrypted: Among them, wn i It represents the number of waste products in the processed products after the initial encryption of the i-th equipment; Calculate the efficiency deviation score for each device: Among them, g3 i represents the efficiency deviation score of the i-th device; Calculate the reconciliation score: Wherein, g4 represents the adjustment score, and ts3 represents the third judgment threshold; According to the adjustment score, the quantity of waste in the processed product after the initial encryption is encrypted again: Among them, wf i It represents the number of waste products in the processed products after secondary encryption of the i-th device, int represents the integer function, and max represents the maximum value function.

5. The factory equipment public data encryption system according to claim 4 is characterized in that: The value range of the random number is [0.5, 2].

6. The factory equipment public data encryption system according to claim 4 is characterized in that: The encrypted device information set is expressed as: i }, mni represents the encrypted device information of the i-th device, mn i =(tn1 i ,tn2 i ,vn i ,rn i ,wf i ), i = 1, 2, ..., n, n represents the total number of devices to be announced.

Citation Information

Patent Citations

  • Machine tool equipment resource privacy protection method in industrial interconnection environment

    CN117749404A