NVMe storage network joining method and device and communication equipment
By using mDNS service module in NVMe storage devices to realize automatic discovery and broadcast of device information, the problem of complex and error-prone connection communication of NVMe storage devices in the prior art is solved, and the intelligence level of storage network joining and system flexibility is improved. and stability.
Patent Information
- Application Number
- CN202411668856.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-11-21
AI Technical Summary
The connection communication methods of existing NVMe storage devices are complex and error-prone, especially in large-scale storage networks. The complexity and difficulty of manual configuration are significantly increased, and relying on central control nodes increases system complexity and cost.
By installing the mDNS service module in the NVMe storage device, automatic discovery and broadcast of device information is realized, allowing the device to automatically update the device information table and build communication connections, avoiding the dependence of manual configuration and central control nodes.
It improves the intelligence of the NVMe storage network joining method, simplifies the device joining process, reduces configuration complexity and error rate, reduces system costs, and improves the flexibility and stability of the storage network.
Smart Images

Figure CN119496687A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an NVMe storage network joining method, apparatus, communication equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of communication technology, a storage network technology has emerged that uses multiple NVMe storage devices through the NVMe-oF transmission protocol. This network can significantly improve storage performance and reduce latency between devices. In traditional technology, the connection and communication of NVMe storage devices are usually implemented in the following two ways: one is to plan the network topology in advance, determine the connection path between storage devices, and then manually configure the IP address, subnet mask, gateway and other network parameters according to the plan. The manual configuration of the static network topology scheme requires the administrator to manually complete the addition of network nodes. The other is to centrally manage and configure storage devices through a central control node, mainly including configuring network parameters and operation strategies for devices through a centralized management platform, discovering storage devices in the network through SNMP (Simple Network Management Protocol) or other protocols, and realizing the networking and joining of storage devices.
[0003] However, in the connection and communication method of the above-mentioned NVMe storage device, the configuration by the administrator requires the administrator to perform detailed network planning and configuration work, which is not only complicated and time-consuming, but also prone to human errors. Moreover, in large-scale storage networks, the complexity and difficulty of manual configuration are significantly increased. The centralized management and configuration method through the central control node relies on proprietary protocols and software, which increases the complexity and cost of the system, and requires the central control node to manage and configure. If the central control node fails. Therefore, the current method of joining the NVMe storage network is not smart enough. Summary of the invention
[0004] Based on this, it is necessary to provide an NVMe storage network joining method, device, communication equipment, computer-readable storage medium and computer program product that can improve the intelligence level of NVMe storage network joining method in response to the above technical problems.
[0005] In a first aspect, the present application provides an NVMe storage network joining method, applied to a first device, comprising:
[0006] In response to a device joining request for the first device to join a target NVMe storage network, obtaining device information of the first device;
[0007] The first mDNS broadcast information carrying the device information is broadcasted to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
[0008] In one of the embodiments, after the first device joins the target NVMe storage network, it also includes: in response to a configuration parameter adjustment request for adjusting configuration parameters, receiving a second mDNS broadcast information broadcast by each second device and carrying the real-time status parameters of each second device; extracting the real-time status parameters of each second device from the second mDNS broadcast information, and generating a configuration parameter adjustment policy for the first device based on the real-time status parameters of the first device; broadcasting a third mDNS broadcast information carrying the configuration parameter adjustment policy to each second device through the mDNS service module, and updating the configuration parameters of the first device based on the configuration parameter adjustment policy.
[0009] In one of the embodiments, after the first device joins the target NVMe storage network, it also includes: when detecting that the fourth mDNS broadcast information carrying the heartbeat signal of the target second device is interrupted, updating the device information table of the first device according to the device information of the target second device; disconnecting the device connection with the target second device, and initiating the configuration parameter adjustment request for adjusting the configuration parameters.
[0010] In one of the embodiments, the NVMe storage network joining method may also include: obtaining the real-time status parameters of the first device, and broadcasting the fifth mDNS broadcast information carrying the real-time status parameters of the first device to each of the second devices through the mDNS service module; the fifth mDNS broadcast information is used by each of the second devices to update the configuration parameters of each of the second devices; the sixth mDNS broadcast information carrying the heartbeat signal of the first device is broadcast to each of the second devices through the mDNS service module; the sixth mDNS broadcast information is used by each of the second devices to disconnect the device connection with the first device when the sixth mDNS broadcast information is detected to be interrupted.
[0011] In one of the embodiments, the target NVMe storage network is a multi-region NVMe-oF storage network, the first device is a gateway device of the first region, used to manage the NVMe devices in the first region, and each of the second devices is a gateway device of each second region other than the first region in the multi-region, and is respectively used to manage the NVMe devices in each of the second regions; the NVMe storage network joining method may also include: receiving the seventh mDNS broadcast information broadcast by each of the second devices; the seventh mDNS broadcast information respectively carries the network status information of each NVMe device in each of the second regions; based on the network status information of each NVMe device in each of the second regions carried in each of the seventh mDNS broadcast information, obtaining the network status information of each NVMe device in the target NVMe storage network; using the network status information of each NVMe device in the target NVMe storage network, obtaining a global configuration adjustment policy for the first region; broadcasting the eighth mDNS broadcast information carrying the global configuration adjustment policy of the first region to each NVMe device in the first region through the mDNS service module, so that each NVMe device in the first region adjusts the configuration parameters based on the global configuration adjustment policy of the first region.
[0012] In one of the embodiments, the NVMe storage network joining method may also include: obtaining network status information of each NVMe device in the first area; broadcasting the ninth mDNS broadcast information carrying the network status information of each NVMe device in the first area to each second device through the mDNS service module; each second device is used to obtain a global configuration adjustment strategy for each second area based on the ninth mDNS broadcast information.
[0013] In a second aspect, the present application further provides an NVMe storage network joining method, which is applied to a second device, including:
[0014] In the case of monitoring the first mDNS broadcast information, updating the device information table of the second device based on the device information carried in the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join the target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network;
[0015] When the device information meets a preset condition, a communication connection with the first device is established so that the first device joins the target NVMe storage network.
[0016] In a third aspect, the present application further provides an NVMe storage network joining device, applied to a first device, comprising:
[0017] A device information acquisition module, configured to acquire device information of the first device in response to a device joining request for the first device to join a target NVMe storage network;
[0018] The first information broadcast module is used to broadcast first mDNS broadcast information carrying the device information to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
[0019] In a fourth aspect, the present application further provides an NVMe storage network joining device, applied to a second device, comprising:
[0020] a device information table updating module, configured to update the device information table of the second device based on the device information carried in the first mDNS broadcast information when monitoring the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join a target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network;
[0021] A communication connection building module is used to build a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
[0022] In a fifth aspect, the present application further provides a communication device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in any one of the embodiments of the first aspect or the second aspect are implemented.
[0023] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of the embodiments of the first aspect or the second aspect are implemented.
[0024] In a seventh aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in any embodiment of the first aspect or the second aspect.
[0025] The above-mentioned NVMe storage network joining method, apparatus, communication device, computer-readable storage medium and computer program product obtain the device information of the first device in response to the device joining request for the first device to join the target NVMe storage network; broadcast the first mDNS broadcast information carrying the device information to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and establish a communication connection with the first device when the device information meets the preset conditions, so that the first device joins the target NVMe storage network. In this embodiment, when the first device responds to a device joining request to join the target NVMe storage network, the first device can obtain its device information as the device information, and then the first mDNS broadcast information carrying the device information can be broadcast to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device. Each second device can update the corresponding device information table using the device information when monitoring the above broadcast information, and when the device information meets the preset device joining conditions, each second device can respectively establish a communication connection with the first device, thereby completing the first device joining the target NVMe storage network. Compared with the prior art, which requires the administrator to manually configure the first device to join the target NVMe storage network, or requires the central control node to discover the first device to complete the device joining, the NVMe storage network joining method provided in the present application does not require manual configuration by the administrator, nor does it require centralized control through the central control node, so the intelligence of the way to join the NVMe storage network can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0027] FIG1 is a schematic diagram of a flow chart of a method for joining an NVMe storage network in one embodiment;
[0028] FIG2 is a schematic diagram of a process of updating configuration parameters of a first device in one embodiment;
[0029] FIG3 is a schematic diagram of a process for adjusting configuration parameters of each NVMe device in the first region in one embodiment;
[0030] FIG4 is a schematic diagram of a flow chart of a method for joining an NVMe storage network in another embodiment;
[0031] FIG5 is a schematic diagram of a process of automatically discovering and networking a method for NVMe storage devices in one embodiment;
[0032] FIG6 is a structural block diagram of an NVMe storage network joining device in one embodiment;
[0033] FIG7 is a structural block diagram of an NVMe storage network joining device in another embodiment;
[0034] Figure 8 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] In one embodiment, as shown in FIG1 , a method for joining an NVMe storage network is provided. This embodiment is illustrated by applying the method to a first device. In this embodiment, the method includes the following steps:
[0037] Step S101, in response to a device joining request for a first device to join a target NVMe storage network, obtain device information of the first device.
[0038] The first device may refer to a terminal device that is ready to join the target NVMe storage network, for example, a certain NVMe device, and the target NVMe storage network refers to the NVMe storage network that the first device needs to join. The device joining request is triggered by the user to the first device, and is used to request the first device to join the target NVMe storage network, and the device information refers to the service information of the first device itself, which may include information such as IP address, port number, device ID, and available storage capacity.
[0039] Specifically, when the first device needs to join the target NVMe storage network, the user can initiate a device joining request to the first device to enable the first device to join the target NVMe storage network. At this time, the first device can respond to the request to obtain the device information of the first device.
[0040] Step S102, through the mDNS service module carried by the first device, broadcast the first mDNS broadcast information carrying the device information to the second device that has joined the target NVMe storage network; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and establish a communication connection with the first device when the device information meets the preset conditions, so that the first device joins the target NVMe storage network.
[0041] The mDNS service module refers to a module used to provide mDNS services, the second device refers to a device that has been added to the target NVMe storage network, for example, it may be an NVMe device that has been added to the target NVMe storage network, and the device information table refers to an information table carried by the second device for recording device information of each device in the target NVMe storage network.
[0042] Specifically, after the first device obtains its corresponding device information, it can broadcast the first mDNS broadcast information carrying the device information of the first device to each second device that has joined the target NVMe storage network through the mDNS protocol through the mDNS service module carried by the first device.
[0043] If the second device subsequently listens to the first mDNS broadcast information, it can use the device information of the first device carried in the first mDNS broadcast information to update its local device information table, thereby recording the detailed information of the newly added first device. In addition, the second device can also determine whether the device information of the newly added first device meets the pre-set device joining conditions. If so, it can establish a communication connection with the newly added first device. In this way, the communication connection between the first device and each second device that has joined the NVMe storage network can be achieved, thereby completing the first device joining the target NVMe storage network.
[0044] In the above-mentioned NVMe storage network joining method, in response to a device joining request for a first device to join a target NVMe storage network, the device information of the first device is obtained; through the mDNS service module carried by the first device, the first mDNS broadcast information carrying the device information is broadcast to the second device that has joined the target NVMe storage network; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets the preset conditions, so that the first device joins the target NVMe storage network. In this embodiment, when the first device responds to a device joining request to join the target NVMe storage network, the first device can obtain its device information as the device information, and then the first mDNS broadcast information carrying the device information can be broadcast to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device. Each second device can update the corresponding device information table using the device information when monitoring the above broadcast information, and when the device information meets the preset device joining conditions, each second device can respectively establish a communication connection with the first device, thereby completing the first device joining the target NVMe storage network. Compared with the prior art, which requires the administrator to manually configure the first device to join the target NVMe storage network, or requires the central control node to discover the first device to complete the device joining, the NVMe storage network joining method provided in the present application does not require manual configuration by the administrator, nor does it require centralized control through the central control node, so the intelligence of the way to join the NVMe storage network can be improved.
[0045] In one embodiment, as shown in FIG. 2 , after the first device joins the target NVMe storage network, the method may further include:
[0046] Step S201: In response to a configuration parameter adjustment request for adjusting a configuration parameter, second mDNS broadcast information broadcast by each second device and carrying a real-time status parameter of each second device is received.
[0047] The configuration parameter adjustment request refers to a request from the first device to adjust its network configuration parameters. After the first device joins the target NVMe storage network, the configuration parameters can also be adjusted dynamically. For example, when other new devices join the target NVMe storage network or other devices exit the target NVMe storage network, the above-mentioned request for dynamic adjustment of network configuration parameters can be triggered. The configuration parameters may include NVMe IO queue depth, bandwidth allocation optimization, etc. The real-time status parameter refers to the real-time network status data of each second device, such as available storage capacity, IOPS, throughput, bandwidth and latency, etc. The real-time status parameter can be carried by the second mDNS broadcast information. For example, the mDNS service module carried by the second device can broadcast the collected real-time status parameters through the mDNS protocol, so that the first device can receive the above-mentioned second mDNS broadcast information.
[0048] Specifically, when dynamic adjustment of configuration parameters is required, the first device may also initiate a configuration parameter adjustment request for adjusting the configuration parameters, and then the first device may respond to the request, thereby monitoring the second mDNS broadcast information broadcast by each second device through the mDNS protocol, which carries the real-time status parameters of each second device.
[0049] Step S202: extract the real-time status parameter of each second device from the second mDNS broadcast information, and generate a configuration parameter adjustment strategy for the first device according to the real-time status parameter of the first device.
[0050] The configuration parameter adjustment strategy refers to the adjustment strategy used to adjust the configuration parameters of the first device. After the first device receives the second mDNS broadcast information broadcast by each second device, it can extract the corresponding real-time status parameters of each second device from each second mDNS broadcast information, and can also obtain the real-time status parameters of the first device itself. In this way, the real-time status parameters of each device in the target NVMe storage network are summarized. Afterwards, the first device can generate a configuration parameter adjustment strategy for the first device based on the summarized real-time status parameters of each device.
[0051] Step S203: broadcast third mDNS broadcast information carrying the configuration parameter adjustment policy to each second device through the mDNS service module, and update the configuration parameters of the first device based on the configuration parameter adjustment policy.
[0052] The third mDNS broadcast information is the mDNS broadcast information used to carry the configuration parameter adjustment policy of the first device. After the configuration parameter adjustment policy is generated, the configuration parameter adjustment policy also needs to be broadcast to each second device in the target NVMe storage network, and it can also be broadcast through the mDNS protocol.
[0053] Specifically, after the first device generates the configuration parameter adjustment policy, it can also use the mDNS service module to broadcast the third mDNS broadcast information carrying the configuration parameter adjustment policy to each second device based on the mDNS protocol to achieve the sharing of the configuration parameter adjustment policy. After that, the configuration parameter adjustment policy can also be used to update the configuration parameters of the first device, thereby completing the dynamic adjustment of the configuration parameters.
[0054] In this embodiment, after joining the target NVMe storage network, the first device can also receive the second mDNS broadcast information carrying real-time status parameters broadcast by each second device to realize the real-time status parameter integration of each device in the target NVMe storage network, thereby generating a configuration parameter adjustment strategy for the first device, and then realizing the update of the configuration parameters. In this way, the storage network can be dynamically adjusted, which can adapt to the dynamic changes of the network environment and storage requirements, and further improve the communication stability of the NVMe storage network.
[0055] In addition, after the first device joins the target NVMe storage network, it may also include: when detecting that the fourth mDNS broadcast information carrying the heartbeat signal of the target second device is interrupted, updating the device information table of the first device according to the device information of the target second device; disconnecting the device connection with the target second device, and initiating a configuration parameter adjustment request for adjusting the configuration parameters.
[0056] The fourth mDNS broadcast information is an mDNS broadcast information used to carry a heartbeat signal, which is used to inform the online status of the device. If the heartbeat signal broadcast by a device is terminated, that is, the fourth mDNS broadcast information is interrupted, it indicates that the device may have exited the target NVMe storage network or failed. At this time, other devices need to disconnect from the device.
[0057] Specifically, after the first device joins the target NVMe storage network, the fourth mDNS broadcast information carrying the heartbeat signal broadcast by each second device in the target NVMe storage network can be regularly detected. If the fourth mDNS broadcast information of one of the second devices, that is, the target second device, is interrupted, the device information of the target second device can be used to update the device information table of the first device. For example, the device information table of the first device recorded therein can be deleted in the device information table of the first device. After that, the first device can further disconnect from the target second device, and initiate a configuration parameter adjustment request for adjusting the configuration parameters to perform a dynamic adjustment process and update the configuration parameters according to the new adjustment strategy. In the above manner, when a device in the target NVMe storage network exits or fails, other devices can also disconnect and update the network configuration in real time to ensure that the overall stability and performance of the network will not be affected when the storage device exits, thereby improving the scalability and stability of the system.
[0058] In this embodiment, when a target second device exits the target NVMe storage network or fails, other devices can also disconnect from the target second device and update the network configuration in real time, ensuring that the overall stability and performance of the network are not affected when the storage device exits, thereby improving the scalability and stability of the system.
[0059] In addition, the NVMe storage network joining method may also include: obtaining real-time status parameters of the first device, and broadcasting fifth mDNS broadcast information carrying the real-time status parameters of the first device to each second device through the mDNS service module; the fifth mDNS broadcast information is used for each second device to update the configuration parameters of each second device; the sixth mDNS broadcast information carrying the heartbeat signal of the first device is broadcast to each second device through the mDNS service module; the sixth mDNS broadcast information is used for each second device to disconnect the device connection with the first device when the sixth mDNS broadcast information is detected to be interrupted.
[0060] The fifth mDNS broadcast information is used to carry the real-time status parameters of the first device. Similar to the second device broadcasting the second mDNS broadcast information, after the first device joins the NVMe storage network, it also needs to broadcast its corresponding real-time status parameters to the second device so that the second device can update its configuration parameters. Specifically, the first device can obtain its corresponding real-time status parameters, such as available storage capacity, IOPS, throughput, bandwidth and latency, etc., and then broadcast the real-time status parameters of the first device to each second device through the fifth mDNS broadcast information through the mDNS protocol.
[0061] The sixth mDNS broadcast information is the mDNS broadcast information used to carry the heartbeat signal of the first device. Similar to the second device broadcasting the fourth mDNS broadcast information, after the first device joins the NVMe storage network, it also needs to broadcast its heartbeat signal to the second device to inform other devices of the online status of the first device. Specifically, the first device can also send the sixth mDNS broadcast information carrying the heartbeat signal to each second device through the mDNS protocol in real time to inform each second device of the online status of the first device. If the second device detects that the sixth mDNS broadcast information is interrupted, it means that the first device may have exited the target NVMe storage network or a failure has occurred. If it is a second device, it can disconnect the device connection with the first device and initiate a configuration parameter adjustment request to update the configuration parameters of each second device.
[0062] In this embodiment, after joining the target NVMe storage network, the first device may also broadcast the fifth mDNS broadcast information carrying the real-time status parameters of the first device, and broadcast the sixth mDNS broadcast information carrying the heartbeat signal of the first device. In this way, it can be ensured that the second device can realize dynamic adjustment of the storage network, and that the overall stability and performance of the network will not be affected when the first device exits. In this way, the scalability and stability of the system can be improved.
[0063] In one embodiment, the target NVMe storage network is a multi-region NVMe-oF storage network, the first device is a gateway device of the first region, used to manage the NVMe devices in the first region, and each second device is a gateway device of each second region other than the first region in the multi-region, and is used to manage the NVMe devices in each second region respectively; as shown in FIG3, the NVMe storage network joining method may also include:
[0064] Step S301, receiving the seventh mDNS broadcast information broadcast by each second device; the seventh mDNS broadcast information carries the network status information of each NVMe device in each second area.
[0065] In this embodiment, the target NVMe storage network may be a multi-region NVMe-oF storage network, and the first device may be a gateway device corresponding to the first region, which may be used to manage each NVMe device contained in the first region, and the second device may be a gateway device corresponding to the second region, wherein the second region refers to other regions among the multiple regions except the first region, and the second device is mainly used to manage the NVMe devices in the corresponding region.
[0066] For example, a multi-region NVMe-oF storage network may be composed of various NVMe devices in region A, region B, and region C. Taking region A as the first region as an example, the first device may be gateway device A of region A, which may include NVMe devices A1, NVMe devices A2, and NVMe devices A3. The second region may be region B and region C, where the second device may be gateway device B of region B and gateway device C of region C, where region B may include NVMe devices B1, NVMe devices B2, and NVMe devices B3, and region C may include NVMe devices C1, NVMe devices C2, and NVMe devices C3. In other words, gateway device A can manage NVMe devices A1, NVMe devices A2, and NVMe devices A3, gateway device B can manage NVMe devices B1, NVMe devices B2, and NVMe devices B3, and gateway device C can manage NVMe devices C1, NVMe devices C2, and NVMe devices C3.
[0067] The seventh mDNS broadcast information is used to carry the network status information of each NVMe device in each second area. Specifically, each second device can also broadcast the network status information of each NVMe device in the second area managed by the device through the mDNS protocol to form the seventh mDNS broadcast information. For example, the gateway device B as the second device can collect the network status information of NVMe devices B1, NVMe devices B2 and NVMe devices B3, thereby forming the seventh mDNS broadcast information for broadcasting, and the gateway device A can receive the seventh mDNS broadcast information.
[0068] Step S302: Based on the network status information of each NVMe device in each second area carried in each seventh mDNS broadcast information, the network status information of each NVMe device in the target NVMe storage network is obtained.
[0069] Afterwards, the first device can obtain the network status information of each NVMe device in each second area from the seventh mDNS broadcast information. Since the first device itself can obtain the network status information of each NVMe device in the first area, the network status information of all NVMe devices in the target NVMe storage network is integrated in this way to obtain the network status information of each NVMe device in the target NVMe storage network.
[0070] Step S303, using the network status information of each NVMe device in the target NVMe storage network, obtain a global configuration adjustment strategy for the first area.
[0071] The global configuration adjustment strategy refers to the configuration parameter adjustment strategy for each NVMe device in the first area. In this embodiment, after the first device obtains the network status information of each NVMe device in the target NVMe storage network, it can formulate a global configuration adjustment strategy for the first area based on the above network status information through an intelligent scheduling algorithm.
[0072] Step S304: broadcast the eighth mDNS broadcast information carrying the global configuration adjustment policy of the first area to each NVMe device in the first area through the mDNS service module, so that each NVMe device in the first area adjusts the configuration parameters based on the global configuration adjustment policy of the first area.
[0073] The eighth mDNS broadcast information is used to broadcast the global configuration adjustment policy. After the first device obtains the global configuration adjustment policy, it can broadcast the eighth mDNS broadcast information carrying the global configuration adjustment policy of the first area to each NVMe device in the first area through the mDNS service module. After that, each NVMe device in the first area adjusts the configuration parameters based on the global configuration adjustment policy of the first area. In this way, the optimization adjustment of the NVMe-oF storage network in multiple areas is achieved, thereby ensuring the high efficiency of cross-regional storage data transmission.
[0074] In this embodiment, the first device can also be a gateway device of a first area in a multi-area NVMe-oF storage network, which can be used to manage NVMe devices in the first area, and the first device can receive the seventh mDNS broadcast information broadcast by gateway devices in other second areas to achieve optimization and adjustment of the multi-area NVMe-oF storage network, thereby ensuring the high efficiency of cross-regional storage data transmission.
[0075] In addition, the NVMe storage network joining method may also include: obtaining network status information of each NVMe device in the first area; broadcasting the ninth mDNS broadcast information carrying the network status information of each NVMe device in the first area to each second device through the mDNS service module; and each second device is used to obtain a global configuration adjustment strategy for each second area based on the ninth mDNS broadcast information.
[0076] The ninth mDNS broadcast information is mDNS broadcast information used to carry the network status information of each NVMe device in the first area. Similar to the second device broadcasting the seventh mDNS broadcast information, the first device also needs to broadcast the network status information of each NVMe device it manages to the second device, so that the second device can generate a global configuration adjustment policy for the second area to adjust the configuration parameters of each NVMe device in the second area.
[0077] Specifically, the first device can also obtain the network status information of each NVMe device in the first area, and broadcast the network status information of each NVMe device to each second device through the ninth mDNS broadcast information.
[0078] In this embodiment, the first device can also broadcast the ninth mDNS broadcast information carrying the network status information of each NVMe device in the first area. In this way, it can be ensured that the second device can generate a global configuration adjustment policy for the second area to adjust the configuration parameters of each NVMe device in the second area, thereby ensuring the optimization adjustment of the NVMe-oF storage network in the second area to ensure the high efficiency of cross-regional storage data transmission.
[0079] In one embodiment, as shown in FIG4 , a method for joining an NVMe storage network is also provided. This embodiment is illustrated by applying the method to a second device. In this embodiment, the method includes the following steps:
[0080] Step S401, when monitoring the first mDNS broadcast information, updating the device information table of the second device based on the device information carried in the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join the target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network.
[0081] Specifically, when the first device needs to join the target NVMe storage network, the user can initiate a device joining request to the first device for the first device to join the target NVMe storage network. At this time, the first device can respond to the request to obtain the device information of the first device. After the first device obtains its corresponding device information, it can broadcast the first mDNS broadcast information carrying the device information of the first device to each second device that has joined the target NVMe storage network through the mDNS protocol through the mDNS service module carried by the first device.
[0082] Afterwards, if the second device monitors the first mDNS broadcast information, it can use the device information of the first device carried in the first mDNS broadcast information to update its local device information table, thereby recording the detailed information of the newly added first device.
[0083] Step S402, when the device information meets the preset conditions, establish a communication connection with the first device so that the first device joins the target NVMe storage network.
[0084] In addition, the second device can also determine whether the device information of the newly added first device meets the pre-set device joining conditions. If so, a communication connection with the newly added first device can be established. In this way, a communication connection can be achieved between the first device and each second device that has joined the NVMe storage network, thereby completing the first device joining the target NVMe storage network.
[0085] In the above-mentioned NVMe storage network joining method, when the first mDNS broadcast information is monitored, the device information table of the second device is updated based on the device information carried in the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join the target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network; when the device information meets the preset conditions, a communication connection with the first device is established to enable the first device to join the target NVMe storage network. In this embodiment, when the first device responds to a device joining request to join the target NVMe storage network, the first device can obtain its device information as the device information, and then the first mDNS broadcast information carrying the device information can be broadcast to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device. Each second device can update the corresponding device information table using the device information when monitoring the above broadcast information, and when the device information meets the preset device joining conditions, each second device can respectively establish a communication connection with the first device, thereby completing the first device joining the target NVMe storage network. Compared with the prior art, which requires the administrator to manually configure the first device to join the target NVMe storage network, or requires the central control node to discover the first device to complete the device joining, the NVMe storage network joining method provided in the present application does not require manual configuration by the administrator, nor does it require centralized control through the central control node, so the intelligence of the way to join the NVMe storage network can be improved.
[0086] In one embodiment, a method for dynamically adjusting NVMe-oF storage network based on mDNS is also provided to solve the following technical problems of the prior art: 1. The manual configuration of static network topology is complex and relies on manual operation, which is inefficient and prone to errors, and has a low degree of automation; 2. The prior art solution cannot quickly respond to the dynamic changes of NVMe-oF network storage devices, affecting the real-time and flexibility of the system, resulting in low efficiency of NVMe device networking; 3. The existing system is difficult to effectively manage the addition and exit of devices, affecting the scalability and stability of the system. And the following technical effects can be achieved: 1. Automatic discovery and networking of devices are realized through mDNS, eliminating the complexity and potential errors of manual configuration, and simplifying operation and maintenance; 2. Supporting dynamic addition and exit of devices, the system can automatically adjust the network topology to ensure stable operation of the system when the device changes, and enhance system elasticity; 3. Distributed management system, reducing the impact of single point failures and other technical effects.
[0087] The method provided in this embodiment can be applied to a storage network composed of multiple NVMe storage devices using NVMe-oF as a transmission protocol, including SSDs or other types of high-performance storage hardware that support the NVMe-oF protocol. Each storage device is equipped with an mDNS service for broadcasting its own service information, including IP address, port number, device ID, available storage capacity, etc. The method can be divided into three parts: automatic discovery and networking of NVMe storage devices, dynamic adjustment of storage networks, and dynamic exit mechanism.
[0088] The specific implementation process of automatic discovery and networking of NVMe storage devices may include the following process, as shown in Figure 5: Step 1. After the storage device is connected to the storage network, the mDNS service module is started, and information packets are generated through mDNS. The service information of the device is broadcast in the NVMe-oF storage network, making the device visible in the network and discoverable by other devices. Step 2. The NVMe storage device in the network continuously monitors the broadcast information of mDNS. After receiving the broadcast information of the new device, it parses the received mDNS information and updates the local device information table to record the detailed information of the new device. Step 3. If the information of the new device meets the preset joining conditions, a connection is established to perform networking and data transmission operations.
[0089] The dynamic adjustment of the storage network may include the following process: First, after the NVMe storage device is connected to the NVMe-oF storage network, it registers the real-time monitoring device's available storage capacity, IOPS, throughput, bandwidth and latency, IO queue depth and other NVMe storage indicators and corresponding configuration parameter services with the mDNS management software (such as avahi), and broadcasts them to the NVMe-oF storage network through mDNS. Second, other devices exchange status information through the registered service to obtain the real-time status data of the NVMe-oF storage network to provide data support for dynamic adjustment. Third, after each NVMe storage device completes the collection of network status data, it formulates a dynamic adjustment plan based on the collected data and the preset adjustment strategy (such as load balancing), and generates an adjustment strategy, including the device nodes, connections and NVMe-oF configuration parameters that need to be adjusted. Fourth, after the adjustment strategy is formulated, it is broadcast to all NVMe device nodes in the NVMe-oF storage network through mDNS. After receiving the nodes, they update their own configuration parameters according to the strategy, such as NVMe IO queue depth, bandwidth allocation optimization, etc.
[0090] The dynamic exit mechanism may include the following process: In the first step, the storage device regularly broadcasts heartbeat signals through mDNS to inform the online status of the device. In the second step, when one of the devices exits or fails, the heartbeat is interrupted, and other devices monitor the heartbeat information of the device in the mDNS broadcast, update the device information table, disconnect from the device, and perform a dynamic adjustment process to update the configuration parameters according to the new adjustment strategy.
[0091] This embodiment can also be extended to a multi-region NVMe-oF storage network, and the process steps are as follows: First, perform multi-region NVMe device discovery, and the NVMe devices in each region are discovered, networked, and NVMe-oF network status information is collected through mDNS. The gateway devices in each region collect the NVMe-oF network status information of the responsible area through mDNS broadcast, so that multi-region NVMe-oF storage networks can be supported and the network scale can be expanded. Then the regions are interconnected through gateway devices, and the gateway devices summarize the NVMe-oF network status information within each region collected by mDNS within each region. Based on the summarized information, an intelligent scheduling algorithm is used to formulate a global configuration adjustment strategy. After that, the gateway devices in each region broadcast the global adjustment strategy to the NVMe devices in their respective regions through mDNS, and update their own configuration parameters according to the strategy to optimize and adjust the storage network across regions. Finally, adjustment strategies are formulated regularly based on the global network status to ensure the efficiency of cross-regional storage data transmission.
[0092] This embodiment introduces the mDNS protocol to implement the automatic discovery and networking, dynamic adjustment and exit mechanism of NVMe storage devices, and realizes the automatic discovery and networking of NVMe storage devices without manual configuration, which significantly improves the configuration efficiency and accuracy, improves the degree of automation, and supports the dynamic addition and exit of NVMe storage devices, thereby improving the scalability and stability of the system; based on the continuous monitoring information broadcast by mDNS, the configuration parameters of NVMe storage devices can be optimized in real time to ensure the efficiency and stability of storage data transmission; the distributed automatic discovery and monitoring mechanism improves the reliability of the system and reduces the risk of single point failures.
[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0094] Based on the same inventive concept, the embodiment of the present application also provides an NVMe storage network joining device for implementing the NVMe storage network joining method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more NVMe storage network joining device embodiments provided below can refer to the limitations of the NVMe storage network joining method above, and will not be repeated here.
[0095] In one embodiment, as shown in FIG6 , a NVMe storage network joining device is provided, which is applied to a first device and includes: a device information acquisition module 601 and a first information broadcast module 602, wherein:
[0096] The device information acquisition module 601 is used to obtain device information of the first device in response to a device joining request for the first device to join the target NVMe storage network;
[0097] The first information broadcast module 602 is used to broadcast the first mDNS broadcast information carrying the device information to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets the preset conditions, so that the first device joins the target NVMe storage network.
[0098] In one embodiment, the NVMe storage network joining device may also include: a first parameter update module, which is used to receive, in response to a configuration parameter adjustment request for adjusting the configuration parameters, second mDNS broadcast information broadcast by each second device and carrying the real-time status parameters of each second device; extract the real-time status parameters of each second device from the second mDNS broadcast information, and generate a configuration parameter adjustment policy for the first device according to the real-time status parameters of the first device; broadcast third mDNS broadcast information carrying the configuration parameter adjustment policy to each second device through the mDNS service module, and update the configuration parameters of the first device based on the configuration parameter adjustment policy.
[0099] In one embodiment, the NVMe storage network joining device may also include: a device connection disconnection module, which is used to update the device information table of the first device according to the device information of the target second device when detecting that the fourth mDNS broadcast information carrying the heartbeat signal of the target second device is interrupted; disconnect the device connection with the target second device, and initiate a configuration parameter adjustment request for adjusting the configuration parameters.
[0100] In one embodiment, the NVMe storage network joining device may also include: a second information broadcast module, used to obtain the real-time status parameters of the first device, and broadcast the fifth mDNS broadcast information carrying the real-time status parameters of the first device to each second device through the mDNS service module; the fifth mDNS broadcast information is used for each second device to update the configuration parameters of each second device; the sixth mDNS broadcast information carrying the heartbeat signal of the first device is broadcast to each second device through the mDNS service module; the sixth mDNS broadcast information is used for each second device to disconnect the device connection with the first device when the sixth mDNS broadcast information is detected to be interrupted.
[0101] In one embodiment, the target NVMe storage network is a multi-region NVMe-oF storage network, the first device is a gateway device of the first region, used to manage the NVMe devices in the first region, and each second device is a gateway device of each second region other than the first region in the multi-region, and is respectively used to manage the NVMe devices in each second region; the NVMe storage network joining device may also include: a second parameter updating module, used to receive the seventh mDNS broadcast information broadcast by each second device; the seventh mDNS broadcast information respectively carries the network status information of each NVMe device in each second region; based on the network status information of each NVMe device in each second region carried in each seventh mDNS broadcast information, the network status information of each NVMe device in the target NVMe storage network is obtained; using the network status information of each NVMe device in the target NVMe storage network, a global configuration adjustment policy for the first region is obtained; the eighth mDNS broadcast information carrying the global configuration adjustment policy of the first region is broadcast to each NVMe device in the first region through the mDNS service module, so that each NVMe device in the first region adjusts the configuration parameters based on the global configuration adjustment policy of the first region.
[0102] In one embodiment, the NVMe storage network joining device may also include: a third information broadcast module, used to obtain the network status information of each NVMe device in the first area; broadcast the ninth mDNS broadcast information carrying the network status information of each NVMe device in the first area to each second device through the mDNS service module; each second device is used to obtain a global configuration adjustment strategy for each second area based on the ninth mDNS broadcast information.
[0103] In one embodiment, as shown in FIG. 7 , a NVMe storage network joining device is provided, which is applied to a second device and includes: a device information table updating module 701 and a communication connection building module 702, wherein:
[0104] The device information table updating module 701 is used to update the device information table of the second device based on the device information carried in the first mDNS broadcast information when monitoring the first mDNS broadcast information; the device information is obtained by the first device in response to the device joining request for the first device to join the target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network;
[0105] The communication connection building module 702 is used to build a communication connection with the first device when the device information meets the preset conditions, so that the first device joins the target NVMe storage network.
[0106] Each module in the above-mentioned NVMe storage network joining device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the communication device in the form of hardware, or can be stored in the memory in the communication device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0107] In an exemplary embodiment, a communication device is provided. The communication device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the communication device is used to exchange information between the processor and the external device. The communication interface of the communication device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a method for joining an NVMe storage network is implemented. The display unit of the communication device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the communication device housing, or an external keyboard, touchpad or mouse.
[0108] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0109] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0110] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0111] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0112] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0113] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0115] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for joining an NVMe storage network, characterized in that: Applied to a first device, the method includes: In response to a device joining request for the first device to join a target NVMe storage network, obtaining device information of the first device; The first mDNS broadcast information carrying the device information is broadcasted to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
2. The method according to claim 1, characterized in that After the first device joins the target NVMe storage network, the method further includes: In response to a configuration parameter adjustment request for adjusting a configuration parameter, receiving second mDNS broadcast information broadcasted by each of the second devices and carrying a real-time status parameter of each of the second devices; extracting the real-time status parameter of each of the second devices from the second mDNS broadcast information, and generating a configuration parameter adjustment strategy for the first device according to the real-time status parameter of the first device; The third mDNS broadcast information carrying the configuration parameter adjustment policy is broadcasted to each of the second devices through the mDNS service module, and the configuration parameters of the first device are updated based on the configuration parameter adjustment policy.
3. The method according to claim 2, characterized in that After the first device joins the target NVMe storage network, the method further includes: When it is detected that the fourth mDNS broadcast information carrying the heartbeat signal of the target second device is interrupted, updating the device information table of the first device according to the device information of the target second device; The device connection with the target second device is disconnected, and the configuration parameter adjustment request for adjusting the configuration parameter is initiated.
4. The method according to claim 3, characterized in that The method further comprises: acquiring a real-time status parameter of the first device, and broadcasting fifth mDNS broadcast information carrying the real-time status parameter of the first device to each of the second devices through the mDNS service module; the fifth mDNS broadcast information is used by each of the second devices to update the configuration parameters of each of the second devices; The sixth mDNS broadcast information carrying the heartbeat signal of the first device is broadcast to each of the second devices through the mDNS service module; the sixth mDNS broadcast information is used by each of the second devices to disconnect the device connection with the first device when detecting that the sixth mDNS broadcast information is interrupted.
5. The method according to claim 1, characterized in that The target NVMe storage network is a multi-region NVMe-oF storage network, the first device is a gateway device of a first region, used to manage NVMe devices in the first region, and each of the second devices is a gateway device of each second region other than the first region in the multi-region, and is used to manage NVMe devices in each of the second regions respectively; the method further includes: Receive seventh mDNS broadcast information broadcast by each of the second devices; the seventh mDNS broadcast information respectively carries network status information of each NVMe device in each of the second areas; Based on the network status information of each NVMe device in each of the second areas carried in each of the seventh mDNS broadcast information, obtain the network status information of each NVMe device in the target NVMe storage network; Using the network status information of each NVMe device in the target NVMe storage network, a global configuration adjustment strategy for the first area is obtained; The mDNS service module broadcasts the eighth mDNS broadcast information carrying the global configuration adjustment policy of the first area to each NVMe device in the first area, so that each NVMe device in the first area adjusts the configuration parameters based on the global configuration adjustment policy of the first area.
6. The method according to claim 5, characterized in that The method further comprises: Obtain network status information of each NVMe device in the first area; The ninth mDNS broadcast information carrying the network status information of each NVMe device in the first area is broadcast to each second device through the mDNS service module; each second device is used to obtain a global configuration adjustment strategy for each second area based on the ninth mDNS broadcast information.
7. A method for joining an NVMe storage network, characterized in that: Applied to the second device, the method includes: In the case of monitoring the first mDNS broadcast information, updating the device information table of the second device based on the device information carried in the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join the target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network; When the device information meets a preset condition, a communication connection with the first device is established so that the first device joins the target NVMe storage network.
8. An NVMe storage network joining device, characterized in that: Applied to a first device, the apparatus comprises: A device information acquisition module, configured to acquire device information of the first device in response to a device joining request for the first device to join a target NVMe storage network; The first information broadcast module is used to broadcast first mDNS broadcast information carrying the device information to the second device that has joined the target NVMe storage network through the mDNS service module carried by the first device; the second device is used to update the device information table of the second device based on the device information when monitoring the first mDNS broadcast information, and to establish a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
9. A method for joining an NVMe storage network, characterized in that: Applied to the second device, the method includes: a device information table updating module, configured to update the device information table of the second device based on the device information carried in the first mDNS broadcast information when monitoring the first mDNS broadcast information; the device information is obtained by the first device in response to a device joining request for the first device to join a target NVMe storage network, and the first mDNS broadcast information is used by the first device to broadcast the device information to the second device; the second device is a device that has joined the target NVMe storage network; A communication connection building module is used to build a communication connection with the first device when the device information meets a preset condition, so that the first device joins the target NVMe storage network.
10. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Distributed block storage system based on NVMe-oF
CN117857417A
MULTICAST DOMAIN NAME SYSTEM (mDNS)-BASED PULL REGISTRATION
US20210288878A1
Method, electronic device, and computer program product for expanding storage device cluster
US20240361930A1
Message processing method, and gateway device and storage system
WO2023143103A1