IP self-learning method, device and storage medium based on non-IP firewall
Through the IP self-learning method of IP-free firewall, dynamically judge and update the IP address of the protected device, the problem of communication difficulties of IP-free firewall is solved, real-time IP update and visual display of the management center are realized, and user experience and Lu are improved. Great.
Patent Information
- Application Number
- CN202311623882.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2043-11-28
AI Technical Summary
IP-free firewalls cannot perceive and adapt to IP changes of protected devices because they do not have IP, resulting in communication difficulties. The prior art cannot realize IP self-learning and visual display of IP-free firewalls.
By implementing IP self-learning method on an IP-free firewall, dynamically judge and update the IP address, use the local area network port to learn the current IP of the protected device, and save and send it to the management center, real-time dynamic update and visualization of IP show.
It solves the problem that the IP-free firewall cannot communicate when the IP of the borrowed device is changed, enhances communication robustness, and realizes the visual display of IP through the management center page, improving user experience and operation convenience.
Smart Images

Figure CN117579365B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of equipment protection technology, and in particular to an IP self-learning method, device and storage medium based on a non-IP firewall. Background Art
[0002] At present, non-IP firewall is a relatively new network security technology. In the internal network of an enterprise, non-IP firewall can be used to achieve network isolation and security protection.
[0003] However, since the non-IP firewall itself does not have an IP and cannot use its own IP for communication, communication with existing non-IP firewalls is relatively difficult. When the non-IP firewall uses devices with other IPs to communicate, since the default IP is static, it cannot perceive and adapt to changes in the IP of the protected device, nor can it visualize the IP of the protected device. This brings many difficulties to the use of the non-IP firewall.
[0004] Therefore, the above technical problems need to be solved urgently in the industry. Summary of the invention
[0005] The main purpose of the embodiments of the present application is to propose an IP self-learning method, device and storage medium based on a non-IP firewall to overcome the shortcomings of the prior art.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] On the one hand, an embodiment of the present application provides an IP self-learning method based on a non-IP firewall, the method comprising:
[0008] When the non-IP firewall borrows the current IP of the protected device for communication, it is determined whether the non-IP firewall stores a first IP, the first IP being the IP of the protected device borrowed last by the non-IP firewall, and the protected device is deployed behind the non-IP firewall;
[0009] If the first IP is not stored in the non-IP firewall, dynamically learn the current IP of the protected device through the network port in the local area network of the non-IP firewall;
[0010] If the first IP is stored in the non-IP firewall, determine whether the first IP is valid; if the determination result is that the first IP is invalid, dynamically learn the current IP of the protected device through the network port in the LAN of the non-IP firewall;
[0011] The current IP address of the protected device is saved through the non-IP firewall, and the current IP address of the protected device is sent to the management center;
[0012] In response to the first instruction, the current IP address of the protected device is displayed on the management center page, where the current IP address of the protected device includes an identifier for indicating a variable IP address of the protected device.
[0013] In some embodiments, the method further comprises at least one of the following:
[0014] Determine whether the first IP is the same as the current IP of the protected device;
[0015] or,
[0016] If the judgment result is that the first IP is valid, it is determined whether the connection to the management center using the first IP is successful.
[0017] In some embodiments, the determining whether the first IP is valid is specifically: determining whether the first IP is valid through a determination model; and determining whether the first IP is the same as the current IP of the protected device, including:
[0018] If they are the same, the first IP is used as a positive sample that can connect to the management center, and the judgment model is trained and updated;
[0019] If they are different, the current IP address of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model.
[0020] In some embodiments, the determining whether the first IP is valid is specifically: determining whether the first IP is valid through a determination model; if the determination result is that the first IP is valid, determining whether the connection to the management center using the first IP is successful, including:
[0021] If the connection is successful, the first IP is used as a positive sample that can connect to the management center to train and update the judgment model;
[0022] If the connection fails, the current IP of the protected device is dynamically learned through the network port in the local area network without an IP firewall. The first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model.
[0023] In some embodiments, the method further comprises:
[0024] A first IP acquisition module is used to determine whether a first IP is stored in the non-IP firewall when the non-IP firewall borrows the current IP of the protected device for communication, the first IP being the IP of the protected device that was borrowed last by the non-IP firewall, and the protected device is deployed behind the non-IP firewall;
[0025] A dynamic learning module, used for dynamically learning the current IP of the protected device through the network port in the local area network of the non-IP firewall if the first IP is not stored in the non-IP firewall;
[0026] A judgment module, configured to judge whether the first IP is valid if the first IP is stored in the non-IP firewall, and if the judgment result is that the first IP is invalid, dynamically learn the current IP of the protected device through the network port in the local area network of the non-IP firewall;
[0027] A saving module, used to save the current IP of the protected device through the non-IP firewall, and send the current IP of the protected device to the management center;
[0028] The display module is used to display the current IP of the protected device on the management center page in response to the first instruction, wherein the current IP of the protected device includes an identifier for indicating a variable IP of the protected device.
[0029] If the first IP is not stored in the non-IP firewall or the non-IP firewall cannot connect to the management center based on the stored first IP, and the physical address of the protected device is stored in the non-IP firewall, the current IP of the protected device is obtained by the non-IP firewall through message analysis based on the physical address of the protected device, and the first IP is the IP of the protected device borrowed by the non-IP firewall last time.
[0030] In some embodiments, determining whether the first IP is valid includes:
[0031] The judgment model is used to determine whether the first IP can connect to the management center.
[0032] In some embodiments, the method further comprises:
[0033] The IP mode of the non-IP firewall is set, and the IP mode includes IP self-learning mode, configuration fixed IP mode, configuration physical address mode and multi-IP mode.
[0034] In some embodiments, in response to the first instruction, displaying the current IP address of the protected device on the management center page includes:
[0035] In response to the first instruction, obtaining the physical address of the non-IP firewall, the current IP address of the protected device, the deployment time of the non-IP firewall, and the status of the non-IP firewall from the database of the management center;
[0036] The physical address of the non-IP firewall, the current IP of the protected device, the deployment time of the non-IP firewall and the status of the non-IP firewall are displayed on the status management page of the management center.
[0037] In some embodiments, the management center page includes a deployment online page, a batch deployment page and an IP management page, the batch deployment page includes an asset address area, and after the current IP addresses of multiple protected devices are obtained by dynamically learning the network ports in the local area network through the non-IP firewall, the method further includes:
[0038] In response to the second instruction, displaying the current IP address of the protected device on the deployment online page;
[0039] In response to a third instruction, saving the current IP address of the protected device in the asset address area to a database of the management center;
[0040] In response to the fourth instruction, multiple current IPs of the protected device are obtained from the database of the management center, and corresponding multiple IP identifiers and the current IPs of the protected device are displayed on the IP management page.
[0041] On the other hand, an embodiment of the present application provides an IP self-learning device based on a non-IP firewall, the device comprising:
[0042] On the other hand, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned IP self-learning method based on no IP firewall when executing the computer program.
[0043] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned IP self-learning method based on no IP firewall.
[0044] The present application proposes an IP self-learning method, device and storage medium based on a non-IP firewall. When the non-IP firewall uses the current IP of the protected device to communicate, it determines whether a first IP is stored in the non-IP firewall; if the first IP is not stored in the non-IP firewall, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall; if the first IP is stored in the non-IP firewall, it determines whether the first IP is valid. If the judgment result is that the first IP is invalid, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall, thereby realizing real-time and dynamic IP self-learning of the non-IP firewall; the current IP of the protected device is saved by the non-IP firewall, and the current IP of the protected device is sent to the management center; in response to the first instruction, the current IP of the protected device is displayed on the management center page, thereby realizing the display and monitoring of the IP learned by the non-IP firewall through the management center page, and improving the user experience. The embodiment of the present application can realize real-time and dynamic IP self-learning of the non-IP firewall, solves the problem that the non-IP firewall cannot communicate when the IP of the borrowed device changes, enhances the robustness of the non-IP firewall communication, and displays and monitors the IP learned by the non-IP firewall through the management center page, realizes IP visualization of the non-IP firewall, improves user experience, and facilitates user operation, observation and tracing. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flow chart of an IP self-learning method based on a non-IP firewall provided in an embodiment of the present application;
[0046] Figure 2 yes Figure 1 Flow chart of step S103 in FIG.
[0047] Figure 3 yes Figure 1 Flow chart of step S103 in FIG.
[0048] Figure 4 is a flow chart of a method for applying an embodiment of the present application to a non-IP firewall, a protected device, and a management center;
[0049] Figure 5 This is a schematic diagram of a status management page of a management center provided in an embodiment of the present application;
[0050] Figure 6 This is a schematic diagram of a deployment and launch page of a management center provided in an embodiment of the present application;
[0051] Figure 7 This is a schematic diagram of a batch deployment page of a management center provided in an embodiment of the present application;
[0052] Figure 8This is a schematic diagram of the IP management page of the management center provided in the embodiment of the present application;
[0053] Fig. 9 It is a structural diagram of an IP self-learning device based on a non-IP firewall provided in an embodiment of the present application;
[0054] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0058] First, some nouns involved in this application are analyzed:
[0059] IP self-learning: refers to the ability to automatically identify and configure IP addresses. In network devices and systems, IP self-learning is an important function that can automatically identify and configure the IP address information of the network interface, thereby simplifying the process of network management and configuration.
[0060] LAN intranet port: refers to the network interface used in a LAN. In a LAN, computers and devices are connected and communicated through Ethernet or other network protocols. An intranet port is an interface used to connect a computer or device to a LAN.
[0061] Physical address: An identifier used to uniquely identify a network device in a computer network.
[0062] Dynamic Host Configuration Protocol (DHCP): Usually used in large local area network environments, its main function is to centrally manage and allocate IP addresses, so that hosts in the network environment can dynamically obtain IP addresses, Gateway addresses, DNS server addresses and other information, and can improve the utilization rate of addresses.
[0063] At present, non-IP firewall is a relatively new network security technology. In the internal network of an enterprise, non-IP firewall can be used to achieve network isolation and security protection.
[0064] However, since the non-IP firewall itself does not have an IP and cannot use its own IP for communication, existing non-IP firewall communication is more difficult. When the non-IP firewall borrows other IP devices to communicate, if the IP of the borrowed device changes, the communication of the non-IP firewall cannot be carried out, which brings many difficulties to the use of the non-IP firewall.
[0065] Therefore, the above technical problems need to be solved urgently in the industry.
[0066] Based on this, the embodiments of the present application provide an IP self-learning method, device, electronic device and storage medium based on a non-IP firewall, aiming to realize real-time and dynamic IP self-learning of the non-IP firewall, solve the problem that the non-IP firewall cannot communicate when the IP of the borrowed device changes, enhance the robustness of the non-IP firewall communication, and improve the user experience.
[0067] The IP self-learning method, device, electronic device and storage medium based on no IP firewall provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the IP self-learning method based on no IP firewall in the embodiments of the present application is described.
[0068] The IP self-learning method based on no IP firewall provided in the embodiment of the present application relates to the field of equipment protection technology. The IP self-learning method based on no IP firewall provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the IP self-learning method based on no IP firewall, etc., but is not limited to the above forms.
[0069] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0070] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0071] Figure 1 is an optional flow chart of an IP self-learning method based on a non-IP firewall provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S103.
[0072] Step S101, when the non-IP firewall uses the current IP of the protected device to communicate, it is determined whether the non-IP firewall stores a first IP;
[0073] In some embodiments, when there is no IP firewall and communication with the outside world is needed, the current IP of the protected device needs to be used for communication.
[0074] In some embodiments, the no-IP firewall stores the first IP.
[0075] Specifically, the first IP is the IP of the protected device that was borrowed by the non-IP firewall during the last communication, that is, the historical IP of the protected device.
[0076] In some embodiments, the IP mode of the non-IP firewall can be set as needed, and the IP mode includes IP self-learning mode, configuration fixed IP mode, configuration physical address mode and multi-IP mode.
[0077] Among them, IP self-learning mode means that the non-IP firewall continuously and dynamically learns the IP of the protected device; configuring fixed IP mode means configuring the fixed IP of the protected device when the non-IP firewall is initialized; configuring physical address mode means configuring the physical address of the protected device in the non-IP firewall and learning the IP of the protected device based on the physical address; multi-IP mode means that the IP of multiple protected devices can be stored in the non-IP firewall, and the IP of multiple protected devices can be configured by itself or learned by the non-IP firewall.
[0078] Step S102, if the first IP is not stored in the non-IP firewall, the current IP of the protected device is obtained through dynamic learning of the network port in the local area network without the IP firewall;
[0079] In some embodiments, if the non-IP firewall does not store the first IP, the non-IP firewall dynamically learns the network port in the local area network to obtain the current IP of the protected device.
[0080] Step S103, if the first IP is stored in the non-IP firewall, determine whether the first IP is valid; if the determination result is that the first IP is invalid, dynamically learn the current IP of the protected device through the network port in the LAN without the IP firewall;
[0081] In some embodiments, if the first IP cannot communicate with the outside world, the current IP of the protected device is obtained by dynamically learning the network port in the local area network through the non-IP firewall.
[0082] Optionally, the present application does not specifically limit the method for determining whether the first IP is valid, and can be flexibly selected in combination with actual judgment needs. For example, it can be determined by using preset rules, clustering algorithms, or machine learning models such as binary classification models.
[0083] In some embodiments, whether the first IP is valid is determined by a judgment model, and the judgment model may adopt a machine learning model.
[0084] Among them, if the judgment result is that the first IP is invalid, the current IP of the protected device is obtained by dynamic learning through the network port in the LAN without an IP firewall, and it is determined whether the first IP is the same as the current IP of the protected device; if they are the same, the first IP is used as a positive sample that can connect to the management center for training and the judgment model is updated; if they are different, the current IP of the protected device is used as a positive sample that can connect to the management center for training and the judgment model is updated.
[0085] It can be understood that if the judgment result is that the first IP is valid, the first IP is used to connect to the management center; if the connection is successful, the first IP is used as a positive sample that can connect to the management center to train and update the judgment model; if the connection fails, the current IP of the protected device is obtained by dynamically learning the network port in the LAN without an IP firewall, and the first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model.
[0086] Optionally, dynamic learning may be performed by message analysis.
[0087] In some embodiments, if the first IP cannot communicate with the outside world or if the non-IP firewall does not store the first IP, the current IP of the protected device is obtained by the non-IP firewall through message analysis based on the physical address of the protected device.
[0088] Specifically, message analysis parses and examines network data packets to obtain the key information and features contained therein.
[0089] In some embodiments, obtaining the current IP address of the protected device through message analysis can be performed through the following steps:
[0090] Capture network packets: Use a network packet capture tool or the monitoring function on the non-IP firewall to capture packets related to the protected device in the network. These packets can be communication traffic from or to the protected device.
[0091] Parse the protocol header: Parse the captured data packets to obtain the source and destination address information. Usually, this information is recorded in the network layer or transport layer protocol header of the data packet.
[0092] Match device physical address: Match the source and destination addresses in each data packet with the physical address of the protected device. The physical address of the protected device is usually the MAC address of the device, which can be found in the device list or other configuration files.
[0093] Associate IP address: Once a packet associated with the protected device is found and the physical address is matched, the IP address in the packet can be extracted. Depending on the protocol header, the IP address may appear in the IPv4 or IPv6 field.
[0094] Verify IP addresses: To ensure accuracy, IP addresses extracted from multiple packets can be verified. This may include checking for duplicate IP addresses or comparing them to expected IP addresses in the device inventory.
[0095] It should be noted that successfully obtaining the current IP address of the protected device depends on multiple factors, including the scope of the packet capture, the network connection between the protected device and the packet analysis tool, etc. In addition, for encrypted or network address translation (NAT) traffic, it may be more difficult to obtain the IP address.
[0096] In summary, by analyzing the network data packets, the current IP address of the protected device can be extracted.
[0097] The present application does not specifically limit the network packet capture tool, and can be flexibly selected in combination with the actual packet capture needs. For example, the Wireshark packet capture tool can be used, and the Cisco ASA (Adaptive Security Appliance) packet capture tool can also be used.
[0098] Optionally, in order to increase the efficiency, automation and intelligence of the judgment, a judgment model may be used to assist in the judgment when judging whether the first IP can communicate with the outside world.
[0099] Specifically, the judgment model can be stored in the non-IP firewall and is used to judge whether the first IP can communicate with the outside world (ie, whether the first IP is valid).
[0100] In some embodiments, the present application does not specifically limit the number of current IP addresses of the protected device, and can be flexibly selected in combination with actual needs. For example, the current IP address of the protected device can be single or multiple.
[0101] It is understandable that the present application does not impose any specific limitation on the number of first IPs, and the number can be flexibly selected according to actual needs. For example, the first IP can be single or multiple.
[0102] In this embodiment, when the non-IP firewall borrows the current IP of the protected device to communicate, the non-IP firewall dynamically learns the network port in the LAN to obtain the current IP of the protected device, which simplifies the IP self-learning process of the non-IP firewall, solves the problem that the non-IP firewall cannot communicate when the IP of the borrowed device changes, and enhances the robustness of the non-IP firewall communication.
[0103] Step S104, saving the current IP of the protected device through the non-IP firewall, and sending the current IP of the protected device to the management center;
[0104] In some embodiments, the no-IP firewall saves the current IP of the protected device for subsequent use.
[0105] In some embodiments, the non-IP firewall sends the current IP address of the protected device to the management center. The management center obtains the real IP address of the protected device in real time, so as to perform corresponding management and monitoring operations. For example, the management personnel can remotely access the device through the management center, monitor its operating status, and handle security incidents in a timely manner.
[0106] In this embodiment, the current IP of the protected device is saved through the non-IP firewall and sent to the management center, which prepares for the subsequent communication of the non-IP firewall and lays the foundation for the visual display and management of the management center.
[0107] Step S105: In response to the first instruction, the current IP address of the protected device is displayed on the management center page.
[0108] Specifically, the current IP of the protected device includes an identifier for indicating a variable (ie, non-fixed) IP of the protected device.
[0109] In some embodiments, the present application does not specifically limit the first instruction, and can be flexibly selected in combination with actual needs. For example, the first instruction can be a display instruction for the deployment online page, a display instruction for the batch deployment page, or a display instruction for the IP management page.
[0110] In some embodiments, the present application does not specifically limit the identifier representing the variable protected device IP, and can be flexibly selected in combination with actual needs. For example, the identifier representing the variable protected device IP can be a highlighted color or brackets added before and after the protected device IP.
[0111] In some embodiments, in response to the second instruction, the current IP addresses of the plurality of protected devices are displayed on a deployment online page of the management center;
[0112] Specifically, the second instruction may be an instruction for displaying a deployment online page.
[0113] In some embodiments, in response to the third instruction, the current IP address of the protected device in the asset address area and the secondary IP address area on the batch deployment page of the management center is saved to the database of the management center.
[0114] Among them, the asset address area can only display the current IP of one protected device. If there are multiple current IPs of the protected devices, the current IPs of other protected devices except the current IP of the protected device displayed in the asset address area will be displayed in the secondary IP address area.
[0115] In this embodiment, in response to the third instruction, the current IP of the protected device in the asset address area and the secondary IP address area on the batch deployment page of the management center is saved to the database of the management center, and the current IP of multiple protected devices can be displayed, configured and saved.
[0116] Specifically, the third instruction may be an instruction for displaying a batch deployment page.
[0117] In some embodiments, in response to the fourth instruction, the current IP of the protected device is obtained from the database of the management center, and the multiple IP identifiers and the current IP of the protected device are displayed on the IP management page of the management center.
[0118] Specifically, the fourth instruction is an instruction for displaying the IP management page.
[0119] In this embodiment, in response to the first instruction, the current IP of the protected device is displayed on the management center page, and the IP learned by the non-IP firewall is displayed through the management center page, which facilitates real-time viewing and monitoring of the IP address of the protected device and improves the user experience.
[0120] In the steps S101 to S105 shown in the embodiment of the present application, when the non-IP firewall borrows the current IP of the protected device for communication, it is determined whether the non-IP firewall stores the first IP; if the non-IP firewall does not store the first IP, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall; if the non-IP firewall stores the first IP, it is determined whether the first IP is valid. If the judgment result is that the first IP is invalid, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall, which simplifies the IP self-learning process of the non-IP firewall; the current IP of the protected device is saved by the non-IP firewall, and the current IP of the protected device is sent to the management center; in response to the first instruction, the current IP of the protected device is displayed on the management center page, and the embodiment of the present application realizes the display management and monitoring of the IP learned by the non-IP firewall through the management center page, which improves the user experience. The embodiment of the present application can realize the real-time dynamic IP self-learning of the non-IP firewall, solves the problem that the non-IP firewall cannot communicate when the IP of the borrowed device changes, enhances the robustness of the communication of the non-IP firewall, realizes the IP visualization of the non-IP firewall, and improves the user experience.
[0121] See also Figure 2 In some embodiments, the determining whether the first IP is valid is specifically: determining whether the first IP is valid through a determination model; step S103 may include but is not limited to steps S201 to S205:
[0122] Step S201, judging whether the first IP can connect to the management center through a judgment model, if not, executing step S202;
[0123] Specifically, both the judgment model and the first IP may be stored in the non-IP firewall.
[0124] It should be noted that the connection management center is only one implementation method, which is used to verify whether the non-IP firewall can communicate through the first IP. This application does not specifically limit the communication verification method, which can be flexibly selected in combination with actual needs. For example, verification can be performed by connecting to the management center or by sending data to a fixed website.
[0125] In some embodiments, the present application does not specifically limit the judgment model, and it can be flexibly selected in combination with actual needs. For example, the judgment model can be a decision tree model, a neural network model, or a naive Bayes model.
[0126] In some embodiments, a judgment result is obtained according to a judgment model, and whether the first IP can connect to the management center is judged according to the judgment result.
[0127] Furthermore, the present application does not specifically limit the judgment result obtained by the judgment model, and can be flexibly selected in combination with actual needs. For example, the judgment result can be a clear yes or no, or a classification result, or the probability of each result.
[0128] For example, when it is necessary to determine whether a new first IP can connect to the management center, the saved neural network model can be used for prediction. By inputting the first IP into the model, the model will output a prediction result of the connection status. According to the output of the model, we can get a probability value or a direct classification result, indicating whether the first IP can connect to the management center. For example, the probability output of the model is 0.8, indicating an 80% probability of successful connection, or directly outputting a classification label of "connectable" or "unconnectable".
[0129] In this embodiment, judging whether the first IP can connect to the management center is based on the judgment model, which is conducive to automated decision-making, reduces unnecessary non-IP firewall communication tests, and improves the efficiency of non-IP firewall IP self-learning.
[0130] Step S202, using a non-IP firewall to dynamically learn the network port in the local area network to obtain the current IP address of the protected device;
[0131] In some embodiments, the current IP address of the protected device can also be obtained by means of message analysis based on the physical address of the protected device through a non-IP firewall.
[0132] In this embodiment, the current IP address of the protected device is obtained by dynamically learning the network port in the local area network without an IP firewall, so as to prepare for the subsequent judgment model training and updating.
[0133] Step S203, whether the first IP is the same as the current IP of the protected device, if so, execute S204; otherwise, directly execute step S205;
[0134] It is understandable that if the first IP is the same as the current IP of the protected device, it means that the first IP can also communicate, and the judgment result obtained by the judgment model is wrong. If the first IP is different from the current IP of the protected device, the current IP of the protected device must be able to communicate.
[0135] In this embodiment, whether the first IP is the same as the current IP of the protected device verifies whether the judgment result obtained by the judgment model is wrong, and prepares for the subsequent judgment model training and update.
[0136] Step S204, using the first IP as a positive sample that can connect to the management center to train a judgment model;
[0137] In some embodiments, if the judgment result obtained by the judgment model is wrong, the first IP is marked as a positive sample that can connect to the management center.
[0138] The quality and accuracy of sample annotations are very important for training neural networks. If the annotations are wrong or inaccurate, the training results will be unreliable.
[0139] During the training process, the neural network calculates the loss value using the loss function by comparing the difference between its predicted output and the sample annotation, and uses the back-propagation algorithm to update the network parameters so that the model can gradually approach or reach the desired output result.
[0140] In this embodiment, the first IP is used as a positive sample that can connect to the management center to train the judgment model, which can improve the judgment ability and accuracy of the judgment model and correct errors and deviations of the judgment model.
[0141] Step S205: The current IP address of the protected device is used as a positive sample for connecting to the management center to train a judgment model.
[0142] In some embodiments, if the judgment result obtained by the judgment model is correct, the current IP of the protected device is marked as a positive sample that can connect to the management center.
[0143] In some embodiments, the judgment model is trained by using the labeled current IP address of the device to be protected.
[0144] In this embodiment, the first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train the judgment model, which can improve the judgment ability and accuracy of the judgment model and correct the errors and deviations of the judgment model.
[0145] In steps S201 to S205 shown in the embodiment of the present application, a judgment model is used to judge whether the first IP can connect to the management center. If the judgment result is that the management center cannot be connected, the current IP of the protected device is obtained by dynamically learning the network port in the local area network through the non-IP firewall, and it is judged whether the first IP is the same as the current IP of the protected device. If they are the same, the first IP is used as a positive sample to train the judgment model for connecting to the management center. If they are different, the current IP of the protected device is used as a positive sample to train the judgment model for connecting to the management center. The embodiment of the present application simplifies the process of IP self-learning of the non-IP firewall. There is no need to first connect to the management center through the first IP, and then learn the current IP if the connection fails. Instead, it is judged through the judgment model, and the judgment model is continuously trained and updated, thereby improving the accuracy of the judgment model and accelerating the judgment efficiency.
[0146] See also Figure 3 In some embodiments, the determining whether the first IP is valid is specifically: determining whether the first IP is valid through a determination model; step S103 may include but is not limited to steps S301 to S305:
[0147] Step S301, judging whether the first IP can connect to the management center through the judgment model, if yes, executing step S302;
[0148] It should be noted that the connection management center is only one implementation method, which is used to verify whether the non-IP firewall can provide communication through the first IP. This application does not specifically limit the communication verification method, which can be flexibly selected according to actual needs. For example, verification can be performed by connecting to the management center or by sending data to a fixed website.
[0149] In some embodiments, the present application does not specifically limit the judgment model, and it can be flexibly selected in combination with actual needs. For example, the judgment model can be a decision tree model, a neural network model, or a naive Bayes model.
[0150] In some embodiments, a judgment result is obtained according to a judgment model, and whether the first IP can connect to the management center is judged according to the judgment result.
[0151] Furthermore, the present application does not specifically limit the judgment result obtained by the judgment model, and can be flexibly selected in combination with actual needs. For example, the judgment result can be a clear yes or no, or a classification result, or the probability of each result.
[0152] For example, when it is necessary to determine whether a new first IP can connect to the management center, the saved neural network model can be used for prediction. By inputting the first IP into the model, the model will output a prediction result of the connection status. According to the output of the model, we can get a probability value or a direct classification result, indicating whether the first IP can connect to the management center. For example, the probability output of the model is 0.8, indicating an 80% probability of successful connection, or directly outputting a classification label of "connectable" or "unconnectable".
[0153] In this embodiment, judging whether the first IP can connect to the management center is based on the judgment model, which is conducive to automated decision-making, reduces unnecessary non-IP firewall communication tests, and improves the efficiency of non-IP firewall IP self-learning.
[0154] Step S302, using a first IP connection management center;
[0155] Step S303, determining whether the first IP connection management center is successfully adopted;
[0156] It should be noted that the connection management center is only one implementation method, which is used to verify whether the non-IP firewall can communicate through the first IP. This application does not specifically limit the communication verification method, which can be flexibly selected in combination with actual needs. For example, verification can be performed by connecting to the management center or by sending data to a fixed website.
[0157] It can be understood that if the first IP is successfully connected to the management center, the judgment result obtained by the judgment model is correct and the first IP can connect to the management center; otherwise, the judgment result obtained by the judgment model is wrong and the first IP cannot connect to the management center.
[0158] Step S304, using the first IP as a positive sample that can connect to the management center to train a judgment model;
[0159] Specifically, the first IP is marked as a positive sample that can connect to the management center, and the marked first IP is used to train the judgment model.
[0160] In this embodiment, the first IP is used as a positive sample that can connect to the management center to train the judgment model, which can improve the judgment ability and accuracy of the judgment model and correct errors and deviations of the judgment model.
[0161] Step S305, dynamically learn the network port in the local area network through the non-IP firewall to obtain the current IP of the protected device, use the first IP as a negative sample that cannot connect to the management center, and use the current IP of the protected device as a positive sample that can connect to the management center to train the judgment model.
[0162] In some embodiments, the first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center. The labeled first IP and the current IP of the protected device are used to train the judgment model.
[0163] In some embodiments, the current IP address of the protected device is obtained by means of message analysis based on the physical address of the protected device through a non-IP firewall.
[0164] In this embodiment, the current IP of the protected device is obtained by dynamically learning the network port in the LAN through a non-IP firewall. The first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train the judgment model. This can improve the judgment ability and accuracy of the judgment model and correct errors and deviations in the judgment model.
[0165] In steps S301 to S305 shown in the embodiment of the present application, a judgment model is used to judge whether the first IP can connect to the management center. If the judgment result is that the management center can be connected, the first IP is used to connect to the management center, and it is judged whether the use of the first IP to connect to the management center is successful. If successful, the first IP is used as a positive sample for connecting to the management center to train the judgment model. If it fails, the current IP of the protected device is obtained by dynamic learning of the network port in the local area network through the IP-free firewall, and the first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample for connecting to the management center to train the judgment model. The embodiment of the present application judges whether the first IP can connect to the management center through the judgment model, and continuously trains and updates the judgment model, thereby improving the accuracy of the judgment model and accelerating the judgment efficiency.
[0166] See also Figure 4 In some embodiments, when the method of the present application is applied to the non-IP firewall 402, the protected device 403 and the management center 401, the method may include but is not limited to the following steps:
[0167] When the non-IP firewall 402 uses the IP of the protected device 403 for communication, the IP of the protected device 403 is obtained by the non-IP firewall 402 through dynamic learning of the network port in the LAN. The protected device 403 is deployed behind the non-IP firewall 402.
[0168] Obtaining the first IP and the judgment model from the non-IP firewall 402, and judging whether the first IP can connect to the management center 401 according to the judgment model;
[0169] If the judgment result is that the first IP cannot connect to the management center 401, the IP of the protected device 403 is obtained by dynamic learning of the network port in the local area network through the non-IP firewall 402, and it is judged whether the first IP and the IP of the protected device 403 are the same; if they are the same, the first IP is used as a positive sample training judgment model that can connect to the management center 401; if they are different, the IP of the protected device 403 is used as a positive sample training judgment model that can connect to the management center 401;
[0170] If the judgment result is that the first IP can connect to the management center 401, the first IP is used to connect to the management center 401; if the connection is successful, the first IP is used as a positive sample to train the judgment model that can connect to the management center 401; if the connection fails, the IP of the protected device 403 is obtained by dynamically learning the network port in the local area network through the non-IP firewall 402, and the first IP is used as a negative sample that cannot connect to the management center 401, and the IP of the protected device 403 is used as a positive sample to train the judgment model that can connect to the management center 401;
[0171] The IP of the protected device 403 is saved through the non-IP firewall 402, and the IP of the protected device 403 is sent to the management center 401;
[0172] In response to the first instruction, the IP of the protected device 403 is displayed on the page of the management center 401, and the IP of the protected device 403 includes an identifier for indicating the variable IP of the protected device 403;
[0173] For example, Figure 5 As shown, the IP of the protected device 403 is displayed on the status management page of the management center 401, wherein [] is used to identify the current IP of the variable protected device obtained through self-learning.
[0174] In response to the second instruction, the IP address of the protected device 403 is displayed on the deployment and online page of the management center 401;
[0175] For example, Figure 6 As shown, the IP address of the protected device 403 is displayed on the deployment and online page of the management center 401;
[0176] In response to the third instruction, the IP address of the protected device 403 in the asset address area on the batch deployment page of the management center 401 is saved to the database of the management center 401;
[0177] For example, Figure 7As shown, the IP address of the protected device 403 is displayed in the asset address area on the batch deployment page of the management center 401 .
[0178] In response to the fourth instruction, multiple IPs of the protected device 403 are obtained from the database of the management center 401 , and the corresponding multiple IP identifiers and the current IP of the protected device 403 are displayed on the IP management page of the management center 401 .
[0179] For example, Figure 8 As shown, the IP management page of the management center 401 displays multiple IP identifiers and the current IP of the protected device 403 .
[0180] See also Fig. 9 The embodiment of the present application also provides an IP self-learning device based on no IP firewall, which can implement the above-mentioned IP self-learning method based on no IP firewall, and the device includes:
[0181] The first IP acquisition module 901 is used to determine whether the first IP is stored in the non-IP firewall when the non-IP firewall borrows the current IP of the protected device for communication. The first IP is the IP of the protected device that was borrowed by the non-IP firewall last time. The protected device is deployed behind the non-IP firewall.
[0182] Dynamic learning module 902, used for dynamically learning the current IP of the protected device through the network port in the local area network without the IP firewall if the first IP is not stored in the IP firewall;
[0183] The judgment module 903 is used to judge whether the first IP is valid if the first IP is stored in the non-IP firewall. If the judgment result is that the first IP is invalid, the current IP of the protected device is obtained through dynamic learning of the network port in the local area network without the IP firewall;
[0184] A saving module 904 is used to save the current IP of the protected device through the non-IP firewall and send the current IP of the protected device to the management center;
[0185] The display module 905 is used to display the current IP of the protected device on the management center page in response to the first instruction, where the current IP of the protected device includes an identifier for indicating a variable IP of the protected device.
[0186] The specific implementation of the IP self-learning device based on no IP firewall is basically the same as the specific implementation of the above-mentioned IP self-learning method based on no IP firewall, and will not be repeated here.
[0187] The contents of the method embodiments of the present invention are all applicable to the device embodiments. The functions specifically implemented by the device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0188] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned IP self-learning method based on no IP firewall when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0189] The contents of the method embodiments of the present invention are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0190] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0191] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0192] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the IP self-learning method based on the non-IP firewall in the embodiment of the present application;
[0193] Input / output interface 1003, used to implement information input and output;
[0194] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0195] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0196] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0197] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned IP self-learning method based on no IP firewall.
[0198] The contents of the method embodiments of the present invention are all applicable to the storage medium embodiments. The functions specifically implemented by the storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0199] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0200] The IP self-learning method, device, electronic device and storage medium based on the non-IP firewall provided in the embodiment of the present application determine whether a first IP is stored in the non-IP firewall when the non-IP firewall uses the current IP of the protected device to communicate; if the first IP is not stored in the non-IP firewall, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall; if the first IP is stored in the non-IP firewall, determine whether the first IP is valid; if the judgment result is that the first IP is invalid, the current IP of the protected device is obtained by dynamic learning through the network port in the local area network of the non-IP firewall, thereby simplifying the IP self-learning process of the non-IP firewall; the current IP of the protected device is saved by the non-IP firewall, and the current IP of the protected device is sent to the management center; in response to the first instruction, the current IP of the protected device is displayed on the management center page, and the embodiment of the present application realizes the display management and monitoring of the IP learned by the non-IP firewall through the management center page, thereby improving the user experience. The embodiment of the present application can realize real-time dynamic IP self-learning of the non-IP firewall, solve the problem that the non-IP firewall cannot communicate when the IP of the borrowed device changes, enhance the robustness of the non-IP firewall communication, realize IP visualization of the non-IP firewall, and improve the user experience.
[0201] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0202] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0203] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0204] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0205] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0206] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0207] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0208] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0209] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0210] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0211] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. An IP self-learning method based on no IP firewall, It is characterized in that The method comprises: When the non-IP firewall borrows the current IP of the protected device for communication, it is determined whether the non-IP firewall stores a first IP, the first IP being the IP of the protected device borrowed last by the non-IP firewall, and the protected device is deployed behind the non-IP firewall; If the first IP is not stored in the non-IP firewall, dynamically learn the current IP of the protected device through the network port in the local area network of the non-IP firewall; If the first IP is stored in the non-IP firewall, determine whether the first IP is valid; if the determination result is that the first IP is invalid, dynamically learn the current IP of the protected device through the network port in the LAN of the non-IP firewall; The current IP address of the protected device is saved through the non-IP firewall, and the current IP address of the protected device is sent to the management center; In response to the first instruction, displaying the current IP address of the protected device on the management center page, wherein the current IP address of the protected device includes an identifier for indicating a variable IP address of the protected device; The method further comprises at least one of the following: Determine whether the first IP is the same as the current IP of the protected device; or, If the judgment result is that the first IP is valid, judging whether the connection to the management center using the first IP is successful; Determining whether the first IP is valid specifically includes: determining whether the first IP is valid through a determination model; and determining whether the first IP is the same as the current IP of the protected device, including: If they are the same, the first IP is used as a positive sample that can connect to the management center, and the judgment model is trained and updated; If they are different, the current IP address of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model; Determining whether the first IP is valid specifically includes: determining whether the first IP is valid through a determination model; if the determination result is that the first IP is valid, determining whether the connection to the management center using the first IP is successful, including: If the connection is successful, the first IP is used as a positive sample that can connect to the management center to train and update the judgment model; If the connection fails, the current IP of the protected device is dynamically learned through the network port in the local area network without an IP firewall. The first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model.
2. The method according to claim 1, It is characterized in that The method further comprises: The IP mode of the non-IP firewall is set, and the IP mode includes IP self-learning mode, configuration fixed IP mode, configuration physical address mode and multi-IP mode.
3. The method according to claim 1, It is characterized in that The displaying, in response to the first instruction, the current IP address of the protected device on the management center page comprises: In response to the first instruction, obtaining the physical address of the non-IP firewall, the current IP address of the protected device, the deployment time of the non-IP firewall, and the status of the non-IP firewall from the database of the management center; The physical address of the non-IP firewall, the current IP of the protected device, the deployment time of the non-IP firewall and the status of the non-IP firewall are displayed on the status management page of the management center.
4. The method according to claim 1, It is characterized in that The management center page includes a deployment online page, a batch deployment page and an IP management page. The batch deployment page includes an asset address area. After the non-IP firewall dynamically learns the network port in the local area network to obtain the current IP addresses of multiple protected devices, the method further includes: In response to the second instruction, displaying the current IP address of the protected device on the deployment online page; In response to a third instruction, saving the current IP address of the protected device in the asset address area to a database of the management center; In response to the fourth instruction, multiple current IPs of the protected device are obtained from the database of the management center, and corresponding multiple IP identifiers and the current IPs of the protected device are displayed on the IP management page.
5. An IP self-learning device based on no IP firewall, It is characterized in that The device comprises: A first IP acquisition module is used to determine whether a first IP is stored in the non-IP firewall when the non-IP firewall borrows the current IP of the protected device for communication, the first IP being the IP of the protected device that was borrowed last by the non-IP firewall, and the protected device is deployed behind the non-IP firewall; A dynamic learning module, used for dynamically learning the current IP of the protected device through the network port in the local area network of the non-IP firewall if the first IP is not stored in the non-IP firewall; A judgment module, configured to judge whether the first IP is valid if the first IP is stored in the non-IP firewall, and if the judgment result is that the first IP is invalid, dynamically learn the current IP of the protected device through the network port in the local area network of the non-IP firewall; A saving module, used to save the current IP of the protected device through the non-IP firewall, and send the current IP of the protected device to the management center; A display module, configured to display the current IP address of the protected device on the management center page in response to the first instruction, wherein the current IP address of the protected device includes an identifier for indicating a variable IP address of the protected device; The device is also used for at least one of the following: Determine whether the first IP is the same as the current IP of the protected device; or, If the judgment result is that the first IP is valid, judging whether the connection to the management center using the first IP is successful; Determining whether the first IP is valid specifically includes: determining whether the first IP is valid through a determination model; and determining whether the first IP is the same as the current IP of the protected device, including: If they are the same, the first IP is used as a positive sample that can connect to the management center, and the judgment model is trained and updated; If they are different, the current IP address of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model; Determining whether the first IP is valid specifically includes: determining whether the first IP is valid through a determination model; if the determination result is that the first IP is valid, determining whether the connection to the management center using the first IP is successful, including: If the connection is successful, the first IP is used as a positive sample that can connect to the management center to train and update the judgment model; If the connection fails, the current IP of the protected device is dynamically learned through the network port in the local area network without an IP firewall. The first IP is used as a negative sample that cannot connect to the management center, and the current IP of the protected device is used as a positive sample that can connect to the management center to train and update the judgment model.
6. An electronic device, It is characterized in that The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the IP self-learning method based on a non-IP firewall as described in any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the IP self-learning method based on no IP firewall according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Rapid deployment management method for IP-free firewall
CN113810361A
Methods, systems, and media for modifying firewalls based on dynamic IP addresses
US20190081927A1
