CN105474194A - Communication system and communication method - Google Patents

Communication system and communication method Download PDF

Info

Publication number
CN105474194A
CN105474194A CN201480036947.6A CN201480036947A CN105474194A CN 105474194 A CN105474194 A CN 105474194A CN 201480036947 A CN201480036947 A CN 201480036947A CN 105474194 A CN105474194 A CN 105474194A
Authority
CN
China
Prior art keywords
information
calculate node
communication mode
node
communication
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
CN201480036947.6A
Other languages
Chinese (zh)
Other versions
CN105474194B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105474194A publication Critical patent/CN105474194A/en
Application granted granted Critical
Publication of CN105474194B publication Critical patent/CN105474194B/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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible 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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • 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/12Discovery or management of network topologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a communication system and a communication method. The communication method comprises: a first computing node sends a communication mode parsing request to a management node, the communication mode parsing request comprising an identifier of the first computing node and an identifier of a second computing node; the management node determines physical communication mode information between the first computing node and the second computing node according to the communication mode parsing request and communication mode reference information, the communication mode reference information comprising system topological information and a system physical resource allocation result; the management node sends the physical communication mode information to the first computing node; and the first computing node communicates with the second computing node according to the physical communication mode information. The present invention can improve the communication efficiency.

Description

Communication system and communication method
Communication system and communication means technical field
The present embodiments relate to computer realm, and more particularly, to a kind of communication system and communication means.Background technology
Continuous improvement with people to server performance demand, the epoch that calculating performance is improved by increase dominant frequency have become over.Decoupling hardware structure and distributed computer framework become the developing direction of server architecture.
Under decoupling hardware structure, each component of server is decoupled, simple efficient design is changed to by complicated component design.It is connected with each other between each component of decoupling by high speed interconnecting channels.Under distributed computer framework, server includes multiple processors, and each processor is connected with each other by internet.So, the task of central processing unit is given into multiple processors to handle, and then realizes mutually coordinated between each processor of difference in functionality, and the peripheral hardware and software of shared server system.
At present, under fully virtualized pattern, it is operated in above-mentioned server system(Namely communication system)In multiple operating systems between communicated based on ethernet communication protocol.For example, being communicated based on transport control protocol is passed.However, hardware has the communication efficiency between multiple operating systems of interconnecting relation to have the space further lifted.The content of the invention
The embodiments of the invention provide a kind of communication system and communication means, it is possible to increase communication efficiency.First aspect, the embodiments of the invention provide a kind of communication means, applied in the communication system with multiple operating system OS, communication system includes management node, the first calculate node and the second calculate node, an OS is separately operable in first calculate node and the second calculate node, the communication means includes:First calculate node sends communication mode analysis request to management node, and communication mode analysis request includes the mark of the first calculate node and the mark of the second calculate node;Management node determines the physical communication mode information between the first calculate node and the second calculate node according to communication mode analysis request and communication mode reference information, and communication mode reference information includes system topologies information and system physical resource allocation result;Physical communication mode information is sent to the first calculate node by management node;First calculate node is logical based on physics Letter mode information communicates with the second calculate node.
With reference in a first aspect, in the first implementation of first aspect, before the first calculate node sends communication mode analysis request to management node, the communication means also includes:First calculate node judges whether include the physical communication mode information of the first calculate node and the second calculate node in the historical information set;First calculate node sends communication mode analysis request to management node, including:When it is determined that historical information does not include physical communication mode information, the first calculate node sends communication mode analysis request to management node.
With reference to first aspect and its above-mentioned implementation, in second of implementation of first aspect, physical communication mode information is sent to after the first calculate node in management node, communication means also includes:First calculate node is by physical communication mode information record in historical information.
With reference to first aspect and its above-mentioned implementation, in the third implementation of first aspect, physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
With reference to first aspect and its above-mentioned implementation, in the 4th kind of implementation of first aspect, communication mode reference information also includes system physical resource using status.
With reference to first aspect and its above-mentioned implementation, in the 5th kind of implementation of first aspect, communication mode analysis request also includes type of data packet and data package size.
With reference to first aspect and its above-mentioned implementation, in the 6th kind of implementation of first aspect, system topologies information includes the one or more in Schema information, local memory information, outside shared drive information, decoupling framework high speed interconnection information and the network interconnection information of central processor CPU.
Second aspect, the embodiments of the invention provide a kind of communication system, communication system includes management node, the first calculate node and the second calculate node, an os has been separately operable in first calculate node and the second calculate node, wherein, first calculate node, for sending communication mode analysis request to management node, communication mode analysis request includes the mark of the first calculate node and the mark of the second calculate node;Management node, for according to communication mode analysis request and communication mode reference information, the physical communication mode information between the first calculate node and the second calculate node is determined, communication mode reference information includes system topologies information and system physical resource allocation result;Management node, is additionally operable to physical communication mode information being sent to the first calculate node;First calculate node, is additionally operable to communicate with the second calculate node based on physical communication mode information.
With reference to second aspect, in the first implementation of second aspect, the first calculate node is additionally operable to judge that the physics for whether including the first calculate node and the second calculate node in the historical information set leads to Letter mode information;First calculate node, specifically for when it is determined that historical information does not include physical communication mode information, communication mode analysis request is sent to management node.
With reference to second aspect and its above-mentioned implementation, in second of implementation of second aspect, the first calculate node is additionally operable to physical communication mode information record in historical information.
With reference to second aspect and its above-mentioned implementation, in the third implementation of second aspect, physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
With reference to second aspect and its above-mentioned implementation, in the 4th kind of implementation of second aspect, communication mode reference information also includes system physical resource using status.
With reference to second aspect and its above-mentioned implementation, in the 5th kind of implementation of second aspect, communication mode analysis request also includes type of data packet and data package size.
With reference to second aspect and its above-mentioned implementation, in the 6th kind of implementation of second aspect, system topologies information includes the one or more in Schema information, local memory information, outside shared drive information, decoupling framework high speed interconnection information and the network interconnection information of central processor CPU.
Based on above-mentioned technical proposal, in embodiments of the present invention, management node determines the physical communication mode information between two calculate nodes according to the topology information of communication system.So, in the case of there is hardware connection between calculate node, it can be communicated between calculate node according to foregoing physical communication mode information, and then improve communication efficiency.Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in the embodiment of the present invention will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the exemplary hardware architecture figure of the applicable communication system of the embodiment of the present invention.
Fig. 2 is the indicative flowchart of the communication means of one embodiment of the invention.
Fig. 3 is the indicative flowchart of the communication means of another embodiment of the present invention.
Fig. 4 is the schematic block diagram of the communication system of the embodiment of the present invention.Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made should all belong to the scope of protection of the invention.
Fig. 1 is the exemplary hardware architecture figure of the applicable communication system of the embodiment of the present invention.
Communication system shown in Fig. 1 includes controller(101a, 101b, 101c, 101d), processor
(102a, 102b), memory(103a, 103b, 103d), interface repository 103c.Wherein, each controller(101a, 101b, 101c, lOld) between by high speed interconnecting channels be connected.Interface repository 103c provides communication interface for the communication between server each component.Processor(102a, 102b) one or more central processing units can be included(Central Processing unit, CPU) node.
There can be multiple logic CPU on each cpu node.Each cpu node can be uniformity internal storage access(Uniform Memory Access, UMA) framework or Non Uniform Memory Access access(Non-Uniform Memory Access, NUMA) framework.Generally speaking, on each cpu node multiple logic CPU share local memory.Although different cpu nodes do not share local memory, they are connected by structure high-speed interconnecting channels, their shared external memory ponds and network interface pond.That is, except traditional ethernet mode, they can also be communicated by shared external memory and high speed interconnecting channels mode.
For example, memory 103a is connected with processor 102a.For the CPU board in processor 102a, memory 103a is local storage.Relatively, for the CPU board in processor 102a, the memory not being connected with processor 102a(103b, 103e) it is external memory storage.
Similarly, memory 103b is connected with processor 102b.For the CPU plates in processor 102b, memory 103b is local storage.Relatively, for the CPU plates in processor 102b, the memory not being connected with processor 102b(103a, 103e) it is external memory storage.
It should be understood that the server hardware Organization Chart shown in Fig. 1 is only an example of the applicable computer hardware Organization Chart of the embodiment of the present invention, the protection domain of the embodiment of the present invention is not limited to this.
Fig. 2 is the indicative flowchart of the communication means of one embodiment of the invention.The communication means can apply to multiple operating systems(Operation System, OS) communication system in, for example the communication system can have Fig. 1 shown in hardware structure.The communication system includes being separately operable an OS in management node, the first calculate node and the second calculate node, the first calculate node and the second calculate node.Wherein, the physical resource that management node, the first calculate node and the second calculate node specifically take in the communication system shown in Fig. 1 is not construed as limiting.For example, the cpu node shown in Fig. 1 can include one or more logic CPU.First calculate node, the second calculate node and management node can divide Bao Kuo not at least one logic CPU.Further, management node, the first calculate node and the second calculate node can be the divisions on division or physical entity in logic.
201, the first calculate node sends communication mode analysis request to management node, and communication mode analysis request includes the mark of the first calculate node and the mark of the second calculate node.
202, management node is according to communication mode analysis request and communication mode reference information, the physical communication mode information between the first calculate node and the second calculate node is determined, communication mode reference information includes system topologies information and system physical resource allocation result.
For example, when the first calculate node or the second calculate node are to management node application physical resource, management node distributes corresponding physical resource so that calculate node is used according to the demand of calculate node for it, and records the physical resource Information that each calculate node is used(That is physical source distributing result).In this case, management node can be used according to each calculate node of record physical resource Information and the system topologies information of communication system, determine available physical communication mode between calculate node.
Specifically, when calculate node starts, calculate node can by the information exchange between management node to its apply physical resource.Here it is described by taking the first calculate node as an example.When first calculate node starts, management node can be the first calculate node allocation identification, and the mark is returned into the first calculate node.Meanwhile, it is that the first calculate node distributes physical resource according to the demand of the first calculate node, and record the mark of the first calculate node and the corresponding relation of physical resource.
Similarly, can also be according to preceding method to management node application physical resource when the second calculate node starts., can also be according to preceding method to management node application physical resource when other calculate nodes start in addition, when communication system includes other calculate nodes.To avoid repeating, it will not be repeated here.
In addition, when being changed for the physical resource that the first calculate node or the second calculate node are distributed, management node updates physical source distributing result.For example, when the first calculate node adds application physical resource to management node, or management node is when releasing the part physical resource that the first calculate node is used, management node needs to update physical source distributing result.
Similarly, when the second calculate node adds application physical resource to management node, or management node is when releasing the part physical resource that the first calculate node is used, and management node is also required to update physical source distributing result.
In this case, in management node according to physical source distributing result and the system topologies information of communication system, when determining the physical communication mode information between the first calculate node and the second calculate node, management node can be in communication mode analysis request the first calculate node mark and the mark of the second calculate node, the mark and the corresponding relation of physical resource of the first calculate node in physical source distributing result With the system topologies information of the mark and the corresponding relation of physical resource of the second calculate node, and communication system, the physical communication mode information between the first calculate node and the second calculate node is determined.
For example, management node can according to the calculating section of storage, mark and physical resource corresponding relation, determine the physical resource that the first calculate node uses and the physical resource that the second calculate node is used.So, with reference to the system topologies information of communication system, management node can determine the physical communication mode information between the first calculate node and the second calculate node.Wherein, the hardware annexation between the physical resource that the first calculate node uses and the physical resource that the second calculate node is used is included in the system topologies information of communication system,
203, physical communication mode information is sent to the first calculate node by management node.
204, the first calculate node is communicated based on physical communication mode information with the second calculate node.
For example, management node can send physical communication mode information to the first calculate node, initiate to communicate to connect from the first calculate node to the second calculate node.Or, after the first calculate node obtains physical communication mode information, assist to complete communication connection to management node request.
And for example, management node can send physical communication mode information to the first calculate node and the second calculate node simultaneously.So, the first calculate node and the second calculate node complete communication connection according to the mode indicated in physical communication mode information.
Based on above-mentioned technical proposal, in embodiments of the present invention, management node determines the physical communication mode information between two calculate nodes according to the topology information of communication system.So, in the case of there is hardware connection between calculate node, it can be communicated between calculate node according to foregoing physical communication mode information, and then improve communication efficiency.
Further, the physical communication mode between calculate node is unavailable, or when hardware connection being not present between calculate node, calculate node can be communicated based on ethernet communication protocol.For comparing ethernet communication mode, physical communication mode has higher efficiency of transmission and flexibility.Specifically, can be according to the attribute flexible allocation physical resource of the packet transmitted between calculate node, and then obtain different transmission speeds.
It should be understood that physical communication mode information can include all information set up between the first calculate node and the second calculate node required for physical communication connection, physical resource mark and communication mode mark that such as this physical communication connection takes.Or, physical communication mode information can only include the mark of physical communication mode.In this case, the first calculate node can be when setting up the physical communication between the second calculate node and connecting, then to this physical resource Information for using of communication of management node application.These alternate embodiments should all fall in the protection domain of the embodiment of the present invention. It will also be appreciated that the first calculate node, the second calculate node and management node can be located at the processor shown in Fig. 1(102a, 102b) in same processor or different processors in, the embodiment of the present invention is not construed as limiting.
Alternatively, it is used as another embodiment, before the first calculate node sends communication mode analysis request to management node, the first calculate node judges whether include the physical communication mode information of the first calculate node and the second calculate node in the historical information set.In this case, when the first calculate node is to management node transmission communication mode analysis request, communication mode analysis request can be sent when it is determined that historical information does not include physical communication mode information, then to management node.
For example, when historical information includes physical communication mode information, the first calculate node determines physical communication mode information from historical information.When historical information does not include physical communication mode information, the first calculate node sends communication mode analysis request to management node, then receives physical communication mode information from management node.So, the first calculate node need not all ask management node parsing physical communication mode information, and then reduce overhead in each communication.
In addition, when the first calculate node supports asynchronous process, while communication mode analysis request is sent to management node, the other preparations that can be communicatively coupled.
Alternatively, as one embodiment, physical communication mode information is sent to after the first calculate node in management node, the first calculate node is by physical communication mode information record in historical information.
So, the first calculate node without asking management node parsing physical communication mode information, thus can reduce overhead in communication next time to obtain physical communication mode information directly from historical information.
In addition, when management node have updated physical source distributing result, the first calculate node can remove historical information, or set historical information to fail.So, the first calculate node can be communicated according to newest physical communication mode information, and communication efficiency can be improved to the full extent.
Alternatively, as another embodiment, physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
For example, shared local memory communication method information can include the start-stop address of the mark of shared local memory communication mode and the local memory for this allocation of communications.Shared external memory communication method information can include the start-stop address of the mark of shared external memory communication mode and the external memory for this allocation of communications.High speed interconnected communication mode information can include the mark of high speed interconnected communication mode and be the address of the high speed interconnecting channels used in this communication.
It should be understood that shared local memory communication mode refers to that two virtual machines are entered by shared local memory Row communication.Shared external memory communication mode refers to that two virtual machines are communicated by shared external memory.High speed interconnected communication mode refers to that two virtual machines are communicated by high speed interconnecting channels.
Alternatively, as another embodiment, communication mode reference information also includes system physical resource using status.
For example, management node determines all physics communication modes between the first calculate node and the second calculate node according to physical source distributing result and system topologies information.Then, management node combination physics resource using status, analyzes foregoing all physical communication modes, and the physical communication mode information finally determined.
Specifically, H does not have the highest priority of shared local memory communication mode, and management node may determine that whether local memory remaining space is more than default wealthy value.When internal memory remaining space is more than default wealthy value, physical communication mode information can be defined as by the mark of shared local memory communication mode and for the communications address information of this allocation of communications.
On the contrary, when internal memory remaining space is less than default wealthy value, management node can judge whether the high communication mode of preferential level can use according to the use state of physical resource.Wherein, determination methods are similar with the method being described above, and to avoid repeating, will not be repeated here.
Alternatively, as another embodiment, communication mode analysis request also includes type of data packet and data package size.
In this case, the type of data packet and data package size that management node can combine in communication mode analysis request are that the first calculate node determines physical communication mode information.For example, when packet is smaller, high speed interconnected communication mode can be selected.When packet is larger, local memory communication mode is shared most fast.In addition, with reference to the instantaneity requirement of type of data packet, namely packet, management node can select a more particularly suitable communication mode for the first calculate node.
Alternatively, as another embodiment, system topologies information includes the one or more in Schema information, local memory information, outside shared drive information, decoupling framework high speed interconnection information and the network interconnection information of central processor CPU.
The embodiment of the present invention is described in detail below in conjunction with specific example.It should be noted that these examples are intended merely to help those skilled in the art to more fully understand the embodiment of the present invention, the scope for the embodiment that is not intended to limit the present invention.
Fig. 3 is the indicative flowchart of the communication means of another embodiment of the present invention.
301, when the first calculate node starts, to management node application physical resource.
302, management node is that the first calculate node is distributed after physical resource, is returned to the first calculate node Allocation result.The allocation result includes the mark of the first calculate node and the corresponding relation of physical resource.
303, when the second calculate node starts, to management node application physical resource.
304, management node is that the second calculate node is distributed after physical resource, and allocation result is returned to the second calculate node.The allocation result includes the mark of the second calculate node and the corresponding relation of physical resource.
305, when the first calculate node prepares to be communicated with the second calculate node, first inquire about the historical information of setting.If historical information includes the physical communication mode information between the first calculate node and the second calculate node, the first calculate node can be directly to determine the physical communication mode information from historical information.
If not including the physical communication mode information of the first calculate node and the second calculate node in historical information, step 306 is performed.
306, the first calculate node sends communication mode analysis request to management node.
307, management node is according to the physical communication mode information that communication mode analysis request is between the determination of the first calculate node and the second calculate node.
For example, physical resource Information and the system topologies information of communication system that management node can be used according to each calculate node of record, determine available physical communication mode between calculate node, and then determine physical communication mode information.
308, management node sends physical communication mode information to the first calculate node.
309, the communication connection that the first calculate node is set up between the second calculate node according to physical communication mode information, to be communicated.
Based on above-mentioned technical proposal, in embodiments of the present invention, management node determines the physical communication mode information between two calculate nodes according to the topology information of communication system.So, in the case of there is hardware connection between calculate node, it can be communicated between calculate node according to foregoing physical communication mode information, and then improve communication efficiency.
Fig. 4 is the schematic block diagram of the communication system of the embodiment of the present invention.Communication system 40 includes management node 401, the first calculate node 402 and the second calculate node 403.For example, the communication system 40 can have the hardware structure shown in Fig. 1.Wherein, the physical resource that management node 401, the first calculate node 402 and the second calculate node 403 take is not construed as limiting.For example, the CPU node shown in Fig. 1 can include one or more logic CPU.First calculate node, the second calculate node and management node can include at least one logic CPU respectively.An OS has been separately operable in first calculate node 402 and the second calculate node 403.Further, management node 401, the first calculate node 402 and the second calculate node 403 can be the divisions on division or physical entity in logic.
First calculate node 402, for sending communication mode analysis request, communication to management node 401 Mode analysis request includes the mark of the first calculate node 402 and the mark of the second calculate node 403.Management node 401, for according to communication mode analysis request and communication mode reference information, the physical communication mode information between the first calculate node 402 and the second calculate node 403 is determined, communication mode reference information includes system topologies information and system physical resource allocation result.
For example, when the first calculate node 402 or the second calculate node 403 apply for physical resource to management node 401, management node 401 distributes corresponding physical resource so that calculate node is used according to the demand of calculate node for it, and records the physical resource Information that each calculate node is used(That is physical source distributing result).In this case, management node 401 can be used according to each calculate node of record physical resource Information and system topologies information, determine available physical communication mode between calculate node.
Specifically, when calculate node starts, calculate node can by the information exchange between management node 401 to its apply physical resource.Here it is described by taking the first calculate node 402 as an example.When first calculate node 402 starts, management node can be the allocation identification of the first calculate node 402, and the mark is returned into the first calculate node 402.Meanwhile, it is that the first calculate node 402 distributes physical resource according to the demand of the first calculate node 402, and record the mark of the first calculate node 402 and the corresponding relation of physical resource.
Similarly, can also be according to preceding method to management node application physical resource when the second calculate node 403 starts., can also be according to preceding method to management node application physical resource when other calculate nodes start in addition, when communication system includes other calculate nodes.To avoid repeating, it will not be repeated here.
In addition, when being changed for the physical resource that the first calculate node 402 or the second calculate node 403 are distributed, management node 401 updates physical source distributing result.For example, when the first calculate node 402 adds application physical resource to management node 401, or management node 401 is when releasing the part physical resource that the first calculate node 402 is used, management node 401 needs to update physical source distributing result.
Similarly, when the second calculate node 403 adds application physical resource to management node 401, or management node is when releasing the part physical resource that the first calculate node 402 is used, and management node 401 is also required to update physical source distributing result.
In this case, in management node 401 according to physical source distributing result and the system topologies information of communication system, when determining the physical communication mode information between the first calculate node 402 and the second calculate node 403, management node 401 can be in communication mode analysis request the first calculate node 402 mark and the second calculate node 403 mark, the corresponding relation of the mark and physical resource of the mark of the first calculate node 402 and the corresponding relation of physical resource and the second calculate node 403 in physical source distributing result, and the system topologies information of communication system, determine that the first calculate node 402 and second calculates section Physical communication mode information between point 403.
For example, management node 401 can determine the physical resource that the first calculate node 402 uses and the physical resource that the second calculate node 403 is used according to the mark and the corresponding relation of physical resource of the calculate node of storage.So, with reference to the system topologies information of communication system, namely the first hardware annexation between the physical resource that uses of the physical resource that uses of calculate node 402 and the second calculate node 403, management node can determine the physical communication mode information between the first calculate node 402 and the second calculate node 403.
Management node 401, is additionally operable to physical communication mode information being sent to the first calculate node 402.First calculate node 402, is additionally operable to communicate with the second calculate node 403 based on physical communication mode information.
For example, management node 401 can send physical communication mode information to the first calculate node 402, communication connection is initiated from the first calculate node 402 to the second calculate node 403.Or, after the first calculate node 402 obtains physical communication mode information, assist to complete communication connection to the request of management node 401.
And for example, management node 401 can send physical communication mode information to the first calculate node 402 and the second calculate node 403 simultaneously.So, the first calculate node 402 and the second calculate node 403 complete communication connection according to the mode indicated in physical communication mode information.
Based on above-mentioned technical proposal, in embodiments of the present invention, management node determines the physical communication mode information between two calculate nodes according to the topology information of communication system.So, in the case of there is hardware connection between calculate node, it can be communicated between calculate node according to foregoing physical communication mode information, and then improve communication efficiency.
Further, the physical communication mode between calculate node is unavailable, or when hardware connection being not present between calculate node, calculate node can be communicated based on ethernet communication protocol.For comparing ethernet communication mode, physical communication mode has higher efficiency of transmission and flexibility.Specifically, can be according to the attribute flexible allocation physical resource of the packet transmitted between calculate node, and then obtain different transmission speeds.
It should be understood that physical communication mode information can include all information set up between the first calculate node and the second calculate node required for physical communication connection, physical resource mark and communication mode mark that such as this physical communication connection takes.Or, physical communication mode information can only include the mark of physical communication mode.In this case, the first calculate node can be when setting up the physical communication between the second calculate node and connecting, then to this physical resource Information for using of communication of management node application.These changes are real Applying example should all fall in the protection domain of the embodiment of the present invention.
It will also be appreciated that the first calculate node, the second calculate node and management node can be located at the processor shown in Fig. 1(102a, 102b) in same processor or different processors in, the embodiment of the present invention is not construed as limiting.
Alternatively, as another embodiment, the first calculate node 402 is additionally operable to judge whether include the physical communication mode information of the first calculate node and the second calculate node in the historical information set.In this case, the first calculate node 402, specifically for when it is determined that historical information does not include physical communication mode information, communication mode analysis request is sent to management node.
For example, when historical information includes physical communication mode information, the first calculate node 402 determines physical communication mode information from historical information.When historical information does not include physical communication mode information, the first calculate node 402 sends communication mode analysis request to management node 401, then receives physical communication mode information from management node 401.So, the first calculate node 402 need not all ask the parsing physical communication mode information of management node 401, and then reduce overhead in each communication.
In addition, when the first calculate node 402 supports asynchronous process, while communication mode analysis request is sent to management node 401, the other preparations that can be communicatively coupled.
Alternatively, as one embodiment, the first calculate node 402 is additionally operable to physical communication mode information record in historical information.
So, the first calculate node without asking management node parsing physical communication mode information, thus can reduce overhead in communication next time to obtain physical communication mode information directly from historical information.So, the first calculate node can be communicated according to newest physical communication mode information, and communication efficiency can be improved to the full extent.
In addition, when management node have updated physical source distributing result, the first calculate node can remove historical information, or set historical information to fail.
Alternatively, as another embodiment, physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
For example, shared local memory communication method information can include the start-stop address of the mark of shared local memory communication mode and the local memory for this allocation of communications.Shared external memory communication method information can include the start-stop address of the mark of shared external memory communication mode and the external memory for this allocation of communications.High speed interconnected communication mode information can include the mark of high speed interconnected communication mode and be the address of the high speed interconnecting channels used in this communication.
It should be understood that shared local memory communication mode refers to that two virtual machines are entered by shared local memory Row communication.Shared external memory communication mode refers to that two virtual machines are communicated by shared external memory.High speed interconnected communication mode refers to that two virtual machines are communicated by high speed interconnecting channels.
Alternatively, as another embodiment, communication mode reference information also includes system physical resource using status.
For example, management node 401 determines all physics communication modes between the first calculate node 402 and the second calculate node 403 according to physical source distributing result and system topologies information.Then, management node 401 combines physics resource using status, analyzes foregoing all physical communication modes, and the physical communication mode information finally determined.
Specifically, H does not have the highest priority of shared local memory communication mode, and management node 401 may determine that whether local memory remaining space is more than default wealthy value.When internal memory remaining space is more than default wealthy value, physical communication mode information can be defined as by the mark of shared local memory communication mode and for the communications address information of this allocation of communications.
On the contrary, when internal memory remaining space is less than default wealthy value, management node 401 can judge whether the high communication mode of preferential level can use according to the use state of physical resource.Wherein, determination methods are similar with the method being described above, and to avoid repeating, will not be repeated here.
Alternatively, as another embodiment, communication mode analysis request also includes type of data packet and data package size.
In this case, the type of data packet and data package size that management node 401 can combine in communication mode analysis request are that the first calculate node 402 determines physical communication mode information.For example, when packet is smaller, high speed interconnected communication mode can be selected.When packet is larger, local memory communication mode is shared most fast.Another sunset is foretold, and with reference to the instantaneity requirement of type of data packet, namely packet, management node 401 can select a more particularly suitable communication mode for the first calculate node 402.
Alternatively, as another embodiment, system topologies information includes the one or more in Schema information, local memory information, outside shared drive information, decoupling framework high speed interconnection information and the network interconnection information of central processor CPU.
It should be understood that, in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and any limit is constituted without tackling the implementation process of the embodiment of the present invention.
Those of ordinary skill in the art can be appreciated that, the unit and algorithm steps of each example described with reference to the embodiments described herein, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate the interchangeability of hardware and software, in the above description according to function one As property describe the composition and step of each example.These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can realize described function to each specific application using distinct methods, but this realization is it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the specific work process of the system of foregoing description, device and unit may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can realize by another way.For example, device embodiment described above is only schematical, for example, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.Another sunset is foretold, and shown or discussed coupling each other or direct are closed or communication connection can be closed by indirect of some interfaces, device or unit or communication connection or electricity, and mechanical or other forms are connected.It can be for the part that unit is shown or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Some or all of unit therein can be selected to realize the purpose of scheme of the embodiment of the present invention according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit or unit is individually physically present or two or more units are integrated in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or in use, can be stored in a computer read/write memory medium.Understood based on such, the part that technical scheme substantially contributes to prior art in other words, or all or part of the technical scheme can be embodied in the form of software product, the computer software product is stored in a storage medium, including some instructions are to cause a computer equipment(Can be personal computer, server, or network equipment etc.)Perform all or part of step of each embodiment methods described of the invention.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read-Only Memory) random access memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes. It is described above; only embodiment of the invention; but protection scope of the present invention is not limited thereto; any one skilled in the art the invention discloses technical scope in; various equivalent modifications or substitutions can be readily occurred in, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

  1. Claim
    1st, a kind of communication means, applied in the communication system with multiple operating system OS, the communication system includes management node, the first calculate node and the second calculate node, an os has been separately operable in first calculate node and second calculate node, characterized in that, the communication means includes:First calculate node sends communication mode analysis request to the management node, and the communication mode analysis request includes the mark of first calculate node and the mark of second calculate node;
    The management node is according to the communication mode analysis request and communication mode reference information, the physical communication mode information between first calculate node and second calculate node is determined, the communication mode reference information includes system topologies information and system physical resource allocation result;
    The physical communication mode information is sent to first calculate node by the management node;First calculate node is communicated based on the physical communication mode information with second calculate node.
    2nd, the communication means according to claim 1, it is characterised in that before first calculate node sends communication mode analysis request to the management node, the communication means also includes:
    First calculate node judges whether include the physical communication mode information of first calculate node and second calculate node in the historical information set;
    First calculate node sends communication mode analysis request to the management node, including:When it is determined that the historical information does not include the physical communication mode information, first calculate node sends the communication mode analysis request to the management node.
    3rd, communication means according to claim 1 or 2, it is characterised in that the physical communication mode information is sent to after first calculate node in the management node, the communication means also includes:
    First calculate node is by the physical communication mode information record in the historical information.
    4th, communication means according to any one of claim 1 to 3, characterized in that, the physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
    5th, communication means according to any one of claim 1 to 4, it is characterised in that the communication mode reference information also includes system physical resource using status.
    6th, communication means according to any one of claim 1 to 5, it is characterised in that the communication mode analysis request also includes type of data packet and data package size.
    7th, communication means according to any one of claim 1 to 6, it is characterised in that described System topologies information includes the one or more in Schema information, local memory information, outside shared drive information, decoupling framework high speed interconnection information and the network interconnection information of central processor CPU.
    8th, a kind of communication system, it is characterised in that the communication system includes being separately operable an OS in management node, the first calculate node and the second calculate node, first calculate node and second calculate node, wherein,
    First calculate node, for sending communication mode analysis request to the management node, the communication mode analysis request includes the mark of first calculate node and the mark of second calculate node;
    The management node, for according to the communication mode analysis request and communication mode reference information, the physical communication mode information between first calculate node and second calculate node is determined, the communication mode reference information includes system topologies information and system physical resource allocation result;
    The management node, is additionally operable to the physical communication mode information being sent to first calculate node;
    First calculate node, is additionally operable to communicate with second calculate node based on the physical communication mode information.
    9th, communication system according to claim 8, it is characterised in that
    First calculate node, is additionally operable to judge whether include the physical communication mode information of first calculate node and second calculate node in the historical information set;
    First calculate node, specifically for when it is determined that the historical information does not include the physical communication mode information, the communication mode analysis request is sent to the management node.
    10th, communication system according to claim 8 or claim 9, it is characterised in that first calculate node, is additionally operable to the physical communication mode information record in the historical information.
    11st, the communication system according to any one of claim 8 to 10, characterized in that, the physical communication mode information includes one kind in shared local memory communication method information, shared external memory communication method information and high speed interconnected communication mode information.
    12nd, the communication system according to any one of claim 8 to 11, it is characterised in that the communication mode reference information also includes system physical resource using status.
    13rd, the communication system according to any one of claim 8 to 12, it is characterised in that the communication mode analysis request also includes type of data packet and data package size.
    14th, the communication system according to any one of claim 8 to 13, it is characterised in that Schema information of the system topologies information including central processor CPU, local memory information, outside are altogether Enjoy the one or more in memory information, decoupling framework high speed interconnection information and network interconnection information.
CN201480036947.6A 2014-07-31 2014-07-31 Communication system and communication means Active CN105474194B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083378 WO2016015266A1 (en) 2014-07-31 2014-07-31 Communication system and communication method

Publications (2)

Publication Number Publication Date
CN105474194A true CN105474194A (en) 2016-04-06
CN105474194B CN105474194B (en) 2018-06-08

Family

ID=55216626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480036947.6A Active CN105474194B (en) 2014-07-31 2014-07-31 Communication system and communication means

Country Status (4)

Country Link
US (1) US10547668B2 (en)
EP (1) EP3163461B1 (en)
CN (1) CN105474194B (en)
WO (1) WO2016015266A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477511A (en) * 2008-12-31 2009-07-08 杭州华三通信技术有限公司 Method and apparatus for sharing memory medium between multiple operating systems
CN101667144A (en) * 2009-09-29 2010-03-10 北京航空航天大学 Virtual machine communication method based on shared memory
US20100217916A1 (en) * 2009-02-26 2010-08-26 International Business Machines Corporation Method and apparatus for facilitating communication between virtual machines
CN102047245A (en) * 2008-03-31 2011-05-04 亚马逊技术有限公司 Configuring communications between computing nodes
CN102110071A (en) * 2011-03-04 2011-06-29 浪潮(北京)电子信息产业有限公司 Virtual machine cluster system and implementation method thereof
CN102752802A (en) * 2012-07-19 2012-10-24 上海中科高等研究院 MAC (medium access control) resource management method based on waiting time

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6999998B2 (en) * 2001-10-04 2006-02-14 Hewlett-Packard Development Company, L.P. Shared memory coupling of network infrastructure devices
US8521966B2 (en) * 2007-11-16 2013-08-27 Vmware, Inc. VM inter-process communications
US8103809B1 (en) * 2009-01-16 2012-01-24 F5 Networks, Inc. Network devices with multiple direct memory access channels and methods thereof
US9106540B2 (en) * 2009-03-30 2015-08-11 Amazon Technologies, Inc. Providing logical networking functionality for managed computer networks
US9507617B1 (en) * 2013-12-02 2016-11-29 Trend Micro Incorporated Inter-virtual machine communication using pseudo devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047245A (en) * 2008-03-31 2011-05-04 亚马逊技术有限公司 Configuring communications between computing nodes
CN101477511A (en) * 2008-12-31 2009-07-08 杭州华三通信技术有限公司 Method and apparatus for sharing memory medium between multiple operating systems
US20100217916A1 (en) * 2009-02-26 2010-08-26 International Business Machines Corporation Method and apparatus for facilitating communication between virtual machines
CN101667144A (en) * 2009-09-29 2010-03-10 北京航空航天大学 Virtual machine communication method based on shared memory
CN102110071A (en) * 2011-03-04 2011-06-29 浪潮(北京)电子信息产业有限公司 Virtual machine cluster system and implementation method thereof
CN102752802A (en) * 2012-07-19 2012-10-24 上海中科高等研究院 MAC (medium access control) resource management method based on waiting time

Also Published As

Publication number Publication date
EP3163461A4 (en) 2017-05-10
US10547668B2 (en) 2020-01-28
CN105474194B (en) 2018-06-08
EP3163461A1 (en) 2017-05-03
US20170142193A1 (en) 2017-05-18
EP3163461B1 (en) 2022-05-11
WO2016015266A1 (en) 2016-02-04

Similar Documents

Publication Publication Date Title
US11704144B2 (en) Creating virtual machine groups based on request
CN106031116B (en) A kind of correlating method, the apparatus and system of NS and VNF
US10129101B2 (en) Application driven and adaptive unified resource management for data centers with Multi-Resource Schedulable Unit (MRSU)
CN104734931B (en) Link establishing method and device between a kind of virtual network function
US10572290B2 (en) Method and apparatus for allocating a physical resource to a virtual machine
JP4947081B2 (en) LPAR dynamic migration apparatus with pass-through I / O device, method and program thereof
CN103078965B (en) The IP address management method of virtual machine
CN102082692A (en) Method and equipment for migrating virtual machines based on network data flow direction, and cluster system
TWI591485B (en) Computer-readable storage device, system and method for reducing management ports of multiple node chassis system
CN108984465A (en) A kind of method for message transmission and equipment
CN109697120A (en) Method, electronic equipment for application migration
CN110830574B (en) Method for realizing intranet load balance based on docker container
WO2023124945A1 (en) Multi-party data processing method and system, electronic apparatus and storage medium
CN107534577A (en) A kind of method and apparatus of Network instantiation
CN105786732A (en) Data access method and apparatus
CN109828826A (en) A kind of polling method of Task Progress, apparatus and system
CN104363175A (en) Resource table building method and device
CN105474194A (en) Communication system and communication method
WO2022063273A1 (en) Resource allocation method and apparatus based on numa attribute
TWI545453B (en) Distributed systems and methods for database management and management systems thereof
CN112306675B (en) Data processing method, related device and computer readable storage medium
CN114489952A (en) Queue distribution method and device
CN113656181A (en) Method and device for issuing real-time application cluster instance resources
CN110300192B (en) Method for updating distributed training task connection parameters according to IP distribution table
KR20150095978A (en) Distributed Storage System using Local Disk of Computing Node on Cloud Computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant