CN109639554B - Remote VLAN implementation method - Google Patents

Remote VLAN implementation method Download PDF

Info

Publication number
CN109639554B
CN109639554B CN201811599883.7A CN201811599883A CN109639554B CN 109639554 B CN109639554 B CN 109639554B CN 201811599883 A CN201811599883 A CN 201811599883A CN 109639554 B CN109639554 B CN 109639554B
Authority
CN
China
Prior art keywords
data
network communication
network
remote host
sending
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
Application number
CN201811599883.7A
Other languages
Chinese (zh)
Other versions
CN109639554A (en
Inventor
古欣
邵慧
郭宝雪
张振鸣
高扶朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Youren Networking Co ltd
Original Assignee
Shandong Youren Networking Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Youren Networking Co ltd filed Critical Shandong Youren Networking Co ltd
Priority to CN201811599883.7A priority Critical patent/CN109639554B/en
Publication of CN109639554A publication Critical patent/CN109639554A/en
Application granted granted Critical
Publication of CN109639554B publication Critical patent/CN109639554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

A remote VLAN implementation method comprises the following steps: the remote host runs the virtual network card; allocating an IP address in the same network segment with the network port device to the virtual network card; and sending the network communication data to the network port equipment. The remote host sends the network communication data to the data receiving and sending device; establishing network communication with a data receiving and sending device; based on the network communication, sending network communication data to the internet access equipment; collecting internet access data through a data receiving and sending module and transmitting the data; the data transmission module is used for interacting and transmitting internal data, so that the precision and the speed of data transmission are improved, and a data transmission channel is established through the virtual network communication module and the network communication module, so that the data transmission module has the advantages of accuracy, high efficiency and high universality.

Description

Remote VLAN implementation method
The technical field is as follows:
the invention relates to a remote VLAN realization method.
Background art:
VLAN is a virtual local area network, which is a group of logical devices and users, which are not limited by physical location, and can be organized according to factors such as function, department and application, and the communication between them is as if they are in the same network segment, and belongs to a relatively new technology.
In some specific cases, part of the internet access devices do not have the public network IP, which results in that communication cannot be established between the internet access devices and the remote host, and only a local PC can be used to connect the devices. When the PC is not connected to the device or is not in the same network, the PC is not able to establish communication with the device.
For the situation, the existing solutions mainly include a VPN communication mode and an APN communication mode, and since the VPN communication mode requires a VPN server, the maintenance cost is high, and the APN communication mode is low in popularity, so that a common user cannot use an APN card.
The invention content is as follows:
the invention provides a remote VLAN realization method, which can establish network connection between a network port device and a remote host, realize remote communication of the device, does not need an external VPN server or an APN card, simplifies an internal communication link, reduces maintenance cost, has strong universality and high transmission efficiency, and solves the problems in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a remote VLAN implementation method comprises the following steps:
the remote host runs the virtual network card;
according to the IP address prestored in the network port equipment, an IP address in the same network segment with the network port equipment is allocated to the virtual network card;
and sending network communication data to the network port equipment according to the IP address allocated to the virtual network card.
The method for sending network communication data to the network port equipment according to the IP address allocated to the virtual network card comprises the following steps:
the remote host establishes network communication with the data receiving and sending device;
based on the network communication, sending network communication data to a data receiving and sending device;
and sending the network communication data to the internet access equipment through a data receiving and sending device.
The data receiving and sending device receives network communication data sent by a remote host, and the network communication data are transmitted to the data receiving and sending device according to an IP address allocated to the virtual network card by the remote host;
and replacing the information which can be identified by the remote host in the network communication data with the information which can be identified by the network interface equipment.
And transmitting the network communication data after the replacement is finished to the internet access equipment.
The information at least comprises MAC address, IP address and check bit.
The network port equipment is a network port type PLC.
The network communication data is upgrade firmware or query data.
A remote VLAN implementation apparatus, the apparatus comprising:
the starting module is used for the remote host to operate the virtual network card;
the virtual network communication module is used for allocating an IP address which is in the same network segment with the network port equipment to the virtual network card;
and the data sending module is used for sending the network communication data to the internet access equipment by the remote host.
The data transmission module comprises:
the forwarding module is used for sending the network communication data to the data receiving and sending device by the remote host;
and the communication module is used for establishing network communication between the remote host and the data receiving and sending device.
A remote VLAN implementation apparatus, the apparatus comprising:
the network communication module is used for receiving the network communication data sent by the remote host by the data receiving and sending device;
the execution module is used for replacing the information of the network communication data;
and the transmission module is used for transmitting the replaced network communication data to the network port equipment.
A remote VLAN implementation apparatus, the apparatus comprising:
and the data receiving module is used for receiving the network communication data sent from the remote host by the network port equipment.
By adopting the structure, the connection of the network port equipment is realized through the data receiving and sending module, and the replacement of the MAC address, the IP address and the check bit of the data content is executed; collecting internet access data through a data receiving and sending module and transmitting the data; the data transmission module is used for interacting and transmitting internal data, so that the precision and the speed of data transmission are improved, and a data transmission channel is established through the virtual network communication module and the network communication module, so that the data transmission module has the advantages of accuracy, high efficiency and high universality.
Description of the drawings:
FIG. 1 is a schematic structural diagram of the present invention.
The specific implementation mode is as follows:
in order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings.
As shown in fig. 1, a remote VLAN implementation method includes the following steps:
the remote host runs the virtual network card;
according to the IP address prestored in the network port equipment, an IP address in the same network segment with the network port equipment is allocated to the virtual network card;
and sending network communication data to the network port equipment according to the IP address allocated to the virtual network card.
The method for sending network communication data to the network port equipment according to the IP address allocated to the virtual network card comprises the following steps:
the remote host establishes network communication with the data receiving and sending device;
based on the network communication, sending network communication data to a data receiving and sending device;
and sending the network communication data to the internet access equipment through a data receiving and sending device.
The data receiving and sending device receives network communication data sent by a remote host, and the network communication data are transmitted to the data receiving and sending device according to an IP address allocated to the virtual network card by the remote host;
and replacing the information which can be identified by the remote host in the network communication data with the information which can be identified by the network interface equipment.
And transmitting the network communication data after the replacement is finished to the internet access equipment.
The information at least comprises MAC address, IP address and check bit.
The network port equipment is a network port type PLC.
The network communication data is upgrade firmware or query data.
A remote VLAN implementation apparatus, the apparatus comprising:
the starting module is used for the remote host to operate the virtual network card;
the virtual network communication module is used for allocating an IP address which is in the same network segment with the network port equipment to the virtual network card;
and the data sending module is used for sending the network communication data to the internet access equipment by the remote host.
The data transmission module comprises:
the forwarding module is used for sending the network communication data to the data receiving and sending device by the remote host;
and the communication module is used for establishing network communication between the remote host and the data receiving and sending device.
A remote VLAN implementation apparatus, the apparatus comprising:
the network communication module is used for receiving the network communication data sent by the remote host by the data receiving and sending device;
the execution module is used for replacing the information of the network communication data;
and the transmission module is used for transmitting the replaced network communication data to the network port equipment.
A remote VLAN implementation apparatus, the apparatus comprising:
and the data receiving module is used for receiving the network communication data sent from the remote host by the network port equipment.
When the remote network card is used, software for realizing virtual network communication is installed at the end of the remote host, and the software is matched with the virtual network card for use; the software starts and allocates an IP address which is in the same network segment with the network port equipment to the virtual network card, then the IP address is connected to the data forwarding module through the network, and the network data at the end of the remote host is sent to the data forwarding module; the network interface equipment is connected with the data receiving and sending module in a network cable or wireless mode, the data receiving and sending module is operated, the data forwarding module is connected with the data forwarding module through the network communication module, the data forwarding module transmits the network data to the data receiving and sending module, the data receiving and sending module transmits the network data to the network interface equipment after carrying out replacement processing on the network data, the remote host initiates communication to send the data to the network interface equipment, and the data transmission between the remote host and the network interface equipment is realized through the network communication link. The remote communication mode does not need to establish a communication link again when the place is switched, and only communication software is needed to realize the data transmission; the data receiving and sending module is used for realizing the connection of the network port equipment and replacing a data content MAC address, an IP address and a check bit; the data forwarding module is used for realizing the forwarding function of data; the virtual network communication module is used for realizing the function of a virtual network and realizing the transmission of data; the data receiving and sending module, the networking communication module, the data forwarding module and the virtual network communication module perform data interaction, the transmission efficiency is high, the steps are simple and convenient, and the method and the device can be suitable for various different application scenes.
The above-described embodiments should not be construed as limiting the scope of the invention, and any alternative modifications or alterations to the embodiments of the present invention will be apparent to those skilled in the art.
The present invention is not described in detail, but is known to those skilled in the art.

Claims (2)

1. A remote VLAN implementation method comprises the following steps:
the remote host runs the virtual network card and starts the software of virtual network communication;
the software allocates an IP address which is in the same network segment with the network port equipment to the virtual network card according to the IP address prestored in the network port equipment; wherein, the network port equipment is a network port type PLC;
the remote host sends network communication data to the network port equipment according to the IP address allocated to the virtual network card;
the data receiving and sending device receives network communication data sent by the remote host, and the network communication data are transmitted to the data receiving and sending device according to the IP address allocated to the virtual network card by the remote host; wherein the network communication data is upgrade firmware or query data;
the data receiving and sending device replaces the information which can be identified by the remote host in the network communication data with the information which can be identified by the network port equipment; the information at least comprises an MAC address, an IP address and a check bit;
the data receiving and sending device transmits the replaced network communication data to the internet access equipment;
wherein, the sending network communication data to the network port device according to the IP address allocated to the virtual network card comprises the following steps:
the remote host establishes network communication with the data receiving and sending device;
and sending the network communication data to a data receiving and sending device based on the network communication.
2. A remote VLAN implementation apparatus, the apparatus comprising: the remote host and the data receiving and sending device; the remote host comprises a starting module, a virtual network communication module and a data sending module;
the starting module is used for the remote host to run the virtual network card and start the software of virtual network communication;
the virtual network communication module is used for allocating an IP address which is in the same network segment with the network port equipment to the virtual network card; wherein, the network port equipment is a network port type PLC;
the data sending module is used for sending network communication data to the internet access equipment by the remote host; the data sending module is used for the remote host to send network communication data to the internet access equipment and is used for enabling the remote host to establish network communication with the data receiving and sending device; and means for transmitting network communication data to the data receiving and transmitting means based on the network communication;
the data receiving and sending device receives network communication data sent by the remote host, and the network communication data are transmitted to the data receiving and sending device according to the IP address allocated to the virtual network card by the remote host; wherein the network communication data is upgrade firmware or query data;
and for replacing information within the network communication data that is recognizable by a remote host with information recognizable by a web portal device; the information at least comprises an MAC address, an IP address and a check bit;
and the data receiving and sending device is used for transmitting the replaced network communication data to the internet access equipment.
CN201811599883.7A 2018-12-26 2018-12-26 Remote VLAN implementation method Active CN109639554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811599883.7A CN109639554B (en) 2018-12-26 2018-12-26 Remote VLAN implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811599883.7A CN109639554B (en) 2018-12-26 2018-12-26 Remote VLAN implementation method

Publications (2)

Publication Number Publication Date
CN109639554A CN109639554A (en) 2019-04-16
CN109639554B true CN109639554B (en) 2022-01-21

Family

ID=66077778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811599883.7A Active CN109639554B (en) 2018-12-26 2018-12-26 Remote VLAN implementation method

Country Status (1)

Country Link
CN (1) CN109639554B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098722A (en) * 2021-04-09 2021-07-09 山东有人物联网股份有限公司 Multi-network card management method, device and computer readable storage medium
CN114268519A (en) * 2021-12-27 2022-04-01 成都康特软件科技开发有限公司 Network communication system, data transmission method, and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399830A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Virtual machine system and method for sharing Ethernet point to point protocol link
CN104618214A (en) * 2015-03-06 2015-05-13 北京深思数盾科技有限公司 Method and system for transmitting information by constructing local area network
CN104869097A (en) * 2014-02-20 2015-08-26 杭州华三通信技术有限公司 Route limiting method based on virtual private network (VPN), and route limiting device based on VPN
CN105939239A (en) * 2015-07-31 2016-09-14 杭州迪普科技有限公司 Data transmission method and device of virtual network interface card
CN106953788A (en) * 2017-02-16 2017-07-14 北京西普阳光教育科技股份有限公司 A kind of Virtual Network Controller and control method
CN108111619A (en) * 2017-12-28 2018-06-01 西安抱朴通信科技有限公司 A kind of data distribution method and device, computer equipment, storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079486A (en) * 2013-03-28 2014-10-01 国际商业机器公司 Gateway and method of transmitting data through gateway

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399830A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Virtual machine system and method for sharing Ethernet point to point protocol link
CN104869097A (en) * 2014-02-20 2015-08-26 杭州华三通信技术有限公司 Route limiting method based on virtual private network (VPN), and route limiting device based on VPN
CN104618214A (en) * 2015-03-06 2015-05-13 北京深思数盾科技有限公司 Method and system for transmitting information by constructing local area network
CN105939239A (en) * 2015-07-31 2016-09-14 杭州迪普科技有限公司 Data transmission method and device of virtual network interface card
CN106953788A (en) * 2017-02-16 2017-07-14 北京西普阳光教育科技股份有限公司 A kind of Virtual Network Controller and control method
CN108111619A (en) * 2017-12-28 2018-06-01 西安抱朴通信科技有限公司 A kind of data distribution method and device, computer equipment, storage medium

Also Published As

Publication number Publication date
CN109639554A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN101207604B (en) Virtual machine system and communication processing method thereof
CN102523637B (en) Ethernet base, network system and data forwarding method
CN101686263B (en) Wireless data card and working method thereof
CN109639554B (en) Remote VLAN implementation method
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN102984237A (en) System and method for data transmission and based on socket
CN104993993A (en) Message processing method, device, and system
CN103716092A (en) Networking system and communication method for bidirectional optical fiber communication in bus network
CN101459532A (en) Method and apparatus for automatic networking by multi-port equipment
CN103001966B (en) The process of a kind of private network IP, recognition methods and device
CN105991788A (en) Method for realizing slave network address assignment based on NFC communication
CN107769960B (en) BMC management architecture based on CAN bus
CN107566476B (en) Access method, SDN controller, forwarding equipment and user access system
CN102843253A (en) Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
JP3809365B2 (en) Network system, wireless terminal device, and wireless relay device
CN212463256U (en) Wireless terminal equipment of Internet of things and communication module
CN110661692B (en) Network interconnection system and method
WO2022087795A1 (en) Resource mapping method and apparatus, device, and storage medium
EP2770672A2 (en) System of wireless communication, and method of management
CN114882631B (en) Self-adaptive intelligent gate network configuration method and gate system
CN104168311A (en) Service processing method, device and system
CN106817149B (en) Signal control method based on power line communication and server thereof
CN1742464B (en) Method and device for exchanging data by means of a tunnel connection
CN116208551B (en) Data transmission method, device, equipment and storage medium
CN111756607B (en) Message transmission method and device

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
CB02 Change of applicant information

Address after: Room 1301, 13 / F, China Europe alumni industrial building, No.3 maolingshan Road, Jinan area, China (Shandong) pilot Free Trade Zone, Jinan City, Shandong Province

Applicant after: Shandong Youren networking Co.,Ltd.

Address before: 250101 1105, building 1, Aosheng building, 1166 Xinluo street, high tech Zone, Jinan City, Shandong Province

Applicant before: SHANDONG YOUREN INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant