Access equipment anomaly detection method and device, electronic equipment and computer medium

By obtaining the device address information and category feature library, and using the pre-trained classification model to detect and ban device address anomalies, the problem of reduced security caused by frequent firewall updates in the existing technology is solved, and the security of the system network is improved.

CN118784342AInactive Publication Date: 2024-10-15ADDX (BEIJING) TECH CO LTD

Patent Information

Application Number
CN202411035651.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the preset firewall needs to be updated regularly, and it is difficult to detect whether the new device address is abnormal in a timely manner, resulting in reduced system network security.

Method used

By obtaining the initial device address information set and device address category feature information database, input it into the pre-trained device address classification model, perform device address classification and semantic feature extraction, perform anomaly detection based on the category feature database, and ban abnormal devices.

Benefits of technology

It improves the accuracy of device address anomaly detection and the security of the system network, and avoids the problem of frequent firewall updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784342A_ABST
    Figure CN118784342A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an access equipment anomaly detection method and device, electronic equipment and a computer medium. A specific embodiment of the method comprises the following steps: acquiring an initial device address information set and a device address category feature information base; inputting the initial equipment address information set into a pre-trained equipment address classification model; performing semantic feature extraction processing on each piece of equipment address classification information in the equipment address classification information set to generate equipment address semantic feature information; performing anomaly detection processing on each piece of equipment address semantic feature information in the equipment address semantic feature information set based on an equipment address category feature information base to generate an equipment address anomaly detection result; and forbidding equipment corresponding to the equipment address anomaly detection results according to each equipment address anomaly detection result meeting a preset anomaly condition in the equipment address anomaly detection result group. According to the embodiment, the security of the system network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of device detection, and in particular to a method, apparatus, electronic device, and computer medium for detecting abnormalities in accessing a device. Background Art

[0002] The device address may include: the device MAC physical address, IP address; wherein the IP address may include: Class A IP address, Class B IP address, Class C IP address, Class D IP address, Class E IP address. When the access device is accessing the system network, virus programs often attack the system network through malicious device addresses and false device addresses. At present, when performing device address detection, the commonly used method is: using a pre-set firewall to classify and identify abnormal device addresses.

[0003] However, when the above method is used to identify the device address, the following technical problems often occur: the pre-set firewall needs to be updated regularly, and before the firewall is updated, it is difficult to detect whether the new device address is abnormal in time, resulting in reduced security of the system network.

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0006] Some embodiments of the present disclosure propose access device anomaly detection methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.

[0007] In a first aspect, some embodiments of the present disclosure provide a method for detecting anomalies in access devices, the method comprising: obtaining an initial device address information set and a device address category feature information library; inputting the above initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; performing semantic feature extraction processing on each device address classification information in the above device address classification information group set to generate device address semantic feature information and obtain a device address semantic feature information group set; based on the above device address category feature information library, performing anomaly detection processing on each device address semantic feature information in the above device address semantic feature information group set to generate a device address anomaly detection result and obtain a device address anomaly detection result group set; for each device address anomaly detection result in the above device address anomaly detection result group set that meets a preset anomaly condition, banning the device corresponding to the above device address anomaly detection result.

[0008] In a second aspect, some embodiments of the present disclosure provide an access device anomaly detection device, the device comprising: an acquisition unit, configured to acquire an initial device address information set and a device address category feature information library; an input unit, configured to input the above initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; an extraction unit, configured to perform semantic feature extraction processing on each device address classification information in the above device address classification information group set to generate device address semantic feature information and obtain a device address semantic feature information group set; a detection unit, configured to perform anomaly detection processing on each device address semantic feature information in the above device address semantic feature information group set based on the above device address category feature information library to generate a device address anomaly detection result and obtain a device address anomaly detection result group set; a blocking unit, configured to block the device corresponding to each device address anomaly detection result in the above device address anomaly detection result group set that meets a preset anomaly condition.

[0009] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0010] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0011] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the access device anomaly detection method of some embodiments of the present disclosure, the security of the system network is improved. Specifically, the reason for the reduced security of the system network is that the pre-set firewall needs to be updated regularly, and before the firewall is updated, it is difficult to detect whether the new device address is abnormal in time. Based on this, the access device anomaly detection method of some embodiments of the present disclosure, first, obtains the initial device address information set and the device address category feature information library. Thus, the device address to be detected and the pre-set device address rule library can be obtained, so as to perform subsequent device address anomaly detection. Secondly, the above-mentioned initial device address information set is input into the pre-trained device address classification model to obtain the device address classification information group set. Thus, the device address can be classified according to the category to which the device address belongs. Then, each device address classification information in the above-mentioned device address classification information group set is subjected to semantic feature extraction processing to generate device address semantic feature information, and obtain the device address semantic feature information group set. Thus, the content of the device address can be further feature extracted, so as to perform subsequent device address anomaly detection. Then, based on the device address category feature information library, each device address semantic feature information in the device address semantic feature information group set is subjected to anomaly detection processing to generate a device address anomaly detection result, and obtain a device address anomaly detection result group set. Thus, anomaly detection can be performed based on the category to which the device address belongs and the content of the device address, further improving the accuracy of abnormal device address detection. Finally, each device address anomaly detection result that meets the preset abnormal conditions in the device address anomaly detection result group set is blocked for the device corresponding to the device address anomaly detection result. Thus, abnormal devices can be blocked to improve the security of the system network. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar figure labels represent the same or similar elements. It should be understood that the drawings are schematic and that the components and elements are not necessarily drawn to scale.

[0013] Figure 1 is a flow chart of some embodiments of the access device anomaly detection method according to the present disclosure;

[0014] Figure 2 is a flow chart of some embodiments of the access device anomaly detection apparatus according to the present disclosure;

[0015] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0017] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0018] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0019] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0020] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0021] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0022] Figure 1 1 is a flow chart of some embodiments of the access device anomaly detection method according to the present disclosure. 100 of some embodiments of the access device anomaly detection method according to the present disclosure is shown. The access device anomaly detection method comprises the following steps:

[0023] Step 101: Acquire an initial device address information set and a device address category feature information library.

[0024] In some embodiments, the execution subject (e.g., a computing device) of the access device anomaly detection method may obtain an initial device address information set and a device address category feature information library. The initial device address information in the above-mentioned initial device address information set may represent a device address. The above-mentioned device address category feature information library may be a rule library for storing naming rules for device addresses of various categories. As an example, the above-mentioned categories may be IP addresses and MAC addresses. IP addresses may include Class A IP addresses, Class B IP addresses, Class C IP addresses, Class D IP addresses, and Class E IP addresses. The initial device address information may refer to a device accessing a target application or website.

[0025] Step 102: input the above initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set.

[0026] In some embodiments, the execution entity may input the initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set. Here, the device address classification information may represent the category information of the initial device address information. Then, each device address classification information in the device address classification information set may be classified to obtain a device address classification information group set. Here, each device address classification information with the same category information represented in the device address classification information set may be determined as a device address classification information group to obtain a device address classification information group set. Specifically, the pre-trained device address classification model may be a pre-trained neural network model that takes the initial device address information as input and the device address classification information as output.

[0027] Optionally, the device address classification model may be trained by the following steps:

[0028] The first step is to obtain a sample device address information set and a sample device address category information set, wherein one sample domain name information corresponds to one sample device address category information.

[0029] The second step is to determine the first classification submodel based on the above sample device address information set and the preset first initial classification submodel. As an example, the above preset first initial classification submodel can be but is not limited to at least one of the following: RNN (Recurrent Neural Networks, recurrent neural network) model, I-RNN (Identity Matrix Recurrent Neural Networks, initialized matrix recurrent neural network) model, LSTM (Long Short-Term Memory Networks, long short-term memory neural network) model, CNN (Convolutional Neural Network, convolutional neural network) model or CNN-LSTM (Convolutional Neural Network-Long Short-Term Memory Neural Network) model.

[0030] The execution subject may select sample device address information from the sample device address information set and perform the following first training step:

[0031] First, the sample device address information is input into a preset first initial classification sub-model to obtain first initial category information.

[0032] Second, based on a preset first classification loss function, determine a first classification loss value of the sample device address category information and the first initial category information corresponding to the sample device address information in the sample device address category information set. As an example, the preset first classification loss function may be: a cross entropy loss function, a least squares function, or a multi-classification cross entropy loss function.

[0033] Third, in response to determining that the first classification loss value is less than or equal to the first threshold, the first initial classification sub-model is determined as the first classification sub-model.

[0034] Then, in response to determining that the first classification loss value is greater than or equal to the first threshold, the model parameters in the first initial classification sub-model are adjusted, the adjusted first initial classification sub-model is determined as the first initial classification sub-model, and each sample device address information that is not selected is used as the sample device address information set, and the first training step is performed again. The model parameters in the first initial classification sub-model can be adjusted by the preset adjustment algorithm.

[0035] The third step is to determine the second classification submodel based on the above sample device address information set and the preset second initial classification submodel. As an example, the above preset second initial classification submodel can be but not limited to at least one of the following: RNN (Recurrent Neural Networks, recurrent neural network) model, I-RNN (Identity Matrix Recurrent Neural Networks, initialized matrix recurrent neural network) model, LSTM (Long Short-Term Memory Networks, long short-term memory neural network) model, CNN (Convolutional Neural Network, convolutional neural network) model or CNN-LSTM (Convolutional Neural Network-Long Short-Term Memory Neural Network) model.

[0036] The execution subject may select sample device address information from the sample device address information set and execute the following second training step:

[0037] First, the sample device address information is input into a preset second initial classification sub-model to obtain second initial category information.

[0038] Second, based on a preset second classification loss function, a second classification loss value of the sample device address category information and the second initial category information corresponding to the sample device address information in the sample device address category information set is determined.

[0039] Third, in response to determining that the second classification loss value is less than or equal to the second threshold, the second initial classification sub-model is determined as the second classification sub-model.

[0040] Then, in response to determining that the second classification loss value is greater than or equal to the second threshold, the model parameters in the second initial classification sub-model are adjusted, the adjusted second initial classification sub-model is determined as the second initial classification sub-model, and the address information of each sample device that has not been selected is used as the sample device address information set, and the above-mentioned second training step is performed again.

[0041] The fourth step is to determine the third classification sub-model based on the above-mentioned sample device address information set and the preset third initial classification sub-model. As an example, the above-mentioned preset third initial classification sub-model can be but is not limited to at least one of the following: RNN (Recurrent Neural Networks, recurrent neural network) model, I-RNN (Identity Matrix Recurrent Neural Networks, initialized matrix recurrent neural network) model, LSTM (Long Short-Term Memory Networks, long short-term memory neural network) model, CNN (Convolutional Neural Network, convolutional neural network) model or CNN-LSTM (Convolutional Neural Network-Long Short-Term Memory Neural Network) model.

[0042] The fifth step is to determine the fourth classification sub-model based on the above-mentioned sample device address information set and the preset fourth initial classification sub-model. As an example, the above-mentioned preset fourth initial classification sub-model can be: RNN (Recurrent Neural Networks, recurrent neural network) model, I-RNN (Identity Matrix Recurrent Neural Networks, initialized matrix recurrent neural network) model, LSTM (Long Short-Term Memory Networks, long short-term memory neural network) model, CNN (Convolutional Neural Network, convolutional neural network) model or CNN-LSTM (Convolutional Neural Network-Long Short-Term Memory Neural Network) model.

[0043] Step 6: Determine the fifth classification submodel based on the above sample device address information set and the preset fifth initial classification submodel. As an example, the above preset fifth initial classification submodel can be: RNN (Recurrent Neural Networks, recurrent neural network) model, I-RNN (Identity Matrix Recurrent Neural Networks, initialized matrix recurrent neural network) model, LSTM (Long Short-Term Memory Networks, long short-term memory neural network) model, CNN (Convolutional Neural Network, convolutional neural network) model or CNN-LSTM (Convolutional Neural Network-Long Short-Term Memory Neural Network) model.

[0044] In the seventh step, the first classification sub-model, the second classification sub-model, the third classification sub-model, the fourth classification sub-model and the fifth classification sub-model are aggregated to obtain an initial device address classification model. The first classification sub-model, the second classification sub-model, the third classification sub-model, the fourth classification sub-model and the fifth classification sub-model can be used as the first layer network, the second layer network, the third layer network, the fourth layer network and the fifth layer network included in the initial device address classification model, respectively. As an example, the initial device address classification model can be a cascade classifier model.

[0045] Step 8: Select sample device address information from the above sample device address information set and perform the following training steps:

[0046] 1. Input the sample device address information into the initial device address classification model to obtain the initial device address category information.

[0047] 2. Based on a preset total classification loss function, determine the classification loss value between the initial device address category information and the corresponding device address category information. As an example, the preset total classification loss function may be: a cross entropy loss function, a least squares function, or a multi-classification cross entropy loss function.

[0048] 3. In response to determining that the classification loss value is less than or equal to a preset loss value, the initial device address classification model is determined as a trained device address classification model.

[0049] Optionally, in response to determining that the classification loss value is greater than a preset loss value, the network parameters in the initial device address classification model are adjusted, the adjusted initial device address classification model is determined as the initial device address classification model, and each sample device address information that has not been selected is used as a sample device address information set, and the above training steps are performed again.

[0050] In some embodiments, the execution subject may adjust the network parameters in the initial device address classification model in response to determining that the classification loss value is greater than the preset loss value, determine the adjusted initial device address classification model as the initial device address classification model, and use each sample device address information that has not been selected as the sample device address information set to perform the training step again. For example, the network parameters in the initial device address classification model may be adjusted by a preset adjustment algorithm. As an example, the preset adjustment algorithm may be: a back propagation algorithm or a stochastic gradient algorithm.

[0051] It should be noted that the training methods of the second classification sub-model, the third classification sub-model, the fourth classification sub-model and the fifth classification sub-model can refer to the training method of the first classification sub-model, which will not be repeated here.

[0052] Thus, the accuracy of the classification model can be improved, and thus the accuracy of the classification of device addresses can be improved, so that device address anomaly detection can be performed based on the device address category information. Therefore, the category and malicious level of the abnormal device address can be detected, so that the accuracy of abnormal device address detection can be improved, and further, the accuracy of abnormal device address alarm can be improved.

[0053] Step 103 , performing semantic feature extraction processing on each device address classification information in the device address classification information set to generate device address semantic feature information, and obtaining a device address semantic feature information set.

[0054] In some embodiments, the execution subject may perform semantic feature extraction processing on each device address classification information in the device address classification information set to generate device address semantic feature information and obtain the device address semantic feature information set.

[0055] In practice, the execution subject may perform semantic feature extraction processing on each device address classification information in the device address classification information group set through the following steps to generate device address semantic feature information:

[0056] The first step is to vectorize the device address classification information to obtain a device address classification vector. The device address classification information can be vectorized using a preset vectorization algorithm to obtain a device address classification vector.

[0057] As an example, the preset vectorization algorithm may be: a CBOW (continuous bag of words) algorithm or a NNLM (Neural Network Language Model) algorithm.

[0058] The second step is to input the device address classification vector into a pre-trained semantic feature extraction model to obtain a device address semantic feature vector. The pre-trained semantic feature extraction model can be a pre-trained neural network model that takes the device address classification vector as input and the device address semantic feature vector as output. For example, the semantic feature extraction model can be a semantic network model, a FCN (Fully Convolutional Networks) model, a U-Net model, a Deeplabv3p model, a PSPNet model, and an ENet model.

[0059] The third step is to determine the device address semantic feature vector as the device address semantic feature information.

[0060] Step 104, based on the device address category feature information library, perform anomaly detection processing on each device address semantic feature information in the device address semantic feature information set to generate a device address anomaly detection result, and obtain a device address anomaly detection result set.

[0061] In some embodiments, the execution subject may perform anomaly detection processing on each device address semantic feature information in the device address semantic feature information set based on the device address category feature information library to generate a device address anomaly detection result and obtain a device address anomaly detection result set. The device address anomaly detection result may be information indicating that "there is no anomaly in the device address" or information indicating that "there is an anomaly in the device address".

[0062] In practice, the execution subject may perform anomaly detection processing on each device address semantic feature information in the device address semantic feature information group set through the following steps to generate a device address anomaly detection result:

[0063] The first step is to determine the device address category feature information corresponding to the device address semantic feature information in the device address category feature information library as the target device address category feature information. Among them, the device address category feature information of the same category as the device address represented by the device address semantic feature information in the device address category feature information library can be determined as the target device address category feature information.

[0064] The second step is to determine the semantic feature similarity value between the target device address category feature information and the device address semantic feature information. The semantic feature similarity value between the target device address category feature information and the device address semantic feature information can be determined by a preset similarity function.

[0065] As an example, the preset similarity function may be: a Pearson correlation coefficient function, a Euclidean distance function or a log-likelihood similarity function.

[0066] The third step is to generate the device address anomaly detection result based on the semantic feature similarity value. The generation of the device address anomaly detection result based on the semantic feature similarity value may be: in response to determining that the semantic feature similarity value is greater than or equal to the target similarity threshold, the first preset detection result is determined as the device address anomaly detection result. In response to determining that the semantic feature similarity value is less than the target similarity threshold, the second preset detection result is determined as the device address anomaly detection result. Here, the first preset detection result may be information indicating that "there is no anomaly in the device address". The second preset detection result may be information indicating that "there is an anomaly in the device address".

[0067] Step 105 , collect the device address anomaly detection result group together with each device address anomaly detection result that meets a preset anomaly condition, and block the device corresponding to the device address anomaly detection result.

[0068] In some embodiments, the execution subject may collect the device address anomaly detection result group and each device address anomaly detection result that meets the preset abnormality condition, and ban the device corresponding to the device address anomaly detection result. The preset abnormality condition may be that the device address anomaly detection result is information indicating that "the device address has an abnormality". That is, the device corresponding to the device address anomaly detection result may be banned.

[0069] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an access device anomaly detection device. These access device anomaly detection device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the access device abnormality detection device can be specifically applied to various electronic devices.

[0070] like Figure 2 As shown, the access device anomaly detection apparatus 200 of some embodiments includes: an acquisition unit 201 , an input unit 202 , an extraction unit 203 , a detection unit 204 and a blocking unit 205 . Among them, the acquisition unit 201 is configured to acquire an initial device address information set and a device address category feature information library; the input unit 202 is configured to input the above initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; the extraction unit 203 is configured to perform semantic feature extraction processing on each device address classification information in the above device address classification information group set to generate device address semantic feature information and obtain a device address semantic feature information group set; the detection unit 204 is configured to perform anomaly detection processing on each device address semantic feature information in the above device address semantic feature information group set based on the above device address category feature information library to generate a device address anomaly detection result and obtain a device address anomaly detection result group set; the blocking unit 205 is configured to block the device corresponding to the above device address anomaly detection result for each device address anomaly detection result in the above device address anomaly detection result group set that meets the preset anomaly condition.

[0071] It is understandable that the various units described in the access device abnormality detection device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the access device anomaly detection device 200 and the units included therein, and will not be repeated here.

[0072] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device (e.g., a computing device) 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0073] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0074] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0075] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0076] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0077] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0078] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains an initial device address information set and a device address category feature information library; inputs the initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; performs semantic feature extraction processing on each device address classification information in the device address classification information group set to generate device address semantic feature information and obtain a device address semantic feature information group set; performs anomaly detection processing on each device address semantic feature information in the device address semantic feature information group set based on the device address category feature information library to generate a device address anomaly detection result and obtain a device address anomaly detection result group set; performs blocking processing on the device corresponding to each device address anomaly detection result in the device address anomaly detection result group set that meets the preset anomaly condition.

[0079] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0080] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0081] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor comprising: an acquisition unit, an input unit, an extraction unit, a detection unit, and a blocking unit. The names of these units do not, in certain cases, constitute limitations on the units themselves, for example, the acquisition unit may also be described as "a unit for acquiring an initial device address information set and a device address category feature information library".

[0082] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0083] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A method for detecting abnormality of access device, comprising: Obtaining an initial device address information set and a device address category feature information library; Inputting the initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; Performing semantic feature extraction processing on each device address classification information in the device address classification information group set to generate device address semantic feature information, thereby obtaining a device address semantic feature information group set; Based on the device address category feature information library, performing anomaly detection processing on each device address semantic feature information in the device address semantic feature information set to generate a device address anomaly detection result, and obtaining a device address anomaly detection result set; The device address anomaly detection result group is concentrated to each device address anomaly detection result that meets a preset anomaly condition, and the device corresponding to the device address anomaly detection result is banned.

2. The method according to claim 1, wherein: Before inputting the initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set, the method further includes: Obtain a sample device address information set and a sample device address category information set, wherein one sample domain name information corresponds to one sample device address category information; Determine a first classification sub-model based on the sample device address information set and a preset first initial classification sub-model; Determine a second classification sub-model based on the sample device address information set and a preset second initial classification sub-model; Determine a third classification sub-model based on the sample device address information set and a preset third initial classification sub-model; Determine a fourth classification sub-model based on the sample device address information set and a preset fourth initial classification sub-model; Determine a fifth classification sub-model based on the sample device address information set and a preset fifth initial classification sub-model; Aggregating the first classification sub-model, the second classification sub-model, the third classification sub-model, the fourth classification sub-model and the fifth classification sub-model to obtain an initial device address classification model; Select sample device address information from the sample device address information set and perform the following training steps: Inputting the sample device address information into the initial device address classification model to obtain the initial device address category information; Determine a classification loss value between the initial device address category information and the corresponding device address category information based on a preset total classification loss function; In response to determining that the classification loss value is less than or equal to the preset loss value, the initial device address classification model is determined as the trained device address classification model.

3. The method according to claim 2, wherein: The method further comprises: In response to determining that the classification loss value is greater than a preset loss value, the network parameters in the initial device address classification model are adjusted, the adjusted initial device address classification model is determined as the initial device address classification model, and each sample device address information that has not been selected is used as a sample device address information set, and the training step is performed again.

4. The method according to claim 1, wherein: The performing semantic feature extraction processing on each device address classification information in the device address classification information group set to generate device address semantic feature information includes: Performing vectorization processing on the device address classification information to obtain a device address classification vector; Inputting the device address classification vector into a pre-trained semantic feature extraction model to obtain a device address semantic feature vector; The device address semantic feature vector is determined as device address semantic feature information.

5. An access device anomaly detection device, comprising: An acquisition unit, configured to acquire an initial device address information set and a device address category feature information library; An input unit, configured to input the initial device address information set into a pre-trained device address classification model to obtain a device address classification information group set; an extraction unit configured to perform semantic feature extraction processing on each device address classification information in the device address classification information set to generate device address semantic feature information and obtain a device address semantic feature information set; a detection unit configured to perform anomaly detection processing on each device address semantic feature information in the device address semantic feature information set based on the device address category feature information library to generate a device address anomaly detection result and obtain a device address anomaly detection result set; The blocking unit is configured to collect each device address anomaly detection result that meets a preset abnormal condition in the device address anomaly detection result group, and block the device corresponding to the device address anomaly detection result.

6. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

7. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Address type determination method and device, storage medium and electronic device

    CN110392122A

  • Method and device for generating image classification model, image classification method and device, equipment

    CN112070093A

  • Network address category identification method and device, equipment and storage medium

    CN113518132A

  • Living body detection method, device and equipment

    CN114445918A

  • File identification method and device, electronic equipment and storage medium

    CN115422348A

Cited By

  • Network data exception identification method and computer equipment

    CN119299236A