CN114531415B - Network communication method, data center, device and readable storage medium - Google Patents

Network communication method, data center, device and readable storage medium Download PDF

Info

Publication number
CN114531415B
CN114531415B CN202210220162.0A CN202210220162A CN114531415B CN 114531415 B CN114531415 B CN 114531415B CN 202210220162 A CN202210220162 A CN 202210220162A CN 114531415 B CN114531415 B CN 114531415B
Authority
CN
China
Prior art keywords
server
bit
message
data center
bit address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210220162.0A
Other languages
Chinese (zh)
Other versions
CN114531415A (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.)
21VIANET GROUP Inc
Original Assignee
21VIANET GROUP Inc
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 21VIANET GROUP Inc filed Critical 21VIANET GROUP Inc
Priority to CN202210220162.0A priority Critical patent/CN114531415B/en
Publication of CN114531415A publication Critical patent/CN114531415A/en
Application granted granted Critical
Publication of CN114531415B publication Critical patent/CN114531415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types

Abstract

The application relates to the technical field of computers, and provides a network communication method, a data center, a device and a readable storage medium, wherein the method is applied to a server in the data center and comprises the following steps: sending an Address Resolution Protocol (ARP) message to obtain a second U-bit address of the target server; and setting a TOS field in the IP message according to the second U-bit address of the target server, and sending the IP message to the target server, so that network transmission equipment of the data center sets the QoS of the IP message according to the TOS field. The method can enable the server to set the TOS field according to the second U-bit address of the target server, further enable the network transmission equipment to complete QoS setting according to the TOS field in the IP message, and ensure the communication quality of the servers among different U-bits.

Description

