A computer security protection method and system
Through the risk identification model based on authentication information detection and mean encoding characteristics, combined with the encryption algorithm, the problem of low computer security in the existing technology is solved, multi-level security protection of the computer system is achieved, and data leakage and system are avoided. paralysis.
Patent Information
- Application Number
- CN202411021051.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Existing computer security technologies are difficult to effectively protect against non-program information leaks, and protection programs are too simple and can easily be bypassed, leading to data leaks.
Use identity detection based on authentication information, detect internal and external risks through web page data and external device detection, use mean encoding features and risk identification models to identify internal and external risks, and combine encryption algorithms to protect data to achieve security control of computer systems.
It effectively avoids data intrusion caused by viruses in web pages and computer system data paralysis caused by viruses carried by external devices, and improves data download security and system stability.
Smart Images

Figure CN118551369B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a computer security protection method and system. Background Art
[0002] Computers have become essential equipment for modern office, study, and entertainment. Their security status is very important to the user experience. Computer security refers to the technical and management security protection of data processing systems to protect computer hardware, software, and data from being destroyed, changed, or exposed due to accidental or malicious reasons. Most of the existing computer security technologies focus on the protection of virus programs. For example, antivirus software will scan the process files of the computer and delete suspicious programs to avoid virus implantation. However, there is no strict protection for non-program information leakage. In the era of big data, the amount and value of information are increasing, and the need for confidentiality of some data is also increasing. The security of confidential data is very important for individuals and enterprises. However, the security protection methods in the existing technologies are either designed for virus programs and cannot prevent the operator from actively leaking information, or the protection program is too simple, and there are many ways to easily bypass the protection program, resulting in data leakage. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a computer security protection method and system to solve the problem of low security of computer systems.
[0004] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a computer security protection method, comprising:
[0005] S1: Based on the authentication information, the user identity is detected to obtain the identity authentication result;
[0006] S2: Based on the identity authentication result, perform web page data detection and external device detection on the computer to obtain corresponding mean coding features and external access results respectively;
[0007] S3: Inputting the mean coded feature into a risk identification model for identification to obtain an internal risk identification result; wherein the risk identification model is obtained through training;
[0008] S4: When the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result;
[0009] S5: Based on the internal risk identification result and the external risk identification result, corresponding security protection methods are used to control the risks and complete the security protection of the computer system.
[0010] The beneficial effects of the present invention are as follows: the processor uses the identity authentication result to detect web page data and external devices on the computer, obtains internal risk identification results and external risk identification results, controls risks, and completes the security protection of the computer system. By using the internal risk prediction value and the equilibrium value, the risk of data in the entire computer system being invaded by viruses due to the presence of viruses in the web page during the computer downloading data can be effectively avoided, thereby improving the security of the computer system when downloading data; by detecting external devices, the situation of computer system data paralysis caused by viruses in external devices can be avoided, thereby improving the stability of the entire computer system.
[0011] Further, the S2 includes:
[0012] S210: When the identity authentication result is passed, extract the word segmentation features, flow table and domain name table of the computer web page;
[0013] S220: Perform feature analysis on the flow table and the domain name table to obtain attribute information tags of corresponding web pages;
[0014] S230: Based on the attribute information label, perform mean encoding on the word segmentation feature to obtain the mean encoding feature;
[0015] S240: Obtain the external access result by detecting the external device; wherein the word segmentation feature, the flow table and the domain name table belong to web page data.
[0016] Further, the S220 includes:
[0017] Perform feature analysis on each flow table item in the flow table and each domain name table item in the domain name table to obtain the attribute information label of the corresponding web page; wherein the flow table item includes a matching field, a priority, a counter, an instruction, a timeout period, storage data and a flow start time, and the domain name table item includes a source Internet Protocol address, a destination domain name, a destination address and a domain name type.
[0018] Further, the S3 includes:
[0019] Inputting the mean coded feature into a risk identification model for identification to obtain an internal risk prediction value;
[0020] The internal risk prediction value is analyzed using the equilibrium value to obtain an internal risk identification result.
[0021] Furthermore, obtaining the equilibrium value includes:
[0022] Extract sample values and corresponding sample segmentation features from virus web pages and normal web pages;
[0023] Performing mean encoding on the sample word segmentation features to obtain sample mean encoding features;
[0024] The sample value and sample mean encoding features are input into a logistic regression model to obtain the equilibrium value; wherein the logistic regression model is obtained through training.
[0025] Furthermore, the risk identification model in S3 is obtained by training the second loss function, wherein the expression of the second loss function is:
[0026] ;
[0027] ;
[0028] ;
[0029] ;
[0030] in, Represents the result of the second loss function, represents the sample source loss, represents the label loss, represents the distribution function, represents the probability of the output value, represents the sample mean encoding feature, Indicates that the sample source is the real mean coded feature, represents the number of mean-encoded features, Indicates that the sample source is the mean encoding feature of the generator, represents the number of mean-encoded features generated, represents the distribution of mean-encoded features, represents the discriminator’s estimate of the source of the mean-encoded feature, represents the distribution of the generated mean-encoded features, represents the discriminator's estimate of the source of the mean-encoded feature generated by the generator, represents the output of the generator, Indicates that there is an internal risk. represents the internal risk prediction value, represents the equilibrium value, Indicates that there is no internal risk.
[0031] Further, the S4 includes:
[0032] When the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm to obtain encrypted data;
[0033] Acquire data content, invalid protocols and potential viruses of an external device; wherein the data content, the invalid protocols and the potential viruses belong to access data;
[0034] Anomaly detection is performed on the data content, the invalid protocol and the potential virus to obtain an external risk identification result; the external risk identification result includes normal access data and abnormal access data.
[0035] Further, the S5 includes:
[0036] When the internal risk identification result indicates that there is a risk, a webpage risk warning is issued;
[0037] When the external risk identification result is that there is a risk, the access data is blocked and isolated, and the external device is kept in read-only mode to complete the security protection of the computer system.
[0038] A computer security protection system, comprising:
[0039] The authentication module is used to detect the user's identity based on the authentication information and obtain the identity authentication result;
[0040] A detection module, used to perform web page data detection and external device detection on the computer based on the identity authentication result, and obtain corresponding mean coding features and external access results respectively;
[0041] The risk identification module is used to input the mean coding feature into the risk identification model for identification to obtain an internal risk identification result; when the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result;
[0042] A security protection module, used to control the risk based on the internal risk identification result and the external risk identification result using a corresponding security protection method to complete the security protection of the computer system;
[0043] The update module is used to perform update detection on the authentication module, the detection module, the risk identification module and the security protection module to obtain an update result. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0045] Figure 1 is a module schematic diagram of a computer security protection system according to some embodiments of this specification;
[0046] Figure 2 It is an exemplary flow chart of a computer security protection method according to some embodiments of this specification. DETAILED DESCRIPTION
[0047] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0048] Embodiment 1
[0049] Figure 1 It is a module diagram of a computer security protection system shown in some embodiments of this specification.
[0050] In some embodiments, the computer security protection system may include an authentication module, a detection module, a risk identification module, a security protection module, and an update module.
[0051] The authentication module is used to detect the user's identity based on the authentication information and obtain the authentication result. For more details about the authentication result, see Figure 2 and its related description.
[0052] In some embodiments, the authentication module may include a login verification unit.
[0053] The login verification unit is used to identify the web page (HTTP) protocol status based on the user account and password corresponding to the session technology, the web page data exchange (JSON-Web-Tokens) protocol status based on the identification (Token) technology, or the data exchange (JSONHTTP) protocol status based on the user account and password corresponding to the token technology.
[0054] The detection module is used to perform web page data detection and external device detection on the computer based on the identity authentication result, and obtain the corresponding mean coding features and external access results respectively; for more details about the mean coding features and external access results, please refer to Figure 2 and its related description.
[0055] The risk identification module is used to input the mean coding feature into the risk identification model for identification, and obtain the internal risk identification result; when the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain the external risk identification result; for more details about the internal risk identification result and the external risk identification result, please refer to Figure 2 and its related description.
[0056] The security protection module is used to control the risk based on the internal risk identification result and the external risk identification result using the corresponding security protection method to complete the security protection of the computer system; for more details on the security protection of the computer system, please refer to Figure 2 and its related description.
[0057] The update module is used to perform update detection on the authentication module, the detection module, the risk identification module and the security protection module to obtain an update result.
[0058] The update result reflects the update status of each module in the computer security protection system.
[0059] In some embodiments, the update module can detect the fault data, reliability data and virus source data of the authentication module, detection module, risk identification module and security protection module, and use database resources to perform update matching to obtain update results.
[0060] In some embodiments, a computer security protection system can be used to execute a computer security protection method, including: S1: Based on authentication information, the user identity is detected to obtain an identity authentication result; S2: Based on the identity authentication result, the computer is detected for web page data and external device detection to obtain corresponding mean coding features and external access results, respectively; S3: The mean coding features are input into a risk identification model for identification to obtain an internal risk identification result; wherein the risk identification model is obtained through training; S4: When the external access result is that a device is accessed, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result; S5: Based on the internal risk identification result and the external risk identification result, the corresponding security protection method is used to control the risk to complete the security protection of the computer system.
[0061] In some embodiments of the present specification, the processor uses a computer security protection system to execute a computer security protection method. By using the internal risk prediction value and the equilibrium value, the risk of data in the entire computer system being invaded by viruses due to the presence of viruses in the web page during the computer downloading data can be effectively avoided, thereby improving the security of the computer system when downloading data; by detecting external devices, the situation of computer system data paralysis caused by viruses in external devices can be avoided, thereby improving the stability of the entire computer system.
[0062] Embodiment 2
[0063] Figure 2 is an exemplary flow chart of a computer security protection method according to some embodiments of this specification. Figure 2 As shown, the process includes the following steps. In some embodiments, the process can be executed by a processor.
[0064] S1: Based on the authentication information, the user identity is detected to obtain the identity authentication result.
[0065] Authentication information is information used to authenticate the user's identity. For example, authentication information may include account password, face, voice, and magnetic stripe card.
[0066] In some embodiments, the processor may utilize a computer login window to obtain authentication information of the user.
[0067] The identity authentication result is an authentication result that reflects whether the user identity matches. For example, the identity authentication result may include authentication success and authentication failure.
[0068] In some embodiments, the processor can detect the user's authentication information to obtain an identity authentication result. For example, the processor can use a verification code of a random combination of numbers, pictures, and arrangement rules generated by a database to detect the user's account password, face, voice, and magnetic stripe card to obtain an identity authentication result.
[0069] In some embodiments, the processor may enable computer access rights for users who have successfully authenticated, and disable computer access rights for users who have failed authentication.
[0070] S2: Based on the identity authentication result, perform web page data detection and external device detection on the computer to obtain corresponding mean coding features and external access results respectively.
[0071] Web page data is data required for web page browsing and operation. For example, web page data may include word segmentation features, flow tables, and domain name tables.
[0072] In some embodiments, the processor may obtain web page data based on web page background storage information.
[0073] External devices are other devices that connect to your computer.
[0074] In some embodiments, the processor may identify the external device based on an external port of the computer.
[0075] The mean coding feature is a coding feature that reflects the web page data information.
[0076] The external access result is a result reflecting whether an external device is accessed. For example, the external access result may include whether a device is accessed or not.
[0077] In some embodiments, the processor may implement S2 based on the following steps.
[0078] S210: When the identity authentication result is passed, extract the word segmentation features, flow table and domain name table of the computer web page.
[0079] Segmentation features are features that reflect the content and vocabulary of a web page.
[0080] The flow table is data reflecting the web page browsing process information. For example, the flow table may include multiple flow table entries.
[0081] The domain name table is data reflecting the protocol and address information of a web page. For example, the domain name table may include multiple domain name table items.
[0082] In some embodiments, the processor may analyze web pages browsed by successfully authenticated users and extract corresponding word segmentation features, flow tables, and domain name tables.
[0083] S220: Perform feature analysis on the flow table and the domain name table to obtain attribute information tags of corresponding web pages.
[0084] The attribute information tag is a tag that reflects the type and attributes of a web page.
[0085] In some embodiments, the processor may perform feature analysis on the flow table and domain name table of the web page to obtain a plurality of tags for identifying the type and attributes of the web page as attribute information tags.
[0086] In some embodiments, the processor may perform feature analysis on each flow table entry in the flow table and each domain name table entry in the domain name table to obtain the attribute information tag of the corresponding web page.
[0087] A flow entry is an item generated by each browsing process in the flow table. For example, a flow entry may include a match field, priority, counter, instruction, timeout, storage data, and flow start time.
[0088] The domain name table entry is an item generated during each loading process. For example, the domain name table entry may include the source Internet Protocol address, the destination domain name, the destination address, and the domain name type.
[0089] S230: Based on the attribute information label, perform mean encoding on the word segmentation feature to obtain the mean encoded feature.
[0090] In some embodiments, the processor may perform mean encoding on the word segmentation features based on the attribute information tags of the web page to obtain mean encoded features.
[0091] In some embodiments, the processor may perform mean encoding on the word segmentation features using a comprehensive category feature encoding library (comprehensive category-encoders library) based on the attribute information label to obtain a mean encoding feature.
[0092] In some embodiments, the processor may perform mean encoding on the word segmentation features based on the attribute information tag using a weight-of-evidence independent variable management function to obtain a mean encoded feature.
[0093] In some embodiments, the processor may perform mean encoding on the word segmentation features based on the attribute information label by using a classification quantization method (Nonlinear-PCA classification quantization method) to obtain mean encoding features.
[0094] S240: Obtain the external access result by detecting the external device.
[0095] In some embodiments, the processor may detect the access status of the external device using the external port of the computer to obtain an external access result.
[0096] S3: Input the mean coding feature into the risk identification model for identification to obtain an internal risk identification result.
[0097] The internal risk identification result is a result reflecting the risk of users browsing web pages. For example, the internal risk identification result may include whether there is an internal risk or not.
[0098] In some embodiments, the processor may input the mean coding feature into the risk identification model for identification to obtain an internal risk prediction value; and use the equilibrium value to analyze the internal risk prediction value to obtain an internal risk identification result.
[0099] The internal risk prediction value is a prediction value that reflects the risk level of a web page.
[0100] In some embodiments, the processor may use a risk identification model to identify the mean coding features of the web page to obtain an internal risk prediction value.
[0101] The equilibrium value is used as a standard value to determine whether internal risk exists.
[0102] In some embodiments, the processor can extract sample values and corresponding sample word segmentation features from virus web pages and normal web pages; perform mean encoding on the sample word segmentation features to obtain sample mean encoding features; and input the sample values and sample mean encoding features into a logistic regression model to obtain an equilibrium value.
[0103] The sample value is the data value of the virus web page and the normal web page as a sample.
[0104] The sample segmentation features reflect the attribute features of the virus web pages and normal web pages used as samples.
[0105] In some embodiments, the processor may extract data generated by access and browsing based on virus web pages and normal web pages as samples to obtain sample values and sample word segmentation features.
[0106] The sample mean coding feature is a coding feature that reflects the sample web page data information.
[0107] In some embodiments, the processor may analyze the sample value and sample mean encoding features using a logistic regression model to obtain an equilibrium value.
[0108] The logistic regression model is a neural network model used to obtain equilibrium values.
[0109] In some embodiments, the logistic regression model can be obtained by training multiple labeled first training samples. For example, multiple labeled first training samples can be input into the initial logistic regression model, and a first loss function can be constructed by using the labels and the results of the initial logistic regression model. The parameters of the initial logistic regression model can be iteratively updated based on the first loss function by gradient descent or other methods. When the preset conditions are met, the model training is completed and a trained logistic regression model is obtained. The preset conditions can be that the first loss function converges, the number of iterations reaches a threshold, etc.
[0110] In some embodiments, the first training sample may include sample value and sample mean encoding features. The label may be a corresponding equilibrium value. The label may be manually labeled.
[0111] In some embodiments, the first loss function may be a cross entropy loss function.
[0112] In some embodiments, the processor may analyze the internal risk prediction value using the equilibrium value to obtain an internal risk identification result. For example, the processor may determine that a web page with an internal risk prediction value greater than the equilibrium value has internal risk, and determine that a web page with an internal risk prediction value less than the equilibrium value has no internal risk.
[0113] The risk identification model is a neural network model used to obtain the internal risk prediction value. For example, the risk identification model may include a generative adversarial neural network model, a deep neural network model, etc.
[0114] In some embodiments, the risk identification model may include a generation layer, a discrimination layer and a risk identification layer, the output of the generation layer serves as the input of the discrimination layer, the output of the discrimination layer serves as the input of the risk identification layer, and the output of the risk identification layer serves as the final output of the risk identification model.
[0115] In some embodiments, the output of the generative layer may be the generated mean encoded features.
[0116] In some embodiments, the input of the discriminant layer may be the mean coded features and the generated mean coded features, and the output may be the sample discriminant result:
[0117] ;
[0118] in, Represents the minimum value of the data generated by the generator, Represents the maximum value of the discriminator output data, represents the sample discrimination result, represents the distribution of mean-encoded features, represents the discriminator’s estimate of the source of the mean-encoded feature, represents the distribution of the generated mean-encoded features, represents the discriminator's estimate of the source of the mean-encoded feature generated by the generator, Represents the output of the generator.
[0119] The sample discrimination result is a result reflecting whether the sample is a real sample or a sample generated by the generator. For example, the sample discrimination result may include a real sample (real) and a generated sample (fake).
[0120] In some embodiments, the input of the risk identification layer may be a sample discrimination result, and the output may be an internal risk prediction value.
[0121] In some embodiments, the risk identification model can be obtained by training multiple labeled second training samples. For example, multiple labeled second training samples can be input into the initial risk identification model, and a second loss function can be constructed by using the labels and the results of the initial risk identification model. The parameters of the initial risk identification model can be iteratively updated based on the second loss function by gradient descent or other methods. When the preset conditions are met, the model training is completed and a trained risk identification model is obtained. The preset conditions can be that the second loss function converges, the number of iterations reaches a threshold, etc.
[0122] In some embodiments, the second training sample may include mean coded features. The label may be a corresponding internal risk identification result. The label may be manually annotated or generated by a discriminator.
[0123] In some embodiments, the second loss function may be a joint loss function:
[0124] ;
[0125] ;
[0126] ;
[0127] ;
[0128] in, Represents the result of the second loss function, represents the sample source loss, represents the label loss, represents the distribution function, represents the probability of the output value, represents the sample mean encoding feature, Indicates that the sample source is the real mean coded feature, represents the number of mean-encoded features, Indicates that the sample source is the mean encoding feature of the generator, represents the number of mean-encoded features generated, represents the distribution of mean-encoded features, represents the discriminator’s estimate of the source of the mean-encoded feature, represents the distribution of the generated mean-encoded features, represents the discriminator's estimate of the source of the mean-encoded feature generated by the generator, represents the output of the generator, Indicates that there is an internal risk. represents the internal risk prediction value, represents the equilibrium value, Indicates that there is no internal risk.
[0129] S4: When the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result.
[0130] An encryption algorithm is an integrated data encryption technology used to encrypt computer data. For example, an encryption algorithm may include a random combination of technologies such as asymmetric encryption technology, terminal encryption technology (DLP), proxy gateway technology (CASB), database encryption gateway technology, and database plug-in encryption technology.
[0131] Access data is data generated by an external device when it is connected to a computer. For example, access data may include data content, invalid protocols, and potential viruses.
[0132] In some embodiments, the processor may utilize an external port of the computer to obtain access data of an external device.
[0133] The external risk identification result is a result reflecting the access risk of external devices. For example, the external risk identification result may include normal access data and abnormal access data.
[0134] In some embodiments, the processor can analyze external access data. When the external access result is that a device has been accessed, the processor can encrypt the computer data using an encryption algorithm to obtain encrypted data; obtain the data content, invalid protocols and potential viruses of the external device; perform anomaly detection on the data content, invalid protocols and potential viruses to obtain external risk identification results.
[0135] Encrypted data is computer-stored data that has been encrypted.
[0136] In some embodiments, the processor may utilize an encryption algorithm to encrypt data stored in the computer to obtain encrypted data.
[0137] In some embodiments, the processor can utilize the computer's external port to obtain data content, invalid protocols, and potential viruses from external devices.
[0138] In some embodiments, the processor may detect access data such as data content, invalid protocols, and potential viruses to obtain external risk identification results.
[0139] S5: Based on the internal risk identification result and the external risk identification result, corresponding security protection methods are used to control the risks and complete the security protection of the computer system.
[0140] In some embodiments, the processor can analyze the internal risk identification results and the external risk identification results. When the internal risk identification result is that there is an internal risk, a web page risk warning is issued; when the external risk identification result is that the access data is abnormal, the access data is blocked and isolated, and the external device is kept in read-only mode to complete the security protection of the computer system.
[0141] In some embodiments, when the processor determines that the internal risk identification result is that there is an internal risk, a webpage risk warning is issued to the user through a pop-up window or the like.
[0142] In some embodiments, when the processor determines that the external risk identification result is that the access data is abnormal, the access data is blocked and isolated, and the external device is kept in read-only mode.
[0143] In some embodiments of this specification, the processor uses the identity authentication result to perform web page data detection and external device detection on the computer, obtains internal risk identification results and external risk identification results, controls the risks, and completes the security protection of the computer system. By using the internal risk prediction value and the equilibrium value, the risk of data in the entire computer system being invaded by viruses due to the presence of viruses in the web page during the computer downloading data can be effectively avoided, thereby improving the security of the computer system when downloading data; by detecting the external device, the situation of computer system data paralysis caused by viruses in the external device can be avoided, thereby improving the stability of the entire computer system.
Claims
1. A computer security protection method, It is characterized in that include: S1: Based on the authentication information, the user identity is detected to obtain the identity authentication result; S2: Based on the identity authentication result, perform web page data detection and external device detection on the computer to obtain corresponding mean coding features and external access results respectively; wherein, it includes S210: when the identity authentication result is passed, extract the word segmentation features, flow table and domain name table of the computer web page; S220: Perform feature analysis on the flow table and the domain name table to obtain attribute information tags of corresponding web pages; S230: Based on the attribute information label, perform mean encoding on the word segmentation feature to obtain the mean encoding feature; S240: Obtain the external access result by detecting the external device; wherein the word segmentation feature, the flow table and the domain name table belong to web page data; S3: inputting the mean coded feature into the risk identification model for identification to obtain an internal risk identification result; wherein, the mean coded feature is input into the risk identification model for identification to obtain an internal risk prediction value; the risk identification model is obtained through training; Analyzing the internal risk prediction value using the equilibrium value to obtain an internal risk identification result; S4: When the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result; S5: Based on the internal risk identification result and the external risk identification result, corresponding security protection methods are used to control the risks and complete the security protection of the computer system.
2. The computer security protection method according to claim 1, It is characterized in that The S220 includes: Perform feature analysis on each flow table item in the flow table and each domain name table item in the domain name table to obtain the attribute information label of the corresponding web page; wherein the flow table item includes a matching field, a priority, a counter, an instruction, a timeout period, storage data and a flow start time, and the domain name table item includes a source Internet Protocol address, a destination domain name, a destination address and a domain name type.
3. The computer security protection method according to claim 1, It is characterized in that The acquisition of the equilibrium value includes: Extract sample values and corresponding sample segmentation features from virus web pages and normal web pages; Performing mean encoding on the sample word segmentation features to obtain sample mean encoding features; The sample value and sample mean encoding features are input into a logistic regression model to obtain the equilibrium value; wherein the logistic regression model is obtained through training.
4. The computer security protection method according to claim 1, It is characterized in that The risk identification model in S3 is obtained by training the second loss function, wherein the expression of the second loss function is: ; ; ; ; in, Represents the result of the second loss function, represents the sample source loss, represents the label loss, represents the distribution function, represents the probability of the output value, represents the sample mean encoding feature, Indicates that the sample source is the real mean coded feature, represents the number of mean-encoded features, Indicates that the sample source is the mean encoding feature of the generator, represents the number of mean-encoded features generated, represents the distribution of mean-encoded features, represents the discriminator’s estimate of the source of the mean-encoded feature, represents the distribution of the generated mean-encoded features, represents the discriminator's estimate of the source of the mean-encoded feature generated by the generator, represents the output of the generator, Indicates that there is an internal risk. represents the internal risk prediction value, represents the equilibrium value, Indicates that there is no internal risk.
5. The computer security protection method according to claim 1, It is characterized in that The S4 includes: When the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm to obtain encrypted data; Acquire data content, invalid protocols and potential viruses of an external device; wherein the data content, the invalid protocols and the potential viruses belong to access data; Anomaly detection is performed on the data content, the invalid protocol and the potential virus to obtain an external risk identification result; the external risk identification result includes normal access data and abnormal access data.
6. The computer security protection method according to claim 1, It is characterized in that The S5 includes: When the internal risk identification result indicates that there is an internal risk, a webpage risk warning is issued; When the external risk identification result is that the access data is abnormal, the access data is blocked and isolated, and the external device is kept in read-only mode to complete the security protection of the computer system.
7. A computer security protection system, used to execute the computer security protection method according to any one of claims 1 to 6, It is characterized in that include: The authentication module is used to detect the user's identity based on the authentication information and obtain the identity authentication result; A detection module, used to perform web page data detection and external device detection on the computer based on the identity authentication result, and obtain corresponding mean coding features and external access results respectively; The risk identification module is used to input the mean coding feature into the risk identification model for identification to obtain an internal risk identification result; when the external access result is that there is a device access, the computer data is encrypted using an encryption algorithm, and the access data of the external device is detected to obtain an external risk identification result; A security protection module, used to control the risk based on the internal risk identification result and the external risk identification result using a corresponding security protection method to complete the security protection of the computer system; The update module is used to perform update detection on the authentication module, the detection module, the risk identification module and the security protection module to obtain an update result.
Citation Information
Patent Citations
Number portability hidden guest identification system and method based on machine learning algorithm
CN112418653A
Malware confrontation sample detection method and device and electronic equipment
CN112749391A
Computer application identification method and device and storage medium
CN113177206A
Method for enhancing data security of computer system
CN113742725A
Certificate-based digital signature system and method
CN116881981A
