CN110224917A - Data transmission method, apparatus and system, server - Google Patents

Data transmission method, apparatus and system, server Download PDF

Info

Publication number
CN110224917A
CN110224917A CN201810175076.6A CN201810175076A CN110224917A CN 110224917 A CN110224917 A CN 110224917A CN 201810175076 A CN201810175076 A CN 201810175076A CN 110224917 A CN110224917 A CN 110224917A
Authority
CN
China
Prior art keywords
server
data
vlan
microsoft loopback
loopback adapter
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.)
Granted
Application number
CN201810175076.6A
Other languages
Chinese (zh)
Other versions
CN110224917B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810175076.6A priority Critical patent/CN110224917B/en
Publication of CN110224917A publication Critical patent/CN110224917A/en
Application granted granted Critical
Publication of CN110224917B publication Critical patent/CN110224917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/45533Hypervisors; Virtual machine monitors
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

This application discloses a kind of data transmission method, apparatus and system, servers, belong to field of communication technology.This method is applied to the first object server in data transmission system, the data transmission system includes: second server, the multiple first servers being connect with the second server, the first object server is any server in the multiple first server, the described method includes: constructing the first virtual LAN VLAN based on the physical network card in the multiple first server;Based on the physical network card in the first object server, Microsoft Loopback Adapter is configured in the first object server;The 2nd VLAN where the Microsoft Loopback Adapter is constructed based on the Microsoft Loopback Adapter;The first data are sent to other first servers connecting with the first object server by the first VLAN, the second data are sent to the second server by the 2nd VLAN.The present invention can be realized the separated transmission to the first data and the second data.

Description

Data transmission method, apparatus and system, server
Technical field
This application involves field of communication technology, in particular to a kind of data transmission method, apparatus and system, server.
Background technique
Data transmission system includes management server and data server, wherein data server and management server it Between can transfer management data can be passed between multiple data servers in order to which management server is managed data server Defeated business datum, to realize different communication services, such as: it, can by the transmission services data between multiple data servers Realize the business functions such as the service of calculating or WEB (webpage) application.
In the related technology, data server is typically arranged with two network interfaces, wherein a network interface is management network port, the pipe Reason network interface is used for transmission management data, and another network interface is data network interface, which is used for transmission business datum.
But with the development of communication technology, have single network interface equipment (such as: system on chip (English: System on Chip;Abbreviation: SoC)) it can be used in the processing centers such as data center or monitoring center involved in data transmission system, Under the trend, a network interface may be only configured on server, at this point, how to realize the separation of management data and business datum Transmission is a problem to be solved.
Summary of the invention
This application provides a kind of data transmission method, apparatus and system, servers, and only having one in first server can In the case where the network interface for being used for transmission data, the separated transmission to management data and business datum can be realized.The technical side Case is as follows:
In a first aspect, providing a kind of data transmission method, the method is applied to the first mesh in data transmission system Server is marked, the data transmission system includes: second server, and, multiple first connect with the second server Server, the first object server are any server in the multiple first server, which comprises
Based on the physical network card in the multiple first server, the first virtual LAN VLAN is constructed;
Based on the physical network card in the first object server, virtual net is configured in the first object server Card;
The 2nd VLAN where the Microsoft Loopback Adapter is constructed based on the Microsoft Loopback Adapter;
The first number is sent to other first servers connecting with the first object server by the first VLAN According to, and, the second data are sent to the second server by the 2nd VLAN.
Optionally, it is described by the first VLAN to other first servers being connect with the first object server Send the first data, comprising:
First data are sent to the physical network card;
Based on the first VLAN, first data are sent to by other described first clothes by the network interface of physical network card Business device;
It is described that second data are sent to the second server by the 2nd VLAN, comprising:
Second data are sent to the physical network card by the Microsoft Loopback Adapter;
Based on the 2nd VLAN, second data are sent to by second clothes by the network interface of the physical network card Business device.
Optionally, first data are business datum, and the business datum is used for real for the first object server The now communication service between other described first servers;
Second data are management data, and the management data are used for for the second server to the first object Server is managed.
Optionally, a network interface is configured on the first object server.
Optionally, the second server is taken described based on the first object for managing the first server The physical network card being engaged in device, after configuring Microsoft Loopback Adapter in the first object server, the method also includes:
The Internet protocol IP address that the second server is redistributed is received, the IP address redistributed is described Second server is taken when the IP address for determining the Microsoft Loopback Adapter is identical as the IP address of the physical network card by described second Business device is that the Microsoft Loopback Adapter and/or the physical network card distribute based on dynamic host configuration protocol DHCP.
Optionally, the first object server is connect with the second server by interchanger, the second service Microsoft Loopback Adapter, the 2nd VLAN constructed where the Microsoft Loopback Adapter based on the Microsoft Loopback Adapter are configured in device, comprising:
Based on virtual in the Microsoft Loopback Adapter and the second server in the interchanger, the first object server Network interface card constructs the 2nd VLAN.
Second aspect, provides a kind of data transmission device, and described device includes:
First building module, for constructing the first virtual local area based on the physical network card in the multiple first server Net VLAN;
Configuration module, for based on the physical network card in the first object server, in the first object server Middle configuration Microsoft Loopback Adapter;
Second building module, for constructing the 2nd VLAN where the Microsoft Loopback Adapter based on the Microsoft Loopback Adapter;
First sending module, for by the first VLAN to connect with the first object server other first Server sends the first data;
Second sending module, for sending the second data to the second server by the 2nd VLAN.
Optionally, first sending module, is used for:
First data are sent to the physical network card;
Based on the first VLAN, first data are sent to by other described first clothes by the network interface of physical network card Business device;
Second sending module, is used for:
Second data are sent to the physical network card by the Microsoft Loopback Adapter;
Based on the 2nd VLAN, second data are sent to by second clothes by the network interface of the physical network card Business device.
Optionally, first data are business datum, and the business datum is used for real for the first object server The now communication service between other described first servers;
Second data are management data, and the management data are used for for the second server to the first object Server is managed.
Optionally, a network interface is configured on the first object server.
Optionally, the second server is taken described based on the first object for managing the first server The physical network card being engaged in device, described device further include:
Receiving module, the Internet protocol IP address redistributed for receiving the second server are described to redistribute IP address be the second server it is identical as the IP address of the physical network card in the IP address for determining the Microsoft Loopback Adapter When, being based on dynamic host configuration protocol DHCP by the second server is the Microsoft Loopback Adapter and/or the physical network card point Match.
Optionally, the first object server is connect with the second server by interchanger, the second service Microsoft Loopback Adapter is configured in device, the second building module is used for:
Based on virtual in the Microsoft Loopback Adapter and the second server in the interchanger, the first object server Network interface card constructs the 2nd VLAN.
The third aspect, provides a kind of data transmission system, and the data transmission system includes: the transmission of at least one data Subsystem;
Each data transmission sub-system includes: second server, and, multiple first connect with the second server Server;
Wherein, the first server is used to execute the data transmission method as described in first aspect is any.
Optionally, in the data transmission system, each data transmission sub-system belongs to same 2nd VLAN, and multiple numbers Belong to the 2nd different VLAN according to transmission subsystem.
Optionally, each data transmission sub-system further include: interchanger, the first server include: blade server, The interchanger includes: network exchange plate.
Fourth aspect provides a kind of server, including processor and memory,
Wherein,
The memory, for storing computer program;
The processor realizes any number of first aspect for executing the program stored on the memory According to transmission method.
Technical solution provided by the present application has the benefit that
Data transmission method provided in an embodiment of the present invention, apparatus and system, server, by being based on multiple first services Physical network card in device constructs the first VLAN, based on the physical network card in first object server, in first object server Microsoft Loopback Adapter is configured, the 2nd VLAN where the Microsoft Loopback Adapter is constructed based on Microsoft Loopback Adapter, also, pass through the first VLAN Xiang Yu Other first servers of one destination server connection send the first data, and, it is sent out by the 2nd VLAN to second server The second data are sent, can be realized in the case where first server only has a network interface that can be used for transmitting data to first The separated transmission of data and the second data, and then ensure that effective transmission of data.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the structural representation of data transmission system involved in a kind of data transmission method provided in an embodiment of the present invention Figure;
Fig. 2 is a kind of flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another data transmission method provided in an embodiment of the present invention;
Fig. 4 is a kind of method for sending the second data to second server by the 2nd VLAN provided in an embodiment of the present invention Flow chart;
Fig. 5 is that the data in a kind of data transmission system provided in an embodiment of the present invention transmit schematic diagram;
Fig. 6 be it is provided in an embodiment of the present invention it is a kind of by the first VLAN to connect with first object server other the One server sends the method flow diagram of the first data;
Fig. 7 A is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention;
Fig. 7 B is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of data transmission system provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another data transmission system provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Referring to Figure 1, it illustrates the transmission of data involved in a kind of data transmission method provided in an embodiment of the present invention The structural schematic diagram of system.As shown in Figure 1, the data transmission system may include: second server 110 and with this second clothes Multiple first servers 120 that business device 110 connects.Wherein, second server 110 is for managing first server 120, the second clothes Business device 110 and first server 120 may each be a server, or the server cluster consisted of several servers, An either cloud computing service center.Alternatively, the first server 120 or other any possess Internet protocol The address (InternetProtocol, IP) SoC or central processing unit (Central Processing Unit/Processor, CPU).Also, the first server 120 only has a network interface, can be used alternatively, the first server 120 only has a network interface In transmission data, i.e., only a network interface is used for outer processing.
It can be connected by interchanger between second server 110 and first server 120.In the data transmission system In, the first data can be transmitted between multiple first servers 120, can be passed between second server 110 and first server 120 Defeated second data.Optionally, which can be business datum, which can be used for realizing multiple first servers Communication service between 120, such as: calculating service or WEB application can be realized based on the business datum between first server 120 Equal business functions.Second data can be used for for second server 110 for management data, the management data to first server 120 are managed, such as: second server 110 can supervise the working condition of first server 120 based on the management data It surveys, alternatively, distributing IP address etc. for first server 120.
The embodiment of the invention provides a kind of data transmission method, this method can be applied to data transmission system shown in FIG. 1 First server 120 in system, the embodiment of the present invention are described by taking first object server as an example, other first services The movement of device 120 can refer to the movement of the first object server, which is in multiple first servers Any server, as shown in Fig. 2, this method may include:
Step 201, based on the physical network card in multiple first servers, construct the first VLAN.
Step 202, based on the physical network card in first object server, configure virtual net in first object server Card.
Step 203, based on Microsoft Loopback Adapter construct Microsoft Loopback Adapter where the 2nd VLAN.
Step 204 sends the first number to other first servers connecting with first object server by the first VLAN According to.
Step 205 sends the second data to second server by the 2nd VLAN.
In conclusion data transmission method provided in an embodiment of the present invention, by based on the object in multiple first servers Network interface card is managed, the first VLAN is constructed, based on the physical network card in first object server, is configured in first object server virtual Network interface card is constructed the 2nd VLAN where the Microsoft Loopback Adapter based on Microsoft Loopback Adapter, also, is taken by the first VLAN to first object Other first servers that device connects of being engaged in send the first data, and, the second number is sent to second server by the 2nd VLAN According to can realize in the case where first server only has a network interface that can be used for transmitting data to the first data and the The separated transmission of two data, and then ensure that effective transmission of data.
The embodiment of the invention provides a kind of data transmission method, this method can be applied to data transmission system shown in FIG. 1 First server 120 in system, the embodiment of the present invention have one with first object server and the first object server It is described for network interface, the movement of other first servers 120 can refer to the first object server, first mesh Marking server is any server in multiple first servers, as shown in figure 3, this method may include:
Step 301, first object server construct the first VLAN based on the physical network card in multiple first servers.
Virtual LAN (Virtual Local Area Network, VLAN) is one group of equipment and user in logic, These equipment and user are not limited by physical location, can be according to factors such as function, department and applications by these equipment and use It organizes at family.When due to communication between these equipment and user, these equipment and user can be considered in the same network segment In, thus the network organized is referred to as virtual LAN.VLAN is a kind of technology that comparison is new, and work is in opening Formula system interconnects the layers 2 and 3 of (Open System Interconnection, OSI) reference model, and a VLAN can It is considered as a broadcast domain, and the communication between VLAN is completed by the 3rd layer of router.With traditional local area network technology It compares, the vlan technology is more flexible, and has the advantage that the management of movement, addition and the modification of its network equipment is opened Sell smaller, and it can control broadcast activity and improves the safety of network.
In general, before executing the step 301, the hardware deployment of data transmission system will be completed, that is, have determined that Hardware annexation in data transmission system between included server and each server, such as: have determined that data It include second server and multiple first servers in Transmission system, between each first server and second server, and It is connected by interchanger between multiple first servers, which supports vlan technology, and second server and each the It is each equipped with physical network card in one server, at this point, the implementation of the step 301 may include: based on interchanger and each Physical network card in first server constructs the first VLAN, so as to carry out data transmission doing standard in the data transmission system It is standby.
Step 302, first object server are based on the physical network card in first object server, in first object server Middle configuration Microsoft Loopback Adapter.
Optionally, the instruction for the configuration Microsoft Loopback Adapter that first object server can be sent to it according to user, based on the Physical network card in one destination server configures Microsoft Loopback Adapter.
Step 303, first object server construct the 2nd VLAN where Microsoft Loopback Adapter based on Microsoft Loopback Adapter.
Wherein, first object server and second server can by supporting the interchanger of vlan technology connect, and this It is also configured with Microsoft Loopback Adapter in two servers, at this point, the implementation of the step 303 may include: based on the interchanger, first The Microsoft Loopback Adapter in Microsoft Loopback Adapter and second server in destination server constructs the 2nd VLAN.
Optionally, first object server can according to VLAN configuration order that user is sent to it (such as: vconfig Order), the 2nd VLAN is constructed based on the Microsoft Loopback Adapter in the Microsoft Loopback Adapter and second server in first object server.
It should be noted that as soon as the data biography for belonging to the first VLAN can be established after constructing VLAN and the 2nd VLAN Defeated path and the data transfer path for belonging to the 2nd VLAN, and IP network section belonging to the physical network card of first object server and void IP network section belonging to quasi- network interface card is different, so that between the data based on the first VLAN transmission and the data based on the 2nd VLAN transmission It is capable of forming isolation, makes that interference will not be generated between the data transmitted based on the two, then guarantees the accuracy of data transmission.
Illustratively, after constructing the first VLAN and the 2nd VLAN, it is assumed that in the first VLAN, the object of first object server IP network section where managing network interface card is 192.168.0.0/24 network segment, in the 2nd VLAN, the Microsoft Loopback Adapter of first object server The IP network section at place is 192.168.1.0/24 network segment, and the IP network section of the two is different, is being based respectively on the physical network card and the void When quasi- network interface card carries out data transmission, the data based on physical network card transmission and the data based on Microsoft Loopback Adapter transmission will not mutually be concerned with It disturbs, ensure that the accuracy of data transmission.
Step 304, first object server receive the Internet protocol IP address that second server is redistributed, this divides again The IP address matched is second server when the IP address for determining Microsoft Loopback Adapter is identical as the IP address of physical network card, by the second clothes Business device is that Microsoft Loopback Adapter and/or physical network card distribute based on DHCP.
After completing to construct the first VLAN and the 2nd VLAN, if safeguard or be transformed network to network again, The IP address of Microsoft Loopback Adapter may change in the IP address of physical network card and the 2nd VLAN in first VLAN, after leading to variation Microsoft Loopback Adapter IP address it is identical as the IP address of the physical network card after variation both (IP address conflict) i.e., this When, if being carried out data transmission again based on the Microsoft Loopback Adapter and/or physical network card, the management data and business datum transmitted will There is error of transmission.
For the situation, when second server is identical as the IP address of physical network card in the IP address for determining Microsoft Loopback Adapter When, the second server can based on dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP IP address) is redistributed for Microsoft Loopback Adapter and/or physical network card, to ensure the difference of IP network section belonging to Microsoft Loopback Adapter and object It is different to manage IP network section belonging to network interface card, and then guarantees the accuracy of data transmission.
Wherein, DHCP is the network protocol of a local area network, is based on User Datagram Protocol (User Datagram Protocol, UDP) it works, which is mainly used for: distributing IP automatically for the internal network or Internet service provider of local area network Address, and user for local area network or internal network administrator distribute the permission being managed to all computers.
Illustratively, it is assumed that IP network section belonging to default setting Microsoft Loopback Adapter and physical network card institute in certain data transmission system The IP network section of category is different, and IP network section belonging to Microsoft Loopback Adapter is 192.168.1.0/24, in certain network rebuilding, Physical Network IP network section belonging to card is modified to 192.168.1.0/24, leads to the IP network section of the physical network card and the IP network section of Microsoft Loopback Adapter Conflict, at this point, second server can be that physical network card redistributes IP address based on DHCP, first object server is being connect After receiving the IP address that second server is redistributed for its physical network card, that is, it can ensure that IP network section belonging to Microsoft Loopback Adapter and physics IP network section belonging to network interface card is different.
It should be noted that redistributing IP network to multiple first servers in data transmission system in second server The IP of Duan Shi, the network that second server can only manage it modify, and can be realized to multiple first servers The modification of IP network section belonging to Microsoft Loopback Adapter is realized and is redistributed to Microsoft Loopback Adapter IP network section.
Step 305, when data to be sent are the second data, first object server is by the 2nd VLAN to second service Device sends the second data.
Wherein, which can be used to take first object for second server for management data, the management data Business device is managed.
Optionally, referring to FIG. 4, the realization process of the step 305 may include:
Second data are sent to physical network card by Microsoft Loopback Adapter by step 3051, first object server.
Step 3052, first object server are based on the 2nd VLAN, are sent the second data by the network interface of physical network card To second server.
Referring to FIG. 5, assuming that data transmission system includes second server and two first servers, two servers The IP address of respectively first object server and another first server, the physical network card eth0 of the first object server is 192.168.0.1, the IP based on the Microsoft Loopback Adapter eth0:VLAN 100 configured of physical network card eth0 in the first object server Address is 192.168.1.1, and the IP address of the physical network card eth0 of another first server is 192.168.0.2, and being based on should The IP address of the Microsoft Loopback Adapter eth0:VLAN 100 of the physical network card eth0 configuration of another first server is 192.168.1.2, The IP address of the physical network card eth0 of the second server is 192.168.0.3, based on physical network card in the second server The IP address of the Microsoft Loopback Adapter eth0:VLAN 100 of eth0 configuration is 192.168.1.3, also, is based on the first object service The physical network card eth0 structure of the physical network card eth0 of device, the physical network card eth0 of another first server and the second server The first VLAN is built, the void of Microsoft Loopback Adapter eth0:VLAN 100, another first server based on the first object server The Microsoft Loopback Adapter eth0:VLAN 100 of quasi- network interface card eth0:VLAN 100 and the second server constructs the 2nd VLAN, the first mesh When mark server sends the second data to second server, the second data first can be passed through Microsoft Loopback Adapter by first object server Eth0:VLAN 100 is sent to physical network card eth0, then is based on the 2nd VLAN, is counted by the network interface of physical network card eth0 by second According to second server is sent to, data transfer path please refers to path shown in solid in figure.
Step 306, when data to be sent be the first data when, first object server by the first VLAN to the first mesh Other first servers for marking server connection send the first data.
Wherein, which is business datum, the business datum be used to realize for first object server with other the Communication service between one server.
Optionally, referring to FIG. 6, the realization process of the step 306 may include:
First data are sent to physical network card by step 3061, first object server.
Step 3062, first object server are based on the first VLAN, are sent the first data by the network interface of physical network card To other first servers.
With continued reference to FIG. 5, when first object server sends the first data to another first server, it can be by first Data are sent to the physical network card eth0 of first object server, and are based on the first VLAN, pass through the object of first object server First data are sent to another first server by the network interface of reason network interface card eth0, and data transfer path please refers to dotted line in figure Shown in path.
When the data transmission method provided through the embodiment of the present invention carries out data transmission, due to the first data and the second number Path according to transmission data is different, and data to be sent are only capable of transmitting in corresponding transmission path, so that the first number of transmission It will not be interfered with each other according to the second data, can be realized the separated transmission to the first data and the second data.
It, can be by the 2nd VLAN transfer management data that are constructed based on Microsoft Loopback Adapter, by being based on object in practical application The first VLAN transmission services data for managing network interface card building, alternatively, can also be by the 2nd VLAN transmission services data, by this First VLAN transfer management data.In figure 2 and figure 3 only with by the 2nd VLAN transfer management data, by this first VLAN transmission services data instance, is illustrated data transmission method provided in an embodiment of the present invention, when by this second VLAN transmission services data, when by the first VLAN transfer management data, implementation can accordingly refer to Fig. 2 or Fig. 3 Shown in implementation, it is repeated no more herein.
Also, since the frequency and data volume that need transmission services data in practical applications are larger, generally may be used It selects by the 2nd VLAN transfer management data, by the first VLAN transmission services data, to guarantee transmission services data Bandwidth, and then guarantee data effective transmission.
In conclusion data transmission method provided in an embodiment of the present invention, by based on the object in multiple first servers Network interface card is managed, the first VLAN is constructed, based on the physical network card in first object server, is configured in first object server virtual Network interface card is constructed the 2nd VLAN where the Microsoft Loopback Adapter based on Microsoft Loopback Adapter, also, is taken by the first VLAN to first object Other first servers that device connects of being engaged in send the first data, and, the second number is sent to second server by the 2nd VLAN According to can realize in the case where first server only has a network interface that can be used for transmitting data to the first data and the The separated transmission of two data, and then ensure that effective transmission of data.
It should be noted that the sequencing of data transmission method step provided in an embodiment of the present invention can carry out suitably Adjustment, step according to circumstances can also accordingly be increased and decreased, anyone skilled in the art the invention discloses Technical scope in, the method that can readily occur in variation should be covered by the protection scope of the present invention, therefore no longer superfluous It states.
The embodiment of the invention provides a kind of data transmission devices, and as shown in Figure 7 A, which can wrap It includes:
First building module 701, for constructing the first virtual LAN based on the physical network card in multiple first servers VLAN。
Configuration module 702, for being configured in first object server based on the physical network card in first object server Microsoft Loopback Adapter.
Second building module 703, for based on the 2nd VLAN where Microsoft Loopback Adapter building Microsoft Loopback Adapter.
First sending module 704, for passing through the first VLAN to other first services connecting with first object server Device sends the first data.
Second sending module 705, for sending the second data to second server by the 2nd VLAN.
In conclusion data transmission device provided in an embodiment of the present invention, is based on multiple first by the first building module Physical network card in server constructs the first VLAN, and configuration module is based on the physical network card in first object server, first Microsoft Loopback Adapter is configured in destination server, the second building module constructs second where the Microsoft Loopback Adapter based on Microsoft Loopback Adapter VLAN, the first sending module send the first number to other first servers connecting with first object server by the first VLAN According to, and, the second sending module sends the second data to second server by the 2nd VLAN, can only have in first server In the case where having the network interface that can be used for transmitting data, the separated transmission to the first data and the second data, Jin Erbao are realized Effective transmission of data is demonstrate,proved.
Optionally, the first sending module 704, is used for:
First data are sent to physical network card.
Based on the first VLAN, the first data are sent to by other first servers by the network interface of physical network card.
Second sending module 705, is used for:
Second data are sent to physical network card by Microsoft Loopback Adapter.
Based on the 2nd VLAN, the second data are sent to by second server by the network interface of physical network card.
Optionally, the first data are business datum, the business datum be used to realize for first object server with other the Communication service between one server.
Second data are management data, and management data are for being managed first object server for second server.
Optionally, a network interface is configured on first object server.
Optionally, second server is for managing first server, based on the physical network card in first object server, Fig. 7 B is please referred to, which can also include:
Receiving module 706, the Internet protocol IP address redistributed for receiving second server, the IP redistributed Location is second server when the IP address for determining Microsoft Loopback Adapter is identical as the IP address of physical network card, is based on by second server Dynamic host configuration protocol DHCP is that Microsoft Loopback Adapter and/or physical network card distribute.
Optionally, first object server is connect with second server by interchanger, configured with void in second server Quasi- network interface card, the second building module 703, is used for:
Based on the Microsoft Loopback Adapter in the Microsoft Loopback Adapter and second server in interchanger, first object server, building the Two VLAN.
In conclusion data transmission device provided in an embodiment of the present invention, is based on multiple first by the first building module Physical network card in server constructs the first VLAN, and configuration module is based on the physical network card in first object server, first Microsoft Loopback Adapter is configured in destination server, the second building module constructs the 2nd VLAN where Microsoft Loopback Adapter based on Microsoft Loopback Adapter, First sending module sends the first data to other first servers connecting with first object server by the first VLAN, with And second sending module by the 2nd VLAN to second server send the second data, can only have one in first server In the case where a network interface that can be used for transmitting data, the separated transmission to the first data and the second data is realized, and then ensure that Effective transmission of data.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
The embodiment of the invention provides a kind of data transmission systems, referring to FIG. 8, the data transmission system may include: At least one data transmission sub-system 10, and when the data transmission system includes multiple data transmission sub-systems 10, every two It can be connected by cascade system between data transmission sub-system 10.
Each data transmission sub-system 10 may include: second server 110, and, it is connect with second server 110 Multiple first servers 120.
Wherein, first server 120 is for executing Fig. 2 or data transmission method shown in Fig. 3.Further, this second Server 110 is for being managed multiple first servers 120.Also, since the managerial ability of second server 110 has Limit, when the first server 120 for including in data transmission sub-system 10 needs to be managed by multiple second servers 110, the number According to that can also include multiple second servers 110 in transmission subsystem 10, the embodiment of the present invention be not specifically limited it.
Optionally, referring to FIG. 8, each data transmission sub-system 10 can also include: interchanger 130, in each data In transmission subsystem 10, it can be connected by the interchanger 130 between every two first server 120, and each first server It can also be connected by the interchanger 130 between 120 and second server 110.
Also, it is additionally provided with cascade port on the interchanger 130, cascade can be passed through between every two data transmission sub-system 10 Mouth connection.Alternatively, can be cascaded by core switch between every two data transmission sub-system 10.By being passed to data Defeated subsystem 10 is cascaded the dilatation, it can be achieved that data transmission system.
When belonging to same two VLAN due to the multiple data transmission sub-systems carried out data transmission when needs, multiple number It can realize therefore data transmission system can be set in the transmission of the second data by Microsoft Loopback Adapter according between transmission subsystem Each data transmission sub-system belongs to same 2nd VLAN in system, and multiple data transmission sub-systems belong to different second VLAN, in this way, the second data in each data transmission sub-system can only be transmitted in respective data transmission sub-system, no It can be transmitted in other data transmission sub-systems, it can be ensured that the second data in different data transmission subsystem will not mutually be concerned with It disturbs, realizes the data isolation of the second data between different data transmission subsystem.
It should be noted that first server may include: blade in data transmission system provided in an embodiment of the present invention Server or advanced telecommunications computing platform (AdvancedTelecom Computing Architecture, ATCA) equipment Deng.Also, referring to FIG. 9, the interchanger may include: network exchange when first server includes blade server 1201 Plate 1301, second server may act as main controlled node 1101 in the data transmission system, to realize to blade server 1201 Management.
The embodiment of the invention provides a kind of server, including processor and memory,
Wherein,
Memory, for storing computer program.
Processor realizes Fig. 2 or data transmission method shown in Fig. 3 for executing the program stored on memory.
Figure 10 is a kind of structural schematic diagram of server shown according to an exemplary embodiment.The server 800 wraps Include central processing unit (CPU) 801, the system including random access memory (RAM) 802 and read-only memory (ROM) 803 is deposited Reservoir 804, and the system bus 805 of connection system storage 804 and central processing unit 801.The server 800 also wraps The basic input/output (I/O system) 806 for helping that information is transmitted between each device in computer is included, and for depositing Store up the mass-memory unit 807 of operating system 813, application program 814 and other program modules 815.
The basic input/output 806 includes display 808 for showing information and inputs letter for user The input equipment 809 of such as mouse, keyboard etc of breath.Wherein the display 808 and input equipment 809 are all by being connected to The input and output controller 810 of system bus 805 is connected to central processing unit 801.The basic input/output 806 Can also include input and output controller 810 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its The input of his equipment.Similarly, input and output controller 810 also provides output to display screen, printer or other kinds of defeated Equipment out.
The mass-memory unit 807 is by being connected to the bulk memory controller (not shown) of system bus 805 It is connected to central processing unit 801.The mass-memory unit 807 and its associated computer-readable medium are server 800 provide non-volatile memories.That is, the mass-memory unit 807 may include such as hard disk or CD-ROM The computer-readable medium (not shown) of driver etc.
According to various embodiments of the present invention, the server 800 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 800 can be by the network interface that is connected on the system bus 805 Unit 811 is connected to network 812, in other words, Network Interface Unit 811 also can be used be connected to other kinds of network or Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in In memory, central processing unit 801 realizes that Fig. 2 or data shown in Fig. 3 are passed by executing one or more programs Transmission method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory of instruction, above-metioned instruction can be executed as the processor of server to complete shown in each embodiment of the present invention Data transmission method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers When, so that computer executes the data transmission method that above method embodiment provides.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the alternative embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (16)

1. a kind of data transmission method, which is characterized in that the method is applied to the first object service in data transmission system Device, the data transmission system include: second server, and, the multiple first servers being connect with the second server, The first object server is any server in the multiple first server, which comprises
Based on the physical network card in the multiple first server, the first virtual LAN VLAN is constructed;
Based on the physical network card in the first object server, Microsoft Loopback Adapter is configured in the first object server;
The 2nd VLAN where the Microsoft Loopback Adapter is constructed based on the Microsoft Loopback Adapter;
The first data are sent to other first servers connecting with the first object server by the first VLAN, with And the second data are sent to the second server by the 2nd VLAN.
2. the method according to claim 1, wherein
It is described that first number is sent to other first servers connecting with the first object server by the first VLAN According to, comprising:
First data are sent to the physical network card;
Based on the first VLAN, first data are sent to by other described first services by the network interface of physical network card Device;
It is described that second data are sent to the second server by the 2nd VLAN, comprising:
Second data are sent to the physical network card by the Microsoft Loopback Adapter;
Based on the 2nd VLAN, second data are sent to by the second service by the network interface of the physical network card Device.
3. method according to claim 1 or 2, which is characterized in that
First data be business datum, the business datum be used for for the first object server realize with it is described other Communication service between first server;
Second data are management data, and the management data are used for for the second server to the first object service Device is managed.
4. method according to claim 1 or 2, which is characterized in that be configured with a net on the first object server Mouthful.
5. method according to claim 1 or 2, which is characterized in that the second server is for managing first clothes Business device configures virtual in the physical network card based in the first object server in the first object server After network interface card, the method also includes:
The Internet protocol IP address that the second server is redistributed is received, the IP address redistributed is described second Server is when the IP address for determining the Microsoft Loopback Adapter is identical as the IP address of the physical network card, by the second server It is that the Microsoft Loopback Adapter and/or the physical network card distribute based on dynamic host configuration protocol DHCP.
6. method according to claim 1 or 2, which is characterized in that the first object server and the second service Device is connected by interchanger, and Microsoft Loopback Adapter is configured in the second server, described based on described in Microsoft Loopback Adapter building The 2nd VLAN where Microsoft Loopback Adapter, comprising:
Based on the virtual net in the Microsoft Loopback Adapter and the second server in the interchanger, the first object server Card constructs the 2nd VLAN.
7. a kind of data transmission device, which is characterized in that described device includes:
First building module, for constructing the first virtual LAN based on the physical network card in the multiple first server VLAN;
Configuration module, for matching in the first object server based on the physical network card in the first object server Set Microsoft Loopback Adapter;
Second building module, for constructing the 2nd VLAN where the Microsoft Loopback Adapter based on the Microsoft Loopback Adapter;
First sending module, for passing through the first VLAN to other first services connecting with the first object server Device sends the first data;
Second sending module, for sending the second data to the second server by the 2nd VLAN.
8. device according to claim 7, which is characterized in that
First sending module, is used for:
First data are sent to the physical network card;
Based on the first VLAN, first data are sent to by other described first services by the network interface of physical network card Device;
Second sending module, is used for:
Second data are sent to the physical network card by the Microsoft Loopback Adapter;
Based on the 2nd VLAN, second data are sent to by the second service by the network interface of the physical network card Device.
9. device according to claim 7 or 8, which is characterized in that
First data be business datum, the business datum be used for for the first object server realize with it is described other Communication service between first server;
Second data are management data, and the management data are used for for the second server to the first object service Device is managed.
10. device according to claim 7 or 8, which is characterized in that be configured with a net on the first object server Mouthful.
11. device according to claim 7 or 8, which is characterized in that the second server is for managing first clothes Business device, in the physical network card based in the first object server, described device further include:
Receiving module, the Internet protocol IP address redistributed for receiving the second server, the IP redistributed Address is the second server when the IP address for determining the Microsoft Loopback Adapter is identical as the IP address of the physical network card, by The second server is that the Microsoft Loopback Adapter and/or the physical network card distribute based on dynamic host configuration protocol DHCP.
12. device according to claim 7 or 8, which is characterized in that the first object server and the second service Device is connected by interchanger, and Microsoft Loopback Adapter is configured in the second server, and the second building module is used for:
Based on the virtual net in the Microsoft Loopback Adapter and the second server in the interchanger, the first object server Card constructs the 2nd VLAN.
13. a kind of data transmission system, which is characterized in that the data transmission system includes: at least one data transmission system System;
Each data transmission sub-system includes: second server, and, the multiple first services being connect with the second server Device;
Wherein, the first server is used to execute the data transmission method as described in claim 1 to 6 is any.
14. data transmission system according to claim 13, which is characterized in that in the data transmission system, every number Belong to same 2nd VLAN according to transmission subsystem, and multiple data transmission sub-systems belong to the 2nd different VLAN.
15. data transmission system described in 3 or 14 according to claim 1, which is characterized in that each data transmission sub-system also wraps Include: interchanger, the first server include: blade server, and the interchanger includes: network exchange plate.
16. a kind of server, which is characterized in that including processor and memory,
Wherein,
The memory, for storing computer program;
The processor realizes any number of claim 1 to 6 for executing the program stored on the memory According to transmission method.
CN201810175076.6A 2018-03-02 2018-03-02 Data transmission method, device and system and server Active CN110224917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810175076.6A CN110224917B (en) 2018-03-02 2018-03-02 Data transmission method, device and system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810175076.6A CN110224917B (en) 2018-03-02 2018-03-02 Data transmission method, device and system and server

Publications (2)

Publication Number Publication Date
CN110224917A true CN110224917A (en) 2019-09-10
CN110224917B CN110224917B (en) 2021-10-08

Family

ID=67822035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810175076.6A Active CN110224917B (en) 2018-03-02 2018-03-02 Data transmission method, device and system and server

Country Status (1)

Country Link
CN (1) CN110224917B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104509A (en) * 2020-09-24 2020-12-18 视联动力信息技术股份有限公司 Configuration device and method of server
CN113406936A (en) * 2021-06-28 2021-09-17 中国科学技术大学 Control system of large scientific device
CN113812127A (en) * 2020-03-19 2021-12-17 西安诺瓦星云科技股份有限公司 Method, device and system for transmitting data
CN113949848A (en) * 2021-10-18 2022-01-18 重庆紫光华山智安科技有限公司 Data transmission method, device, equipment and medium
WO2022143059A1 (en) * 2020-12-31 2022-07-07 中兴通讯股份有限公司 Terminal and terminal application method
CN112104509B (en) * 2020-09-24 2024-05-10 视联动力信息技术股份有限公司 Configuration device and method of server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275328A1 (en) * 2009-09-24 2012-11-01 Atsushi Iwata System and method for identifying communication between virtual servers
CN103118090A (en) * 2013-01-18 2013-05-22 福建升腾资讯有限公司 Household fusion cloud computer terminal realizing method based on public network
CN103905309A (en) * 2012-12-28 2014-07-02 中国电信股份有限公司 Method and system of data exchange between virtual machines
CN104202195A (en) * 2014-09-10 2014-12-10 华为技术有限公司 Server unified communication method, baseboard management controller (BMC) and server
CN104486234A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Method and server for uninstalling service exchanger to physical network card
CN105207873A (en) * 2015-08-31 2015-12-30 华为技术有限公司 Message processing method and apparatus
CN105376231A (en) * 2015-11-18 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and device for realizing service isolation
CN106850871A (en) * 2017-01-23 2017-06-13 上海上讯信息技术股份有限公司 A kind of Dynamic Host Configuration Protocol server implementation method of single physical network card multi-VLAN
CN107276826A (en) * 2017-07-24 2017-10-20 郑州云海信息技术有限公司 A kind of capacitor network collocation method and device
CN107306191A (en) * 2016-04-18 2017-10-31 北京万合鸿瑞科技有限公司 A kind of Internet resources topological system virtualized based on vmware

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275328A1 (en) * 2009-09-24 2012-11-01 Atsushi Iwata System and method for identifying communication between virtual servers
CN103905309A (en) * 2012-12-28 2014-07-02 中国电信股份有限公司 Method and system of data exchange between virtual machines
CN103118090A (en) * 2013-01-18 2013-05-22 福建升腾资讯有限公司 Household fusion cloud computer terminal realizing method based on public network
CN104202195A (en) * 2014-09-10 2014-12-10 华为技术有限公司 Server unified communication method, baseboard management controller (BMC) and server
CN104486234A (en) * 2014-11-21 2015-04-01 华为技术有限公司 Method and server for uninstalling service exchanger to physical network card
CN105207873A (en) * 2015-08-31 2015-12-30 华为技术有限公司 Message processing method and apparatus
CN105376231A (en) * 2015-11-18 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and device for realizing service isolation
CN107306191A (en) * 2016-04-18 2017-10-31 北京万合鸿瑞科技有限公司 A kind of Internet resources topological system virtualized based on vmware
CN106850871A (en) * 2017-01-23 2017-06-13 上海上讯信息技术股份有限公司 A kind of Dynamic Host Configuration Protocol server implementation method of single physical network card multi-VLAN
CN107276826A (en) * 2017-07-24 2017-10-20 郑州云海信息技术有限公司 A kind of capacitor network collocation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龙清,罗炜: "私有云下的服务器虚拟化平台安全初探", 《电脑知识与技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113812127A (en) * 2020-03-19 2021-12-17 西安诺瓦星云科技股份有限公司 Method, device and system for transmitting data
CN113812127B (en) * 2020-03-19 2023-08-18 西安诺瓦星云科技股份有限公司 Method, device and system for transmitting data applied to LED display system
CN112104509A (en) * 2020-09-24 2020-12-18 视联动力信息技术股份有限公司 Configuration device and method of server
CN112104509B (en) * 2020-09-24 2024-05-10 视联动力信息技术股份有限公司 Configuration device and method of server
WO2022143059A1 (en) * 2020-12-31 2022-07-07 中兴通讯股份有限公司 Terminal and terminal application method
CN113406936A (en) * 2021-06-28 2021-09-17 中国科学技术大学 Control system of large scientific device
CN113949848A (en) * 2021-10-18 2022-01-18 重庆紫光华山智安科技有限公司 Data transmission method, device, equipment and medium

Also Published As

Publication number Publication date
CN110224917B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
EP2922238B1 (en) Resource allocation method
US6597956B1 (en) Method and apparatus for controlling an extensible computing system
US7146233B2 (en) Request queue management
CN102932174B (en) A kind of physical network card management method, device and physical host
US8280716B2 (en) Service-oriented infrastructure management
JP4451806B2 (en) On-demand instantiation in high performance computing (HPC) systems
WO2021135344A1 (en) Virtual private cloud and non-public cloud data center communication method, virtual private cloud and non-public cloud data center communication configuration method, and related apparatuses
US7826359B2 (en) Method and system for load balancing using queued packet information
CN110224917A (en) Data transmission method, apparatus and system, server
CN105340241A (en) Method and system for balancing load in a sdn network
EP3218805B1 (en) Method and system for model-driven, affinity-based, network functions
CN107959582A (en) A kind of management method and device of example of cutting into slices
US9930006B2 (en) Method for assigning logical addresses to the connection ports of devices of a server cluster, and corresponding computer program and server cluster
CN113504954A (en) Method, system and medium for calling CSI LVM plug-in, dynamic persistent volume provisioning
USRE46770E1 (en) Computer managing method
US9166947B1 (en) Maintaining private connections during network interface reconfiguration
US11018973B2 (en) Distributed sonic fabric chassis
CN112929206B (en) Method and device for configuring cloud physical machine in cloud network environment
CN102694667A (en) Method supporting user autonomous deployment of network and system thereof
CN116724543A (en) Container cluster management method and device
CN114584504B (en) Network card communication method, device, equipment and medium for AI training platform
CN114124740A (en) VNF instantiation method and device
WO2012153388A1 (en) Administration information generation method, administration information generation program, and administration information generation device
CN106487536A (en) A kind of network element management method and system
US11838149B2 (en) Time division control of virtual local area network (vlan) to accommodate multiple virtual applications

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