CN117061339A - Switch security monitoring method and device, electronic equipment and medium - Google Patents

Switch security monitoring method and device, electronic equipment and medium Download PDF

Info

Publication number
CN117061339A
CN117061339A CN202311160764.2A CN202311160764A CN117061339A CN 117061339 A CN117061339 A CN 117061339A CN 202311160764 A CN202311160764 A CN 202311160764A CN 117061339 A CN117061339 A CN 117061339A
Authority
CN
China
Prior art keywords
configuration
user
switch
result
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311160764.2A
Other languages
Chinese (zh)
Inventor
温万秋
蒋云岭
张海超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cac Systems Engineering Co ltd
Original Assignee
Beijing Cac Systems Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Cac Systems Engineering Co ltd filed Critical Beijing Cac Systems Engineering Co ltd
Priority to CN202311160764.2A priority Critical patent/CN117061339A/en
Publication of CN117061339A publication Critical patent/CN117061339A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Abstract

The present application relates to the field of switches, and in particular, to a method, an apparatus, an electronic device, and a medium for security monitoring of a switch. The method comprises the following steps: when a configuration instruction generated when a user configures the switch is received, acquiring a configuration rule of the switch; determining a current configuration result according to the configuration instruction and the configuration rule, wherein the current configuration result is used for representing the available state of each port of the switch after user configuration; transmitting the current configuration result to a user; when a change instruction of a user to a current configuration result is received, generating a change prompt message according to the change instruction and the current configuration result, and feeding back the change prompt message to the user, so that the user changes the configuration of the switch based on the change prompt message to achieve the changed configuration result. The application has the effect of improving the convenience of the user configuration switch.

Description

Switch security monitoring method and device, electronic equipment and medium
Technical Field
The present application relates to the field of switches, and in particular, to a method, an apparatus, an electronic device, and a medium for security monitoring of a switch.
Background
An industrial switch refers to Ethernet switch equipment applied to the field of industrial control, and can provide an unshared electric signal path for any two network nodes of an access switch.
As an important node of the communication network, the industrial switch is very prone to failure when being collided or when abnormal wiring occurs, and when failure occurs, a phenomenon of paralysis occurs between partial nodes in the communication network, so that the reliability of operation of the industrial switch is very important.
Before the industrial switch is used, the industrial switch needs to be configured, for example, VLAN division and the like, when a user is unfamiliar with the configuration of the industrial switch, for example, when the user configures the industrial switch for the first time, the configuration of the switch is often incorrect due to unclear how to configure the industrial switch, and when the configuration of the switch is incorrect, the switch cannot work normally, so that the use of the user is greatly affected. For example, incorrect VLAN partitioning of the user may cause network failure, ports are closed by mistake, and the switch may not provide services normally.
Disclosure of Invention
In order to improve convenience of user configuration of a switch, the application provides a switch security monitoring method, a switch security monitoring device, electronic equipment and a storage medium.
In a first aspect, the present application provides a security monitoring method for a switch, which adopts the following technical scheme:
a security monitoring method, comprising:
when a configuration instruction generated when a user configures the switch is received, acquiring a configuration rule of the switch;
determining a current configuration result according to the configuration instruction and the configuration rule, wherein the current configuration result is used for representing the available state of each port of the switch after user configuration;
transmitting the current configuration result to a user;
when a change instruction of the user to the current configuration result is received, generating a change prompt message according to the change instruction and the current configuration result, and feeding back the change prompt message to the user, so that the user changes the configuration of the switch based on the change prompt message to achieve the changed configuration result.
By adopting the technical scheme, when the user configures the switch, the current configuration result is determined according to the configuration rule in the switch and the configuration instruction when the user configures the switch, so as to determine the available state of each port of the switch after the user configures, the user can determine whether the state of each port meets the expectations according to the current configuration result, change the available state of each port displayed in the current configuration result so as to obtain the configuration result wanted by the user, and generate configuration prompt information according to the change instruction of the user to the current configuration result so as to prompt the user to adjust each configuration item of the switch according to the configuration prompt information so as to achieve the expectations of the user, thereby being beneficial to improving the convenience of configuring the switch by the user.
In one possible implementation manner, the generating, according to the change instruction and the current configuration result, the modification prompt information and feeding back the modification prompt information to the user includes:
according to the change instruction of the user to the current configuration result, determining a change configuration result corresponding to the change instruction;
determining a configuration item to be reconfigured based on the configuration changing result to serve as a target configuration item, and determining target configuration information corresponding to each target configuration item, wherein the target configuration information is configuration information corresponding to the target configuration item when the configuration result is the configuration changing result;
and determining modification prompt information based on the target configuration items and the configuration information corresponding to each target configuration item, and feeding back the modification prompt information to the user.
By adopting the technical scheme, each configuration item, namely the target configuration item, to be adjusted can be determined according to the change instruction of the user to the current configuration result, so that the user can modify each target configuration item according to the modification prompt information, and the modified configuration can meet the requirements of the user.
In another possible implementation, the method further includes
When configuration requirement information of a user is received, determining a software configuration item and a hardware configuration item corresponding to the configuration requirement information, and software configuration information corresponding to each software configuration item and hardware configuration requirements corresponding to each hardware configuration item according to the configuration requirement information, wherein the configuration requirement information is used for representing the state of each port expected to be configured by the user;
updating configuration information corresponding to each software configuration item into the software configuration information;
and feeding back each hardware configuration requirement to a user, so that the user configures the hardware of the switch according to the hardware configuration requirements.
By adopting the technical scheme, when the user inputs the configuration requirement information, each software configuration item can be automatically configured directly according to the configuration requirement information input by the user, and the hardware configuration requirement can be automatically generated, so that the user can complete the configuration of each hardware aspect according to the hardware configuration requirement, and the configuration requirement of the user is met.
In another possible implementation manner, the feeding back each hardware configuration requirement to a user, so that the user configures the hardware of the switch according to the hardware configuration requirement, and then further includes:
When a hardware confirmation instruction input by a user is received, acquiring assembly image information corresponding to each hardware configuration interface, wherein the hardware confirmation instruction is an instruction generated after the user completes hardware configuration of the switch according to hardware configuration requirements, and the assembly image information is image information at the hardware configuration interface;
judging whether the configuration of each hardware configuration interface accords with the hardware configuration requirement or not according to the assembly image information;
if the hardware configuration interface which does not meet the hardware configuration requirement exists, generating abnormal prompt information according to the hardware configuration interface which does not meet the hardware configuration requirement and feeding back the abnormal prompt information to the user.
By adopting the technical scheme, the abnormal prompt information is used for prompting the hardware configuration which the user should change, so that the actual hardware configuration can meet the hardware configuration requirement, when the user is not connected correctly, the user can be prompted that the current hardware configuration has a problem by being identified through the assembly image information, the user is prompted to have the correct configuration, further, the problem occurring in the later-stage formal use process can be reduced to influence the normal operation, and the convenience of the user configuration switch is improved.
In another possible implementation manner, if there is a hardware configuration interface that does not meet the hardware configuration requirement, generating exception prompt information according to the hardware configuration interface that does not meet the hardware configuration requirement and feeding back the exception prompt information to the user, and then further including:
when detecting that the connection state of the hardware configuration interface changes, acquiring assembly image information corresponding to the hardware configuration interface with the changed connection state, wherein the connection state is used for representing the connection relation between the hardware configuration interface and a wiring;
determining a change factor corresponding to a hardware configuration interface with a changed connection state according to the assembly image information, wherein the change factor comprises a natural falling factor, and the natural falling factor is used for representing that the change factor of the connection state is a non-artificial reason;
when the change factor of any hardware configuration result is a natural falling factor, generating corresponding falling prompt information based on the hardware configuration interface of which the change factor is the natural falling factor and feeding back the corresponding falling prompt information to a user.
By adopting the technical scheme, when the hardware configuration interface of the switch naturally drops due to non-human reasons, the drop prompt information is generated based on the naturally dropped hardware configuration interface and fed back to the user, so that the user can be prompted to timely adjust the connection of the hardware configuration interface, and the operation of the switch can be restored as soon as possible.
In another possible implementation, the variation factor further includes a human shedding factor, the human shedding factor characterizing that the connection state variation is due to human adjustment;
and determining a change factor corresponding to the hardware configuration interface with the changed connection state according to the assembly image information, and then further comprising:
when the transformation factor is a human-made drop factor, acquiring the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface; and regenerating a current configuration result based on the configuration information of each software configuration item and the connection state of each hardware configuration interface, and feeding back the regenerated current configuration result to a user.
By adopting the technical scheme, when the change factor is the artificial falling factor, the user is characterized to change the corresponding hardware configuration, and the current configuration result is regenerated based on the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface, so that the user can check whether the current configuration result is the configuration result expected by the user after changing the connection of the hardware configuration interface each time.
In another possible implementation, the method further includes:
acquiring temperature distribution information of a switch;
determining a temperature abnormal region of the switch according to the temperature distribution information, wherein the temperature in the temperature abnormal region of the switch is greater than a preset temperature threshold;
and generating regional temperature abnormality prompt information based on the switch temperature abnormality region so as to feed back a user.
Through adopting above-mentioned technical scheme, when the temperature of switch appears unusual, can be through regional temperature anomaly prompt message in order to point out the temperature anomaly of user's current switch to the user can adopt corresponding measure in order to reduce the temperature, then is favorable to reducing the probability that produces the damage when switch temperature is too high.
In a second aspect, the present application provides a security monitoring device, which adopts the following technical scheme:
a switch security monitoring device, comprising:
the acquisition module is used for acquiring the configuration rule of the switch when receiving a configuration instruction generated when a user configures the switch;
the current result determining module is used for determining a current configuration result according to the configuration instruction and the configuration rule, wherein the current configuration result is used for representing the available state of each port of the switch after user configuration;
The result feedback module is used for sending the current configuration result to a user;
and the modification prompt generation module is used for generating modification prompt information according to the modification instruction and the current configuration result when receiving the modification instruction of the user on the current configuration result, and feeding back the modification prompt information to the user so that the user modifies the configuration of the switch based on the modification prompt information to achieve the modified configuration result.
By adopting the technical scheme, when the user configures the switch, the current result determining module determines the current configuration result according to the configuration rule in the switch and the configuration instruction when the user configures the switch so as to determine the available state of each port of the switch after the user configures, the user can determine whether the state of each port meets the expectations according to the current configuration result and change the available state of each port displayed in the current configuration result so as to obtain the configuration result wanted by the user, and the modification prompt generating module generates configuration prompt information according to the change instruction of the user to the current configuration result so as to prompt the user to adjust each configuration item of the switch according to the configuration prompt information so as to achieve the expectations of the user, thereby being beneficial to improving the convenience of configuring the switch by the user.
In one possible implementation manner, the modification prompt generation module is specifically configured to, when generating modification prompt information according to the modification instruction and the current configuration result, and feeding the modification prompt information back to a user:
according to the change instruction of the user to the current configuration result, determining a change configuration result corresponding to the change instruction;
determining a configuration item to be reconfigured based on the configuration changing result to serve as a target configuration item, and determining target configuration information corresponding to each target configuration item, wherein the target configuration information is configuration information corresponding to the target configuration item when the configuration result is the configuration changing result;
and determining modification prompt information based on the target configuration items and the configuration information corresponding to each target configuration item, and feeding back the modification prompt information to the user.
In another possible implementation, the apparatus further includes:
the configuration information determining module is used for determining a software configuration item and a hardware configuration item corresponding to the configuration requirement information, the software configuration information corresponding to each software configuration item and the hardware configuration requirement corresponding to each hardware configuration item according to the configuration requirement information when the configuration requirement information of a user is received, wherein the configuration requirement information is used for representing the state of each port which is expected to be configured by the user;
The configuration updating module is used for updating the configuration information corresponding to each software configuration item into the software configuration information;
and the hardware configuration feedback module is used for feeding back each hardware configuration requirement to a user so that the user configures the hardware of the switch according to the hardware configuration requirement.
In another possible implementation, the apparatus further includes:
the first image acquisition module is used for acquiring assembly image information corresponding to each hardware configuration interface when receiving a hardware confirmation instruction input by a user, wherein the hardware confirmation instruction is an instruction generated after the user completes hardware configuration of the switch according to hardware configuration requirements, and the assembly image information is image information at the hardware configuration interface;
the requirement judging module is used for judging whether the configuration of each hardware configuration interface accords with the hardware configuration requirement according to the assembly image information;
and the abnormality prompting module is used for generating abnormality prompting information according to the hardware configuration interface which does not meet the hardware configuration requirement when the hardware configuration interface which does not meet the hardware configuration requirement exists, and feeding back the abnormality prompting information to the user.
In another possible implementation, the apparatus further includes:
the second image acquisition module is used for acquiring assembly image information corresponding to the hardware configuration interface with changed connection state when the connection state of the hardware configuration interface is detected to be changed;
the change determining module is used for determining a change factor corresponding to the hardware configuration interface with the changed connection state according to the assembly image information, wherein the change factor comprises a natural falling factor, and the natural falling factor represents that the connection state change is formed by a non-human reason;
and the shedding prompt module is used for generating corresponding shedding prompt information and feeding back to a user based on the hardware configuration interface of which the change factor is the natural shedding factor when the change factor of any hardware configuration result is the natural shedding factor.
In another possible implementation, the variation factor further includes a human factor that characterizes a human adjustment when the connection state is varied;
wherein the apparatus further comprises:
the state acquisition module is used for acquiring the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface when the transformation factor is a human-made drop factor; and regenerating a current configuration result based on the configuration information of each software configuration item and the connection state of each hardware configuration interface, and feeding back the regenerated current configuration result to a user.
In another possible implementation, the apparatus further includes:
the temperature acquisition module is used for acquiring temperature distribution information of the switch;
the temperature anomaly determination module is used for determining a temperature anomaly area of the switch according to the temperature distribution information, wherein the temperature in the temperature anomaly area of the switch is greater than a preset temperature threshold;
and the temperature abnormality prompt information is used for generating regional temperature abnormality prompt information based on the switch temperature abnormality region so as to feed back the user.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device, the electronic device comprising:
at least one processor;
a memory;
at least one application program, wherein the at least one application program is stored in the memory and configured to be executed by the at least one processor, the at least one application program configured to: the switch security monitoring method is executed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium, comprising: a computer program capable of being loaded by a processor and executing the switch security monitoring method is stored.
In summary, the application at least comprises the following beneficial technical effects:
when a user configures the switch, according to a configuration rule in the switch and a configuration instruction when the user configures the switch, determining a current configuration result to determine the available state of each port of the switch after the user configures, wherein the user can determine whether the current state of each port accords with the expectation according to the current configuration result, change the available state of each port displayed in the current configuration result to obtain a configuration result wanted by the user, and generate configuration prompt information according to a change instruction of the user to the current configuration result to prompt the user to adjust each configuration item of the switch according to the configuration prompt information so as to achieve the expectation of the user, thereby being beneficial to improving the convenience of the user configuring the switch.
Drawings
Fig. 1 is a schematic flow chart of a security monitoring method of an exchange according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a security monitoring device of a switch according to an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
The application is described in further detail below with reference to fig. 1-3.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a security monitoring method of a switch, which is executed by electronic equipment, and referring to fig. 1, the method comprises the following steps:
step S101, when a configuration instruction generated when a user configures the switch is received, a configuration rule of the switch is obtained.
Specifically, after the normal configuration of each configuration item of the switch is completed, each port side of the switch can normally perform operations such as information receiving and transmitting. When a user configures the switch, if a configuration item is configured incorrectly, the functions of all ports or part of ports of the switch may not be used, that is, the switch is difficult to work normally, the user may not know the problem, and it is difficult to find the point with the incorrect configuration, and most of the problems are solved by a reconfiguration mode, so that great inconvenience exists for the user when configuring the switch.
In order to improve convenience of the user configuration switch, after the user performs corresponding configuration on the switch, that is, when a configuration instruction of the user for configuring the switch is received, a configuration rule of the switch can be obtained, so that whether the user configuration is correct or not can be determined according to the user configuration.
Step S102, determining a current configuration result according to the configuration instruction and the configuration rule.
The current configuration result is used for representing the available state of each port of the switch after user configuration. For example: port 1 and port 2 are available and port 3 and port 4 are not available.
Specifically, the availability status of each switch port may be predetermined based on the corresponding configuration of the switch by the user. That is, according to the configuration rule and the configuration instruction, each configuration item of the user which is configured to the switch currently can be determined, and according to the specific configuration information of the user and the configuration rule, a configuration result corresponding to the specific configuration information of the user is determined.
Step S103, the current configuration result is sent to the user.
Specifically, sending the current configuration result to the user may enable the user to determine whether the current configuration result meets the user's expectations and meets the user's requirements.
Step S104, when a change instruction of the user to the current configuration result is received, according to the change instruction and the current configuration result, generating a change prompt message and feeding back the change prompt message to the user, so that the user changes the configuration of the switch based on the change prompt message, and the changed configuration result is achieved.
Specifically, when a change instruction of a user to a current configuration result is received, according to the change instruction and the current configuration result, a modification prompt message is generated and fed back to the user. After the modification prompt information is fed back to the user, the user can change the configuration of the switch according to the modification prompt information, so that the changed configuration can enable all ports of the switch to meet the requirements of the user. For example: after the user configures the switch, the generated current configuration result is that the port 1 is unavailable, the port 2 is available, the user changes the current configuration result, for example, the port 1 is more available, the changed current configuration result is that the port 1 is available, the port 2 is available, the changed current configuration result represents the configuration wanted by the user and is not consistent with the configuration set by the user, in order to achieve the changed current configuration result, the relevant configuration information required to be adjusted in order to achieve the changed current configuration result can be deduced from the internal configuration rule of the switch, so as to generate configuration prompt information, and therefore the user can adjust the relevant configuration of the switch according to the configuration prompt information, so that the switch achieves the changed current configuration result.
The embodiment of the application provides a security monitoring method for a switch, when a user configures the switch, a current configuration result is determined according to a configuration rule in the switch and a configuration instruction when the user configures the switch, so as to determine the available state of each port of the switch after the user configures, the user can determine whether the state of each port currently accords with expectations according to the current configuration result, the available state of each port displayed in the current configuration result is changed so as to obtain a configuration result wanted by the user, and configuration prompt information is generated according to a change instruction of the user to the current configuration result so as to prompt the user to adjust each configuration item of the switch according to the configuration prompt information so as to achieve the expectations of the user, thereby being beneficial to improving the convenience of the user configuring the switch.
In step S104, according to the change instruction and the current configuration result, a modification prompt message is generated and fed back to the user, including step S1041 (not shown in the figure), step S1042 (not shown in the figure), and step S1043 (not shown in the figure), where:
step S1041, determining a configuration change result corresponding to the configuration change instruction according to the configuration change instruction of the user.
The configuration change result is used for representing a configuration result after the user changes the current configuration result.
Specifically, when the user changes the current configuration result, the configuration result changed according to the change instruction is determined according to the change instruction of the user to the current configuration result. For example, if the current configuration result is that the port 1 is unavailable and the port 2 is available, the user changes the available state corresponding to the port 1 to the available state, and then the user changes the instruction of the current configuration result to be corresponding to: the available state of port 1 is changed to the instruction corresponding to the available state. According to the configuration result (i.e. configuration change result) changed by the change instruction, the port 1 is available, and the port 2 is available.
Step S1042, based on the configuration change result, determining the configuration items to be reconfigured as target configuration items, and determining the target configuration information corresponding to each target configuration item.
The target configuration item is used for representing configuration required to be adjusted after the user is adjusted, and the target configuration information is configuration information corresponding to the target configuration item when the configuration result is changed.
Specifically, according to the configuration result after the user changes, namely the configuration result is changed, the configuration items which are required to be adjusted and correspond to the configuration results are determined, and the configuration information after the change and correspond to each configuration item are determined. The value is stated that, after the user configures each target configuration item according to the corresponding configuration information, the state corresponding to each port is the state corresponding to the modified configuration result modified by the user.
The method specifically can be realized by the following steps when determining the target configuration item:
and determining configuration information corresponding to each configuration item corresponding to the configuration change result according to the configuration change result, and determining the configuration information corresponding to each configuration item as reference configuration information corresponding to each configuration item.
Comparing the configuration information corresponding to each configuration item corresponding to the current configuration result with the reference configuration information, determining the configuration item with inconsistent configuration information as a target configuration item, wherein the reference configuration information corresponding to the target configuration item is the configuration information corresponding to the target configuration item.
Step S1043, determining modification prompt information based on the target configuration items and the configuration information corresponding to each target configuration item, and feeding back the modification prompt information to the user.
Specifically, the modification prompt information may be prompt information in a pop-up message, for example, for the configuration item a, the configuration item a needs to change the configuration information into the reference configuration information A1, and the modification prompt information may include "change the configuration information corresponding to the configuration item a into the reference configuration information A1".
It should be noted that, when the number of the target configuration items is at least two, the content of the modification prompt information includes the prompt content of each target configuration item and the configuration information corresponding to each target configuration item.
According to the embodiment of the application, each configuration item, namely the target configuration item, to be adjusted can be determined according to the change instruction of the user on the current configuration result, so that the user can modify each target configuration item according to the modification prompt information, and the modified configuration can meet the requirements of the user. One possible implementation manner of the embodiment of the present application, the method further includes a step Sa1 (not shown in the figure), a step Sa2 (not shown in the figure), and a step Sa3 (not shown in the figure), where:
step Sa1, when configuration requirement information of a user is received, determining a software configuration item and a hardware configuration item corresponding to the configuration requirement information, and software configuration information corresponding to each software configuration item and a hardware configuration requirement corresponding to each hardware configuration item according to the configuration requirement information.
The configuration requirement information is used for representing states of all ports which are expected to be configured by a user. The configuration requirement information may be user-entered, for example, configuration requirement information that is user-entered is configuration requirement information that is available for port 1, port 2 is available, and port 3 is not available.
Specifically, when the configuration requirement information of the user is received, the configuration of the switch can be automatically completed according to the configuration requirement information of the user or the user is automatically prompted to complete corresponding configuration so as to meet corresponding configuration requirements.
For the switch, the user is required to complete corresponding software configuration, and also required to complete corresponding hardware configuration, such as power connection and line connection between ports.
When configuration requirement information of a user is received, determining software configuration information corresponding to each software configuration item and hardware configuration requirements corresponding to each hardware configuration item according to the configuration requirement information. The hardware configuration requirements are used to characterize the hardware requirements of the desired configuration to meet the corresponding configuration requirements.
Step Sa2, updating the configuration information corresponding to each software configuration item into software configuration information.
Step Sa3, feeding back each hardware configuration requirement to the user, so that the user configures the hardware of the switch according to the hardware configuration requirement.
Specifically, the configuration information corresponding to each software configuration item is updated to the corresponding software configuration information, so that the configuration of the software can be realized, a user is required to configure each hardware configuration item to perform corresponding hardware configuration, and after the hardware and the software are configured according to corresponding requirements, the state of the switch is presented as the state required by the user. Therefore, each hardware configuration requirement needs to be fed back to the user, so that the user can configure the hardware of the switch according to the hardware configuration requirement.
For the embodiment of the application, when the user inputs the configuration requirement information, each software configuration item can be automatically configured directly according to the configuration requirement information input by the user, and the hardware configuration requirement can be automatically generated, so that the user can complete the configuration of each hardware aspect according to the hardware configuration requirement, and the configuration requirement of the user is met.
In a possible implementation manner of the embodiment of the present application, in step Sa3, each hardware configuration requirement is fed back to the user, so that the user configures the hardware of the switch according to the hardware configuration requirement, and then further includes step Sb1 (not shown in the figure), step Sb2 (not shown in the figure), and step Sb3 (not shown in the figure), where:
and step Sb1, acquiring assembly image information corresponding to each hardware configuration interface when a hardware confirmation instruction input by a user is received.
The hardware confirmation instruction is an instruction generated after the user completes hardware configuration of the switch according to the hardware configuration requirement, and the assembly image information is image information at a hardware configuration interface.
And step Sb2, judging whether the configuration of each hardware configuration interface meets the hardware configuration requirement according to the assembly image information.
And step Sb3, if a hardware configuration interface which does not meet the hardware configuration requirement exists, generating abnormal prompt information according to the hardware configuration interface which does not meet the hardware configuration requirement and feeding back the abnormal prompt information to a user.
Specifically, when the user completes the hardware configuration of the switch according to the hardware configuration requirement, a hardware confirmation instruction can be input, and when the electronic device receives the hardware confirmation instruction, the abnormal identification of the hardware configuration interfaces is started, that is, the assembly image information corresponding to each hardware configuration interface is about to be acquired.
The hardware configuration interface is an interface of the switch, and the assembly image information is an image at the hardware configuration interface. And according to the assembly image information, the connection state of the hardware configuration interface can be determined.
More specifically, the specific implementation manner of determining whether the configuration of each hardware configuration interface meets the corresponding hardware configuration requirement may include: according to the hardware configuration requirements, determining a required state corresponding to each hardware configuration interface, determining a current connection state corresponding to each hardware configuration interface according to assembly image information corresponding to each hardware configuration interface, judging whether the required state is matched with the corresponding current connection state, if so, characterizing that the configuration of the corresponding hardware configuration interface meets the requirements, and if not, characterizing that the configuration of the corresponding hardware configuration interface does not meet the requirements.
More specifically, when the current connection state corresponding to each hardware configuration interface is identified according to the assembly image information corresponding to each hardware configuration interface, the method can be specifically realized through a target identification algorithm, when the hardware configuration interface is connected with the wiring, the current connection state is represented as connected, and when the hardware configuration interface is not connected with the wiring, the current connection state is represented as not connected; noteworthy are: when the hardware configuration interface is connected with the wiring but is not fully inserted into the interface, the current connection state is characterized as being unconnected.
Further, when determining a hardware configuration interface which does not meet the hardware configuration requirement, that is, determining a hardware configuration interface whose current connection state does not match the requirement state, generating abnormal prompt information according to the hardware configuration interface which does not meet the requirement state and feeding back the abnormal prompt information to a user, where the abnormal prompt information may be specifically generated based on a preset number of the hardware configuration interface which does not meet the requirement state and a corresponding requirement state, for example, the abnormal prompt information is a 001 interface, and an I cable should be inserted.
Aiming at the embodiment of the application, when the user is not correctly connected, the user can be identified through the assembly image information, so that the user is prompted that the current hardware configuration has a problem, and the user is prompted to correctly configure, so that the problem occurring when the user is put into use in a later stage formally can be reduced to influence the normal work, and the convenience of the user configuration switch is improved.
Further, in step Sb3, if there is a hardware configuration interface that does not meet the hardware configuration requirement, generating exception prompt information according to the hardware configuration interface that does not meet the hardware configuration requirement and feeding back the exception prompt information to the user, and then further including:
step Sc1 (not shown in the figure), when detecting that the connection state of the hardware configuration interface changes, acquiring the assembly image information corresponding to the hardware configuration interface with the changed connection state.
The connection state is used for representing the connection relation between the hardware configuration interface and the wiring.
Specifically, the implementation manner of detecting whether the connection state of the hardware configuration interface changes may specifically include: and determining whether the connection state of the hardware configuration interface is changed according to the signals detected and sent by the contact sensor. Specifically, each hardware configuration interface is provided with a contact sensor or a pressure sensor, when the hardware configuration interface is inserted with a connecting wire, the pressure sensor or the contact sensor detects that the connecting wire is inserted, and correspondingly generates a contact signal to be sent to the electronic equipment; when the connection wire is detected to be pulled out, a non-contact signal is correspondingly generated and sent to the electronic equipment. Therefore, the electronic equipment can judge whether the connection state of the hardware configuration interface is changed according to the received contact signal and the contactless signal. The implementation of detecting whether the connection state of the hardware configuration interface changes may further include obtaining the connection condition of the hardware configuration interface from within the switch to determine whether the connection state of the hardware configuration interface changes.
When the connection state of the hardware configuration interface changes, on one hand, the connection state of the hardware configuration interface may be artificially changed, on the other hand, the connection state may also change due to unexpected falling caused by non-human factors, and when the change is due to unexpected falling caused by non-human factors, that is, the fault exists in the characterization switch, and the normal operation of the switch may be affected.
Therefore, when the connection state of the hardware configuration interface is detected to change, the reason for the change of the connection state of the hardware configuration interface can be judged according to the assembly image information corresponding to the hardware configuration interface.
When the connector of the cable in the assembly image information is in the preset range of the hardware configuration interface of the switch, the reason for representing the change of the connection state of the hardware configuration interface is natural falling off, for example, when the connector of the fallen cable is naturally fallen off, the connection between the connector of the fallen cable and the hardware configuration interface of the switch may be slightly fallen off and not completely separated; it is also possible to depart from the connection with the hardware configuration interface of the switch and fall within the preset range of the hardware configuration interface of the switch.
When the connector of the cable in the assembly image information is not in the preset range of the hardware configuration interface, the reason for representing the change of the connection state of the hardware configuration interface is artificial.
Step Sc2 (not shown in the figure), determining a change factor corresponding to the hardware configuration interface in which the connection state is changed according to the assembly image information.
Wherein, the variation factors comprise natural falling factors and artificial falling factors. Natural shedding factors are used to characterize the change in connection state as a result of, for example, interface loosening and aging, which are not human-induced; the human shedding factor characterizes the change in connection state as a result of human adjustment.
And step Sc3 (not shown in the figure), when the change factor of any hardware configuration result is a natural falling factor, generating corresponding falling prompt information based on the hardware configuration interface of which the change factor is the natural falling factor, and feeding back the corresponding falling prompt information to a user.
Specifically, when the change factor is a natural falling factor, a user is required to adjust corresponding hardware configuration in time, so that the switch can work normally, and therefore, a hardware configuration interface based on the natural falling factor generates falling prompt information to prompt the user to adjust the connection of the hardware configuration interface in time so as to resume the operation of the switch as soon as possible.
For the embodiment of the application, when the hardware configuration interface of the switch naturally drops due to non-human reasons, the drop prompt information is generated based on the naturally dropped hardware configuration interface and fed back to the user, so that the user can be prompted to timely adjust the connection of the hardware configuration interface to restore the operation of the switch as soon as possible.
Further, in step Sc2, according to the assembly image information, a change factor corresponding to the hardware configuration interface with a changed connection state is determined, and then the method further includes:
step Sc3' (not shown in the figure), when the change factor is a human-made drop factor, acquiring the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface; and regenerating a current configuration result based on the configuration information of each software configuration item and the connection state of each hardware configuration interface, and feeding back the regenerated current configuration result to a user.
Specifically, when the change factor is an artificial drop factor, the user is characterized to change the corresponding hardware configuration, and at this time, the current configuration result is regenerated based on the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface, and the steps of step S103 and step S104 are continuously executed. So that the user can check whether the current configuration result is the configuration result desired by the user after each change of the connection of the hardware configuration interface.
In one possible implementation manner of the embodiment of the present application, the method further includes:
Step Sd1 (not shown in the figure), acquires temperature distribution information of the switch.
Step Sd2 (not shown in the figure), determining a switch temperature abnormality region according to the temperature distribution information.
The temperature in the temperature abnormal area of the switch is larger than a preset temperature threshold value.
And step Sd3 (not shown in the figure), generating regional temperature abnormality prompt information based on the switch temperature abnormality region to feed back the user.
Specifically, a plurality of groups of temperature sensors are installed on two sides of the switch, each group of sensors corresponds to one area, and each temperature sensor is used for measuring the temperature of the corresponding area. And acquiring the temperature of each sensor to obtain the temperature distribution information of the switch.
The method for acquiring the temperature distribution information of the switch can be that when the user configuration is completed and the switch is put into use, the switch starts to acquire in real time; the temperature distribution information of the switch can be obtained once every preset time after the user configuration is completed. The embodiment of the application is not limited.
According to the temperature distribution information, the temperature of each position on the surface of the switch can be determined, and when the temperature measured by any one sensor exceeds a preset temperature threshold value, the area corresponding to the sensor is determined as an abnormal temperature area of the switch. And when the temperatures measured by the at least two sensors exceed the preset temperature threshold, determining the area corresponding to each sensor with the measured temperature exceeding the preset temperature threshold as an abnormal temperature area of the switch.
In order to warn a user when the temperature of the switch is abnormal, so that the switch is prevented from being damaged due to overhigh temperature of the switch, regional temperature abnormality prompting information is generated based on a regional abnormal temperature region of the switch to feed back the user, so that the user is prompted that the temperature corresponding to the regional abnormal temperature region of the current switch is abnormal, and timely heat dissipation is needed, so that timely intervention is facilitated when the temperature of the switch is abnormal, and further loss is reduced.
In addition, it is worth to say that each group of temperature sensors may also be provided with a corresponding alarm device, which may be a buzzer or an indicator light in particular. The alarm device can be matched with the temperature sensor and is arranged in a region corresponding to the temperature sensor; each alarm device may be disposed in a preset alarm area in a centralized manner, which is not limited in the embodiment of the present application.
Aiming at the embodiment of the application, when the temperature of the switch is abnormal, the abnormal temperature prompt information of the area can be used for prompting the user that the temperature of the current switch is abnormal, so that the user can adopt corresponding measures to reduce the temperature, and the probability of damage when the temperature of the switch is overhigh is reduced.
The foregoing embodiment describes a method for security monitoring of a switch from the perspective of a method flow, and the following embodiment describes a device for security monitoring of a switch from the perspective of a virtual module or a virtual unit, which is specifically described in the following embodiment.
Referring to fig. 2, a security monitoring device 200 for a switch includes:
an obtaining module 201, configured to obtain a configuration rule of the switch when receiving a configuration instruction generated when a user configures the switch;
a current result determining module 202, configured to determine a current configuration result according to the configuration instruction and the configuration rule, where the current configuration result is used to characterize an available state of each port of the switch after user configuration;
the result feedback module 203 is configured to send a current configuration result to a user;
and the modification prompt generation module 204 is configured to generate modification prompt information according to the modification instruction and the current configuration result when receiving a modification instruction of the current configuration result from the user, and feed back the modification prompt information to the user, so that the user modifies the configuration of the switch based on the modification prompt information to achieve the modified configuration result.
Specifically, when the user configures the switch, the current result determining module 202 determines the current configuration result according to the configuration rule in the switch and the configuration instruction when the user configures the switch, so as to determine the available state of each port of the switch after the user configures, so that the user can determine whether the current state of each port meets the expectations according to the current configuration result, and change the available state of each port displayed in the current configuration result, so as to obtain the configuration result wanted by the user, and the modification prompt generating module 204 generates the configuration prompt information according to the change instruction of the user to the current configuration result, so as to prompt the user to adjust each configuration item of the switch according to the configuration prompt information to reach the expectations of the user, thereby being beneficial to improving the convenience of configuring the switch by the user.
In one possible implementation manner of the embodiment of the present application, when the modification prompt generation module 204 generates modification prompt information according to the modification instruction and the current configuration result and feeds the modification prompt information back to the user, the modification prompt generation module is specifically configured to:
determining a change configuration result corresponding to the change instruction according to the change instruction of the current configuration result by the user;
determining a configuration item to be reconfigured based on the configuration change result, taking the configuration item as a target configuration item, and determining target configuration information corresponding to each target configuration item, wherein the target configuration information is the configuration information corresponding to the target configuration item when the configuration result is the configuration change result;
and determining modification prompt information based on the target configuration items and the configuration information corresponding to each target configuration item, and feeding back the modification prompt information to the user.
In one possible implementation manner of the embodiment of the present application, the apparatus 200 further includes:
the configuration information determining module is used for determining a software configuration item and a hardware configuration item corresponding to the configuration requirement information, the software configuration information corresponding to each software configuration item and the hardware configuration requirement corresponding to each hardware configuration item according to the configuration requirement information when the configuration requirement information of the user is received, wherein the configuration requirement information is used for representing the state of each port expected to be configured by the user;
The configuration updating module is used for updating the configuration information corresponding to each software configuration item into software configuration information;
and the hardware configuration feedback module is used for feeding back each hardware configuration requirement to a user so that the user configures the hardware of the switch according to the hardware configuration requirement.
In one possible implementation manner of the embodiment of the present application, the apparatus 200 further includes:
the first image acquisition module is used for acquiring assembly image information corresponding to each hardware configuration interface when receiving a hardware confirmation instruction input by a user, wherein the hardware confirmation instruction is an instruction generated after the user completes hardware configuration of the switch according to hardware configuration requirements, and the assembly image information is image information at the hardware configuration interface;
the requirement judging module is used for judging whether the configuration of each hardware configuration interface accords with the hardware configuration requirement according to the assembly image information;
the abnormal prompt module is used for generating abnormal prompt information according to the hardware configuration interface which does not meet the hardware configuration requirement and feeding back the abnormal prompt information to the user when the hardware configuration interface which does not meet the hardware configuration requirement exists.
In one possible implementation manner of the embodiment of the present application, the apparatus 200 further includes:
The second image acquisition module is used for acquiring assembly image information corresponding to the hardware configuration interface with changed connection state when the connection state of the hardware configuration interface is detected to be changed, wherein the connection state is used for representing the connection relation between the hardware configuration interface and the wiring;
the change determining module is used for determining a change factor corresponding to the hardware configuration interface with the changed connection state according to the assembly image information, wherein the change factor comprises a natural falling factor, and the natural falling factor is used for representing that the change factor of the connection state is a non-artificial reason;
and the shedding prompt module is used for generating corresponding shedding prompt information and feeding back to a user based on the hardware configuration interface of which the change factor is the natural shedding factor when the change factor of any hardware configuration result is the natural shedding factor.
In one possible implementation manner of the embodiment of the application, the change factors further comprise artificial shedding factors, wherein the artificial shedding factors represent that the change of the connection state is generated due to artificial adjustment;
wherein the apparatus 200 further comprises:
the state acquisition module is used for acquiring the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface when the transformation factor is a human-made drop factor; and regenerating a current configuration result based on the configuration information of each software configuration item and the connection state of each hardware configuration interface, and feeding back the regenerated current configuration result to a user.
In one possible implementation manner of the embodiment of the present application, the apparatus 200 further includes:
the temperature acquisition module is used for acquiring temperature distribution information of the switch;
the temperature anomaly determination module is used for determining a temperature anomaly area of the switch according to the temperature distribution information, wherein the temperature in the temperature anomaly area of the switch is greater than a preset temperature threshold;
the temperature abnormality prompt information is used for generating regional temperature abnormality prompt information based on the switch temperature abnormality region so as to feed back the user.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The embodiment of the application also describes an electronic device from the perspective of the entity apparatus, as shown in fig. 3, the electronic device 300 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 is not limited to the embodiment of the present application.
The processor 301 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. Processor 301 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path to transfer information between the components. Bus 302 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect Standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The Memory 303 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory ), a CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the inventive arrangements and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices 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), car terminals (e.g., car navigation terminals), and stationary terminals such as digital TVs, desktop computers, and the like, and servers and the like. The electronic device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the application.
Embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. In the embodiment of the application, when the user configures the switch, the current configuration result is determined according to the configuration rule in the switch and the configuration instruction when the user configures the switch, so as to determine the available state of each port of the switch after the user configures, the user can determine whether the current state of each port accords with the expectation according to the current configuration result, and change the available state of each port displayed in the current configuration result, so as to obtain the configuration result wanted by the user, and generate the configuration prompt information according to the change instruction of the user to the current configuration result, so as to prompt the user to adjust each configuration item of the switch according to the configuration prompt information to achieve the expectation of the user, thereby being beneficial to improving the convenience of configuring the switch by the user.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations should and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for security monitoring of a switch, the method comprising:
when a configuration instruction generated when a user configures the switch is received, acquiring a configuration rule of the switch;
determining a current configuration result according to the configuration instruction and the configuration rule, wherein the current configuration result is used for representing the available state of each port of the switch after user configuration;
transmitting the current configuration result to a user;
when a change instruction of the user to the current configuration result is received, generating a change prompt message according to the change instruction and the current configuration result, and feeding back the change prompt message to the user, so that the user changes the configuration of the switch based on the change prompt message to achieve the changed configuration result.
2. The method of claim 1, wherein generating and feeding back modification prompt information to the user according to the change instruction and the current configuration result comprises:
According to the change instruction of the user to the current configuration result, determining a change configuration result corresponding to the change instruction;
determining a configuration item to be reconfigured based on the configuration changing result to serve as a target configuration item, and determining target configuration information corresponding to each target configuration item, wherein the target configuration information is configuration information corresponding to the target configuration item when the configuration result is the configuration changing result;
and determining modification prompt information based on the target configuration items and the configuration information corresponding to each target configuration item, and feeding back the modification prompt information to the user.
3. The method according to claim 1, wherein the method further comprises:
when configuration requirement information of a user is received, determining a software configuration item and a hardware configuration item corresponding to the configuration requirement information, and software configuration information corresponding to each software configuration item and hardware configuration requirements corresponding to each hardware configuration item according to the configuration requirement information, wherein the configuration requirement information is used for representing the state of each port expected to be configured by the user;
updating configuration information corresponding to each software configuration item into the software configuration information;
And feeding back each hardware configuration requirement to a user, so that the user configures the hardware of the switch according to the hardware configuration requirements.
4. A method according to claim 3, wherein said feeding back each of said hardware configuration requirements to a user, such that said user configures the hardware of said switch according to said hardware configuration requirements, further comprising:
when a hardware confirmation instruction input by a user is received, acquiring assembly image information corresponding to each hardware configuration interface, wherein the hardware confirmation instruction is an instruction generated after the user completes hardware configuration of the switch according to hardware configuration requirements, and the assembly image information is image information at the hardware configuration interface;
judging whether the configuration of each hardware configuration interface accords with the hardware configuration requirement or not according to the assembly image information;
if the hardware configuration interface which does not meet the hardware configuration requirement exists, generating abnormal prompt information according to the hardware configuration interface which does not meet the hardware configuration requirement and feeding back the abnormal prompt information to the user.
5. The method of claim 4, wherein if there is a hardware configuration interface that does not meet the hardware configuration requirement, generating exception prompt information according to the hardware configuration interface that does not meet the hardware configuration requirement and feeding back the exception prompt information to the user, and further comprising:
When detecting that the connection state of the hardware configuration interface changes, acquiring assembly image information corresponding to the hardware configuration interface with the changed connection state, wherein the connection state is used for representing the connection relation between the hardware configuration interface and a wiring;
determining a change factor corresponding to a hardware configuration interface with a changed connection state according to the assembly image information, wherein the change factor comprises a natural falling factor, and the natural falling factor is used for representing that the change factor of the connection state is a non-artificial reason;
when the change factor of any hardware configuration result is a natural falling factor, generating corresponding falling prompt information based on the hardware configuration interface of which the change factor is the natural falling factor and feeding back the corresponding falling prompt information to a user.
6. The method of claim 5, wherein the variation factor further comprises a human factor that characterizes a connection state variation due to human adjustment;
and determining a change factor corresponding to the hardware configuration interface with the changed connection state according to the assembly image information, and then further comprising:
when the transformation factor is a human-made drop factor, acquiring the configuration information of each current software configuration item of the switch and the connection state of each hardware configuration interface; and regenerating a current configuration result based on the configuration information of each software configuration item and the connection state of each hardware configuration interface, and feeding back the regenerated current configuration result to a user.
7. The method according to claim 1, wherein the method further comprises:
acquiring temperature distribution information of a switch;
determining a temperature abnormal region of the switch according to the temperature distribution information, wherein the temperature in the temperature abnormal region of the switch is greater than a preset temperature threshold;
and generating regional temperature abnormality prompt information based on the switch temperature abnormality region so as to feed back a user.
8. A security monitoring device, comprising:
the acquisition module is used for acquiring the configuration rule of the switch when receiving a configuration instruction generated when a user configures the switch;
the current result determining module is used for determining a current configuration result according to the configuration instruction and the configuration rule, wherein the current configuration result is used for representing the available state of each port of the switch after user configuration;
the result feedback module is used for sending the current configuration result to a user;
and the modification prompt generation module is used for generating modification prompt information according to the modification instruction and the current configuration result when receiving the modification instruction of the user on the current configuration result, and feeding back the modification prompt information to the user so that the user modifies the configuration of the switch based on the modification prompt information to achieve the modified configuration result.
9. An electronic device, comprising:
at least one processor;
a memory;
at least one application program, wherein the at least one application program is stored in the memory and configured to be executed by the at least one processor, the at least one application program configured to: a security monitoring method of a switch according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed in a computer, causes the computer to perform the switch security monitoring method of any of claims 1 to 7.
CN202311160764.2A 2023-09-11 2023-09-11 Switch security monitoring method and device, electronic equipment and medium Pending CN117061339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311160764.2A CN117061339A (en) 2023-09-11 2023-09-11 Switch security monitoring method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311160764.2A CN117061339A (en) 2023-09-11 2023-09-11 Switch security monitoring method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117061339A true CN117061339A (en) 2023-11-14

Family

ID=88669332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311160764.2A Pending CN117061339A (en) 2023-09-11 2023-09-11 Switch security monitoring method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117061339A (en)

Similar Documents

Publication Publication Date Title
US6782348B2 (en) Apparatus for diagnosing failure in equipment using signals relating to the equipment
CN109143954B (en) System and method for realizing controller reset
CN111983412B (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN113918383A (en) Core board resetting method, device, equipment, storage medium and program product
CN112015689A (en) Serial port output path switching method, system and device and switch
CN117061339A (en) Switch security monitoring method and device, electronic equipment and medium
JP7155854B2 (en) Information processing equipment
CN111239514A (en) Method and device for testing overvoltage protection function of server power supply
CN113866541B (en) Overvoltage protection test method, device and equipment for direct current converter valve power module
CN115623464A (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN112666491B (en) Method and system for detecting docking station of tablet personal computer
CN115360389A (en) Fault detection method and device for sensor, processor and vehicle
CN110912791B (en) System management bus link and pull-up resistance determination method, device and equipment thereof
CN105468495B (en) Complicated formula can procedure logical control system device
CN113608951A (en) Chip state detection method and system, electronic device and readable storage medium
KR100930126B1 (en) System for governing a divergence and control method of the same
JP6618427B2 (en) Redundant current output system
CN114356617B (en) Error injection testing method, device, system and computing equipment
CN117096817B (en) Relay, relay repair method, device and computer equipment
US20240069786A1 (en) Abnormality detecting system, motherboard, and electronic device
CN117560593A (en) Signal transmission method, device, equipment and medium in self-adaptive IO module
CN117805514A (en) Bus capacitor detection method and device, electronic equipment and storage medium
CN112540211A (en) Current checking method and system, upper computer and storage medium
CN117130464A (en) Electronic equipment power consumption control method and device, computer equipment and storage medium
KR20240030552A (en) Fault diagnosis system and method of circuit component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination