Network address display method and device, electronic equipment and readable storage medium
1. A method for displaying network addresses is characterized by comprising the following steps:
acquiring a preset space structure and a color model for displaying a network address, wherein the space structure is mapped into a preset coordinate system, coordinate values of coordinate points in the space structure are used for representing the network address, and the color model comprises a corresponding relation between the network address and a color;
when the network attack is detected, determining a coordinate point in the space structure according to the attacked target network address, and determining a color corresponding to the target network address according to the color model;
and displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
2. The method according to claim 1, wherein the predetermined coordinate system is a three-dimensional coordinate system, the network address in the space structure is an IP address with a fixed first segment number, and three segments of numbers except the first segment number in the network address correspond to three coordinate axes in the coordinate system one by one;
the coordinate value of the coordinate point in the spatial structure is used for representing a network address, and the coordinate value is as follows: and in the area of the space structure, the coordinate values of the coordinate points on three coordinate axes represent the numerical values of the corresponding numbers in the other three sections of numbers of the IP address.
3. The method of claim 2, wherein determining a coordinate point in the spatial structure according to the attacked target network address comprises: according to the corresponding relation between the coordinate axes and the number segments, taking the other three segments of numbers in the target network address as the values of the three coordinate axes respectively;
taking a coordinate value formed by values of the three coordinate axes as a coordinate value corresponding to the target network address;
and determining a coordinate point corresponding to the coordinate value in the space structure as a coordinate point corresponding to the target network address.
4. The method of claim 1, wherein the network address in the space structure is a first segment number fixed IP address, and the color model is a color model comprising three color components; the other three sections of numbers except the first section of number in the network address correspond to the three color components in the color model one by one;
for each of the other three segment numbers, each of the segment numbers is represented by a color component value on the corresponding color component.
5. The method of claim 4, wherein determining the color corresponding to the target network address according to the color model comprises:
determining color component values corresponding to other three sections of numbers of the target network address on respective color components according to the corresponding relation between the number sections and the color components;
and determining the color corresponding to the combined component value consisting of the three color component values in the color model as the color corresponding to the target network address.
6. The method of claim 1, wherein upon detecting the occurrence of a network attack, the method further comprises:
detecting the strength of the network attack;
determining a display parameter of a coordinate point corresponding to the target network address according to the intensity, and displaying the coordinate point corresponding to the target network address in the space structure according to the determined display parameter, wherein the display parameter includes at least one of the following: size of display icon, shape of display icon, flashing frequency of icon, and display brightness of icon.
7. The method of claim 4, wherein the three color components comprise: red, green, and blue.
8. An apparatus for presenting a network address, comprising:
the system comprises an acquisition module, a color model and a display module, wherein the acquisition module is used for acquiring a preset space structure and a color model for displaying the network address, the space structure is mapped into a preset coordinate system, the coordinate value of a coordinate point in the space structure is used for representing the network address, and the color model comprises the corresponding relation between the network address and the color;
the determining module is used for determining a coordinate point in the space structure according to an attacked target network address and determining a color corresponding to the target network address according to the color model when the network attack is detected;
and the display module is used for displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
9. An electronic device, comprising at least one processor and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory to execute the steps of the network address presentation method of any one of claims 1-7.
10. A readable storage medium storing computer instructions for causing a computer to perform the steps of the network address exposure method of any one of claims 1 to 7.
Background
With the development of network technology, computer networks are increasingly threatened, for example, by virus attacks.
At present, when network security monitoring is performed, information such as whether a network address and the network address are attacked or not and time of the attack are generally required to be displayed in order to know the security state of the network address.
In the prior art, when network security monitoring is performed, information such as whether a network address and the network address are attacked or not and time of attacking are usually displayed in a list mode, but the number of the network addresses is usually large, for example, an IP address of an enterprise intranet generally consists of four sections of numbers, the first section of number is fixed, and the value ranges of the remaining three sections of numbers are 0 to 255, so that the IP address of the enterprise intranet can contain 16777216 at most, the whole address range is very large, all the network addresses cannot be uniformly displayed in a list mode, and in the actual security monitoring work, in order to evaluate a situation at the first time, the attack range and the attack timing sequence and other network attack states are usually required to be determined, but the network attack states cannot be visually displayed in a list mode, for example, the attack states can be determined only by performing statistical analysis on the displayed attacked network addresses in the list display mode in the prior art The range, the time of the network address being attacked needs to be analyzed to determine the attack time sequence, and the operation is complex.
Therefore, a display mode capable of solving the above technical problems is needed.
Disclosure of Invention
In order to solve the technical problems that all network addresses cannot be displayed in a unified manner and network attack states cannot be displayed visually, embodiments of the present invention provide a network address display method and apparatus, an electronic device, and a storage medium.
In view of this, in a first aspect, an embodiment of the present invention provides a method for displaying a network address, including:
acquiring a preset space structure and a color model for displaying a network address, wherein the space structure is mapped into a preset coordinate system, coordinate values of coordinate points in the space structure are used for representing the network address, and the color model comprises a corresponding relation between the network address and a color;
when the network attack is detected, determining a coordinate point in the space structure according to the attacked target network address, and determining a color corresponding to the target network address according to the color model;
and displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
In a possible implementation manner, the preset coordinate system is a three-dimensional coordinate system, the network address in the space structure is an IP address with a fixed first-segment number, and three segments of numbers except the first-segment number in the network address correspond to three coordinate axes in the coordinate system one by one;
the coordinate value of the coordinate point in the spatial structure is used for representing a network address, and the coordinate value is as follows: and in the area of the space structure, the coordinate values of the coordinate points on three coordinate axes represent the numerical values of the corresponding numbers in the other three sections of numbers of the IP address.
In one possible implementation, determining a coordinate point in the spatial structure according to the target network address under attack includes:
according to the corresponding relation between the coordinate axes and the number segments, taking the other three segments of numbers in the target network address as the values of the three coordinate axes respectively;
taking a coordinate value formed by values of the three coordinate axes as a coordinate value corresponding to the target network address;
and determining a coordinate point corresponding to the coordinate value in the space structure as a coordinate point corresponding to the target network address.
In a possible implementation manner, the network address in the spatial structure is an IP address with a fixed first segment number, and the color model is a color model including three color components; the other three sections of numbers except the first section of number in the network address correspond to the three color components in the color model one by one;
for each of the other three segment numbers, each of the segment numbers is represented by a color component value on the corresponding color component.
In one possible implementation, determining a color corresponding to the target network address according to the color model includes:
determining color component values corresponding to other three sections of numbers of the target network address on respective color components according to the corresponding relation between the number sections and the color components;
and determining the color corresponding to the combined component value consisting of the three color component values in the color model as the color corresponding to the target network address.
In one possible implementation, when the occurrence of a network attack is detected, the method further includes:
detecting the strength of the network attack;
determining a display parameter of a coordinate point corresponding to the target network address according to the intensity, and displaying the coordinate point corresponding to the target network address in the space structure according to the determined display parameter, wherein the display parameter includes at least one of the following: size of display icon, shape of display icon, flashing frequency of icon, and display brightness of icon.
In one possible implementation, the three color components include: red, green, and blue.
In a second aspect, an embodiment of the present invention further provides a device for displaying a network address, including:
the system comprises an acquisition module, a color model and a display module, wherein the acquisition module is used for acquiring a preset space structure and a color model for displaying the network address, the space structure is mapped into a preset coordinate system, the coordinate value of a coordinate point in the space structure is used for representing the network address, and the color model comprises the corresponding relation between the network address and the color;
the determining module is used for determining a coordinate point in the space structure according to an attacked target network address and determining a color corresponding to the target network address according to the color model when the network attack is detected;
and the display module is used for displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
In a third aspect, an embodiment of the present invention further provides an electronic device, including at least one processor, and at least one memory and a bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory to execute the steps of the network address presentation method described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores computer instructions, and the computer instructions cause a computer to execute the steps of the network address presentation method according to the first aspect.
Compared with the prior art, the network address display method provided by the embodiment of the invention obtains a preset space structure and a color model for displaying the network address, wherein the space structure is mapped into a preset coordinate system, the coordinate values of coordinate points in the space structure are used for representing the network address, the color model comprises the corresponding relation between the network address and the color, when the network attack is detected, the corresponding coordinate points in the space structure are determined according to the attacked target network address, the color corresponding to the target network address is determined according to the color model, and the coordinate points corresponding to the target network address are displayed in the space structure according to the determined color corresponding to the target network address. According to the method, a large number of network addresses can be uniformly displayed in a space structure, and when the network addresses are attacked, the user is prompted in a mode that the corresponding coordinate points are displayed in the space structure in corresponding colors, so that the user can determine the time sequence of the network addresses which are attacked according to the time of color change of different coordinate points.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a network address display method according to an embodiment of the present invention;
fig. 2 is a block diagram of a network address display apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 1 is a flowchart of a method for displaying a network address according to an embodiment of the present invention, where as shown in fig. 1, the method may include the following steps:
s11, a preset space structure and a color model for displaying the network address are obtained, wherein the space structure is mapped to a preset coordinate system, coordinate values of coordinate points in the space structure are used for representing the network address, and the color model comprises a corresponding relation between the network address and the color.
And S12, when the network attack is detected, determining a coordinate point in the space structure according to the attacked target network address, and determining a color corresponding to the target network address according to the color model.
And S13, displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
The method comprises the steps that a default color is preset, when no network address is attacked by a network, all coordinate points in a space structure are displayed in the default color, when the network address is attacked by the network, the coordinate points corresponding to a target network address attacked by the network are displayed in the color corresponding to the target network, other coordinate points which are not attacked except the target network are still displayed in the default color, and after the attack on the target network address is eliminated, the coordinate points corresponding to the target network address are restored to be displayed in the default color.
In order to prevent the default color from conflicting with the color corresponding to the network address when the network attack occurs, the default color needs to be set to be different from the colors corresponding to all the network addresses.
The network address display method provided by the embodiment of the invention comprises the steps of obtaining a preset space structure and a color model for displaying the network address, determining a corresponding coordinate point in the space structure according to an attacked target network address when a network attack is detected, determining a color corresponding to the target network address according to the color model, and displaying the coordinate point corresponding to the target network address in the space structure according to the color corresponding to the determined target network address. Through the method, a large number of network addresses can be uniformly displayed in a space structure. When a network address is attacked, the coordinate point corresponding to the network address is displayed in a corresponding color in a spatial structure, and when the network address is not attacked by a network, the coordinate point corresponding to the network address is displayed in a default color, so that when the network address is attacked by the network, the color of the coordinate point corresponding to the network address in the spatial structure changes, so that a user can determine the time sequence of the attack on the network address according to the time of the color change of different coordinate points, and can know the type, range and the like of the network attack according to the position, area and the like of the color change in the spatial structure, for example, in the spatial structure, a class C IP address is represented as a line, so that when the coordinate points on a certain line in the spatial structure flicker together in a short time (namely, the coordinate points change from the default color to the respective corresponding color and then simultaneously change to the default color), then the network segment is indicated to be attacked by scanning such as worm virus; the class B IP address can be represented as a plane in the space structure, when coordinate points of a plane forming area in the space structure flicker, a company or a machine room may be subjected to a large-area trial attack, wherein regarding the flicker, the default color of the coordinate points is changed to be corresponding only when the coordinate points are attacked, and the default color is restored when the attack disappears, so the flicker is caused.
On the basis of the foregoing embodiment, the preset coordinate system may be a three-dimensional coordinate system, the network address in the spatial structure may be an IP address with a fixed first segment number, three segments of numbers except the first segment number in the network address correspond to three coordinate axes in the coordinate system one by one, for example, a second segment number corresponds to an X axis of the three-dimensional coordinate system, a third segment number corresponds to a Y axis of the coordinate system, and a fourth segment number corresponds to a Z axis of the coordinate system.
On the basis of the above embodiment, the use of the coordinate values of the coordinate points in the spatial structure to represent the network address means that: and in the area of the space structure, the coordinate values of the coordinate points on three coordinate axes represent the numerical values of the corresponding numbers in the other three sections of numbers of the IP address.
In a possible implementation manner, since the value ranges of the number segments in the IP address are all 0 to 255, in order to conveniently represent the network address more intuitively by using coordinate values, the value ranges of three coordinate axes in a coordinate system of a spatial structure can all be set to 0 to 255, and if the value ranges of the three coordinate axes are all set to 0 to 255, the corresponding spatial structure can be a cubic spatial structure, and the cubic spatial structure is adopted to display the network address, which is more attractive and elegant. In the above embodiment, the value of each segment of number is equal to the coordinate value of the corresponding coordinate axis, that is, the ratio of the coordinate value to the corresponding number value is 1: 1. in other embodiments, the ratio of the coordinate value to the corresponding number value may be other values, for example, the ratio of the coordinate value to the corresponding number value may be 1: 2, i.e. 1 for the corresponding number segment is represented by the coordinate value 0.5, 2, … … for the corresponding number segment by the coordinate value 1, and so on.
On the basis of the foregoing embodiment, determining the coordinate point in the spatial structure according to the attacked target network address in S12 includes:
and according to the corresponding relation between the coordinate axis and the number segment, respectively taking the other three segments of numbers in the target network address as the values of the three coordinate axes, taking the coordinate value formed by the values of the three coordinate axes as the coordinate value corresponding to the target network address, and determining the coordinate point corresponding to the coordinate value in the space structure as the coordinate point corresponding to the target network address.
For example, if the network address is 25.111.11.25, the coordinate value of the coordinate point corresponding to the network address is (111,11, 25).
In this embodiment, the coordinate value of the corresponding coordinate point is determined according to the number of the network address, and the network address is mapped to the spatial structure, so that the corresponding network address can be accurately and intuitively determined according to the coordinate value of the coordinate point in the spatial structure.
On the basis of the above embodiment, the network address in the space structure is an IP address with a fixed first segment number, the color model is a color model including three color components, three other segments of numbers except the first segment number in the network address correspond to the three color components in the color model one by one, and for each segment of numbers in the three other segments of numbers, each number in the segment of numbers is represented by a color component value on the corresponding color component.
Wherein a color model refers to a subset of visible light in a three-dimensional color space that contains all colors of a color gamut, wherein color component values represent the intensity of the individual color components, and a unique color can be determined from the three color component values.
Because the values of the color components in the color model are all 0-255, the numbers in the network address can be directly represented by the color component values.
In this embodiment, the numbers of the network addresses are represented by color component values in the color model, so that a unique color can be determined according to each network address, that is, each network address corresponds to a unique color, and the network addresses can be distinguished by colors.
On the basis of the foregoing embodiment, determining, in S12, the color corresponding to the target network address according to the color model includes:
and determining color component values corresponding to other three sections of numbers of the target network address on respective color components according to the corresponding relation between the number sections and the color components, and determining the color corresponding to a combined component value consisting of three color component values in the color model as the color corresponding to the target network address.
For example, if the network address is 25.111.11.25, the three corresponding color component values are: a first color component value of 111, a second color component value of 11, and a third color component value of 25, from which a unique color can be determined, which is the color corresponding to network address 25.111.11.25.
In one possible implementation, the color model may be a Red-yellow-Blue color model, that is, an RGB color model, which is an additive color model that adds color lights of three primary colors of Red (Red), Green (Green), and Blue (Blue) in different proportions to generate various color lights. Generally, an RGB color model is described by a three-dimensional space composed of three color components of red, green, and blue, each color component is assigned a numerical value in the range of 0 to 255 for representing intensity, the numerical values of the three color components are used as coordinate values of a common three-dimensional coordinate system, so that the RGB color model can be described by a cubic space, an integer between 0 and 255 is used as the coordinate value of a cube in the RGB color model, an origin (0,0,0) is used as black, and intensity values are increased in the coordinate axis direction to reach white at diagonal lines (255 ), and the RGB color model has the characteristic of wide range of use.
Of course, besides the red, green and blue color model, other color models composed of three primary colors can also be adopted.
On the basis of the above embodiment, when the occurrence of a network attack is detected, the method further includes:
detecting the strength of the network attack, determining display parameters of coordinate points corresponding to the target network address according to the strength, and displaying the coordinate points corresponding to the target network address in the space structure according to the determined display parameters, wherein the display parameters comprise at least one of the following parameters: size of display icon, shape of display icon, flashing frequency of icon, and display brightness of icon.
The strength of the network attack on the network address can be judged by detecting the attack traffic or the attack times of the network address within the preset time, wherein the strength is higher when the attack traffic is more, or the strength is higher when the attack times are more.
Presetting the corresponding relation between the network attack strength and the coordinate point display parameter so as to determine the corresponding display parameter according to the network attack strength, for example, presetting the sizes of the display icons as three, namely, big, medium and small, dividing the network attack strength into strong, medium and weak, presetting the size of the display icon corresponding to the network attack strength as big when the network attack strength is strong, presetting the size of the display icon corresponding to the network attack strength as medium when the network attack strength is medium, presetting the size of the display icon corresponding to the network attack strength as small when the network attack strength is weak, for example, presetting three display icons of circle, square and triangle, dividing the network attack strength into strong, medium and weak, presetting the shape of the display icon corresponding to the network attack strength as circle when the network attack strength is strong, and presetting the shape of the display icon corresponding to the square when the network attack strength is medium, and when the network attack strength is weak, the shape of the corresponding display icon is a triangle, and the like.
In this embodiment, the coordinate point corresponding to the target network address is displayed in the spatial structure according to the display parameter, the display parameter affects the display effect of the coordinate point, and the display parameters show different effects at different times, so that the user can determine the network attack strength according to the display effect of the coordinate point.
Fig. 2 is a block diagram of a network address display apparatus for implementing the network address display method according to an embodiment of the present invention, as shown in fig. 2, the apparatus may include:
an obtaining module 201, configured to obtain a preset spatial structure and a color model for displaying a network address, where the spatial structure is mapped to a preset coordinate system, a coordinate value of a coordinate point in the spatial structure is used to represent the network address, and the color model includes a correspondence between the network address and a color;
a determining module 202, configured to determine, when a network attack is detected to occur, a coordinate point in the spatial structure according to an attacked target network address, and determine, according to the color model, a color corresponding to the target network address;
a showing module 203, configured to show the coordinate point corresponding to the target network address in the determined color in the spatial structure.
In a possible implementation manner, the preset coordinate system is a three-dimensional coordinate system, the network address in the space structure is an IP address with a fixed first-segment number, and three segments of numbers except the first-segment number in the network address correspond to three coordinate axes in the coordinate system one by one;
the coordinate value of the coordinate point in the spatial structure is used for representing a network address, and the coordinate value is as follows: and in the area of the space structure, the coordinate values of the coordinate points on three coordinate axes represent the numerical values of the corresponding numbers in the other three sections of numbers of the IP address.
In one possible implementation, the determining module 202 determines the coordinate point in the spatial structure according to the attacked target network address, including:
according to the corresponding relation between the coordinate axes and the number segments, taking the other three segments of numbers in the target network address as the values of the three coordinate axes respectively;
taking a coordinate value formed by values of the three coordinate axes as a coordinate value corresponding to the target network address;
and determining a coordinate point corresponding to the coordinate value in the space structure as a coordinate point corresponding to the target network address.
In a possible implementation manner, the network address in the spatial structure is an IP address with a fixed first segment number, and the color model is a color model including three color components; the other three sections of numbers except the first section of number in the network address correspond to the three color components in the color model one by one;
for each of the other three segment numbers, each of the segment numbers is represented by a color component value on the corresponding color component.
In a possible implementation manner, the determining, by the determining module 202, a color corresponding to the target network address according to the color model includes:
determining color component values corresponding to other three sections of numbers of the target network address on respective color components according to the corresponding relation between the number sections and the color components;
and determining the color corresponding to the combined component value consisting of the three color component values in the color model as the color corresponding to the target network address.
In one possible implementation, the apparatus further includes:
the attack intensity detection module is used for detecting the intensity of the network attack when the network attack is detected to occur;
a display parameter determining module, configured to determine, according to the strength, a display parameter of a coordinate point corresponding to the target network address, and display, in the spatial structure, the coordinate point corresponding to the target network address according to the determined display parameter, where the display parameter includes at least one of: size of display icon, shape of display icon, flashing frequency of icon, and display brightness of icon.
In one possible implementation, the three color components include: red, green, and blue. The network address display device comprises a processor and a memory, wherein the acquisition module, the determination module, the display module, the attack strength detection module, the display parameter determination module and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, all network addresses are uniformly displayed in the same space structure by adjusting kernel parameters, and the attacked network addresses, the attacking range, the attacking time sequence and the attacking intensity are visually displayed by color conversion.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the presentation method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the display method during running.
An embodiment of the present invention provides an electronic device, as shown in fig. 3, the electronic device includes at least one processor 301, and at least one memory 302 and a bus connected to the processor 301; wherein, the processor 301 and the memory 302 complete the communication with each other through the bus 303; the processor 301 is used for calling the program instructions in the memory 302 to execute the above-mentioned presentation method. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
acquiring a preset space structure and a color model for displaying a network address, wherein the space structure is mapped into a preset coordinate system, coordinate values of coordinate points in the space structure are used for representing the network address, and the color model comprises a corresponding relation between the network address and a color;
when the network attack is detected, determining a coordinate point in the space structure according to the attacked target network address, and determining a color corresponding to the target network address according to the color model;
and displaying the coordinate point corresponding to the target network address in the determined color in the space structure.
In a possible implementation manner, the preset coordinate system is a three-dimensional coordinate system, the network address in the space structure is an IP address with a fixed first-segment number, and three segments of numbers except the first-segment number in the network address correspond to three coordinate axes in the coordinate system one by one;
the coordinate value of the coordinate point in the spatial structure is used for representing a network address, and the coordinate value is as follows: and in the area of the space structure, the coordinate values of the coordinate points on three coordinate axes represent the numerical values of the corresponding numbers in the other three sections of numbers of the IP address.
In one possible implementation, determining a coordinate point in the spatial structure according to the target network address under attack includes:
according to the corresponding relation between the coordinate axes and the number segments, taking the other three segments of numbers in the target network address as the values of the three coordinate axes respectively;
taking a coordinate value formed by values of the three coordinate axes as a coordinate value corresponding to the target network address;
and determining a coordinate point corresponding to the coordinate value in the space structure as a coordinate point corresponding to the target network address.
In a possible implementation manner, the network address in the spatial structure is an IP address with a fixed first segment number, and the color model is a color model including three color components; the other three sections of numbers except the first section of number in the network address correspond to the three color components in the color model one by one;
for each of the other three segment numbers, each of the segment numbers is represented by a color component value on the corresponding color component.
In one possible implementation, determining a color corresponding to the target network address according to the color model includes:
determining color component values corresponding to other three sections of numbers of the target network address on respective color components according to the corresponding relation between the number sections and the color components;
and determining the color corresponding to the combined component value consisting of the three color component values in the color model as the color corresponding to the target network address.
In one possible implementation, when the occurrence of a network attack is detected, the method further includes:
detecting the strength of the network attack;
determining a display parameter of a coordinate point corresponding to the target network address according to the intensity, and displaying the coordinate point corresponding to the target network address in the space structure according to the determined display parameter, wherein the display parameter includes at least one of the following: size of display icon, shape of display icon, flashing frequency of icon, and display brightness of icon.
In one possible implementation, the three color components include: red, green, and blue.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种基于杰林码的消毒剂效验方法及系统