CN111628923B - Shared network system and sharing method thereof - Google Patents
Shared network system and sharing method thereof Download PDFInfo
- Publication number
- CN111628923B CN111628923B CN202010735015.8A CN202010735015A CN111628923B CN 111628923 B CN111628923 B CN 111628923B CN 202010735015 A CN202010735015 A CN 202010735015A CN 111628923 B CN111628923 B CN 111628923B
- Authority
- CN
- China
- Prior art keywords
- network
- domain
- network equipment
- outside
- grid
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4675—Dynamic sharing of VLAN information amongst network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a sharing network system and a sharing method thereof.A local area network is built in a grid domain where main network equipment is positioned by a modem and a router which are connected in sequence, the router is connected with the main network equipment, the modem is connected with an out-of-domain network, VPN service of the main network equipment is configured, the main network equipment is used as a VPN service end, a relay processing unit is configured outside the grid domain for equipment to be accessed outside the local area network, and sharing network requests of the network equipment in the grid domain and outside the grid domain are configured by adopting different sharing methods based on different sharing rules. The invention does not need to use third-party online remote service, avoids the problems of instability, limited use time and the like, is suitable for various special network construction scenes, such as interconnection of local area networks of individuals, a plurality of families and a plurality of companies, does not need to be assisted by people for operation by a remote operator, and can fully utilize one end with the largest bandwidth advantage for configuration.
Description
Technical Field
The present invention relates to the field of digital information transmission, such as telegraph communication, and more particularly, to a shared network system and a sharing method thereof.
Background
With the rapid development of information technology, the worldwide wave and tide of economy comes, and the remote control of computers becomes a trend, and the remote operation of other computers means that non-local operation of a designated computer is realized through the modern internet technology, and is realized through some third-party remote control software, for example, a sunflower remote control mobile phone/computer remote control office equipment, a welink tool for enterprise telephone conferences and the like.
Most of the remote controls are still applied to work, besides the convenience of operating working computers in non-working time, more and more enterprises change the enterprise management mode to adapt to the living environment of the new economic era, and more flexible working systems including remote office are allowed, and the office is in a home-type and distributed trend.
The remote in the prior art mainly comprises the following forms:
the mstsc service is self-contained in a window system and requires that a computer which is remotely operated and is operated is in the same local area network;
teamviewer, free, but often forced off-line for commercial use, and unstable operation; similarly, software of third parties such as AnyDesk, sunflower and the like, which are required to charge under different application environments, is also included;
QQ remote assistance, which needs to be assisted by a person in front of a remote computer before remote control can be started;
4. utilizing a company VPN, provided that the company has built the environment;
the remote modes are free and applicable remote access modes, and except some mentioned defects, the same problem still exists in the using process, namely in a remote network environment, under the condition that the network speed is stable, the remote service still often has the condition of blocking or reconnection, the remote computer cannot be well operated, and the remote experience and the operation quality are influenced.
Disclosure of Invention
The invention solves the problems in the prior art, provides an optimized shared network system and a sharing method thereof, and mainly relates to a virtual private network realized based on a home network.
The technical scheme adopted by the invention is that a shared network system comprises:
a primary network device for providing VPN services;
a router, which is used for accessing the network, converting the data format and realizing the network interconnection;
the modem is used as a local network relay transmission unit, is connected with an out-of-domain network, converts and forwards signals and then is connected with the main network equipment through the router;
the main network equipment, the router and the modem are a grid domain;
the network equipment outside the grid domain is connected to the main network equipment through the VPN service through the cooperation of the relay processing unit and the modem;
network devices within the grid domain cooperate with the router to access the primary network device through the VPN service.
Preferably, the relay processing unit includes a domain name resolution server, configured to send an access request from a network device outside the mesh domain, receive IP information output by the modem based on the DDNS, perform dynamic domain name resolution, and send the IP information to the network device outside the mesh domain.
Preferably, the network device outside the mesh domain accesses the main network device with a VPN service through a domain name resolved by a domain name resolution server.
A sharing method of the shared network system, the method comprising the steps of:
step 1: building a local area network in a grid domain where main network equipment is located, wherein the local area network comprises a modem and a router which are connected in sequence, the router is connected with the main network equipment, and the modem is connected with an out-of-domain network;
step 2: configuring VPN service of main network equipment, and taking the main network equipment as a VPN service end;
and step 3: configuring a relay processing unit for equipment to be accessed outside a local area network outside a grid domain;
and 4, step 4: if the network equipment in the grid domain requests to share the network, the network equipment is configured by adopting an intra-domain sharing method; if the network equipment outside the grid domain requests to share the network, the network equipment outside the grid domain is configured by adopting an outside-domain sharing method.
Preferably, the intra-domain sharing method is to cooperatively set the requested network device and the router, and join the requested network device and the router into a VPN server of the local area network.
Preferably, the sharing method outside the domain includes the steps of:
step 4.1: exposing the floating IP to the relay processing unit by the VPN server;
step 4.2: network equipment outside a grid domain sends a sharing request;
step 4.3: after the relay processing unit confirms the admittance of the network equipment outside the grid domain, the relay processing unit carries out dynamic domain name resolution on the floating IP to obtain a fixed domain name;
step 4.4: and the network equipment outside the grid domain logs in the local area network by the domain name based on the VPN service to complete sharing.
Preferably, in the step 4.2, the sharing request sent by the network device outside the grid domain includes a data string, and a character or a character string is set at an appointed position.
Preferably, in the step 4.3, when the relay processing unit intercepts the character or the character string from the appointed position, compares the character or the character string with the preset appointed character or character string, and completely matches the character or character string, the network device outside the grid domain is allowed to be admitted, otherwise, the domain name resolution is not performed, and the network device outside the grid domain cannot share the local area network.
Preferably, the character or character string is an encrypted character or character string.
Preferably, the relay processing unit continuously obtains the floating IP, and if the floating IP is not received within a preset time, the relay processing unit sends a remote wake-up instruction to the main network device through the router.
The invention relates to an optimized shared network system and a sharing method thereof.A local area network is built in a grid domain where main network equipment is positioned by a modem and a router which are connected in sequence, the router is connected with the main network equipment, the modem is connected with an out-of-domain network, VPN service of the main network equipment is configured, the main network equipment is used as a VPN service end, a relay processing unit is configured for equipment to be accessed outside the local area network outside the grid domain, and different sharing methods are adopted for sharing network requests of the network equipment in the grid domain and outside the grid domain based on different sharing rules.
The invention has the beneficial effects that:
1. the third-party online remote service is not needed, so that the problems of instability, limited use time and the like are avoided;
2. the method is suitable for various special network construction scenes, such as interconnection of local area networks of individuals, a plurality of families and a plurality of companies;
3. the operation is not assisted by people in a remote operator;
4. the configuration can be performed by fully utilizing the end with the largest bandwidth advantage.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention, with arrows indicating the connection direction;
FIG. 2 is a flow chart of the method of the present invention.
Detailed Description
The present invention is described in further detail with reference to the following examples, but the scope of the present invention is not limited thereto.
The present invention relates to a shared network system, comprising:
a main network device for providing VPN service, such as openVPN service;
a router, which is used for accessing the network, converting the data format and realizing the network interconnection; the router includes a plurality of outputs for matching the primary network device with network devices within the mesh domain;
the modem is used as a local network relay transmission unit, is connected with an out-of-domain network, converts and forwards signals and then is connected with the main network equipment through the router; those skilled in the art can select a modem from a cat or an optical cat according to the network cable of the operator access network;
the main network equipment, the router and the modem are a grid domain; normally, the main network device, router and modem are the network environment in our everyday application.
In the invention, for the shared network environment, different processing modes of network devices outside a grid domain and in the grid domain are included.
The network equipment outside the grid domain is connected to the main network equipment through the VPN service through the cooperation of the relay processing unit and the modem;
the relay processing unit comprises a domain name resolution server used for sending a network equipment access request from outside the grid domain, receiving IP information output by the modem based on the DDNS, carrying out dynamic domain name resolution and then sending the IP information to the network equipment outside the grid domain.
And the network equipment outside the grid domain accesses the main network equipment through the domain name analyzed by the domain name analysis server by using VPN service.
In the invention, because the home network generally has no fixed IP, so that the network equipment outside the grid domain can use the shared network conveniently, the method for exposing the domain name to the outside by the family is solved through the DDNS, and the home network IP is actively changed, so that the network equipment outside the grid domain can be accessed into the VPN service of the main network equipment through the VPN service and the stable domain name.
In the present invention, the network device outside the grid domain may be a computer in a corporate environment or a computer in another home network environment.
Network devices within the grid domain cooperate with the router to access the primary network device through the VPN service.
In the invention, the network equipment in the grid domain can be accessed into the VPN service of the main network equipment through the VPN service only by matching with the router.
The invention also relates to a sharing method of the shared network system, which comprises the following steps.
Step 1: and constructing a local area network in the grid domain where the main network equipment is located, wherein the local area network comprises a modem and a router which are connected in sequence, the router is connected with the main network equipment, and the modem is connected with an out-of-domain network.
Step 2: and configuring the VPN service of the main network equipment, and taking the main network equipment as a VPN service end.
In the invention, step 1 is to construct the basic network environment, step 2 is to pre-construct the shared network; the network reaches the main network device through the modem and the router, and meanwhile the main network device serves as a VPN service end to provide a shared network.
And step 3: and configuring a relay processing unit for the equipment to be accessed outside the local area network outside the grid domain.
In the invention, the relay processing unit is a domain name resolution server, the main network equipment in the local area network is used as a VPN server, external services are exposed through DDNS, and the domain name resolution server performs dynamic domain name resolution.
And 4, step 4: if the network equipment in the grid domain requests to share the network, the network equipment is configured by adopting an intra-domain sharing method; if the network equipment outside the grid domain requests to share the network, the network equipment outside the grid domain is configured by adopting an outside-domain sharing method.
The intra-domain sharing method is that the requested network equipment and the router are matched and set, and the network equipment and the router are added into a VPN server of the local area network.
In the present invention, for intra-domain sharing, the network device may access the main network device directly through the VPN, or in fact, may access directly through the router.
The sharing method outside the domain comprises the following steps:
step 4.1: exposing the floating IP to the relay processing unit by the VPN server;
step 4.2: network equipment outside a grid domain sends a sharing request;
in the step 4.2, the sharing request sent by the network device outside the grid domain includes a data string, and a character or a character string is set at an appointed position.
Step 4.3: after the relay processing unit confirms the admittance of the network equipment outside the grid domain, the relay processing unit carries out dynamic domain name resolution on the floating IP to obtain a fixed domain name;
in the step 4.3, when the relay processing unit intercepts the character or character string from the appointed position, compares the character or character string with the preset appointed character or character string, and completely matches the character or character string, the network device outside the grid domain is allowed to be admitted, otherwise, the domain name resolution is not performed, and the network device outside the grid domain cannot share the local area network.
The character or the character string is encrypted.
Step 4.4: and the network equipment outside the grid domain logs in the local area network by the domain name based on the VPN service to complete sharing.
And the relay processing unit continuously acquires the floating IP, and if the floating IP is not received within the preset time, the relay processing unit sends a remote awakening instruction to the main network equipment through the router.
In the invention, not all network equipment outside the grid domain is admitted, but the identity authentication is needed; an applicant sends a request, a preset password is placed in a preset position in the request, generally, the password is a character or a character string, encryption can be carried out in the execution process, and the security of a shared network is guaranteed; the relay processing unit decrypts the encrypted character or character string according to the convention, and if the encrypted character or character string is matched with the encrypted character or character string, the combination of the domain name and the VPN is added to the requested network device.
In the invention, if the relay processing unit does not receive the floating IP transmitted in the grid domain within the preset time, at least one piece of working hardware in the grid domain is in a dormant state and needs to be remotely awakened, and an instruction for remotely awakening is preset in the main network equipment; and if the alarm cannot be awakened, giving an alarm to a manager.
The method comprises the steps of constructing a local area network by a modem and a router which are connected in sequence in a grid domain where a main network device is located, connecting the router with the main network device, connecting the modem with an out-of-domain network, configuring VPN service of the main network device, taking the main network device as a VPN service end, configuring a relay processing unit for a device to be accessed outside the local area network outside the grid domain, and configuring sharing network requests of the network devices inside the grid domain and outside the grid domain by adopting different sharing methods based on different sharing rules.
The invention does not need to use third-party online remote service, avoids the problems of instability, limited use time and the like, is suitable for various special network construction scenes, such as interconnection of local area networks of individuals, a plurality of families and a plurality of companies, does not need to be assisted by people for operation by a remote operator, and can fully utilize one end with the largest bandwidth advantage for configuration.
Claims (10)
1. A shared network system, characterized in that: the system comprises:
a primary network device for providing VPN services;
a router, which is used for accessing the network, converting the data format and realizing the network interconnection;
the modem is used as a local network relay transmission unit, is connected with an out-of-domain network, converts and forwards signals and then is connected with the main network equipment through the router;
the main network equipment, the router and the modem are a grid domain;
the network equipment outside the grid domain is connected to the main network equipment through the VPN service through the cooperation of the relay processing unit and the modem;
network devices within the grid domain cooperate with the router to access the primary network device through the VPN service.
2. The shared network system according to claim 1, wherein: the relay processing unit comprises a domain name resolution server which is used for sending a network equipment access request from outside the grid domain, receiving IP information output by the modem based on the DDNS, carrying out dynamic domain name resolution and then sending the IP information to the network equipment outside the grid domain.
3. A shared network system according to claim 2, wherein: and the network equipment outside the grid domain accesses the main network equipment through the domain name analyzed by the domain name analysis server by using VPN service.
4. A sharing method of the shared network system according to any one of claims 1 to 3, characterized in that: the method comprises the following steps:
step 1: building a local area network in a grid domain where main network equipment is located, wherein the local area network comprises a modem and a router which are connected in sequence, the router is connected with the main network equipment, and the modem is connected with an out-of-domain network;
step 2: configuring VPN service of main network equipment, and taking the main network equipment as a VPN service end;
and step 3: configuring a relay processing unit for equipment to be accessed outside a local area network outside a grid domain;
and 4, step 4: if the network equipment in the grid domain requests to share the network, the network equipment is configured by adopting an intra-domain sharing method; if the network equipment outside the grid domain requests to share the network, the network equipment outside the grid domain is configured by adopting an outside-domain sharing method.
5. The sharing method of the shared network system according to claim 4, wherein: the intra-domain sharing method is that the requested network equipment and the router are matched and set, and the network equipment and the router are added into a VPN server of the local area network.
6. The sharing method of the shared network system according to claim 4, wherein: the sharing method outside the domain comprises the following steps:
step 4.1: the VPN server exposes a floating IP to the relay processing unit;
step 4.2: network equipment outside a grid domain sends a sharing request;
step 4.3: after the relay processing unit confirms the admittance of the network equipment outside the grid domain, the relay processing unit carries out dynamic domain name resolution on the floating IP to obtain a fixed domain name;
step 4.4: and the network equipment outside the grid domain logs in the local area network by the domain name based on the VPN service to complete sharing.
7. The sharing method of the shared network system according to claim 6, wherein: in the step 4.2, the sharing request sent by the network device outside the grid domain includes a data string, and a character or a character string is set at an appointed position.
8. The sharing method of the shared network system according to claim 7, wherein: in the step 4.3, when the relay processing unit intercepts the character or character string from the appointed position, compares the character or character string with the preset appointed character or character string, and completely matches the character or character string, the network device outside the grid domain is allowed to be admitted, otherwise, the domain name resolution is not performed, and the network device outside the grid domain cannot share the local area network.
9. The sharing method of the shared network system according to claim 7 or 8, characterized in that: the character or the character string is encrypted.
10. The sharing method of the shared network system according to claim 4, wherein: and the relay processing unit continuously acquires the floating IP, and if the floating IP is not received within the preset time, the relay processing unit sends a remote awakening instruction to the main network equipment through the router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010735015.8A CN111628923B (en) | 2020-07-28 | 2020-07-28 | Shared network system and sharing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010735015.8A CN111628923B (en) | 2020-07-28 | 2020-07-28 | Shared network system and sharing method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111628923A CN111628923A (en) | 2020-09-04 |
CN111628923B true CN111628923B (en) | 2020-10-30 |
Family
ID=72260426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010735015.8A Active CN111628923B (en) | 2020-07-28 | 2020-07-28 | Shared network system and sharing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111628923B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114244714B (en) * | 2021-12-14 | 2024-04-09 | 北京金山云网络技术有限公司 | Domain name configuration management method, device and system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083598A (en) * | 2007-06-22 | 2007-12-05 | 杭州华三通信技术有限公司 | Routing access method, system and operator edge equipment for virtual private network |
CN101141422A (en) * | 2007-10-26 | 2008-03-12 | 中国电信股份有限公司 | Method and system to access family gateway and family gateway |
CN202103695U (en) * | 2011-05-31 | 2012-01-04 | 北京虎符科技有限公司 | Household intelligent gateway |
CN204597998U (en) * | 2015-03-17 | 2015-08-26 | 上海华仓通信技术有限公司 | A kind of VPN equipment and utilize the interconnected systems of this VPN device build |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8489701B2 (en) * | 2007-01-30 | 2013-07-16 | Microsoft Corporation | Private virtual LAN spanning a public network for connection of arbitrary hosts |
CN102083237A (en) * | 2010-12-14 | 2011-06-01 | 中山大学 | Set-top box-based digital home wireless network system |
CN103023898B (en) * | 2012-12-03 | 2016-05-11 | 杭州迪普科技有限公司 | A kind of method and device of accessing VPN service end Intranet resource |
-
2020
- 2020-07-28 CN CN202010735015.8A patent/CN111628923B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083598A (en) * | 2007-06-22 | 2007-12-05 | 杭州华三通信技术有限公司 | Routing access method, system and operator edge equipment for virtual private network |
CN101141422A (en) * | 2007-10-26 | 2008-03-12 | 中国电信股份有限公司 | Method and system to access family gateway and family gateway |
CN202103695U (en) * | 2011-05-31 | 2012-01-04 | 北京虎符科技有限公司 | Household intelligent gateway |
CN204597998U (en) * | 2015-03-17 | 2015-08-26 | 上海华仓通信技术有限公司 | A kind of VPN equipment and utilize the interconnected systems of this VPN device build |
Also Published As
Publication number | Publication date |
---|---|
CN111628923A (en) | 2020-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180129181A1 (en) | Chatbot Systems and Methods for Industrial Machinery | |
CN103916412B (en) | A kind of method and system of information technoloy equipment novel maintenance | |
JP2005539420A (en) | Device equal connection method when realizing dynamic network configuration in home network | |
CN102594845A (en) | Instant message transmission method based on XMPP | |
CN103973785B (en) | A kind of log read system and method based on P2P | |
CN111628923B (en) | Shared network system and sharing method thereof | |
CN102484655A (en) | Public bot management in private networks | |
US11729334B2 (en) | Communication system, device, and recording medium for remote access to electronic device through relaying device and converter | |
CN107846609B (en) | Real-time transmission method, device and system for control room data | |
CN112511892B (en) | Screen sharing method, device, server and storage medium | |
WO2018032953A1 (en) | Windows window sharing method, gateway server, system, storage media | |
TW200304741A (en) | Apparatus and method for managing cable modem based on Web | |
US11824942B2 (en) | Communication system, information processing apparatus, and information processing method | |
CN114884750A (en) | Access processing method, access processing system and computer system | |
Li | Design of smart home cloud server | |
CN114629898A (en) | Multi-client cooperation method and electronic equipment | |
JP2003198561A (en) | Method for mobile network access | |
CN111490924A (en) | Portable remote network routing system and establishing method thereof | |
KR0177711B1 (en) | Remote control method of branch processor | |
Kaur et al. | An Efficient Internet based Home Automation Framework for Operating Multi-functional Units | |
JP2003016029A (en) | System and method for connecting operation of pc terminal by mobile terminal | |
US11864090B2 (en) | Communication system, communication management method, and non-transitory recording medium | |
US20230127607A1 (en) | Methods, devices, and computer program products for authenticating peripheral device | |
CN117748726A (en) | Intelligent substation remote operation and maintenance monitoring method and system based on Guacamole | |
CN112866239B (en) | Proxy authentication device and method and electronic equipment |
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 |