Intelligent security protection method and system based on Internet of Things environment WAPI authentication

By using a multi-thread synchronization mechanism in WAPI authentication to optimize the SMS4 encryption algorithm and intelligent data analysis, the problems of slow data transmission speed and insufficient security are solved, fast anomaly detection and multiple access control are achieved, and the security and safety of data transmission are improved. efficiency.

CN118555569APending Publication Date: 2024-08-27NORTHEAST ELECTRIC POWER DESIGN INST CO LTD OF CHINA POWER ENG CONSULTING GRP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410245389.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The SMS4 symmetric encryption algorithm used in existing WAPI authentication results in slow data transmission and relies too much on the security of authentication technology, making it unable to effectively detect and protect client data anomalies after successful authentication.

Method used

A multi-thread synchronization mechanism is used to optimize the SMS4 encryption algorithm to speed up data transmission, and intelligent data analysis and anomaly detection are performed through the random forest model and convolutional neural network to achieve fast and accurate anomaly detection of data transmission after successful authentication, while simultaneously Multiple access control and rights management.

Benefits of technology

It improves the data transmission speed, enhances the security protection ability of data transmission after successful authentication, and realizes the rapid detection and isolation of abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555569A
    Figure CN118555569A
Patent Text Reader

Abstract

The invention belongs to the field of data security protection, and particularly relates to an intelligent security protection method and system based on Internet of Things environment WAPI authentication. The method comprises the steps of data collection, client authentication, secret key generation and data encryption, access control and authority management, intelligent data analysis and anomaly detection, detection information storage and security event recording and auditing, a multi-thread synchronization mechanism is adopted to optimize an SMS4 symmetric encryption algorithm, and data transmission is accelerated; according to the invention, an intelligent data analysis and anomaly detection module is adopted, a decision tree module and a convolutional neural network model in a random forest model are comprehensively used for further rapid and accurate anomaly detection of data transmission after successful authentication, and multiple access control and authority management are carried out on a client after successful authentication. And security protection of data transmission is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data security protection, and specifically refers to an intelligent security protection method and system based on WAPI authentication in an Internet of Things environment. Background Art

[0002] WAPI is a wireless network authentication technology launched in 2003. WAPI uses an authentication mechanism based on digital certificates. The client device and the access point conduct a handshake negotiation, use the SM2 algorithm for key exchange, and verify the legitimacy of the identities of both parties through digital certificates. WAPI uses the SMS4 symmetric encryption algorithm as its main encryption algorithm. However, the SMS4 symmetric encryption algorithm used in the existing WAPI authentication will cause slower data transmission, and WAPI authentication is too dependent on the security of authentication technology, and cannot achieve security protection for data transmission by detecting abnormalities in client data after successful authentication. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides an intelligent security protection method and system based on WAPI authentication in an Internet of Things environment. The symmetric encryption algorithm of SMS4 used in the existing WAPI authentication may cause slow data transmission. The present invention adopts a multi-threaded synchronization mechanism to optimize the symmetric encryption algorithm of SMS4 to speed up data transmission. In view of the problem that the existing WAPI authentication is too dependent on the security of authentication technology and cannot achieve security protection of data transmission by detecting abnormalities in client data after successful authentication, the present invention adopts an intelligent data analysis and abnormality detection module, uses the decision tree in the random forest model, quickly extracts features of multidimensional data, and performs gray image mapping on the features extracted by the random forest model, and uses the convolutional neural network model to accurately classify the features of the gray image, so as to achieve further rapid and accurate abnormality detection of data transmission after successful authentication. At the same time, the present invention performs multiple access controls and authority management on the client after successful authentication to achieve security protection of data transmission.

[0004] The technical solution adopted by the present invention is as follows: The intelligent security protection method based on WAPI authentication in the Internet of Things environment provided by the present invention specifically includes the following steps:

[0005] Step S1: Data collection, collecting transmission data between the client and the WAPI access point, monitoring network data traffic, collecting user behavior data, and defining the collection of transmission data between the client and the WAPI access point, network data traffic, and user behavior data as a security event;

[0006] Step S2: Client authentication: perform access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verify the validity of the client's WAPI certificate after the access authentication succeeds;

[0007] Step S3: key generation and data encryption: the client and the WAPI access point module negotiate a key to obtain a key, and encrypt the data transmitted between the client and the WAPI access point using the SMS4 algorithm based on multi-thread optimization according to the key;

[0008] Step S4: Access control and rights management, verifying the identity of the client and controlling its access to network resources;

[0009] Step S5: Intelligent data analysis and anomaly detection, using random forest algorithm and convolutional neural network algorithm to analyze network data traffic, user behavior data and transmission data between the client and the WAPI access point, perform anomaly detection on network data traffic and user behavior data, and perform anomaly detection on transmission data between the client and the WAPI access point, to obtain normal detection information and anomaly detection information;

[0010] Step S6: saving the normal detection information and the abnormal detection information, issuing an alarm for the abnormal detection information, isolating the abnormal client, and caching and backing up the transmission data between the abnormal client and the WAPI access point;

[0011] Step S7: Security event recording and auditing, recording all security events and conducting security audits.

[0012] Further, step S3 specifically includes the following steps:

[0013] Step S31: Initial key generation: the client and the WAPI access point module perform key negotiation to obtain a key;

[0014] Step S32: data segmentation, segmenting the transmission data between the client and the WAPI access point into n data blocks;

[0015] Step S33: key expansion, using n threads to expand the key respectively to obtain n expanded keys;

[0016] Step S34: multi-threaded operation, using a synchronization mechanism to control n threads, using n extended keys to perform SMS4 encryption operation on n data blocks respectively, to obtain n encrypted data;

[0017] Step S35: data merging, merging n extended keys to obtain a final key, and merging n encrypted data to obtain final encrypted data.

[0018] Further, step S4 specifically includes the following steps:

[0019] Step S41: role management, assigning client users to different identities and roles, and assigning specific permissions to each role, and controlling the user's access rights according to the user's role;

[0020] Step S42: configuring access control lists, defining different levels of access control policies and configuring access control lists based on user identities and roles, and limiting user access rights to applications or resources;

[0021] Step S43: MAC address filtering, configuring wireless access points and network devices, restricting only WAPI-authenticated devices to connect to the network;

[0022] Step S44: VLAN isolation, assigning clients to different virtual local area networks, isolating different users, and controlling the communication rights between clients in different virtual local area networks;

[0023] Step S45: Dynamic key distribution, using the dynamic key distribution protocol to distribute a unique key to each WAPI-authenticated user to ensure encryption of communications between users;

[0024] Step S46: User authentication. After the client passes the WAPI authentication, further user authentication, username and password verification, and certificate authentication are performed on the user of the client.

[0025] Further, step S5 specifically includes the following steps:

[0026] Step S51: training a random forest model, performing anomaly detection on network data traffic and user behavior data, and taking the transmission data between the client and the WAPI access point as model input data, training the random forest model, and obtaining a trained random forest model;

[0027] Step S52: feature extraction, using the trained random forest model to perform anomaly detection on network data traffic and user behavior data, and extract features from the transmission data between the client and the WAPI access point to obtain the dimension and type of the feature;

[0028] Step S53: neural network model design, designing a neural network model, receiving features extracted by the random forest model as input data;

[0029] Further, step S53 specifically includes the following steps:

[0030] Step S531: Determine the input layer, and determine the size and shape of the neural network input layer according to the dimension and type of features extracted by the random forest model;

[0031] Step S532: Determine the type of neural network, use the convolutional neural network as the neural network to be used, and obtain the size and shape of the convolutional neural network input layer;

[0032] Step S533: adding hidden layers, adding a corresponding number of hidden layers according to the size and shape of the convolutional neural network input layer;

[0033] Step S534: adding an activation function, using an adaptive parameterized activation function to dynamically perform nonlinear transformation on the features extracted by the random forest model;

[0034] Step S535: adding a pooling layer, determining the number of pooling layers according to the size of the convolutional neural network input layer, and selecting the average pooling operation as the pooling layer operation;

[0035] Step S536: The output layer is determined by selecting softmax as the output function according to the dimension and type of features extracted by the random forest model;

[0036] Step S537: learning rate selection, selecting an adaptive learning rate algorithm according to the type of features extracted by the random forest model;

[0037] Step S54: data standardization, standardizing the input data according to the convolutional neural network model to obtain standardized input data;

[0038] Step S55: Neural network training, using standardized input data to train the convolutional neural network model;

[0039] Step S56: Hyperparameter optimization, performing cross-validation-based hyperparameter optimization on the trained convolutional neural network model;

[0040] Step S57: Use the optimized convolutional neural network model to perform anomaly detection on the network data traffic and user behavior data, and at the same time perform anomaly detection on the transmission data between the client and the WAPI access point to obtain normal detection information and abnormal detection information.

[0041] Further, step S7 specifically includes the following steps:

[0042] Step S71: Audit log generation, recording user behavior data and generating audit log data, monitoring and tracking access activities in user behavior data, detecting and responding to potential security threats;

[0043] Step S72: Event monitoring and alarm, real-time monitoring of user activities after WAPI authentication, and triggering alarms based on abnormal detection information. If a user attempts multiple invalid authentications or frequently clicks on resources outside of their access rights, the system automatically triggers an alarm;

[0044] Step S73: Security event analysis: by analyzing the security events after WAPI authentication, potential security threats and abnormal behaviors are discovered. By analyzing the audit log data and user behavior data, suspicious users, abnormal logins, unauthorized access, and malicious behaviors are identified.

[0045] Step S74: Threat detection and response, based on the security event records and analysis after WAPI authentication, implement threat detection and response strategies, timely identify and respond to potential security threats, prohibit or block access by suspicious users, reset damaged data, and isolate infected devices.

[0046] The present invention also provides an intelligent security protection system based on WAPI authentication in an IoT environment, including an IoT client WAPI access point module, a client authentication module, a data encryption module, an intelligent data analysis and anomaly detection module, and a management and control platform;

[0047] The IoT client WAPI access point module receives a connection request sent by the IoT client, collects transmission data between the client and the WAPI access point, monitors network data traffic, and collects user behavior data;

[0048] The client authentication module performs access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verifies the validity of the WAPI certificate of the client after the access authentication is successful;

[0049] The data encryption module, after the validity verification is successful, provides the client and the WAPI access point module with key negotiation to obtain a key, and uses the SMS4 algorithm based on multi-thread optimization to encrypt the transmission data between the client and the WAPI access point according to the key;

[0050] The intelligent data analysis and anomaly detection module analyzes network data traffic, user behavior data, and transmission data between the client and the WAPI access point through a random forest algorithm and a convolutional neural network algorithm, performs anomaly detection on the network data traffic and user behavior data, and performs anomaly detection on the transmission data between the client and the WAPI access point, thereby obtaining normal detection information and anomaly detection information;

[0051] The management and control platform performs access control and authority management, verifies the identity of the client and controls its access to network resources, saves normal detection information and abnormal detection information, issues alarms for abnormal detection information and isolates abnormal clients, caches and backs up transmission data between abnormal clients and WAPI access points, and records and audits security events.

[0052] The beneficial results achieved by the present invention using the above scheme are as follows:

[0053] (1) Aiming at the problem that the symmetric encryption algorithm of SMS4 used in the existing WAPI authentication may cause slow data transmission, the present invention adopts a multi-thread synchronization mechanism to optimize the symmetric encryption algorithm of SMS4 and speed up data transmission;

[0054] (2) In view of the problem that the existing WAPI authentication is too dependent on the security of authentication technology and cannot achieve security protection of data transmission by detecting abnormalities in client data after successful authentication, the present invention adopts an intelligent data analysis and abnormality detection module, uses the decision tree in the random forest model, quickly extracts features of multidimensional data, and performs gray image mapping on the features extracted by the random forest model, and uses the convolutional neural network model to accurately classify the features of the gray image, thereby achieving further rapid and accurate abnormality detection of data transmission after successful authentication. At the same time, the present invention performs multiple access control and authority management on the client after successful authentication, thereby achieving security protection of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A flow chart of the intelligent security protection method based on WAPI authentication in an Internet of Things environment provided by the present invention;

[0056] Figure 2 is a schematic flow chart of step S3;

[0057] Figure 3 is a schematic flow chart of step S4;

[0058] Figure 4 is a schematic flow chart of step S5;

[0059] Figure 5 is a schematic diagram of the process of step S53;

[0060] Figure 6 is a schematic flow chart of step S7;

[0061] Figure 7 A schematic diagram of a module of an intelligent security protection system based on WAPI authentication in an Internet of Things environment provided by the present invention;

[0062] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0063] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0064] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0065] Example 1, see Figure 1 The intelligent security protection method based on WAPI authentication in the Internet of Things environment provided by the present invention specifically includes the following steps:

[0066] Step S1: Data collection, collecting transmission data between the client and the WAPI access point, monitoring network data traffic, collecting user behavior data, and defining the collection of transmission data between the client and the WAPI access point, network data traffic, and user behavior data as a security event;

[0067] Step S2: Client authentication: perform access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verify the validity of the client's WAPI certificate after the access authentication succeeds;

[0068] Step S3: key generation and data encryption: the client and the WAPI access point module negotiate a key to obtain a key, and encrypt the data transmitted between the client and the WAPI access point using the SMS4 algorithm based on multi-thread optimization according to the key;

[0069] Step S4: Access control and rights management, verifying the identity of the client and controlling its access to network resources;

[0070] Step S5: Intelligent data analysis and anomaly detection, using random forest algorithm and convolutional neural network algorithm to analyze network data traffic, user behavior data and transmission data between the client and the WAPI access point, perform anomaly detection on network data traffic and user behavior data, and perform anomaly detection on transmission data between the client and the WAPI access point, to obtain normal detection information and anomaly detection information;

[0071] Step S6: saving the normal detection information and the abnormal detection information, issuing an alarm for the abnormal detection information, isolating the abnormal client, and caching and backing up the transmission data between the abnormal client and the WAPI access point;

[0072] Step S7: Security event recording and auditing, recording all security events and conducting security audits.

[0073] Example 2, see Figure 2 This embodiment is based on the above embodiment, and step S3 specifically includes the following steps:

[0074] Step S31: Initial key generation: the client and the WAPI access point module perform key negotiation to obtain a key;

[0075] Step S32: data segmentation, segmenting the transmission data between the client and the WAPI access point into four data blocks;

[0076] Step S33: key expansion, using four threads to expand the key respectively to obtain four expanded keys;

[0077] Step S34: multi-threaded operation, using a synchronization mechanism to control four threads, using four extended keys to perform SMS4 encryption operation on four data blocks respectively, to obtain four encrypted data;

[0078] Step S35: Data merging: merging the four extended keys to obtain the final key, and merging the four encrypted data to obtain the final encrypted data.

[0079] By performing the above operations, the symmetric encryption algorithm of SMS4 used in the existing WAPI authentication may cause the problem of slow data transmission. The present invention adopts a multi-threaded synchronization mechanism to optimize the symmetric encryption algorithm of SMS4 and speed up data transmission.

[0080] Example 3, see Figure 3 This embodiment is based on the above embodiment, and step S4 specifically includes the following steps:

[0081] Step S41: role management, assigning client users to different identities and roles, and assigning specific permissions to each role, and controlling the user's access rights according to the user's role;

[0082] Step S42: configuring access control lists, defining different levels of access control policies based on user identities and roles to configure access control lists, and limiting specific users' access rights to applications or resources;

[0083] Step S43: MAC address filtering, configuring wireless access points and network devices, restricting only WAPI-authenticated devices to connect to the network;

[0084] Step S44: VLAN isolation, assigning clients to different virtual local area networks, isolating different users, and controlling the communication rights between clients in different virtual local area networks;

[0085] Step S45: Dynamic key distribution, using the dynamic key distribution protocol to distribute a unique key to each WAPI-authenticated user to ensure encryption of communications between users;

[0086] Step S46: User authentication. After the client passes the WAPI authentication, further user authentication, username and password verification, and certificate authentication are performed on the user of the client.

[0087] By executing the above operations, in order to solve the problem that the existing WAPI authentication is too dependent on the security of authentication technology and cannot achieve security protection of data transmission by detecting abnormalities in client data after successful authentication, the present invention performs multiple access controls and permission management on the client after successful authentication to achieve security protection of data transmission.

[0088] Example 4, see Figure 4 , Figure 5 This embodiment is based on the above embodiment, and step S5 specifically includes the following steps:

[0089] Step S51: training a random forest model, performing anomaly detection on network data traffic and user behavior data, and taking the transmission data between the client and the WAPI access point as model input data, training the random forest model, and obtaining a trained random forest model;

[0090] Step S52: feature extraction, using the trained random forest model to perform anomaly detection on network data traffic and user behavior data, and extract features from the transmission data between the client and the WAPI access point to obtain the dimension and type of the feature;

[0091] Step S53: neural network model design, designing a neural network model, receiving the features extracted by the random forest model as input data, specifically including the following steps:

[0092] Step S53: neural network model design, designing a neural network model, receiving the features extracted by the random forest model as input data, specifically including the following steps:

[0093] Step S531: Determine the input layer, and determine the size and shape of the neural network input layer according to the dimension and type of features extracted by the random forest model;

[0094] Step S532: Determine the type of neural network, use the convolutional neural network as the neural network to be used, and obtain the size and shape of the convolutional neural network input layer;

[0095] Step S533: adding a hidden layer, adding a hidden layer including 5 convolutional layers according to the size and shape of the convolutional neural network input layer;

[0096] Step S534: adding an activation function, using an adaptive parameterized activation function to dynamically perform nonlinear transformation on the features extracted by the random forest model;

[0097] Step S535: adding a pooling layer, selecting 3 pooling layers according to the size of the convolutional neural network input layer, and selecting an average pooling operation for the pooling layer operation;

[0098] Step S536: The output layer is determined by selecting softmax as the output function according to the dimension and type of features extracted by the random forest model;

[0099] Step S537: learning rate selection, selecting an adaptive learning rate algorithm according to the type of features extracted by the random forest model;

[0100] Step S54: data standardization, standardizing the input data according to the convolutional neural network model to obtain standardized input data;

[0101] Step S55: Neural network training, using standardized input data to train the convolutional neural network model;

[0102] Step S56: Hyperparameter optimization, performing cross-validation-based hyperparameter optimization on the trained convolutional neural network model;

[0103] Step S57: Use the optimized convolutional neural network model to perform anomaly detection on the network data traffic and user behavior data, and at the same time perform anomaly detection on the transmission data between the client and the WAPI access point to obtain normal detection information and abnormal detection information.

[0104] By performing the above operations, in order to solve the problem that the existing WAPI authentication is too dependent on the security of authentication technology and cannot achieve security protection of data transmission by detecting anomalies in client data after successful authentication, the present invention adopts an intelligent data analysis and anomaly detection module, uses the decision tree in the random forest model, quickly extracts features of multidimensional data, and performs gray image mapping on the features extracted by the random forest model, and uses the convolutional neural network model to accurately classify the features of the gray image, so as to achieve further rapid and accurate anomaly detection of data transmission after successful authentication, and achieve security protection of data transmission.

[0105] Embodiment 5, referring to 6, this embodiment is based on the above embodiment, step S7 specifically includes the following steps:

[0106] Step S71: Audit log generation, recording user behavior data and generating audit log data, monitoring and tracking access activities in user behavior data, detecting and responding to potential security threats;

[0107] Step S72: Event monitoring and alarm, real-time monitoring of user activities after WAPI authentication, and triggering alarms based on abnormal detection information. If a user attempts multiple invalid authentications or frequently clicks on resources outside of their access rights, the system automatically triggers an alarm;

[0108] Step S73: Security event analysis: by analyzing the security events after WAPI authentication, potential security threats and abnormal behaviors are discovered. By analyzing the audit log data and user behavior data, suspicious users, abnormal logins, unauthorized access, and malicious behaviors are identified.

[0109] Step S74: Threat detection and response, based on the security event records and analysis after WAPI authentication, implement threat detection and response strategies, timely identify and respond to potential security threats, prohibit or block access by suspicious users, reset damaged data, and isolate infected devices.

[0110] Example 6, see Figure 7 , the intelligent security protection system based on WAPI authentication in the Internet of Things environment provided by the present invention includes an Internet of Things client WAPI access point module, a client authentication module, a data encryption module, an intelligent data analysis and anomaly detection module and a management and control platform;

[0111] The IoT client WAPI access point module is responsible for receiving connection requests sent by the IoT client, collecting transmission data between the client and the WAPI access point, monitoring network data traffic, and collecting user behavior data;

[0112] The client authentication module is responsible for performing access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verifying the validity of the client's WAPI certificate after the access authentication is successful;

[0113] The data encryption module is responsible for providing the client and the WAPI access point module with key negotiation to obtain the key after the validity verification is successful, and encrypts the transmission data between the client and the WAPI access point using the SMS4 algorithm based on multi-thread optimization according to the key;

[0114] The intelligent data analysis and anomaly detection module is responsible for analyzing network data traffic, user behavior data, and transmission data between the client and the WAPI access point through the random forest algorithm and the convolutional neural network algorithm, performing anomaly detection on the network data traffic and user behavior data, and performing anomaly detection on the transmission data between the client and the WAPI access point to obtain normal detection information and anomaly detection information;

[0115] The management control platform performs access control and authority management, verifies the identity of the client and controls its access to network resources, saves normal detection information and abnormal detection information, issues alarms for abnormal detection information and isolates abnormal clients, caches and backs up the transmission data between the abnormal clients and the WAPI access point, and records and audits security events.

[0116] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0117] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0118] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. An intelligent security protection method based on WAPI authentication in an Internet of Things environment, characterized in that: The following steps are involved: Step S1: Data collection, collecting transmission data between the client and the WAPI access point, monitoring network data traffic, collecting user behavior data, and defining the collection of transmission data between the client and the WAPI access point, network data traffic, and user behavior data as a security event; Step S2: Client authentication: perform access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verify the validity of the client's WAPI certificate after the access authentication succeeds; Step S3: key generation and data encryption: the client and the WAPI access point module negotiate a key to obtain a key, and encrypt the data transmitted between the client and the WAPI access point using the SMS4 algorithm based on multi-thread optimization according to the key; Step S4: Access control and rights management, verifying the identity of the client and controlling its access to network resources; Step S5: Intelligent data analysis and anomaly detection, using random forest algorithm and convolutional neural network algorithm to analyze network data traffic, user behavior data and transmission data between the client and the WAPI access point, perform anomaly detection on network data traffic and user behavior data, and perform anomaly detection on transmission data between the client and the WAPI access point, to obtain normal detection information and anomaly detection information; Step S6: saving the normal detection information and the abnormal detection information, issuing an alarm for the abnormal detection information, isolating the abnormal client, and caching and backing up the transmission data between the abnormal client and the WAPI access point; Step S7: Security event recording and auditing, recording all security events and conducting security audits.

2. According to claim 1, the intelligent security protection method based on WAPI authentication in the Internet of Things environment is characterized in that: Step S3 specifically includes the following steps: Step S31: Initial key generation: the client and the WAPI access point module perform key negotiation to obtain a key; Step S32: data segmentation, segmenting the transmission data between the client and the WAPI access point into n data blocks; Step S33: key expansion, using n threads to expand the key respectively to obtain n expanded keys; Step S34: multi-threaded operation, using a synchronization mechanism to control n threads, using n extended keys to perform SMS4 encryption operation on n data blocks respectively, to obtain n encrypted data; Step S35: data merging, merging n extended keys to obtain a final key, and merging n encrypted data to obtain final encrypted data.

3. According to claim 1, the intelligent security protection method based on WAPI authentication in the Internet of Things environment is characterized in that: Step S4 specifically includes the following steps: Step S41: role management, assigning client users to different identities and roles, and assigning specific permissions to each role, and controlling the user's access rights according to the user's role; Step S42: configuring access control lists, defining different levels of access control policies and configuring access control lists based on user identities and roles, and limiting user access rights to applications or resources; Step S43: MAC address filtering, configuring wireless access points and network devices, restricting only WAPI-authenticated devices to connect to the network; Step S44: VLAN isolation, assigning clients to different virtual local area networks, isolating different users, and controlling the communication rights between clients in different virtual local area networks; Step S45: Dynamic key distribution, using the dynamic key distribution protocol to distribute a unique key to each WAPI-authenticated user to ensure encryption of communications between users; Step S46: User authentication. After the client passes the WAPI authentication, further user authentication, username and password verification, and certificate authentication are performed on the user of the client.

4. According to claim 1, the intelligent security protection method based on WAPI authentication in the Internet of Things environment is characterized in that: Step S5 specifically includes the following steps: Step S51: training a random forest model, performing anomaly detection on network data traffic and user behavior data, and taking the content of the transmission data between the client and the WAPI access point as model input data, training the random forest model, and obtaining a trained random forest model; Step S52: feature extraction, using the trained random forest model to perform anomaly detection on network data traffic and user behavior data, and extract features from the content of the transmission data between the client and the WAPI access point to obtain the dimension and type of the feature; Step S53: neural network model design, designing a neural network model, receiving features extracted by the random forest model as input data; Step S54: data standardization, standardizing the input data according to the convolutional neural network model to obtain standardized input data; Step S55: Neural network training, using standardized input data to train the convolutional neural network model; Step S56: Hyperparameter optimization, performing cross-validation-based hyperparameter optimization on the trained convolutional neural network model; Step S57: Use the optimized convolutional neural network model to perform anomaly detection on the network data traffic and user behavior data, and at the same time perform anomaly detection on the content of the transmission data between the client and the WAPI access point to obtain normal detection information and abnormal detection information.

5. According to claim 4, the intelligent security protection method based on WAPI authentication in the Internet of Things environment is characterized in that: Step S53 specifically includes the following steps: Step S531: Determine the input layer, and determine the size and shape of the neural network input layer according to the dimension and type of features extracted by the random forest model; Step S532: Determine the type of neural network, use the convolutional neural network as the neural network to be used, and obtain the size and shape of the convolutional neural network input layer; Step S533: adding hidden layers, adding a corresponding number of hidden layers according to the size and shape of the convolutional neural network input layer; Step S534: adding an activation function, using an adaptive parameterized activation function to dynamically perform nonlinear transformation on the features extracted by the random forest model; Step S535: adding a pooling layer, determining the number of pooling layers according to the size of the convolutional neural network input layer, and selecting the average pooling operation as the pooling layer operation; Step S536: Determine the output layer and select the corresponding output function according to the dimension and type of features extracted by the random forest model; Step S537: learning rate selection, selecting an adaptive learning rate algorithm according to the type of features extracted by the random forest model.

6. The intelligent security protection method based on WAPI authentication in an Internet of Things environment according to claim 1 is characterized in that: Step S7 specifically includes the following steps: Step S71: Audit log generation, recording user behavior data and generating audit log data, monitoring and tracking access activities in user behavior data, detecting and responding to potential security threats; Step S72: Event monitoring and alarm, real-time monitoring of user activities after WAPI authentication, and triggering alarms based on abnormal detection information. If a user attempts multiple invalid authentications or frequently clicks on resources outside of their access rights, the system automatically triggers an alarm; Step S73: Security event analysis: by analyzing the security events after WAPI authentication, potential security threats and abnormal behaviors are discovered. By analyzing the audit log data and user behavior data, suspicious users, abnormal logins, unauthorized access, and malicious behaviors are identified. Step S74: Threat detection and response, based on the security event records and analysis after WAPI authentication, implement threat detection and response strategies, timely identify and respond to potential security threats, prohibit or block access by suspicious users, reset damaged data, and isolate infected devices.

7. An intelligent security protection system based on WAPI authentication in an Internet of Things environment, used to implement the intelligent security protection method based on WAPI authentication in an Internet of Things environment as described in any one of claims 1 to 6, characterized in that: The intelligent security protection system based on WAPI authentication in the IoT environment includes an IoT client WAPI access point module, a client authentication module, a data encryption module, an intelligent data analysis and anomaly detection module, and a management and control platform; The IoT client WAPI access point module receives a connection request sent by the IoT client, collects transmission data between the client and the WAPI access point, monitors network data traffic, and collects user behavior data; The client authentication module performs access authentication on the connection request sent by the IoT client according to the WAPI certificate formulated by the Cryptography Administration, and verifies the validity of the WAPI certificate of the client after the access authentication is successful; The data encryption module, after the validity verification is successful, provides the client and the WAPI access point module with key negotiation to obtain a key, and uses the SMS4 algorithm based on multi-thread optimization to encrypt the transmission data between the client and the WAPI access point according to the key; The intelligent data analysis and anomaly detection module analyzes network data traffic, user behavior data, and transmission data between the client and the WAPI access point through a random forest algorithm and a convolutional neural network algorithm, performs anomaly detection on the network data traffic and user behavior data, and performs anomaly detection on the transmission data between the client and the WAPI access point, thereby obtaining normal detection information and anomaly detection information; The management and control platform performs access control and authority management, verifies the identity of the client and controls its access to network resources, saves normal detection information and abnormal detection information, issues alarms for abnormal detection information and isolates abnormal clients, caches and backs up transmission data between abnormal clients and WAPI access points, and records and audits security events.

Citation Information

Cited By

  • Power distribution terminal communication network system based on WAPI

    CN119362722A