Network communication method, data center, device and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a data center, an apparatus, and a readable storage medium for network communication.
Background
With the continued development of internet technology, more and more businesses choose to use internet data centers (Internet Data Center, IDC) to handle their own traffic.
IDCs typically house different cabinets, with one cabinet having different height specifications including 42U, 36U, 24U, and one server typically occupying 1U or 2U of cabinet height. In general, a cabinet is equipped with a switch, servers in the same cabinet are connected through the switch, so that low-delay access between the servers is realized, network transmission among the servers crossing the cabinet passes through a plurality of switches, even the network transmission shares network bandwidth with other network transmission, and communication delay is difficult to guarantee. In particular, some clustered systems of enterprise users, such as distributed storage systems, often require low network communication latency guarantees within a node, requiring deployment on different servers within the same cabinet. Because of limited enclosure resources in a data center, it is difficult to ensure that a complete enclosure is provided for deployment of a user cluster system, it is desirable in IDC to integrate servers scattered on different enclosure U-bits into a logical enclosure, thereby saving enclosure U-bit resources. However, the communication quality between servers scattered on different U-positions of the cabinets is often difficult to ensure, and the performance and stability of the cluster system deployed therein are negatively affected.
In view of this, how to make the servers in different cabinets and U-bits complete high quality communication is a technical problem to be solved.
Disclosure of Invention
The application provides a network communication method, a data center, a device and a readable storage medium, which are used for solving the technical problem that servers in different cabinets and U-positions cannot be enabled to finish high-quality communication in the prior art.
In order to solve the above technical problem, the present application provides a method for network communication, which is applied to a server in a data center, and includes:
sending an Address Resolution Protocol (ARP) message to obtain a second U-bit address of the target server;
and setting a TOS field in the IP message according to the second U-bit address of the target server, and sending the IP message to the target server, so that network transmission equipment of the data center sets QoS (quality of service) for the IP message according to the TOS field.
In one possible implementation manner, sending an ARP message to obtain a second U-bit address of a target server includes:
when the target server is addressed locally;
acquiring a first U-bit address of a local machine, adding the first U-bit address into an ARP message, and generating the first ARP message;
broadcasting the first ARP message, and addressing the target server;
and receiving a first ARP response message returned by the target server based on the first ARP message, and acquiring a second U-bit address of the target server from the first ARP response message.
In one possible implementation manner, sending an ARP message to obtain a second U-bit address of a target server includes:
when the target server addresses itself;
receiving a second ARP message sent by the target server, and acquiring a second U-bit address of the target server from the second ARP message;
generating a corresponding response message according to the second ARP message, and adding a first U-bit address of the local machine into the response message to generate a second ARP response message;
and sending the second ARP response message to the target server.
In a second aspect, the present application provides a method of network communication, applied to a management system of a data center, wherein a server in the data center performs network communication by using the method according to the first aspect, including:
encoding according to the cabinet numbers and the U-bit numbers of the servers in the data center to obtain U-bit addresses corresponding to all the servers in the data center, and generating a U-bit information table of the data center;
and sending the U-bit address to a corresponding server according to the U-bit information table, so that network communication can be carried out among the servers according to the U-bit address.
In one possible implementation manner, the method includes encoding according to the cabinet number and the U-bit number of the server, obtaining a U-bit address corresponding to the server, generating a U-bit information table in the data, and further includes:
when the cabinet number or the U-bit number where the server is located changes due to the movement or the replacement of the server, coding is conducted again according to the changed cabinet number and the changed U-bit number, the latest U-bit address of the server is obtained, and operations such as adding, deleting, checking and changing the U-bit information table are conducted to update the U-bit information table.
In a third aspect, the present application provides a data center comprising:
a server for performing the method of any of the first aspects for network communication;
a U-bit management system configured to perform the method according to any one of the second aspects, manage a U-bit address corresponding to the server, and support the server to complete network communication;
and the network transmission equipment is used for setting corresponding QoS (quality of service) setting according to the TOS field in the IP message sent by the server so as to complete network communication among the servers.
In a fourth aspect, the present application further provides a device for network communication, which is applied to a server of a data center, and includes:
the address analysis unit is used for sending an ARP message and acquiring a second U-bit address of the target server;
and the communication unit is used for setting a TOS field in the IP message according to the second U-bit address of the target server, and sending the IP message to the target server, so that the network transmission equipment of the data center sets the QoS of the IP message according to the TOS field.
In a fifth aspect, the present application further provides a network communication device, applied to a management system of a data center, where a server in the data center performs network communication using the method as in any one of the first aspects, including:
the U-bit management unit is used for encoding according to the cabinet numbers and the U-bit numbers of the servers in the data center, obtaining U-bit addresses corresponding to all the servers in the data center, and generating a U-bit information table of the data center;
and the communication support unit is used for sending the U-bit address to the corresponding server according to the U-bit information table, so that network communication can be carried out among the servers according to the U-bit address.
In a sixth aspect, the present application also provides an apparatus for network communication, including:
at least one processor, and
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of any one of the first or second aspects by executing the instructions stored by the memory.
In a seventh aspect, the present application also provides a readable storage medium, comprising a memory,
the memory is configured to store instructions that, when executed by a processor, cause an apparatus comprising the readable storage medium to perform the method of any one of the first or second aspects.
The technical scheme in the embodiment of the application has the following beneficial effects: the server can obtain a second U-bit address of the target server by sending an Address Resolution Protocol (ARP) message; according to the second U-bit address of the target server, the TOS field in the IP message is set, and the IP message is sent to the target server, so that the network transmission equipment of the data center can set the QoS of the IP message according to the TOS field, the server can set the TOS field according to the second U-bit address of the target server, the network transmission equipment can complete QoS setting according to the TOS field in the IP message, and the communication quality of the servers among different U-bits is ensured.
Drawings
FIG. 1 is a flow chart of a method of network communication provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of a data center according to an embodiment of the present application;
FIG. 3 is a flow chart of another method of network communication provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of U-bit encoding performed by a data center according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another data center according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a network communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another network communication device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
In the prior art, in order to save limited U-bit resources of cabinets in a data center (Internet Data Center, IDC), a plurality of servers on different cabinets and U-bits are often required to be deployed as a cluster system, and at this time, because network communication across the cabinets needs to pass through a plurality of switches, communication delay between the servers is high, and communication quality cannot be guaranteed.
Therefore, the application provides a network communication method, a data center, a device and a readable storage medium, which are used for solving the technical problem that the servers in different cabinets and U-bits cannot be communicated with each other in high quality in the prior art.
The following describes the technical scheme provided by the embodiment of the application with reference to the attached drawings.
Referring to fig. 1, the present application provides a method for network communication, which is applied to a server in a data center, and the method includes:
101. sending an Address Resolution Protocol (ARP) message to obtain a second U-bit address of the target server;
102. and setting a TOS field in the IP message according to the second U-bit address of the target server, and sending the IP message to the target server, so that network transmission equipment of the data center sets the QoS of the IP message according to the TOS field.
For example, referring to fig. 2, fig. 2 is a schematic structural diagram of a data center according to an embodiment of the present application. The system comprises a cabinet 21 and a cabinet 22, wherein the cabinet 21 is provided with a server 211 and a server 212, the cabinet 22 is provided with a server 221, the U-bit address of the server 211 is 0x0005, the U-bit address of the server 212 is 0x0006, the U-bit address of the server 221 is 0x0007, the server 211 and the server 221 belong to a cluster system set by a user, the cabinet 21 is connected with a switch 23, and the cabinet 22 is connected with a switch 24.
When the server 211 needs to access the server 221, the server 211 first sends an ARP message for broadcast addressing. When the server 221 replies to the ARP message, it sends the reply message to the server 211 and simultaneously sends the second U-bit address 0x0007 of the server 221.
When the server 211 receives the second U-bit address 0x0007 of the server 221, since the server 211 and the server 221 are servers in the same cluster, a lower communication delay is required, and the server 211 and the server 221 are located on different cabinets, more switches need to be passed, so that the server 211 sets the TOS field in the IP packet 1 sent to the server 221 to be the lowest 0x10 of the communication delay.
When the switch 23 and the switch 24 process the IP packet 1, according to the requirements of the TOS field, the delay of the IP packet 1 is guaranteed to be the lowest preferentially by means of improving the queue priority of the IP packet 1, so as to complete the QoS between the server 211 and the server 221.
In practical application, the server may set the TOS field in the IP packet to one of the minimum communication delay 0x10, the maximum communication throughput 0x08, the maximum communication reliability 0x04, the minimum communication cost 0x02 and the general service 0x00 according to the U-bit address of the target server and the communication requirement.
In the embodiment provided by the application, the server can acquire the second U-bit address of the target server by sending an address resolution protocol ARP message; according to the second U-bit address of the target server, the TOS field in the IP message is set, and the IP message is sent to the target server, so that the network transmission equipment of the data center can set the QoS of the IP message according to the TOS field, the server can set the TOS field according to the second U-bit address of the target server, the network transmission equipment can complete QoS setting according to the TOS field in the IP message, and the communication quality of the servers among different U-bits is ensured.
In one possible implementation manner, sending an ARP message to obtain a second U-bit address of a target server includes:
when the target server is addressed locally;
acquiring a first U-bit address of a local machine, adding the first U-bit address into an ARP message, and generating a first ARP message;
broadcasting a first ARP message, and addressing a target server;
and receiving a first ARP response message returned by the target server based on the first ARP message, and acquiring a second U-bit address of the target server from the first ARP response message.
For example, take the example in fig. 2 as an example. When the server 211 addresses the server 221, it first obtains the first U-bit address of the local machine as 0x0005, and the ARP message to be sent is the ARP request message, so the original OP field is 0x0001. And reserving the last bit in the low byte of the ARP message, and filling the first U-bit address into the rest 15 bits to obtain a modified OP field of 0x0051. And taking the ARP message after the OP field is modified as a first ARP message and broadcasting.
After the server 221 receives the first ARP message and returns the first ARP reply message, the server 211 receives the first ARP reply message and extracts the OP field therein as 0x0072. The server 211 obtains the original OP field of the message to be 0x0002 according to the last bit in the OP field being 2, and obtains the second U-bit address of the server 221 from the remaining 15 bits in the OP field to be 0x007 as the ARP reply message.
In practical application, the OP field occupies 2 bytes, namely 16 bits, and the server can modify the OP field in a manner of keeping the value of the last 1 bit in the original OP field unchanged by addressing the U bits representing the cabinet by 8 bits of the high byte and 7 bits of the high byte. When resolving ARP message, the server firstly identifies the last 1 bit of OP field to confirm message type, then extracts the remaining 15 bits to obtain the U-bit address of the target server.
In the embodiment provided by the application, the server adds the U-bit address into the ARP message by expanding the ARP protocol, so that the server can acquire the U-bit address of the target server by extracting the OP field in the ARP message, thereby enabling the servers to perceive the U-bit address and further completing TOS field setting of the IP message according to the U-bit address.
In one possible implementation manner, sending an ARP message to obtain a second U-bit address of a target server includes:
when the target server addresses itself;
receiving a second ARP message sent by a target server, and acquiring a second U-bit address of the target server from the second ARP message;
generating a corresponding response message according to the second ARP message, adding the first U-bit address of the local machine into the response message to generate a second ARP response message;
sending the second ARP response message to the target server
For example, take the example in fig. 2 as an example. When server 221 addresses server 211, a second ARP message is broadcast to server 211. When the server 211 receives the second ARP message, the second U-bit address of the server 221 is extracted from OP field 0x0071 in the second ARP message and is 0x0007.
The server 211 generates a corresponding ARP reply message according to the second ARP message, and adds the first U-bit address 0x0005 of the server 211 to the OP field of the ARP reply message, where the OP field obtained is 0x0052. The service 211 transmits the ARP reply message with the modified OP field as a second ARP reply message to the server 221.
In the embodiment provided by the application, the server adds the U-bit address into the ARP message by expanding the ARP protocol, so that the server can acquire the U-bit address of the target server by extracting the OP field in the ARP message, thereby enabling the servers to perceive the U-bit address and further completing TOS field setting of the IP message according to the U-bit address.
Based on the same inventive concept, the present application provides a network communication method applied to a management system of a data center, wherein a server in the data center performs network communication by using the network communication method as described above, please refer to fig. 3, the method includes:
301. encoding according to the cabinet numbers and the U-bit numbers of the servers in the data center to obtain U-bit addresses corresponding to all the servers in the data center, and generating a U-bit information table of the data center;
302. and sending the U-bit address to a corresponding server according to the U-bit information table, so that network communication can be carried out among the servers according to the U-bit address.
The method comprises the steps of encoding according to a cabinet number and a U bit number of a server, obtaining a U bit address corresponding to the server, generating a U bit information table in data, and further comprising:
when the cabinet number or the U-bit number where the server is located changes due to the movement or the replacement of the server, coding is conducted again according to the changed cabinet number and the changed U-bit number, the latest U-bit address of the server is obtained, and operations such as adding, deleting, checking and changing the U-bit information table are conducted to update the U-bit information table.
For example, referring to fig. 4, fig. 4 is a schematic diagram of U-bit encoding performed by a data center according to an embodiment of the present application. The data center includes two cabinets, namely, cabinet 41 and cabinet 42, wherein the cabinet 41 has a server 411 and a server 412, and the cabinet 42 has a server 421.
The management system first encodes the U bits on the cabinet, and the U bit encoding is set to 16 bit binary numbers of two bytes. Two U bits are respectively provided on the cabinet 41 and the cabinet 42, so that the two U bits on the cabinet 41 are sequentially encoded into 11001011 and 110011100 from top to bottom, and the two U bits on the cabinet 42 are sequentially encoded into 110100101 and 110100110 from top to bottom. Thus, server 411 has a U-bit address of 11001011, server 412 has a U-bit address of 110011100, and server 421 has a U-bit address of 110100101. And the management system generates U-bit information tables of the data center according to the U-bit information corresponding to each server, and sends U as an address to the corresponding server.
When the server 412 is shifted from the lower U-bit of the cabinet 41 to the lower U-bit of the cabinet 42 because of the user's need, the management system re-encodes the U-bit of the server 412 to obtain a new U-bit address of 110100110 for the server 412. The management system updates the new U-bit address of the server 412 to the U-bit information table of the data center and sends the new U-bit address of the server 412 to the server 412.
In practical application, a technician only needs to ensure that the total length of the U-bit address does not exceed two bytes, and a specific coding mode can be adjusted according to practical requirements, for example: at most 64 servers are placed on one cabinet in the actual data center, at this time, the coding format of the U-bit address can be set as cabinet number+U-bit number, wherein the cabinet number occupies 10 bits, the U-bit number occupies 6 bits, and the U-bit addressing range is
ˉ
0x00050xFFFF。
In the embodiment provided by the application, the management system can automatically encode the cabinet number and the U-bit number of the server in the data center according to the cabinet and the U-bit condition of the data center, obtain the U-bit address corresponding to the server and the U-bit information table of the data center, and send the U-bit address to the corresponding server.
Based on the same inventive concept, the present application provides a data center, please refer to fig. 5, which includes:
a server 501 for performing network communication by the above-described network communication method;
the U-bit management system 502 is configured to manage a U-bit address corresponding to the server by using the method for performing network communication as described above, and support the server to complete network communication;
the network transmission device 503 is configured to set a corresponding QoS setting according to the TOS field in the IP packet sent by the server, so as to complete network communication between servers.
Based on the same inventive concept, the present application provides a network communication device, which is applied to a server in a data center, please refer to fig. 6, the network communication device includes:
an address resolution unit 601, configured to send an ARP packet, and obtain a second U-bit address of the target server;
and the communication unit 602 is configured to set a TOS field in the IP packet according to the second U-bit address of the target server, and send the IP packet to the target server, so that the network transmission device of the data center performs QoS setting on the IP packet according to the TOS field.
The address resolution unit 601 is further configured to:
when the target server is addressed locally; acquiring a first U-bit address of a local machine, adding the first U-bit address into an ARP message, and generating a first ARP message; broadcasting a first ARP message, and addressing a target server; and receiving a first ARP response message returned by the target server based on the first ARP message, and acquiring a second U-bit address of the target server from the first ARP response message.
The address resolution unit 601 is further configured to:
when the target server addresses itself; receiving a second ARP message sent by a target server, and acquiring a second U-bit address of the target server from the second ARP message; generating a corresponding response message according to the second ARP message, adding the first U-bit address of the local machine into the response message to generate a second ARP response message; and sending the second ARP response message to the target server.
Based on the same inventive concept, the present application also provides a network communication device, which is applied to a management system of a data center, wherein a server in the data center performs network communication by using the network communication method as described above, please refer to fig. 7, the network communication device includes:
the U-bit management unit 701 is configured to encode according to a cabinet number and a U-bit number of a server in the data center, obtain U-bit addresses corresponding to all servers in the data center, and generate a U-bit information table of the data center;
the communication supporting unit 702 is configured to send the U-bit address to a corresponding server according to the U-bit information table, so that network communication can be performed between servers according to the U-bit address.
Wherein, the U-bit management unit 701 is further configured to:
when the cabinet number or the U-bit number where the server is located changes due to the movement or the replacement of the server, coding is conducted again according to the changed cabinet number and the changed U-bit number, the latest U-bit address of the server is obtained, and operations such as adding, deleting, checking and changing the U-bit information table are conducted to update the U-bit information table.
Based on the same inventive concept, an embodiment of the present application provides a network communication device, which may be an electronic device such as a personal computer, and the device may include:
at least one processor for implementing the steps of the method for network communication as provided by the embodiments of the present application when executing the computer program stored in the memory.
In the alternative, the processor may be a central processing unit, an application specific integrated circuit (ASIC for short, in english: application Specific Integrated Circuit), or one or more integrated circuits for controlling the execution of the program.
Optionally, the device for protecting data integrity further includes a Memory connected to the at least one processor, where the Memory may include a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), and a disk Memory. The memory is used for storing data required by the processor when running, i.e. instructions are stored which are executable by at least one processor, which by executing the instructions stored by the memory performs the method as shown in fig. 1 or 3. Wherein the number of memories is one or more.
The embodiments of the present application also provide a computer storage medium storing computer instructions that, when run on a computer, cause the computer to perform the steps of the method of network communication as above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method of network communication applied to a server in a data center, comprising:
sending an address resolution protocol (Address Resolution Protocol, ARP) message to obtain a second U-bit address of the target server;
writing a second U-bit address of the target server into an OP field in an internet protocol (Internet Protocol, IP) message; when the server and the target server belong to the same cluster according to the second U-bit address, setting a TOS field in the IP message to be the lowest in communication delay, and sending the IP message with the OP field set and the TOS field set to the target server, so that network transmission equipment of the data center performs QoS (quality of service) setting on the IP message according to the TOS field; wherein the second U-bit address occupies the remaining bits except the last bit in the OP field.
2. The method of claim 1, wherein sending the ARP message to obtain the second U-bit address of the target server comprises:
when the target server is addressed locally;
acquiring a first U-bit address of a local machine, adding the first U-bit address into an ARP message, and generating a first ARP message;
broadcasting the first ARP message, and addressing the target server;
and receiving a first ARP response message returned by the target server based on the first ARP message, and acquiring a second U-bit address of the target server from the first ARP response message.
3. The method of claim 1, wherein sending the ARP message to obtain the second U-bit address of the target server comprises:
when the target server addresses itself;
receiving a second ARP message sent by the target server, and acquiring a second U-bit address of the target server from the second ARP message;
generating a corresponding response message according to the second ARP message, and adding a first U-bit address of the local machine into the response message to generate a second ARP response message;
and sending the second ARP response message to the target server.
4. A method of network communication applied to a management system of a data center, wherein a server in the data center performs network communication using the method of any one of claims 1 to 3, comprising:
encoding according to the cabinet numbers and the U-bit numbers of the servers in the data center to obtain U-bit addresses corresponding to all the servers in the data center, and generating a U-bit information table of the data center;
and sending the U-bit address to a corresponding server according to the U-bit information table, so that network communication can be carried out among the servers according to the U-bit address.
5. The method of claim 4, wherein encoding according to the cabinet number and the U-bit number of the server, obtaining a U-bit address corresponding to the server, and generating a U-bit information table in the data, further comprises:
when the cabinet number or the U-bit number where the server is located changes due to the movement or the replacement of the server, coding is conducted again according to the changed cabinet number and the changed U-bit number, the latest U-bit address of the server is obtained, and the U-bit information table is updated through adding, deleting and modifying operations.
6. A data center, comprising:
a server for performing the method of any of claims 1-3 for network communication;
a U-bit management system, configured to perform the method according to any one of claims 4 to 5, manage a U-bit address corresponding to the server, and support the server to complete network communication;
and the network transmission equipment is used for setting corresponding QoS (quality of service) setting according to the TOS field in the IP message sent by the server so as to complete network communication among the servers.
7. An apparatus for network communication, applied to a server in a data center, comprising:
the address analysis unit is used for sending an ARP message and acquiring a second U-bit address of the target server;
the communication unit is used for writing the second U-bit address of the target server into an OP field in the IP message; when the server and the target server belong to the same cluster according to the second U-bit address, setting a TOS field in the IP message to be the lowest in communication delay, and sending the IP message with the OP field set and the TOS field set to the target server, so that network transmission equipment of the data center performs QoS (quality of service) setting on the IP message according to the TOS field; wherein the second U-bit address occupies the remaining bits except the last bit in the OP field.
8. A network communication device, applied to a management system of a data center, wherein a server in the data center performs network communication using the method as set forth in any one of claims 1 to 3, comprising:
the U-bit management unit is used for encoding according to the cabinet numbers and the U-bit numbers of the servers in the data center, obtaining U-bit addresses corresponding to all the servers in the data center, and generating a U-bit information table of the data center;
and the communication support unit is used for sending the U-bit address to the corresponding server according to the U-bit information table, so that network communication can be carried out among the servers according to the U-bit address.
9. An apparatus for network communication, comprising:
at least one processor, and
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of any of claims 1-5 by executing the instructions stored by the memory.
10. A readable storage medium comprising a memory,
the memory is configured to store instructions that, when executed by a processor, cause an apparatus comprising the readable storage medium to perform the method of any of claims 1-5.
CN202210220162.0A 2022-03-08 2022-03-08 Network communication method, data center, device and readable storage medium Active CN114531415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210220162.0A CN114531415B (en) 2022-03-08 2022-03-08 Network communication method, data center, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210220162.0A CN114531415B (en) 2022-03-08 2022-03-08 Network communication method, data center, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114531415A CN114531415A (en) 2022-05-24
CN114531415B true CN114531415B (en) 2023-11-21

Family

ID=81626354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210220162.0A Active CN114531415B (en) 2022-03-08 2022-03-08 Network communication method, data center, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114531415B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001189754A (en) * 1999-12-28 2001-07-10 Toshiba Corp QoS PROVIDING SYSTEM, ROUTER DEVICE, QoS SERVER, USER TERMINAL AND QoS PROVIDING METHOD
US7107326B1 (en) * 2000-10-13 2006-09-12 3Com Corporation Method and system for integrating IP address reservations with policy provisioning
CN102946350A (en) * 2012-09-18 2013-02-27 杭州华三通信技术有限公司 Priority-based data transmission method and device
CN104009863A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Server system and method for automatically acquiring server number
KR20140105300A (en) * 2013-02-22 2014-09-01 삼성전자주식회사 Network system including server and communication relay device and method of communication relay and ip allocation
CN110661893A (en) * 2018-06-28 2020-01-07 鸿富锦精密电子(天津)有限公司 Data center management method and data center management system
CN112000607A (en) * 2020-09-11 2020-11-27 苏州浪潮智能科技有限公司 Whole cabinet server node non-contact ID address identification device and method
CN113805950A (en) * 2021-08-30 2021-12-17 超越科技股份有限公司 Method for managing server by cluster management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7231430B2 (en) * 2001-04-20 2007-06-12 Egenera, Inc. Reconfigurable, virtual processing system, cluster, network and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001189754A (en) * 1999-12-28 2001-07-10 Toshiba Corp QoS PROVIDING SYSTEM, ROUTER DEVICE, QoS SERVER, USER TERMINAL AND QoS PROVIDING METHOD
US7107326B1 (en) * 2000-10-13 2006-09-12 3Com Corporation Method and system for integrating IP address reservations with policy provisioning
CN102946350A (en) * 2012-09-18 2013-02-27 杭州华三通信技术有限公司 Priority-based data transmission method and device
KR20140105300A (en) * 2013-02-22 2014-09-01 삼성전자주식회사 Network system including server and communication relay device and method of communication relay and ip allocation
CN104009863A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Server system and method for automatically acquiring server number
CN110661893A (en) * 2018-06-28 2020-01-07 鸿富锦精密电子(天津)有限公司 Data center management method and data center management system
CN112000607A (en) * 2020-09-11 2020-11-27 苏州浪潮智能科技有限公司 Whole cabinet server node non-contact ID address identification device and method
CN113805950A (en) * 2021-08-30 2021-12-17 超越科技股份有限公司 Method for managing server by cluster management system

Also Published As

Publication number Publication date
CN114531415A (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN108632374B (en) Software gray level release method and device
CN108924268B (en) Container cloud service system and pod creation method and device
RU2321885C2 (en) System, methods and software for routing and indexing globally addressed objects and related business models
CN113163277B (en) Optical network unit bandwidth management method and device, electronic equipment and storage medium
CN109981493B (en) Method and device for configuring virtual machine network
CN107210924B (en) Method and apparatus for configuring a communication system
CN102904977B (en) Network address allocation method, server and node
CN111585887B (en) Communication method and device based on multiple networks, electronic equipment and storage medium
CN101675413A (en) Physical network interface selection
CN108600407B (en) IP address allocation method, device, equipment and machine readable storage medium
CN111431813A (en) Access current limiting method, device and storage medium
CN108668179A (en) The transmission method and relevant device of media index file
EP3745284A1 (en) Model parameter fusion method and apparatus
CN111431818A (en) Cross-domain request traffic distribution method and device, storage medium and computer equipment
CN102572012A (en) Message processing method, switchboard and system
CN114531415B (en) Network communication method, data center, device and readable storage medium
CN114138325A (en) Gray scale publishing method and device
CN109981694B (en) Synchronization method, server and terminal
CN109347994B (en) Internet protocol IP address obtaining method and device, storage medium and electronic equipment
US11675510B2 (en) Systems and methods for scalable shared memory among networked devices comprising IP addressable memory blocks
CN109842497B (en) Configuration updating method and device of DNS (Domain name Server), terminal equipment and configuration updating system
CN113873502B (en) IP address management method, NEF entity and communication system
CN103686224A (en) Method and system for transcoding task obtaining on basis of distributed locks
CN111587417A (en) Method, device, computer program and computer program product for data storage
CN105592176B (en) A kind of information processing method, the network equipment and system

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