CN107566146B - Method for automatically switching network cards - Google Patents
Method for automatically switching network cards Download PDFInfo
- Publication number
- CN107566146B CN107566146B CN201610514118.5A CN201610514118A CN107566146B CN 107566146 B CN107566146 B CN 107566146B CN 201610514118 A CN201610514118 A CN 201610514118A CN 107566146 B CN107566146 B CN 107566146B
- Authority
- CN
- China
- Prior art keywords
- network
- terminal
- physical network
- network card
- physical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for automatically switching network cards, which comprises the following steps: firstly, a terminal responds to a physical network card selected by a user and starts the physical network card; then, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal; and finally, the terminal automatically disables other physical network cards which are not communicated with the network server. The invention can disable the unused network card under the condition that a plurality of network environments such as internal and external networks exist simultaneously in the network environment of the enterprise terminal. The method can be used for internal and external networks at different times and for a long time, and the security of the network environment of enterprises is enhanced. Moreover, whether the network environment is switched to the internal network or the external network, the network environment can be quickly and automatically switched.
Description
Technical Field
The invention relates to the field of network security management, in particular to a method for automatically switching network cards.
Background
In some enterprises, terminals in the enterprises can simultaneously realize two environments of an internal network and an external network, so that potential safety hazards of the enterprise network environment are brought. The user manually starts one network and closes the other network through the Microsoft network adapter, and the operation is safe and troublesome. And sometimes, the user forgets to disable another network card. Although it may be connected to a corresponding network through a network adapter. But cannot recognize whether such a network is connectable to both an intranet and an extranet. Whether potential safety hazards exist.
Disclosure of Invention
The present invention is directed to provide a method for automatically performing a fast network environment switch to solve the above technical problems.
In order to solve the technical problems, the invention adopts the following technical scheme: a method for automatically switching network cards specifically comprises the following steps:
s1, the terminal responds to the physical network card selected by the user and starts the physical network card;
s2, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal;
and S3, the terminal automatically disables other physical network cards which are not communicated with the network server.
The method for automatically switching the network cards as claimed in the preceding, wherein the physical network cards connected to the terminal include two or more than two.
The method for automatically switching the network card further comprises the following steps: the terminal acquires all the information of the physical network card installed by the terminal and stores the information of the physical network card, so that the network card information can be quickly compared, and the step of reacquiring the network card information every time of comparison is omitted.
As in the foregoing method for automatically switching network cards, the physical network card information includes: the network address, MAC address and associated description information of the physical network card.
As above, before the step S3, the method for automatically switching the network card further includes: and matching the physical network card information acquired from the network server with all the physical network card information stored on the terminal, and screening out the physical network cards which are not communicated with the network server, so that the physical network cards which are not in a communication state can be accurately selected, and the situation of selection errors when the network cards are forbidden artificially is effectively prevented.
Compared with the prior art, the method comprises the steps that firstly, a physical network card selected by a user is responded through a terminal, and the physical network card is started; then, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal; finally, the terminal automatically disables other physical network cards which are not communicated with the network server; therefore, the problem that the unused network card can be forbidden under the condition that a plurality of network environments such as an internal network and an external network exist simultaneously in the network environment for the enterprise terminal can be solved. The method can be used for internal and external networks at different times and for a long time, and the security of the network environment of enterprises is enhanced. Moreover, whether the network environment is switched to the internal network or the external network, the network environment can be quickly and automatically switched.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention.
The invention is further described with reference to the following figures and detailed description.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention.
Embodiment 1 of the present invention, as shown in fig. 1, a method for automatically switching a network card specifically includes the following steps:
s1, the physical network card connected with the terminal includes two or more, the terminal acquires all the physical network card information installed by itself and stores the physical network card information, the physical network card information includes: the terminal responds to the physical network card selected by the user and starts the physical network card;
s2, the terminal obtains, from a network server connected thereto, information of a physical network card that is communicating with the network server, where the network server includes: an intranet server and an extranet server;
s3, matching the physical network card information acquired from the network server with all physical network card information stored on the terminal, screening out the physical network cards which are not communicated with the network server, and automatically disabling other physical network cards which are not communicated with the network server by the terminal.
Embodiment 2 of the present invention, as shown in fig. 1, a method for automatically switching a network card specifically includes the following steps:
s1, the physical network card connected with the terminal includes two or more, the terminal acquires all the physical network card information installed by itself and stores the physical network card information, the physical network card information includes: the MAC address of the physical network card, the terminal responds to the physical network card selected by the user and starts the physical network card;
s2, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal;
and S3, the terminal automatically disables other physical network cards which are not communicated with the network server.
Embodiment 3 of the present invention, as shown in fig. 1, a method for automatically switching a network card specifically includes the following steps:
s1, the physical network card connected with the terminal includes two or more, the terminal acquires all the physical network card information installed by itself and stores the physical network card information, the physical network card information includes: the terminal responds to the physical network card selected by the user and starts the physical network card;
s2, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal;
s3, matching the physical network card information acquired from the network server with all physical network card information stored on the terminal, screening out the physical network cards which are not communicated with the network server, and automatically disabling other physical network cards which are not communicated with the network server by the terminal.
Embodiment 4 of the present invention, as shown in fig. 1, a method for automatically switching a network card, specifically including the following steps:
s1, the terminal responds to the physical network card selected by the user and starts the physical network card;
s2, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal;
and S3, the terminal automatically disables other physical network cards which are not communicated with the network server.
The working principle of one embodiment of the invention is as follows: after the user switches the network card, the physical network card selected by the user is started, then the terminal is responsible for the application software of network switching to start running, and starts to detect the intranet and the extranet, and the intranet server and the extranet server can be detected: 1. acquiring the only physical network card information currently running; 2. and updating the state of the physical network card and the connection condition of the internal network and the external network. After the operation is finished, the terminal compares and verifies the physical network card information detected by the server with the locally stored network card information, and finally disables all the physical network cards which are inconsistent with the physical network card information detected by the server.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (3)
1. A method for automatically switching network cards is characterized by comprising the following steps:
s1, the terminal responds to the physical network card selected by the user and starts the physical network card, and the physical network card connected with the terminal comprises more than two physical network cards;
s2, the terminal acquires the physical network card information which is communicated with the network server from the network server connected with the terminal; the network server includes: an intranet server and an extranet server; matching the physical network card information acquired from the network server with all physical network card information stored on a terminal, and screening out physical network cards which are not communicated with the network server;
and S3, the terminal automatically disables other physical network cards which are not communicated with the network server.
2. The method for automatically switching the network card according to claim 1, further comprising: and the terminal acquires all the information of the physical network card installed by the terminal and stores the information of the physical network card.
3. The method for automatically switching the network card according to claim 1 or 2, wherein the physical network card information includes: the network address, MAC address and associated description information of the physical network card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610514118.5A CN107566146B (en) | 2016-06-30 | 2016-06-30 | Method for automatically switching network cards |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610514118.5A CN107566146B (en) | 2016-06-30 | 2016-06-30 | Method for automatically switching network cards |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566146A CN107566146A (en) | 2018-01-09 |
CN107566146B true CN107566146B (en) | 2021-03-19 |
Family
ID=60968820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610514118.5A Active CN107566146B (en) | 2016-06-30 | 2016-06-30 | Method for automatically switching network cards |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566146B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114584608B (en) * | 2022-02-09 | 2024-05-24 | 北信源***集成有限公司 | Network switching method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510240A (en) * | 2008-12-30 | 2009-08-19 | 深圳市神舟电脑股份有限公司 | Safety management system for multiple independent operation platforms |
CN103455767A (en) * | 2013-09-10 | 2013-12-18 | 李传双 | System and method for multi-network safety isolation |
CN103747070A (en) * | 2013-12-27 | 2014-04-23 | 上海森步特信息技术有限公司 | Method and device of network isolation |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1690960A (en) * | 2004-04-21 | 2005-11-02 | 中国长城计算机深圳股份有限公司 | Safety network computer |
US7430629B2 (en) * | 2005-05-12 | 2008-09-30 | International Business Machines Corporation | Internet SCSI communication via UNDI services |
CN102129534A (en) * | 2010-10-22 | 2011-07-20 | 新兴铸管股份有限公司 | Method for file security and virus protection of multi-network computer |
CN102014021A (en) * | 2010-11-19 | 2011-04-13 | 中兴通讯股份有限公司 | Method and device for controlling connection/disconnection of data link |
CN202940836U (en) * | 2012-12-21 | 2013-05-15 | 黑龙江电力职工大学 | Network switching device |
CN104981030B (en) * | 2015-07-10 | 2016-11-09 | 努比亚技术有限公司 | network connection control method and device |
-
2016
- 2016-06-30 CN CN201610514118.5A patent/CN107566146B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510240A (en) * | 2008-12-30 | 2009-08-19 | 深圳市神舟电脑股份有限公司 | Safety management system for multiple independent operation platforms |
CN103455767A (en) * | 2013-09-10 | 2013-12-18 | 李传双 | System and method for multi-network safety isolation |
CN103747070A (en) * | 2013-12-27 | 2014-04-23 | 上海森步特信息技术有限公司 | Method and device of network isolation |
Also Published As
Publication number | Publication date |
---|---|
CN107566146A (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2843979B1 (en) | Method and apparatus for preventing sound recording during the call | |
US10791060B2 (en) | Data traffic management method and apparatus | |
EP2814276A1 (en) | Access authentication method and device for wireless local area network hotspot | |
US20170280410A1 (en) | Method, device and system for implementing information self-registration, and computer storage medium | |
CN104809046A (en) | Application program networking control method and application program networking control device | |
US20170318483A1 (en) | Self-recovery method and device after disconnection of base station | |
CN106604316B (en) | Method, device and system for positioning fault of wireless access equipment | |
CN107566146B (en) | Method for automatically switching network cards | |
CN104516704A (en) | Application activated control method and device in multi-screen system and mobile terminal | |
CN105389503B (en) | A kind of screen locking guard method, system and mobile terminal | |
CN105447384B (en) | A kind of anti-method monitored, system and mobile terminal | |
CN105812584A (en) | Wearable device-based information anti-theft method, device and apparatus | |
CN101232677A (en) | Method and apparatus for start-up logging of mobile terminal | |
CN107346296B (en) | Driving method and device | |
CN111182536A (en) | SIM card state detection method, device, network equipment and storage medium | |
CN104050044A (en) | Terminal and method and device for releasing memory | |
CN111147542A (en) | Secret-free access setting method, device, equipment and medium | |
CN107678917B (en) | Test machine automation management method, device, equipment and storage medium | |
CN103248487B (en) | Near-field communication authentication method, certificate authority and near-field communication equipment | |
EP3119043A1 (en) | Flow table entry management method and device | |
CN115150209A (en) | Data processing method, industrial control system, electronic device, and storage medium | |
CN105095702B (en) | A kind of superuser right control method and device | |
CN103914423B (en) | A kind of information processing method and electronic equipment | |
CN104219729B (en) | connection processing method and electronic equipment | |
CN115512472B (en) | Information matching method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |