A method for dynamically hiding network interface

Through the multi-level verification and dynamic interface adjustment of SDP technology, the problem of the risk of legitimate user IP address theft is solved, and network invisibility and security are improved.

CN116318912BActive Publication Date: 2024-09-13HUANENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310187016.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-13
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

In the existing technology, there is a risk of theft of the IP address of a legitimate user, which makes the verification process risky and cannot effectively reduce the network attack surface.

Method used

Through SDP technology, it receives the client's verification request packet, performs multi-level verification, including comparison of IP address, MAC address, device serial number and digital certificate, and dynamically adjusts the opening time of the network interface based on the verification results and trust level to ensure Authentication security for legitimate users.

Benefits of technology

It achieves network invisibility, reduces the network attack surface, avoids the risk of legitimate user IP addresses being stolen, and improves the security of network interface connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116318912B
    Figure CN116318912B
Patent Text Reader

Abstract

The present invention relates to the field of computer technology, and in particular to a method for dynamically hiding a network interface, comprising: receiving a verification request data packet sent by an SDP client; the verification request data packet comprises: a source IP address, a source MAC address, a device serial number and a digital certificate of the SDP client; an SDP controller performs verification based on the verification request data packet, discards the data packet and does not respond if the verification fails, and judges the trust level of the SDP client based on access information recorded inside the SDP controller if the verification passes, and determines the dynamic opening duration of the network interface based on the trust level. The present invention verifies the legitimate identity of the SDP client user based on the SDP technology, opens the network interface if the verification passes, discards the verification request data packet and does not respond if the verification fails, thereby realizing network stealth and reducing the network attack surface, and at the same time, avoiding the risk of the IP address of the legitimate user SDP client being stolen, thereby improving the security during the network interface connection process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method for dynamically hiding a network interface. Background Art

[0002] At present, in order to adapt to the complexity and continuous development of enterprise office systems, more and more companies at home and abroad have begun to pay attention to the construction of enterprise Internet office technology platforms. "Zero Trust" technology is centered on identity authentication and the principle of minimizing authorization. Through multi-dimensional dynamic trust authorization and continuous trust evaluation, it uses software to define boundaries. Combined with its comprehensive and flexible network access strategies and security strategies, it can effectively reduce network security risks, and does not expose any TCP ports to the outside world, avoiding attacks caused by vulnerabilities in the network protocol itself, thereby effectively reducing Internet exposure and effectively protecting network communications and business access. By combining with the group office system, it can not only improve the work efficiency and data security of remote office, but also reduce the research and development costs and security risks of the group office system.

[0003] SDP technology is one of the best technical frameworks for implementing the concept of zero trust. It can reduce the attack surface to a minimum, or even completely eliminate the exposure of ports, thus achieving a "zero" attack surface. A website needs to map ports to the Internet before it can be accessed by external users. SDP can make a website map ports only to legitimate users, and not to illegitimate users.

[0004] In the process of verifying legitimate users, the verification of the client IP address is mainly relied on, but the IP address has the risk of being stolen, so a dynamic hidden network interface method is urgently needed to solve the above problem. Summary of the invention

[0005] In view of this, the present invention proposes a method for dynamically hiding a network interface, mainly to solve the problem in the prior art that the IP address of a legitimate user has the risk of being misappropriated, thereby causing the authentication process of the legitimate user to have risks.

[0006] In one aspect, the present invention provides a method for dynamically hiding a network interface, the method comprising:

[0007] Receive the verification request data packet sent by the SDP client;

[0008] The verification request packet includes: the source IP address, source MAC address, device serial number and digital certificate of the SDP client;

[0009] The SDP controller performs verification based on the verification request data packet. If the verification fails, the data packet is discarded and no response is given. If the verification passes, the trust level of the SDP client is determined based on the access information recorded inside the SDP controller, and the dynamic opening time of the network interface is determined based on the trust level.

[0010] Obtain the number of visits H and the total visit duration L of the source IP address pre-stored in the SDP controller, pre-set a first preset access duration L1, a second preset access duration L2, a third preset access duration L3, and a fourth preset access duration L4, and L1>L2>L3>L4; pre-set a first preset adjustment coefficient l1, a second preset adjustment coefficient l2, a third preset adjustment coefficient l3, and a fourth preset adjustment coefficient l4, and 1.2>l1>l2>1>l3>l4>0.8;

[0011] When L2≤L<L1, the first preset adjustment coefficient l1 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l1;

[0012] When L3≤L<L2, the second preset adjustment coefficient l2 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l2;

[0013] When L4≤L<L3, the third preset adjustment coefficient l3 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l3;

[0014] When L<L4, the fourth preset adjustment coefficient l4 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l4.

[0015] In some embodiments of the present application, when the SDP controller performs verification based on the verification request data packet, a first verification is included, specifically including:

[0016] Extract the source IP address information of the SDP client and compare it with the trusted IP address list pre-stored in the SDP controller. If there is consistent IP address information, the verification passes. If there is no consistent IP address information, the verification fails, and the verification request data packet is discarded without responding.

[0017] In some embodiments of the present application, after the first verification is passed, a second verification is also included, specifically including:

[0018] Extract the source MAC address information of the SDP client and compare it carefully with the trusted MAC address list pre-stored in the SDP controller. If there is consistent MAC address information, the verification passes. If there is no consistent MAC address information, the verification fails, and the verification request data packet is discarded without responding.

[0019] In some embodiments of the present application, after the second verification is passed, a third verification is also included, specifically including:

[0020] Based on the SDP controller, the ARP correspondence table is obtained to compare whether there is a correspondence between the source IP address and the source MAC address. If there is a correspondence, the verification passes. If there is no correspondence, the verification fails, the verification request data packet is discarded and no response is given.

[0021] In some embodiments of the present application, after the third verification is passed, a fourth verification is also included, which specifically includes:

[0022] Extract the device serial number from the SDP client and compare it with the trusted device information list pre-stored in the SDP controller. If there is consistent device information, the verification passes. If there is no consistent device information, the verification fails, the verification request data packet is discarded and no response is given.

[0023] In some embodiments of the present application, after the third verification is passed, a fourth verification is also included, which specifically includes:

[0024] The user identity information extracted from the digital certificate is compared with the user identity information list pre-stored in the SDP controller. If there is consistent identity information, the verification is successful. If there is no consistent identity information, the verification fails, the verification request data packet is discarded and no response is given.

[0025] In some embodiments of the present application, after the fourth verification is passed, a fifth verification is also included, which specifically includes:

[0026] Based on the corresponding information list of user identity information and source IP address pre-stored in the SDP controller, the user identity information and source IP address information extracted from the verification request data packet are compared. If there is a corresponding relationship, the verification passes the open network interface. If there is no corresponding relationship, the verification fails, the verification request data packet is discarded and no response is given.

[0027] In some embodiments of the present application, after selecting the i-th preset adjustment coefficient li to adjust the number of visits H of the source IP address, i=1, 2, 3, 4, and obtaining the adjusted number of visits H*li, the following is further included:

[0028] The SDP controller records the access time T0 of the source IP address in the verification request data packet, retrieves the access time period of the source IP address requested for verification from the pre-stored access time period record table of each IP address, obtains the time difference T between T0 and the closest time in the access time period, pre-sets a first preset time difference T1, a second preset time difference T2, a third preset time difference T3, and a fourth preset time difference T4, and T1<T2<T3<T4; pre-sets a first preset adjustment coefficient t1, a second preset adjustment coefficient t2, a third preset adjustment coefficient t3, and a fourth preset adjustment coefficient t4, and 1.2>t1>t2>1>t3>t4>0.8;

[0029] When T1≤T<T2, the first preset adjustment coefficient t1 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t1;

[0030] When T2≤T<T3, the second preset adjustment coefficient t2 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t2;

[0031] When T3≤T<T4, the third preset adjustment coefficient t3 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t3;

[0032] When T4≤T, the fourth preset adjustment coefficient t4 is selected to perform a second adjustment on the adjusted number of visits H*li, and the second adjusted number of visits is H*li*t4.

[0033] In some embodiments of the present application, after selecting the i-th preset adjustment coefficient ti to perform a secondary adjustment on the adjusted number of accesses H*li, i=1, 2, 3, 4, and obtaining the secondarily adjusted number of accesses H*li*ti, the following further includes:

[0034] A first preset access number H1, a second preset access number H2, a third preset access number H3, and a fourth preset access number H4 are preset, and H1>H2>H3>H4; a first preset trust level X1, a second preset trust level X2, a third preset trust level X3, and a fourth preset trust level X4 are preset, and X1>X2>X3>X4;

[0035] When H2≤H

[0036] When H3≤H<H2, selecting the second preset trust level X2 as the trust level of the SDP client;​

[0037] When H4≤H<H3, the third preset trust level X3 is selected as the trust level of the SDP client;

[0038] When H<H4, the third preset trust level X3 is selected as the trust level of the SDP client.

[0039] In some embodiments of the present application, when Xi is selected as the trusted level of the SDP client, i=1, 2, 3, 4, it also includes:

[0040] A first preset adjustment coefficient n1, a second preset adjustment coefficient n2, a third preset adjustment coefficient n3, and a fourth preset adjustment coefficient n4 are preset, and 1.2>n1>n2>1>n3>n4>0.8;

[0041] When Xi=X1, the first preset adjustment coefficient n1 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n1;

[0042] When Xi=X2, the second preset adjustment coefficient n2 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n2;

[0043] When Xi=X3, the third preset adjustment coefficient n3 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n3;

[0044] When Xi=X4, the fourth preset adjustment coefficient n4 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n4;

[0045] After selecting the i-th preset adjustment coefficient ni to adjust the open duration N of the network interface, i=1, 2, 3, 4, the adjusted open duration N*ni is used as the final open duration.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] By verifying the legitimate identity of the SDP client user based on SDP technology, the network interface is opened if the verification is passed, and the verification request data packet is discarded without response if the verification fails, so as to achieve network invisibility and reduce the network attack surface;

[0048] Furthermore, in this embodiment, the source IP address, MAC address, the correspondence between the source IP address and the MAC address, the device serial number, the user identity information in the digital certificate, and the correspondence between the user identity information and the IP address in the verification request data packet sent by the SDP client are verified one by one to ensure the security of the identity authentication of the legitimate user. At the same time, the verification based on the correspondence between the source IP address and the MAC address and the verification based on the correspondence between the user identity information and the IP address avoids the risk of the IP address of the legitimate user SDP client being stolen.

[0049] Furthermore, in this embodiment, the open time of the network interface is dynamically adjusted based on the trusted level of the IP address of the SDP client of the verified legitimate user, thereby reducing the risk of the SDP client during the access connection process, thereby improving the security of the network interface connection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. In the accompanying drawings:

[0051] Figure 1 A flowchart of a method for dynamically hiding a network interface provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0053] See also Figure 1 As shown, this embodiment provides a client data security management method of a video conferencing system, including:

[0054] Step S100: receiving a verification request data packet sent by the SDP client;

[0055] Step S200: The SDP controller performs verification based on the verification request data packet;

[0056] Step S300: If the verification fails, the data packet is discarded and no response is given; if the verification passes, the trust level of the SDP client is determined based on the access information recorded inside the SDP controller;

[0057] Step S400: Determine the dynamic opening duration of the network interface based on the trust level;

[0058] Obtain the number of visits H and the total visit duration L of the source IP address pre-stored in the SDP controller, pre-set a first preset access duration L1, a second preset access duration L2, a third preset access duration L3, and a fourth preset access duration L4, and L1>L2>L3>L4; pre-set a first preset adjustment coefficient l1, a second preset adjustment coefficient l2, a third preset adjustment coefficient l3, and a fourth preset adjustment coefficient l4, and 1.2>l1>l2>1>l3>l4>0.8;

[0059] When L2≤L<L1, the first preset adjustment coefficient l1 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l1;

[0060] When L3≤L<L2, the second preset adjustment coefficient l2 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l2;

[0061] When L4≤L<L3, the third preset adjustment coefficient l3 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l3;

[0062] When L<L4, the fourth preset adjustment coefficient l4 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l4.

[0063] Specifically, the verification request data packet includes: the source IP address of the SDP client, the source MAC address, the device serial number and the digital certificate information.

[0064] It can be seen that this embodiment reasonably adjusts the verification method for the legitimate user identity of the SDP client based on the SDP technology, opens the network interface to the verified legitimate SDP client users, and judges the trust level of the verified legitimate SDP client users, thereby determining the dynamic opening time of the network interface and reducing security risks during identity authentication and network connection.

[0065] In a specific embodiment of the present application, when the SDP controller performs verification based on the verification request data packet, it includes a first verification, specifically including:

[0066] Extract the source IP address information of the SDP client and compare it with the trusted IP address list pre-stored in the SDP controller. If there is consistent IP address information, the verification passes. If there is no consistent IP address information, the verification fails, and the verification request data packet is discarded without responding.

[0067] In some embodiments of the present application, after the first verification is passed, a second verification is also included, specifically including:

[0068] Extract the source MAC address information of the SDP client and compare it carefully with the trusted MAC address list pre-stored in the SDP controller. If there is consistent MAC address information, the verification passes. If there is no consistent MAC address information, the verification fails, and the verification request data packet is discarded without responding.

[0069] In a specific embodiment of the present application, after the second verification is passed, a third verification is also included, which specifically includes:

[0070] Based on the SDP controller, the ARP correspondence table is obtained to compare whether there is a correspondence between the source IP address and the source MAC address. If there is a correspondence, the verification passes. If there is no correspondence, the verification fails, the verification request data packet is discarded and no response is given.

[0071] It can be seen that in this embodiment, the source IP address and MAC address of the SDP client are verified, and after both are verified, the corresponding relationship between the IP address and the MAC address is verified, thereby avoiding the risk of the client IP being stolen, thereby ensuring the security of the verification process.

[0072] In a specific embodiment of the present application, after the third verification is passed, a fourth verification is also included, which specifically includes:

[0073] Extract the device serial number from the SDP client and compare it with the trusted device information list pre-stored in the SDP controller. If there is consistent device information, the verification passes. If there is no consistent device information, the verification fails, the verification request data packet is discarded and no response is given.

[0074] It can be seen that in this embodiment, the security of legitimate user identity authentication is further guaranteed by verifying the device serial number of the SDP client. At the same time, the device serial number in this embodiment can be a machine code, and any device serial number that can verify the device identity can be selected, and this embodiment does not make specific limitations.

[0075] In a specific embodiment of the present application, after the third verification is passed, a fourth verification is also included, which specifically includes:

[0076] The user identity information extracted from the digital certificate is compared with the user identity information list pre-stored in the SDP controller. If there is consistent identity information, the verification is successful. If there is no consistent identity information, the verification fails, the verification request data packet is discarded and no response is given.

[0077] In a specific embodiment of the present application, after the fourth verification is passed, a fifth verification is also included, which specifically includes:

[0078] Based on the corresponding information list of user identity information and source IP address pre-stored in the SDP controller, the user identity information and source IP address information extracted from the verification request data packet are compared. If there is a corresponding relationship, the verification passes the open network interface. If there is no corresponding relationship, the verification fails, the verification request data packet is discarded and no response is given.

[0079] It can be seen that in this embodiment, the user identity information in the digital certificate is compared with the trusted user identity information list pre-stored in the SDP controller to complete the authentication of the user's actual identity. At the same time, the correspondence between the source IP address and the user identity obtained in the verification process is verified based on the corresponding information list of the user identity information and the source IP address pre-stored in the SDP controller. If the verification is successful, the SDP client user is a legitimate user, and there is no interaction with the SDP client to verify the security of the digital certificate, thereby making the network interface invisible during the scanning process, reducing the network attack surface while avoiding the risk of both the IP address and the MAC address being stolen.

[0080] Furthermore, in the present embodiment, during the SDP client verification process, no response will be given to the SDP client if each verification step is passed, thereby ensuring the invisibility of the network interface during the connection verification process and further improving the security of the network interface.

[0081] In a specific embodiment of the present application, after selecting the i-th preset adjustment coefficient li to adjust the number of visits H of the source IP address, i=1, 2, 3, 4, and obtaining the adjusted number of visits H*li, it also includes:

[0082] The SDP controller records the access time T0 of the source IP address in the verification request data packet, retrieves the access time period of the source IP address requested for verification from the pre-stored access time period record table of each IP address, obtains the time difference T between T0 and the closest time in the access time period, pre-sets a first preset time difference T1, a second preset time difference T2, a third preset time difference T3, and a fourth preset time difference T4, and T1<T2<T3<T4; pre-sets a first preset adjustment coefficient t1, a second preset adjustment coefficient t2, a third preset adjustment coefficient t3, and a fourth preset adjustment coefficient t4, and 1.2>t1>t2>1>t3>t4>0.8;

[0083] When T1≤T<T2, the first preset adjustment coefficient t1 is selected to perform a secondary adjustment on the adjusted access number H*li, and the secondary adjusted access number is obtained as H*li*t1;

[0084] When T2≤T<T3, the second preset adjustment coefficient t2 is selected to perform a second adjustment on the adjusted access number H*li, and the second adjusted access number is obtained as H*li*t2;

[0085] When T3≤T<T4, the third preset adjustment coefficient t3 is selected to perform a secondary adjustment on the adjusted access number H*li, and the secondary adjusted access number is obtained as H*li*t3;

[0086] When T4≤T, the fourth preset adjustment coefficient t4 is selected to perform a second adjustment on the adjusted number of visits H*li, and the second adjusted number of visits is obtained as H*li*t4.

[0087] In a specific embodiment of the present application, after selecting the i-th preset adjustment coefficient ti to perform secondary adjustment on the adjusted number of visits H*li, i=1, 2, 3, 4, and obtaining the secondarily adjusted number of visits H*li*ti, the following is further included:

[0088] A first preset access number H1, a second preset access number H2, a third preset access number H3, and a fourth preset access number H4 are preset, and H1>H2>H3>H4; a first preset trust level X1, a second preset trust level X2, a third preset trust level X3, and a fourth preset trust level X4 are preset, and X1>X2>X3>X4;

[0089] When H2≤H

[0090] When H3≤H<H2, selecting the second preset trust level X2 as the trust level of the SDP client; ​

[0091] When H4≤H<H3, the third preset trust level X3 is selected as the trust level of the SDP client;

[0092] When H<H4, the third preset trust level X3 is selected as the trust level of the SDP client.

[0093] It can be seen that in this embodiment, the total access time and the number of accesses of the source IP address of the legitimate user of the SDP client are obtained, and the number of accesses is adjusted according to the length of the total access time. The longer the access time, the lower the risk factor. A larger adjustment coefficient is selected to increase the number of accesses. At the same time, the number of accesses during the main access period of the source IP address is obtained, and the time difference between the current login time and the main access period is compared. A large time difference represents a high risk factor, and a smaller adjustment coefficient is selected to reduce the number of accesses. The adjusted number of accesses is compared with the preset number of accesses. A large number of accesses means a small risk, and a higher trust level is selected, thereby dynamically matching the trust level for the legitimate users accessed by the SDP client.

[0094] In a specific embodiment of the present application, when Xi is selected as the trusted level of the SDP client, i=1, 2, 3, 4, it also includes:

[0095] A first preset adjustment coefficient n1, a second preset adjustment coefficient n2, a third preset adjustment coefficient n3, and a fourth preset adjustment coefficient n4 are preset, and 1.2>n1>n2>1>n3>n4>0.8;

[0096] When Xi=X1, the first preset adjustment coefficient n1 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n1;

[0097] When Xi=X2, the second preset adjustment coefficient n2 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n2;

[0098] When Xi=X3, the third preset adjustment coefficient n3 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n3;

[0099] When Xi=X4, the fourth preset adjustment coefficient n4 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n4;

[0100] After selecting the i-th preset adjustment coefficient ni to adjust the open duration N of the network interface, i=1, 2, 3, 4, the adjusted open duration N*ni is used as the final open duration.

[0101] It can be seen that in this embodiment, the open time of the network interface is adjusted by the trust level. If the trust level is high, the risk of the network interface connection during the communication process is relatively small, so the open time of the network interface can be appropriately extended. If the trust level is low, the risk of the network interface during the communication process is relatively high, so the open time of the network interface can be appropriately shortened. The open time of the network interface is dynamically adjusted, which further reduces the security of the network interface during the connection and communication process.

[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0104] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for dynamically hiding a network interface, characterized in that: include: Receive the verification request data packet sent by the SDP client; The verification request data packet includes: the source IP address, source MAC address, device serial number and digital certificate of the SDP client; The SDP controller performs verification based on the verification request data packet. If the verification fails, the SDP controller discards the data packet without responding. If the verification passes, the SDP controller determines the trust level of the SDP client based on the access information recorded inside the SDP controller, and determines the dynamic opening time of the network interface based on the trust level. Obtain the number of visits H and the total visit duration L of the source IP address pre-stored in the SDP controller, pre-set a first preset access duration L1, a second preset access duration L2, a third preset access duration L3, and a fourth preset access duration L4, and L1>L2>L3>L4; pre-set a first preset adjustment coefficient l1, a second preset adjustment coefficient l2, a third preset adjustment coefficient l3, and a fourth preset adjustment coefficient l4, and 1.2>l1>l2>1>l3>l4>0.8; When L2≤L<L1, the first preset adjustment coefficient l1 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l1; When L3≤L<L2, the second preset adjustment coefficient l2 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l2; When L4≤L<L3, the third preset adjustment coefficient l3 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l3; When L<L4, the fourth preset adjustment coefficient l4 is selected to adjust the number of visits H of the source IP address, and the adjusted open time is H*l4.

2. The method for dynamically hiding a network interface according to claim 1, characterized in that: When the SDP controller performs verification based on the verification request data packet, a first verification is included, specifically including: The source IP address information of the SDP client is extracted and compared with the trusted IP address list pre-stored in the SDP controller. If there is consistent IP address information, the verification is passed. If there is no consistent IP address information, the verification fails, and the verification request data packet is discarded without responding.

3. The method for dynamically hiding a network interface according to claim 2, characterized in that: After the first verification is passed, a second verification is also included, which specifically includes: The source MAC address information of the SDP client is extracted and compared with the trusted MAC address list pre-stored in the SDP controller. If there is consistent MAC address information, the verification is passed; if there is no consistent MAC address information, the verification fails, and the verification request data packet is discarded without responding.

4. The method for dynamically hiding a network interface according to claim 3, characterized in that: After the second verification is passed, a third verification is also included, which specifically includes: Based on the SDP controller, the ARP correspondence table is obtained to compare whether there is a correspondence between the source IP address and the source MAC address. If there is a correspondence, the verification is successful. If there is no correspondence, the verification fails, the verification request data packet is discarded and no response is given.

5. The method for dynamically hiding a network interface according to claim 4, characterized in that: After the third verification is passed, a fourth verification is also included, which specifically includes: Extract the device serial number in the SDP client, and compare it with the trusted device information list pre-stored in the SDP controller. If there is consistent device information, the verification is passed; if there is no consistent device information, the verification fails, and the verification request data packet is discarded without responding; The user identity information extracted from the digital certificate is compared with the user identity information list pre-stored in the SDP controller. If there is consistent identity information, the verification is successful. If there is no consistent identity information, the verification fails, the verification request data packet is discarded and no response is given.

6. The method for dynamically hiding a network interface according to claim 5, characterized in that: After the fourth verification is passed, a fifth verification is also included, which specifically includes: Based on the corresponding information list of the user identity information and the source IP address pre-stored in the SDP controller, the user identity information and the source IP address information extracted from the verification request data packet are compared; if there is a corresponding relationship, the verification passes and the network interface is opened; if there is no corresponding relationship, the verification fails, the verification request data packet is discarded and no response is given.

7. The method for dynamically hiding a network interface according to claim 1, characterized in that: After selecting the i-th preset adjustment coefficient li to adjust the number of visits H of the source IP address, i=1, 2, 3, 4, and obtaining the adjusted number of visits H*li, the method further includes: The SDP controller records the access time T0 of the source IP address in the verification request data packet, retrieves the access time period of the source IP address requested for verification from the pre-stored access time period record table of each IP address, obtains the time difference T between T0 and the closest time in the access time period, pre-sets a first preset time difference T1, a second preset time difference T2, a third preset time difference T3, and a fourth preset time difference T4, and T1<T2<T3<T4; pre-sets a first preset adjustment coefficient t1, pre-sets a second preset adjustment coefficient t2, pre-sets a third preset adjustment coefficient t3, and pre-sets a fourth preset adjustment coefficient t4, and 1.2>t1>t2>1>t3>t4>0.8; When T1≤T<T2, the first preset adjustment coefficient t1 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t1; When T2≤T<T3, the second preset adjustment coefficient t2 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t2; When T3≤T<T4, the third preset adjustment coefficient t3 is selected to perform a second adjustment on the adjusted number of visits H*li, so that the second adjusted number of visits is H*li*t3; When T4≤T, the fourth preset adjustment coefficient t4 is selected to perform a second adjustment on the adjusted number of visits H*li, and the second adjusted number of visits is H*li*t4.

8. The method for dynamically hiding a network interface according to claim 7, characterized in that: After selecting the i-th preset adjustment coefficient ti to perform a secondary adjustment on the adjusted number of visits H*li, i=1, 2, 3, 4, and obtaining the secondarily adjusted number of visits H*li*ti, the method further includes: A first preset access number H1, a second preset access number H2, a third preset access number H3, and a fourth preset access number H4 are preset, and H1>H2>H3>H4; a first preset trust level X1, a second preset trust level X2, a third preset trust level X3, and a fourth preset trust level X4 are preset, and X1>X2>X3>X4; When H2≤H<H1, selecting the first preset trust level X1 as the trust level of the SDP client; When H3≤H<H2, selecting the second preset trust level X2 as the trust level of the SDP client; When H4≤H<H3, selecting the third preset trust level X3 as the trust level of the SDP client; When H<H4, the third preset trust level X3 is selected as the trust level of the SDP client.

9. The method for dynamically hiding a network interface according to claim 8, characterized in that: When Xi is selected as the trusted level of the SDP client, i=1, 2, 3, 4, it also includes: A first preset adjustment coefficient n1, a second preset adjustment coefficient n2, a third preset adjustment coefficient n3, and a fourth preset adjustment coefficient n4 are preset, and 1.2>n1>n2>1>n3>n4>0.8; When Xi=X1, the first preset adjustment coefficient n1 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n1; When Xi=X2, the second preset adjustment coefficient n2 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n2; When Xi=X3, the third preset adjustment coefficient n3 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n3; When Xi=X4, the fourth preset adjustment coefficient n4 is selected to adjust the open duration N of the network interface, and the adjusted open duration is N*n4; After selecting the i-th preset adjustment coefficient ni to adjust the open duration N of the network interface, i=1, 2, 3, 4, the adjusted open duration N*ni is used as the final open duration.