A data security active defense method and system based on industrial field equipment
By using virus scanning devices and encrypted identification mechanisms in industrial field devices, verifying the security of mobile media and disabling potential threats, solving the problems of virus infection and external attacks during data copying, and achieving multi-dimensional three-dimensional defense and alarm for data security mechanism to improve data security.
Patent Information
- Application Number
- CN202411238166.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-09-05
AI Technical Summary
Industrial field equipment is susceptible to virus infection and external attacks during data copying, leading to data security threats. In particular, the insertion and removal of mobile media increases the risk of infection and may lead to infection of equipment in the entire production line.
Virus scanning equipment and encryption identification mechanism are adopted to generate timestamps and device identifications every time they are plugged in, and the encryption identification is generated, and verification is performed when copying data. If the matching is not the same, the alarm mechanism will be triggered. The IPC operation and maintenance platform will automatically disable the hardware interface and Network port to ensure data security.
Effectively prevent data from being infected with viruses during copying, ensure the normal operation of IPC equipment on production lines, improve the security of industrial site data, and detect and deal with abnormal behaviors through multi-dimensional three-dimensional defense mechanisms.
Smart Images

Figure CN118761106B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated factories and data security technology, and in particular to a data security active defense method and system based on industrial field equipment. Background Art
[0002] In the modern industrial production process, data security has become a core issue of intelligent manufacturing and automated control. With the widespread use of industrial field monitoring equipment, data security risks are becoming increasingly prominent. Due to the needs of factory production line business, data copying between mobile media is often involved. During this process, the production line IPC equipment is very likely to be infected by viruses, causing significant losses.
[0003] In addition, industrial network interfaces are vulnerable to external attacks or virus injection, and the random insertion of mobile media often poses a threat to the equipment, lacking effective protection measures. In actual production lines, some personnel randomly insert mobile hard disks into on-site equipment, increasing the risk of virus infection on production line computers, and even spreading through network ports, infecting all production line computers, causing serious losses to production.
[0004] Based on the problems in the prior art, the present invention provides a data security active defense method and system based on industrial field equipment. Summary of the invention
[0005] The purpose of the present invention is to provide a data security active defense method and system based on industrial field equipment to solve the technical problem in the prior art that when the mobile medium exchanges information between the production line IPC and other equipment, it is vulnerable to attack and virus infection, resulting in data security being threatened.
[0006] The technical solution of the present invention is: a data security active defense method based on industrial field equipment, comprising:
[0007] The external mobile medium and the internal mobile medium are connected to the virus scanning device respectively. After the virus scanning and disinfection, the intermediate data storage device is used as a transfer station to copy the target data;
[0008] The internal mobile medium carrying the target data connects and outputs the target data to the production line IPC;
[0009] Among them, each time the internal mobile medium is inserted into the device, a new encryption identifier is updated and generated. When it is inserted into the corresponding production line IPC, the encryption identifier is verified to see if it meets expectations, so as to determine the security of the internal mobile medium;
[0010] If the internal mobile media is judged to be unsafe, the alarm and protection mechanism of the IPC operation and maintenance platform will be triggered.
[0011] Preferably, each time the internal mobile medium is inserted into a device, a timestamp T and a device identifier D are generated, and the encrypted identifier is generated by a hash function H and a key K, expressed as E, then, ;
[0012] Among them, the timestamp T, device identifier D and key are all expressed as strings, and || represents a string concatenation operation;
[0013] Each time the internal mobile medium changes the inserted media device, the encryption identifier of the target data is updated accordingly, and the encryption identifier corresponding to the previous media device is used as the key K in the data encryption identifier corresponding to the current media device for iterative update; the encryption identifier E carries the time record and device identification record of all connected devices;
[0014] When the internal mobile media is connected and inserted into the corresponding production line IPC, it is verified whether the encryption identifier is as expected. If it is as expected, it indicates that the internal mobile media is not contaminated by the outside world after obtaining the copy target data and is a safe media device.
[0015] Preferably, verify whether the encryption mark is as expected by checking whether the encryption mark of the previous one adjacent to the internal mobile medium when the internal mobile medium is inserted into the production line IPC is as expected; and also verify whether the encryption mark generated when the internal mobile medium is inserted into the production line IPC only carries the encryption information of the storage device initially connected to copy the target data and the encryption information generated when the internal mobile medium is inserted into the production line IPC;
[0016] If both checks fail at the same time, the internal mobile medium has been inserted into other devices or the data has been tampered with after copying the target data and before being inserted into the production line IPC, which triggers the alarm mechanism.
[0017] Preferably, the IPC operation and maintenance platform receives an alarm, and if the corresponding IPC and other intranet IPCs are in a connected state, the IPC operation and maintenance platform automatically issues a policy to disable the corresponding IPC hardware interface and close the network port.
[0018] Preferably, the virus scanning device is connected to a media management database. When the virus scanning device scans the external mobile media or internal mobile media connected for virus disinfection, the information of the corresponding mobile media is recorded in the media management database; the IPC operation and maintenance platform manages multiple production line IPC devices, and the media management database is communicatively connected to each IPC production line device.
[0019] Preferably, the intermediate storage device is a local device, and the target data is stored in a local file of the local device.
[0020] Preferably, when the internal mobile medium or the external mobile medium is connected to the virus scanning device, if the connection is disconnected, it is regarded as not being scanned when it is connected again.
[0021] Preferably, the virus scanning device deeply scans and disinfects external mobile media or internal mobile media, and can directly perform data copy operations when the current scan result is safe; otherwise, the virus will be deleted and the scan and disinfection will be repeated multiple times until the scan and disinfection are qualified.
[0022] Preferably, the virus scanning device adopts a mobile medium security inspection station.
[0023] The present invention provides a data security active defense system based on industrial field equipment, the system includes a storage device, a virus scanning device, a media management database, an external mobile medium and an internal mobile medium; the industrial field equipment is uniformly managed through an IPC operation and maintenance platform, including multiple production line IPCs;
[0024] The external mobile medium carries the target data, the storage device stores the target data as a transfer station, and the internal mobile medium copies the target data in the storage device to the corresponding production line IPC in the field device; the virus scanning device is used to scan and disinfect the external mobile medium and the internal mobile medium; in the process of copying and transferring the target data by the memory mobile medium, the target data is encrypted and protected by the encryption identification mechanism;
[0025] The encryption process includes: generating a timestamp and a device identifier each time a device is plugged in, and generating the encryption identifier based on the generated timestamp and device identifier;
[0026] Each time the device to be docked and inserted is changed, the encryption identifier is updated accordingly; when the memory mobile medium is inserted into the corresponding production line IPC, it is verified whether the encryption identifier is consistent with the encryption identifier generated when the virus scanning device is docked. If it does not match, the alarm mechanism is triggered, and the IPC operation and maintenance platform automatically issues a policy to disable the hardware interface and network port of the corresponding production line IPC.
[0027] Compared with the prior art, the advantages of the present invention are:
[0028] By integrating virus scanning equipment with the industrial IPC operation and maintenance platform, external and internal data are scanned / disinfected to ensure the security of the copied data.
[0029] The target data copied from the internal media is encrypted and identified based on the timestamp and device identification. When it is finally copied to the corresponding production line IPC, the data security is verified and judged. If it is found that the mobile media carrying the target data has been inserted into other devices, the alarm triggers the IPC operation and maintenance platform to automatically issue a policy to disable the corresponding IPC hardware interface and network port.
[0030] The combination of mobile media scanning / antivirus, early warning and hardware interface / network port management and control forms a multi-dimensional defense mechanism, which can not only detect data tampering during the copying process, but also automatically trigger the alarm mechanism when abnormal behavior is detected, effectively preventing data from being infected by viruses during the copying process, ensuring the normal operation of production line IPC equipment, and improving the security of industrial site data. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0032] Figure 1 This is a structural schematic diagram of the data security active defense system based on industrial field equipment according to the present invention;
[0033] Figure 2 This is a business flow chart of the data security active defense method based on industrial field equipment according to the present invention;
[0034] Figure 3 A schematic diagram of the prior art of the present invention in which a mobile medium is directly inserted into the production line IPC;
[0035] Figure 4 A logical diagram of verifying data security based on timestamp T, device identification D and key tracking provided by the present invention. DETAILED DESCRIPTION
[0036] The present invention is further described in detail below in conjunction with specific embodiments:
[0037] In the industrial field equipment monitoring scenario, it often involves the use of mobile media to copy data. Once the inserted mobile media carries a virus, it often infects the production line equipment and even the entire production line IPC equipment with the virus, causing serious losses to industrial production. Based on this, this application proposes an active data security defense method based on industrial field equipment, which aims to protect industrial field equipment from the threat of viruses and malicious attacks by combining virus scanning equipment, encryption and decryption mechanisms, and multi-dimensional three-dimensional defense methods of hardware interface / network port management.
[0038] See attached Figure 2 , provides a specific flow chart for implementing the data security active defense method.
[0039] The user swipes the employee card for identification. When the identification is successful, insert the mobile media for scanning. After the scanning starts, the first step is to enter the file management of the storage device, such as the local file of the local device. In the file management, select the external mobile media, and then determine whether the current medium has been scanned / disinfected. If the scanning and disinfection are completed, after the scanning record is saved, the target data in the external mobile media is saved to the storage device, and the inserted mobile media information is recorded in the media management database at the same time. Then select the internal mobile media, and again determine whether the current medium has been scanned / disinfected. If the scanning and disinfection are completed, the target data saved in the storage device is copied, and finally copied to the corresponding production line IPC.
[0040] If it is determined that the removable media scan is not completed, the virus will be deleted and the virus scan will be repeated several times until the scan is qualified. In addition, if the internal removable media or external removable media is disconnected during the process of being inserted into the virus scanning device, it will be regarded as unscanned when it is reconnected and needs to be re-scanned.
[0041] See attached Figure 3 If the external mobile medium is directly inserted into the production line IPC, it is easy to bring major safety hazards to the production line IPC equipment and even the entire production line IPC. Therefore, this embodiment uses the storage device as a transfer station to transfer the target data, and finally copies the target data to the corresponding production line IPC to avoid unsafe media directly contacting the internal production line IPC and ensure the safety of the production line equipment.
[0042] Generally, after the data is copied, it is directly copied to the corresponding production line IPC. However, it is possible that the mobile media is inserted into an external device and then into the production line IPC. In this case, each time a device is inserted during the interval, further security risks will be brought about, and the security of the internal mobile media cannot be guaranteed. As a result, when the mobile media is finally inserted into the production line IPC, it is very easy for the production line IPC, or even the IPC devices of the entire production line connected to the intranet, to be infected with viruses, causing serious losses to production.
[0043] To this end, this embodiment embeds a timestamp and device identification during the copy process, encrypts the target data, and then verifies the data when it is inserted into the production line IPC to determine whether the data has been inserted into other devices before being inserted into the production line IPC. The specific contents are as follows:
[0044] Each time the internal mobile medium is inserted into the device, a timestamp T and a device identifier D are generated. The encrypted identifier is generated by the hash function H and the key K, expressed as E. Then, .
[0045] Therefore, initially, when the internal removable media copies the target data from the local file, an initial timestamp is generated. and a device identifier , encryption identifier , .
[0046] The timestamp T, device identifier D, and key are all represented as strings, and || represents a string concatenation operation.
[0047] According to common sense, a hash function is a hash function, and the relative position of a general linear table record in the structure is random, that is, there is no definite relationship between the recorded keywords. In this embodiment, the key information recorded in the hash function is the timestamp T, the device identifier D and the key K.
[0048] Each time the internal mobile medium is replaced with an inserted medium device, the encryption identifier of the target data is updated accordingly, and the encryption identifier corresponding to the last medium device is used as the key K in the data encryption identifier corresponding to the current medium device for iterative update.
[0049] Therefore, when the internal mobile medium is inserted into several other devices before outputting the target data to the production line IPC, the intermediate timestamps are generated in chronological order. , … , generate the intermediate device identifier , ,…… , generate an encrypted identifier , ,…… , , n is a positive integer.
[0050] Therefore, the information carried by the encrypted identifier E includes the time record and device identification record of all connected devices.
[0051] When the internal mobile media is connected to the production line IPC, a verification timestamp is generated and device identification , and the encrypted identifier .
[0052] Verify whether the encryption mark is as expected by checking whether the encryption mark of the previous one before the internal mobile medium is inserted into the production line IPC is as expected; that is, whether the last encryption mark obtained before the production line IPC is inserted is the same as the initial encryption mark. If they are equal, it means that no other device was inserted before the production line IPC was inserted. If they are not equal, it means that the internal mobile media has been inserted into other devices, which may cause security risks such as viruses and / or data tampering.
[0053] To facilitate understanding, the process is described below in symbolic form.
[0054] The internal removable media is inserted into the virus scanning device and the target data is copied. Then, the initial timestamp Represented as: LLL (string), device identifier Represented as $$$ (string), initial key Represented as: ××× (string), initial key Automatically generated or automatically set, follow-up The value remains unchanged.
[0055] The encryption identifier obtained after copying the target data is , The specific content is: LLL||$$$||××× (string).
[0056] If an intermediate device is inserted, then:
[0057] Insert device 1:
[0058] The corresponding timestamp Expressed as: △△△; corresponding device identification Expressed as: ¥¥¥, the encryption identifier obtained is , the corresponding specific content is: △ △△ ||¥¥¥||LLL$$$× × ×.
[0059] Insert device 2:
[0060] Timestamp :□□□; Equipment identification :€€€;
[0061] The encryption identifier obtained is , the corresponding specific content is: □ □ □||€ €€ ||△ △△ ¥¥¥LLL$$$× ×× .
[0062] …
[0063] Insert device n:
[0064] Timestamp :☆☆☆; Equipment identification :○○○;
[0065] The encryption identifier obtained is , the corresponding specific content is: ☆☆☆ ○○○…… □□□ △△△¥¥¥LLL$$$×××.
[0066] Therefore, it can be seen from the content expressed by the above encryption identifier that the encryption identifier tracks and records the link trajectory of the internal mobile medium and verifies the security of the target data carried by the internal mobile medium.
[0067] If the target data is copied and then directly inserted into the target production line, the last identifier obtained before the insertion is The specific content is: LLL||$$$||×××, and the initial encryption mark If they are equal, it means that no other device is inserted before the production line IPC is inserted, and the target data is safe.
[0068] If the target data is not directly inserted into the target production line after being copied, but inserted into another intermediate device, then the last identifier obtained before the insertion is , the corresponding specific content is: △ △△ ||¥¥¥||LLL$$$× × × , which is the same as the initial encryption mark If they are not equal, it means that the internal mobile media has been inserted into other devices, which may lead to security risks such as viruses and / or data tampering. The target considers the data to be unsafe.
[0069] Similarly, if the target data is not directly inserted into the target production line after being copied, but inserted into two other intermediate devices, then the last identifier obtained before the insertion is the encrypted identifier obtained is , the corresponding specific content is: □ □ □ ||€ €€ ||△ △ △ ¥¥¥LLL$$$× × ×, which is the same as the initial encryption mark If they are not equal, it means that the internal mobile media has been inserted into other devices, which may lead to security risks such as viruses and / or data tampering. The target considers the data to be unsafe.
[0070] A specific implementation is given below:
[0071] When the internal removable media is inserted into the virus scanning device, the timestamp obtained by scanning The specific string content is 1725330493749.
[0072] The device serial number obtained by scanning is the wmi query result. The corresponding query command is converted into the command under cmd: wmic diskdrive get model,name,serialnumber. The queried device serial number is 9203040110C0.
[0073] Key K: It is the system code and system version number generated for the first time. The specific content depends on the specific device system situation. The subsequent K value is iterated by obtaining the last encryption identifier E value.
[0074] Then, based on the timestamp, device identification and key, the initial encryption identification can be obtained The specific composition is: 1725330493749||9203040110C0||The code number and version number of the scanning station that currently stores the target data.
[0075] See the attached diagram for a logical diagram of data security based on timestamp T, device identification D, and key tracking. Figure 4 .
[0076] In addition, it is verified Is it in line with expectations, that is, verification Whether to carry only the encryption information initially connected to the storage device for copying the target data and the encryption information generated by the IPC inserted into the production line.
[0077] If the previous encrypted identifier inserted into the production line IPC is as expected, but the device identifier generated by the production line IPC carries more than two pieces of information and the two do not correspond, it means that the internal mobile medium has been inserted into other intermediate devices and the encrypted identifier has been tampered with. The target data information carried may be changed, and the internal mobile medium is not safe.
[0078] Therefore, only after both verification methods are passed and double protection is provided, the target data can be directly copied to the production line IPC.
[0079] If it does not meet expectations, it means that the mobile medium has been inserted into other devices after copying data and before being inserted into the production line IPC, which poses a safety hazard and triggers the alarm mechanism.
[0080] The IPC operation and maintenance platform receives an alarm. If the corresponding IPC and other intranet IPCs are connected, the IPC operation and maintenance platform automatically issues a policy to disable the hardware interface of the corresponding production line IPC and close the network port to prevent the virus from spreading in the entire production line intranet, thereby ensuring the security of the entire device data.
[0081] The present invention provides a data security active defense system based on industrial field equipment. Figure 1 The system includes a storage device, a virus scanning device, a media management database, an external mobile medium and an internal mobile medium. The virus scanning device adopts a mobile media security inspection station.
[0082] Industrial field equipment is managed through the IPC operation and maintenance platform with multiple production line IPCs. Based on the Internet of Things, unified control and configuration management are implemented. The media management database is connected to each IPC production line equipment, and the virus scanning equipment is connected to the media management database.
[0083] The external mobile medium carries the target data, the storage device acts as a transfer station to store the target data, and the internal mobile medium copies the target data in the storage device to the corresponding production line IPC in the on-site equipment; the virus scanning device is used to scan and disinfect the external mobile medium and the internal mobile medium; in the process of copying and transferring the target data by the memory mobile medium, the target data is encrypted and protected through the encryption identification mechanism.
[0084] The encryption process includes: each time a device is plugged in, a timestamp and device ID are generated, and an encryption ID is generated based on the generated timestamp and device ID; each time the plugged-in device is changed, the encryption ID is updated accordingly; when the memory mobile medium is inserted into the corresponding production line IPC, it is verified whether the encryption ID is consistent with the encryption ID generated when the virus scanning device is connected. If it does not match, the alarm mechanism is triggered, and the IPC operation and maintenance platform automatically issues a policy to disable the hardware interface and network port of the corresponding production line IPC.
[0085] In summary, the present invention provides an active data security defense method and system based on industrial field equipment, which integrates virus scanning equipment and industrial IPC operation and maintenance platform to scan / disinfect external and internal data to ensure the security of the copied data.
[0086] The target data copied from the internal media is encrypted and identified based on the timestamp and device identification. When it is finally copied to the corresponding production line IPC, the data security is verified and judged. If it is found that the mobile media carrying the target data has been inserted into other devices, the alarm triggers the IPC operation and maintenance platform to automatically issue a policy to disable the corresponding IPC hardware interface and network port, effectively protecting the production line equipment from virus infection, ensuring the normal operation of the production line IPC equipment, realizing mobile media scanning / antivirus, early warning, hardware interface / network port management and control, and improving the security of industrial site data.
[0087] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the scope of protection of the present invention. For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is limited by the attached claims rather than the above description, and it is intended to include all changes within the meaning and scope of the equivalent elements of the claims in the present invention.
Claims
1. A data security active defense method based on industrial field equipment, characterized in that: include: The external mobile medium and the internal mobile medium are connected to the virus scanning device respectively. After the virus scanning and disinfection, the intermediate data storage device is used as a transfer station to copy the target data; The internal mobile medium carrying the target data connects and outputs the target data to the production line IPC; Among them, each time the internal mobile medium is inserted into the device, a new encryption identifier is updated and generated. When it is inserted into the corresponding production line IPC, the encryption identifier is verified to see if it meets expectations, so as to determine the security of the internal mobile medium; Each time the internal mobile medium is inserted into a device, a timestamp T and a device identifier D are generated. The encrypted identifier is generated by a hash function H and a key K, expressed as E. Then, ; Among them, the timestamp T, device identifier D and key are all expressed as strings, and || represents a string concatenation operation; Each time the internal mobile medium changes the inserted media device, the encryption identifier of the target data is updated accordingly, and the encryption identifier corresponding to the previous media device is used as the key K in the data encryption identifier corresponding to the current media device for iterative update; the encryption identifier E carries the time record and device identification record of all connected devices; When the internal mobile media is connected and inserted into the corresponding production line IPC, verify whether the encryption identifier is as expected; To verify that the encryption identity is as expected: By verifying whether the encryption mark of the previous one of the internal mobile media inserted into the production line IPC is consistent with expectations; and also verifying the encryption mark generated when the internal mobile media is inserted into the production line IPC, it only carries the encryption information of the storage device initially connected to copy the target data and the encryption information generated by the insertion into the production line IPC; if it is consistent with expectations, it indicates that the internal mobile media has not been contaminated by the outside after obtaining the copy target data, and is a safe media device; If both checks fail at the same time, the internal mobile medium has been inserted into other devices or the data has been tampered with after copying the target data and before being inserted into the production line IPC. The internal mobile medium is judged to be unsafe, and the alarm and protection mechanism of the IPC operation and maintenance platform is triggered.
2. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: The IPC operation and maintenance platform receives the alarm. If the corresponding IPC and other intranet IPCs are connected, the IPC operation and maintenance platform automatically issues a policy to disable the corresponding IPC hardware interface and close the network port.
3. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: The virus scanning device is connected to a media management database. When the virus scanning device scans the external mobile media or internal mobile media connected for virus protection, the information of the corresponding mobile media is recorded in the media management database; the IPC operation and maintenance platform manages multiple production line IPC devices, and the media management database is communicatively connected to each IPC production line device.
4. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: The intermediate data storage device is a local device, and the target data is stored in a local file of the local device.
5. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: During the process of the internal mobile medium or the external mobile medium being connected to the virus scanning device, if the connection is disconnected, it will be deemed as not being scanned when it is connected again.
6. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: The virus scanning device deeply scans and disinfects external mobile media or internal mobile media. If the current scan result is safe, the data copy operation can be directly performed; otherwise, the virus will be deleted and the scan and disinfection will be repeated multiple times until the scan and disinfection are qualified.
7. The data security active defense method based on industrial field equipment according to claim 1 is characterized in that: The virus scanning device adopts a mobile medium security inspection station.
8. A data security active defense system based on industrial field equipment, used to implement the data security active defense method based on industrial field equipment according to any one of claims 1 to 7, characterized in that: The system includes storage devices, virus scanning devices, media management database, external mobile media and internal mobile media; industrial field equipment is centrally managed through the IPC operation and maintenance platform, including multiple production line IPCs; The external mobile medium carries the target data, the storage device acts as a transfer station to store the target data, and the internal mobile medium copies the target data in the storage device to the corresponding production line IPC in the field device; the virus scanning device is used to scan and disinfect the external mobile medium and the internal mobile medium; In the process of copying and transferring target data to the memory removable medium, the target data is encrypted and protected through the encryption identification mechanism; The encryption process includes: generating a timestamp and a device identifier each time a device is plugged in, and generating the encryption identifier based on the generated timestamp and device identifier; Each time the device to be docked and inserted is changed, the encryption identifier is updated accordingly; when the memory mobile medium is inserted into the corresponding production line IPC, it is verified whether the encryption identifier is consistent with the encryption identifier generated when the virus scanning device is docked. If it does not match, the alarm mechanism is triggered, and the IPC operation and maintenance platform automatically issues a policy to disable the hardware interface and network port of the corresponding production line IPC.
