Movatterモバイル変換


[0]ホーム

URL:


CN114936608B - An improved method and system for pattern recognition network evaluation - Google Patents

An improved method and system for pattern recognition network evaluation
Download PDF

Info

Publication number
CN114936608B
CN114936608BCN202210675507.1ACN202210675507ACN114936608BCN 114936608 BCN114936608 BCN 114936608BCN 202210675507 ACN202210675507 ACN 202210675507ACN 114936608 BCN114936608 BCN 114936608B
Authority
CN
China
Prior art keywords
network
training sample
sample set
pattern recognition
network environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210675507.1A
Other languages
Chinese (zh)
Other versions
CN114936608A (en
Inventor
赵建柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Guorui Digital Safety System Co ltd
Original Assignee
Tianjin Guorui Digital Safety System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Guorui Digital Safety System Co ltdfiledCriticalTianjin Guorui Digital Safety System Co ltd
Priority to CN202210675507.1ApriorityCriticalpatent/CN114936608B/en
Publication of CN114936608ApublicationCriticalpatent/CN114936608A/en
Application grantedgrantedCritical
Publication of CN114936608BpublicationCriticalpatent/CN114936608B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种改进的模式识别网络评估的方法和系统,通过建立网络安全参数集合,结合历史数据分项组成训练样本集,再依次抽取两个样本,构建样本对,利用分支卷积神经网络剔除不属于同一类别的样本对,重新得到第二训练样本集,调用模式识别方法训练该第二样本集,进而求解最优解得到需要的向量宽度,最后建立评估模型,减少了受到样本数量的影响。

The present invention provides an improved method and system for pattern recognition network evaluation, which establishes a network security parameter set, combines historical data items to form a training sample set, extracts two samples in sequence, constructs sample pairs, uses a branched convolutional neural network to eliminate sample pairs that do not belong to the same category, obtains a second training sample set, calls a pattern recognition method to train the second sample set, and then solves the optimal solution to obtain the required vector width, and finally establishes an evaluation model, thereby reducing the impact of the number of samples.

Description

Improved method and system for evaluating pattern recognition network
Technical Field
The present application relates to the field of network multimedia, and more particularly, to an improved method and system for pattern recognition network evaluation.
Background
The existing network security assessment is modeled by adopting a clustering analysis method, however, parameters in a real scene are not in a fixed corresponding relation with a network environment, so that the actual application value of the existing assessment method is low. If only the correspondence between the scene parameters and the network environment is improved, the correspondence is still affected by the number of samples, so that the evaluation accuracy is affected, and a great amount of calculation is brought to repeated evaluation.
Accordingly, there is an urgent need for a method and system for targeted and improved pattern recognition network evaluation.
Disclosure of Invention
The invention aims to provide an improved method and system for evaluating a pattern recognition network, which are characterized in that a network security parameter set is established, historical data are combined to form a training sample set, two samples are sequentially extracted to construct sample pairs, a branch convolutional neural network is utilized to reject sample pairs which do not belong to the same category, a second training sample set is obtained again, the pattern recognition method is called to train the second sample set, the optimal solution is solved to obtain the required vector width, and finally an evaluation model is established, so that the influence of the number of samples is reduced.
In a first aspect, the present application provides a method of improved pattern recognition network evaluation, the method comprising:
collecting network environment parameters, gathering the network environment parameters in terms, and establishing a network security parameter set;
Assigning a value to the network security parameter set according to the value of the network environment parameter;
Requesting a server for historical values of the network security parameter set, and listing the historical values and the collected current values into a vector by terms, wherein each term forms a training sample set;
Sequentially extracting two samples from the training sample set, constructing a sample pair, respectively inputting the two samples of the sample pair into a branch convolutional neural network, calculating a similar probability value between the sample pair, judging whether the samples belong to the same category according to the size of the similar probability value, if so, re-storing the weights of the samples into the training sample set, otherwise, removing the sample pair by the training sample set;
Obtaining a second training sample set through the branch convolutional neural network;
Invoking a pattern recognition unit to train the second training sample set, extracting a single item of historical value in the second training sample set, multiplying the historical value by alpha, and meeting a first condition that the sum of a multiplication result and a preset constant a is equal to 0, wherein alpha is a convex set coefficient, and the reciprocal of an absolute value of alpha is defined as a vector width;
the values of the preset constants a and b depend on the type of the current network, the server stores a mapping relation between the network type and the preset constants in advance, and the a and b are a pair of constants;
Invoking an operation unit to calculate a bias guide for the second condition, wherein the bias guide is operated based on the alpha and the beta respectively to obtain an optimal solution of the vector width;
Taking the optimal solution of the vector width as an input parameter of a decision function of a network security evaluation model, and establishing an evaluation model;
And inputting the collected network environment parameters into the evaluation model, and judging whether the network environment is safe or not.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the clustering of the items includes a clustering operation, complexing and analyzing local area networks of a same type or adjacent positions, and collecting data according to a specified item.
With reference to the first aspect, in a second possible implementation manner of the first aspect, when the network environment is judged to be unsafe, the current network environment parameter reporting server is recorded.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the operation unit adopts a neural network model.
In a second aspect, the present application provides a system for improved pattern recognition network evaluation, the system comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the method according to any one of the four possible aspects of the first aspect according to instructions in the program code.
In a third aspect, the present application provides a computer readable storage medium for storing program code for performing the method of any one of the four possibilities of the first aspect.
Advantageous effects
The invention provides an improved method and system for evaluating a pattern recognition network, which are characterized in that a training sample set is formed by establishing a network security parameter set and combining historical data items, then sample pairs are sequentially constructed, sample pairs which do not belong to the same category are removed, a second training sample set is obtained again, the second sample set is trained by calling the pattern recognition method, the optimal solution is solved to obtain the required vector width, and an evaluation model is established, so that the dynamic correspondence of scene parameters and the network environment can be realized, the influence of the number of samples can be reduced, and the efficiency of network security evaluation is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making clear and defining the scope of the present invention.
FIG. 1 is a flow chart of a method for improved pattern recognition network evaluation provided by the present application, comprising:
collecting network environment parameters, gathering the network environment parameters in terms, and establishing a network security parameter set;
Assigning a value to the network security parameter set according to the value of the network environment parameter;
Requesting a server for historical values of the network security parameter set, and listing the historical values and the collected current values into a vector by terms, wherein each term forms a training sample set;
Sequentially extracting two samples from the training sample set, constructing a sample pair, respectively inputting the two samples of the sample pair into a branch convolutional neural network, calculating a similar probability value between the sample pair, judging whether the samples belong to the same category according to the size of the similar probability value, if so, re-storing the weights of the samples into the training sample set, otherwise, removing the sample pair by the training sample set;
Obtaining a second training sample set through the branch convolutional neural network;
Invoking a pattern recognition unit to train the second training sample set, extracting a single item of historical value in the second training sample set, multiplying the historical value by alpha, and meeting a first condition that the sum of a multiplication result and a preset constant a is equal to 0, wherein alpha is a convex set coefficient, and the reciprocal of an absolute value of alpha is defined as a vector width;
the values of the preset constants a and b depend on the type of the current network, the server stores a mapping relation between the network type and the preset constants in advance, and the a and b are a pair of constants;
Invoking an operation unit to calculate a bias guide for the second condition, wherein the bias guide is operated based on the alpha and the beta respectively to obtain an optimal solution of the vector width;
Taking the optimal solution of the vector width as an input parameter of a decision function of a network security evaluation model, and establishing an evaluation model;
And inputting the collected network environment parameters into the evaluation model, and judging whether the network environment is safe or not.
In some preferred embodiments, the aggregation of the items includes a clustering operation that complexes and analyzes local area networks of the same type or adjacent locations, and the aggregation of the items further includes collecting data according to specified items.
In some preferred embodiments, when the network environment is judged to be unsafe, the current network environment parameter reporting server is recorded.
In some preferred embodiments, the arithmetic unit employs a neural network model.
The present application provides an improved pattern recognition network evaluation system comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
The processor is configured to perform the method according to any of the embodiments of the first aspect according to instructions in the program code.
The present application provides a computer readable storage medium for storing program code for performing the method of any one of the embodiments of the first aspect.
In a specific implementation, the present invention also provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in the various embodiments of the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments of the present description are referred to each other. In particular, for the embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference should be made to the description of the method embodiments for the matters.
The embodiments of the present invention described above do not limit the scope of the present invention.

Claims (6)

Translated fromChinese
1.一种改进的模式识别网络评估的方法,其特征在于,所述方法包括:1. An improved method for pattern recognition network evaluation, characterized in that the method comprises:收集网络环境参数,分项聚拢所述网络环境参数,建立网络安全参数集合;Collect network environment parameters, aggregate the network environment parameters by item, and establish a network security parameter set;根据所述网络环境参数的数值,为所述网络安全参数集合赋值;Assigning values to the network security parameter set according to the values of the network environment parameters;向服务器请求所述网络安全参数集合的历史数值,分项将所述历史数值与收集的当前数值列入一个向量中,每一个项组成一个训练样本集;Requesting the server for historical values of the network security parameter set, and listing the historical values and the collected current values in a vector, each item forming a training sample set;从所述训练样本集中依次抽取两个样本,构建样本对,将所述样本对的两个样本分别输入到分支卷积神经网络,计算所述样本对之间的相似概率值,根据相似概率值的大小判断是否属于同一类别,若属于同一类别则其权值相同,重新存入所述训练样本集,反之则所述训练样本集剔除该样本对;Extract two samples from the training sample set in sequence to construct a sample pair, input the two samples of the sample pair into the branch convolutional neural network respectively, calculate the similarity probability value between the sample pairs, and judge whether they belong to the same category according to the size of the similarity probability value. If they belong to the same category, their weights are the same and they are stored in the training sample set again. Otherwise, the training sample set removes the sample pair;经过所述分支卷积神经网络,得到第二训练样本集;After the branched convolutional neural network, a second training sample set is obtained;调用模式识别单元训练所述第二训练样本集,提取所述第二训练样本集中的单一项历史数值,将该历史数值与α作乘法运算,满足该乘法运算结果与预设常数a之和等于0的第一条件,所述α为凸集系数,α绝对值的倒数定义为向量宽度;同时所述历史数值与α作乘法运算的结果与预设常数b相减,满足该单一项的当前数值乘以该相减结果大于等于1-β的第二条件,所述β为向量宽松系数;Calling the pattern recognition unit to train the second training sample set, extracting a single historical value in the second training sample set, multiplying the historical value by α, and satisfying a first condition that the sum of the multiplication result and a preset constant a is equal to 0, wherein α is a convex set coefficient, and the reciprocal of the absolute value of α is defined as the vector width; at the same time, subtracting the result of the multiplication of the historical value by α from the preset constant b, and satisfying a second condition that the current value of the single item multiplied by the subtraction result is greater than or equal to 1-β, wherein β is a vector loose coefficient;其中,预设常数a和b的值取决于当前网络的类型,服务器预先存储有网络类型与预设常数的映射关系,所述a和b为一对常数配对出现;The values of the preset constants a and b depend on the type of the current network. The server pre-stores a mapping relationship between the network type and the preset constants. A and b appear as a pair of constants.调用运算单元对所述第二条件求偏导,所述偏导分别基于所述α、β进行运算,得到所述向量宽度的最优解;Calling a computing unit to calculate a partial derivative of the second condition, wherein the partial derivative is calculated based on α and β respectively to obtain an optimal solution for the vector width;将所述向量宽度的最优解作为网络安全评估模型决策函数的输入参数,建立评估模型;The optimal solution of the vector width is used as an input parameter of a decision function of a network security assessment model to establish an assessment model;将收集到的所述网络环境参数输入所述评估模型,判断所述网络环境是否为安全。The collected network environment parameters are input into the evaluation model to determine whether the network environment is safe.2.根据权利要求1所述的方法,其特征在于:所述分项聚拢包括聚类操作,对同一类型或相邻位置的局域网络合并分析,所述分项聚拢还包括按照指定项目收集数据。2. The method according to claim 1 is characterized in that: the sub-item aggregation includes a clustering operation, which combines and analyzes local area networks of the same type or adjacent locations, and the sub-item aggregation also includes collecting data according to specified items.3.根据权利要求2所述的方法,其特征在于:当判断所述网络环境为不安全时,记录当前的网络环境参数上报服务器。3. The method according to claim 2 is characterized in that: when the network environment is judged to be unsafe, the current network environment parameters are recorded and reported to the server.4.根据权利要求3所述的方法,其特征在于:所述运算单元采用神经网络模型。4. The method according to claim 3 is characterized in that the computing unit adopts a neural network model.5.一种改进的模式识别网络评估的系统,其特征在于,所述系统包括处理器以及存储器:5. An improved system for pattern recognition network evaluation, characterized in that the system comprises a processor and a memory:所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;The memory is used to store program code and transmit the program code to the processor;所述处理器用于根据所述程序代码中的指令执行实现权利要求1-4任一项所述的方法。The processor is used to execute the method according to any one of claims 1 to 4 according to the instructions in the program code.6.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行实现权利要求1-4任一项所述的方法。6. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store program code, and the program code is used to execute the method according to any one of claims 1 to 4.
CN202210675507.1A2022-06-152022-06-15 An improved method and system for pattern recognition network evaluationActiveCN114936608B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210675507.1ACN114936608B (en)2022-06-152022-06-15 An improved method and system for pattern recognition network evaluation

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210675507.1ACN114936608B (en)2022-06-152022-06-15 An improved method and system for pattern recognition network evaluation

Publications (2)

Publication NumberPublication Date
CN114936608A CN114936608A (en)2022-08-23
CN114936608Btrue CN114936608B (en)2025-03-04

Family

ID=82866883

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210675507.1AActiveCN114936608B (en)2022-06-152022-06-15 An improved method and system for pattern recognition network evaluation

Country Status (1)

CountryLink
CN (1)CN114936608B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108900333A (en)*2018-06-272018-11-27新华三大数据技术有限公司A kind of appraisal procedure and assessment device of quality of wireless network
CN112884204A (en)*2021-01-222021-06-01中国科学院信息工程研究所Network security risk event prediction method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10116521B2 (en)*2015-10-152018-10-30Citrix Systems, Inc.Systems and methods for determining network configurations using historical real-time network metrics data
CN113935651B (en)*2021-10-282025-03-18中国建设银行股份有限公司 A method and device for evaluating customer indicators

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108900333A (en)*2018-06-272018-11-27新华三大数据技术有限公司A kind of appraisal procedure and assessment device of quality of wireless network
CN112884204A (en)*2021-01-222021-06-01中国科学院信息工程研究所Network security risk event prediction method and device

Also Published As

Publication numberPublication date
CN114936608A (en)2022-08-23

Similar Documents

PublicationPublication DateTitle
KR102061987B1 (en) Risk Assessment Method and System
CN109003089B (en)Risk identification method and device
CN108665159A (en)A kind of methods of risk assessment, device, terminal device and storage medium
CN113422761B (en)Malicious social user detection method based on counterstudy
CN111970400B (en)Crank call identification method and device
CN116089708A (en) Agricultural knowledge recommendation method and device
CN114155096B (en) A method for banks to detect illegal transfer of online gambling funds based on tripartite graphs
CN120179509B (en) Microservice fault location method and equipment based on causal inference and knowledge graph
CN110705688A (en)Neural network system, method and device for risk assessment of operation event
CN119398787B (en)Transaction card swiping early warning method and device based on AI identification
CN115484112A (en)Payment big data security protection method and system and cloud platform
CN114936608B (en) An improved method and system for pattern recognition network evaluation
CN113344469B (en)Fraud identification method and device, computer equipment and storage medium
CN119379350A (en) Method, system and device for simulating customer approval results based on historical data learning
CN118761888A (en) Smart city service platform, method and equipment based on cloud computing and big data
CN111815442B (en)Link prediction method and device and electronic equipment
CN119025877A (en) Model performance evaluation method, device, electronic device and storage medium
KR102512552B1 (en)Apparatus and method for analyzing artificial intelligence processing results
CN113190844B (en)Detection method, correlation method and correlation device
CN115913733A (en)Quantitative evaluation method and device for network security situation
CN115102736A (en)Network security assessment method and system based on pattern recognition
CN113094488B (en) Business association mining method, device, electronic device and storage medium
CN115712614B (en)Information processing method and system based on data transmission flow control
CN115759251B (en)Three-party privacy decision tree training method, device, equipment and medium supporting missing values
CN112801563B (en)Risk assessment method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB03Change of inventor or designer information

Inventor after:Zhao Jianzhu

Inventor before:Zhao Jianzhu

Inventor before:Hu Wenbo

CB03Change of inventor or designer information
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp