[go: up one dir, main page]

CN115348208B - Flow control method and device, electronic equipment and storage medium - Google Patents

Flow control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115348208B
CN115348208B CN202110462209.XA CN202110462209A CN115348208B CN 115348208 B CN115348208 B CN 115348208B CN 202110462209 A CN202110462209 A CN 202110462209A CN 115348208 B CN115348208 B CN 115348208B
Authority
CN
China
Prior art keywords
gateway
directory
flow
real
limit value
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
CN202110462209.XA
Other languages
Chinese (zh)
Other versions
CN115348208A (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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110462209.XA priority Critical patent/CN115348208B/en
Publication of CN115348208A publication Critical patent/CN115348208A/en
Application granted granted Critical
Publication of CN115348208B publication Critical patent/CN115348208B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a flow control method, a flow control device, an electronic device and a computer storage medium, wherein the flow control method is applied to a first flow control component of a distributed file storage system, and comprises the following steps: after the first flow control component establishes connection with each gateway, receiving real-time flow of each catalogue reported by each gateway; determining the flow limit value of each gateway to each directory according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory; and sending the flow limit value of each gateway to each directory to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.

Description

一种流量控制方法、装置、电子设备和存储介质A flow control method, device, electronic device and storage medium

技术领域Technical Field

本发明涉及计算机应用技术领域,尤其涉及一种流量控制方法、装置、电子设备和计算机存储介质。The present invention relates to the field of computer application technology, and in particular to a flow control method, device, electronic equipment and computer storage medium.

背景技术Background technique

国际数据公司(International Data Corporation,IDC)预测,全球数据量正迎来爆发,将从2018年的33ZB增长到2025年的175ZB。到2021年,全球存储在公共云上的数据量将超过传统数据中心,传统数据中心自上个世纪60年代起对企业数据的把持将被云打破,企业将进入全面上云(All in Cloud)时代。云上基础存储设施(即云储存),按照数据的保存方式、整理和数据呈现格式的不同,分为文件存储、对象存储及块存储三种类型;按照元数据的管理方式的不同,可分为对称式和非对称式。其中,对称式分布式文件存储系统中每个节点的角色均等,共同管理和维护元数据,节点间通过高速网络进行信息同步和互斥锁等操作。图1a为相关技术中对称式分布式文件存储系统的结构示意图,如图1a所示,对称式分布式文件存储系统由若干个对等的储存节点组成一个存储集群,每个储存节点包含若干个存储桶,每个储存桶一般对接一个本地文件系统,用于存放客户端的文件数据及元数据信息。每个存储集群属于同一命名空间,它为客户端提供了通用的文件接口协议,如网络文件系统(Network File System,NFS)协议、通用网络文件系统(Common Internet FileSystem,CIFS)协议等。The International Data Corporation (IDC) predicts that the amount of global data is experiencing an explosion, growing from 33ZB in 2018 to 175ZB in 2025. By 2021, the amount of data stored in public clouds will exceed that in traditional data centers. The traditional data centers’ control over enterprise data since the 1960s will be broken by the cloud, and enterprises will enter the era of all-in-cloud. Cloud infrastructure (i.e., cloud storage) is divided into three types: file storage, object storage, and block storage, according to the different ways of data storage, organization, and data presentation format; it can be divided into symmetric and asymmetric types according to the different ways of metadata management. In the symmetric distributed file storage system, each node has an equal role, jointly manages and maintains metadata, and nodes perform information synchronization and mutex lock operations through a high-speed network. Figure 1a is a schematic diagram of the structure of a symmetric distributed file storage system in the related art. As shown in Figure 1a, the symmetric distributed file storage system consists of a storage cluster composed of a number of peer storage nodes, each storage node contains a number of storage buckets, and each storage bucket is generally connected to a local file system for storing client file data and metadata information. Each storage cluster belongs to the same namespace, which provides common file interface protocols for clients, such as the Network File System (NFS) protocol and the Common Internet File System (CIFS) protocol.

相关技术中,对于对称式分布式文件存储系统而言,其元数据散落在系统内所有存储节点,一般只能限制某个网关的流量;即,在单租户使用多网关的情况下不能达到限流效果,所以在实际使用过程中需要保证域名系统(Domain Name System,DNS)给同一租户返回同一网关网际互连协议(Internet Protocol,IP)。In the related art, for a symmetric distributed file storage system, its metadata is scattered across all storage nodes in the system, and generally only the traffic of a certain gateway can be limited; that is, when a single tenant uses multiple gateways, the flow limiting effect cannot be achieved, so in actual use, it is necessary to ensure that the Domain Name System (DNS) returns the same gateway Internet Protocol (IP) to the same tenant.

可见,为了精确限制租户流量,每个租户只能使用一个网关;然而,受单个网关的网络带宽及中央处理器(Central Processing Unit,CPU)能力限制,造成单租户资源使用率低;特别是在租户处于大带宽的情况下,该流量控制方法不能满足云上需求;因而,需要提供一种能够在单租户多网关情况下进行流量控制的方法。It can be seen that in order to accurately limit tenant traffic, each tenant can only use one gateway; however, due to the limitations of the network bandwidth and central processing unit (CPU) capacity of a single gateway, the single tenant resource utilization rate is low; especially when the tenant is in a large bandwidth, the traffic control method cannot meet the cloud requirements; therefore, it is necessary to provide a method that can perform traffic control in the case of a single tenant with multiple gateways.

发明内容Summary of the invention

本发明提供一种流量控制方法、装置、电子设备和计算机存储介质;可以解决对称式分布式文件存储系统在单租户多网关情况下无法进行流量控制的问题。The present invention provides a flow control method, device, electronic device and computer storage medium; the problem that a symmetrical distributed file storage system cannot perform flow control in a single-tenant multi-gateway situation can be solved.

本发明的技术方案是这样实现的:The technical solution of the present invention is achieved in this way:

本发明提供了一种流量控制方法,应用于分布式文件存储系统的第一流量控制组件中,所述方法包括:The present invention provides a flow control method, which is applied to a first flow control component of a distributed file storage system, and the method comprises:

在所述第一流量控制组件与各个网关建立连接后,接收所述各个网关上报的每个目录的实时流量;After the first traffic control component establishes a connection with each gateway, receiving the real-time traffic of each directory reported by each gateway;

根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值;Determine the flow limit value of each directory by each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory;

将所述各个网关对每个目录的流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的流量限制值,对所述每个目录的流量进行控制。The flow limit value of each directory of each gateway is sent to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.

在一些实施例中,所述根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值,包括:In some embodiments, determining the flow limit value of each directory by each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory includes:

根据所述各个网关上报的每个目录的实时流量,确定所述每个目录的实时流量总和;Determine the sum of the real-time traffic of each directory according to the real-time traffic of each directory reported by each gateway;

在确定所述每个目录的实时流量总和大于所述每个目录的预设流量限制值时,根据所述各个网关上报的每个目录的实时流量比例与所述每个目录的预设流量限制值确定所述各个网关对每个目录的流量限制值。When it is determined that the total real-time traffic of each directory is greater than the preset traffic limit value of each directory, the traffic limit value of each directory by each gateway is determined according to the real-time traffic ratio of each directory reported by each gateway and the preset traffic limit value of each directory.

在一些实施例中,所述分布式文件存储系统还包括第二流量控制组件,所述方法还包括:In some embodiments, the distributed file storage system further includes a second flow control component, and the method further includes:

在所述第一流量控制组件停止服务时,使用所述第二流量控制组件与所述各个网关建立连接;将所述第一流量控制组件提供的服务迁移至所述第二流量控制组件。When the first flow control component stops providing services, the second flow control component is used to establish connections with the respective gateways; and the services provided by the first flow control component are migrated to the second flow control component.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

在所述分布式文件存储系统的多个流量控制组件均停止服务,且所述各个网关与所述多个流量控制组件之间无心跳应答的时间超过设定时间阈值时,将所述每个目录的预设流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的预设流量限制值,对所述每个目录的流量进行控制。When multiple flow control components of the distributed file storage system stop service and the time without heartbeat response between each gateway and the multiple flow control components exceeds a set time threshold, the preset flow limit value of each directory is sent to each gateway, so that each gateway controls the flow of each directory based on the preset flow limit value of each directory.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

在确定第一网关对应的虚拟IP转移到第二网关时,重新接收剩余网关上报的每个目录的实时流量;所述剩余网关表示除所述第一网关之外的其它网关。When it is determined that the virtual IP corresponding to the first gateway is transferred to the second gateway, the real-time traffic of each directory reported by the remaining gateways is received again; the remaining gateways represent gateways other than the first gateway.

在一些实施例中,所述接收所述各个网关上报的每个目录的实时流量,包括:In some embodiments, receiving the real-time traffic of each directory reported by each gateway includes:

按照设定间隔周期性地接收所述各个网关上报的每个目录的实时流量。The real-time traffic of each directory reported by each gateway is periodically received according to a set interval.

本发明提供一种流量控制装置,所述装置应用于分布式文件存储系统的第一流量控制组件中,所述装置包括接收模块、确定模块和控制模块,其中,The present invention provides a flow control device, which is applied to a first flow control component of a distributed file storage system. The device comprises a receiving module, a determining module and a control module, wherein:

接收模块,用于在所述第一流量控制组件与各个网关建立连接后,接收所述各个网关上报的每个目录的实时流量;A receiving module, configured to receive the real-time traffic of each directory reported by each gateway after the first traffic control component establishes a connection with each gateway;

确定模块,用于根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值;A determination module, configured to determine the flow limit value of each directory by each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory;

控制模块,用于将所述各个网关对每个目录的流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的流量限制值,对所述每个目录的流量进行控制。The control module is used to send the flow limit value of each directory of each gateway to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.

本发明提供一种电子设备,所述设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现前述一个或多个技术方案提供的流量控制方法。The present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a flow control method provided by one or more of the above-mentioned technical solutions is implemented.

本发明提供一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后能够实现前述一个或多个技术方案提供的流量控制方法。The present invention provides a computer storage medium, wherein the computer storage medium stores a computer program; after the computer program is executed, the flow control method provided by one or more of the above-mentioned technical solutions can be implemented.

本发明提供一种流量控制方法、装置、电子设备和计算机存储介质,所述方法应用于分布式文件存储系统的第一流量控制组件中,所述方法包括:在所述第一流量控制组件与各个网关建立连接后,接收所述各个网关上报的每个目录的实时流量;根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值;将所述各个网关对每个目录的流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的流量限制值,对所述每个目录的流量进行控制;如此,本发明通过在分布式文件存储系统中引入流量控制组件,该流量控制组件根据接收到的各个网关上报的每个目录的实时流量以及预设流量限制值计算各个网关对每个目录的流量限制值;进而,根据该流量限制值,实现对每个目录的流量控制;由于每个目录对应一个租户,因而,可以实现分布式文件存储系统在单租户多网关情况下的流量控制;进一步地,由于引入的流量控制组件极其轻量,在实现流量控制的同时极大简化了分布式文件存储系统软件的设计。The present invention provides a flow control method, device, electronic device and computer storage medium. The method is applied to a first flow control component of a distributed file storage system. The method comprises: after the first flow control component establishes a connection with each gateway, receiving the real-time flow of each directory reported by each gateway; determining the flow limit value of each directory for each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory; sending the flow limit value of each directory for each gateway to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory; thus, the present invention introduces a flow control component in the distributed file storage system, and the flow control component calculates the flow limit value of each gateway for each directory according to the real-time flow of each directory reported by each gateway and the preset flow limit value; further, according to the flow limit value, the flow control of each directory is realized; since each directory corresponds to a tenant, the flow control of the distributed file storage system in the case of single tenant and multiple gateways can be realized; further, since the introduced flow control component is extremely lightweight, the design of the distributed file storage system software is greatly simplified while realizing flow control.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1a为相关技术中对称式分布式文件存储系统的结构示意图;FIG. 1a is a schematic diagram of the structure of a symmetrical distributed file storage system in the related art;

图1b为本发明实施例的一种流量控制方法的流程图;FIG1b is a flow chart of a flow control method according to an embodiment of the present invention;

图2a为本发明实施例的分布式文件存储系统中流量控制方法的结构示意图;FIG2a is a schematic diagram of the structure of a flow control method in a distributed file storage system according to an embodiment of the present invention;

图2b为本发明实施例的网关上报实时流量格式的示意图一;FIG2 b is a schematic diagram 1 of a format for reporting real-time traffic by a gateway according to an embodiment of the present invention;

图2c为本发明实施例的网关上报实时流量格式的示意图二;FIG2c is a second schematic diagram of a format for reporting real-time traffic by a gateway according to an embodiment of the present invention;

图3为本发明实施例的流量控制装置的组成结构示意图;3 is a schematic diagram of the composition structure of a flow control device according to an embodiment of the present invention;

图4为本发明实施例提供的电子设备的结构示意图。FIG. 4 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述。The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所提供的实施例仅仅用以解释本发明,并不用于限定本发明。另外,以下所提供的实施例是用于实施本发明的部分实施例,而非提供实施本发明的全部实施例,在不冲突的情况下,本发明记载的技术方案可以任意组合的方式实施。The present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the embodiments provided herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the embodiments provided below are partial embodiments for implementing the present invention, rather than providing all embodiments for implementing the present invention. In the absence of conflict, the technical solutions recorded in the present invention can be implemented in any combination.

需要说明的是,在本发明中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的方法或者装置不仅包括所明确记载的要素,而且还包括没有明确列出的其他要素,或者是还包括为实施方法或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的方法或者装置中还存在另外的相关要素(例如方法中的步骤或者装置中的单元,例如的单元可以是部分处理器、部分程序或软件等等)。It should be noted that, in the present invention, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements includes not only the elements explicitly stated, but also other elements not explicitly listed, or also includes elements inherent to the implementation of the method or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements (such as steps in a method or units in a device, for example, a unit may be a part of a processor, a part of a program or software, etc.) in the method or device including the element.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

例如,本发明提供的流量控制方法包含了一系列的步骤,但是本发明提供的流量控制方法不限于所记载的步骤,同样地,本发明提供的流量控制装置包括了一系列模块,但是本发明提供的流量控制装置不限于包括所明确记载的模块,还可以包括为获取相关信息、或基于信息进行处理时所需要设置的模块。For example, the flow control method provided by the present invention includes a series of steps, but the flow control method provided by the present invention is not limited to the recorded steps. Similarly, the flow control device provided by the present invention includes a series of modules, but the flow control device provided by the present invention is not limited to including the modules explicitly recorded, and can also include modules that need to be set up to obtain relevant information or perform processing based on information.

本发明可以基于电子设备实现,这里,电子设备可以是瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统,等等。The present invention can be implemented based on electronic devices, where the electronic devices can be thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, and the like.

电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统可以在分布式云计算环境中实施,在分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.

在公有云场景下,租户申请的文件存储对应底层分布式文件存储系统中的一个目录,多个租户共享同一存储系统的整体流量。如果不加以控制,租户之间流量会相互影响;可见,流量控制已经成为文件存储的必备功能。In the public cloud scenario, the file storage requested by the tenant corresponds to a directory in the underlying distributed file storage system, and multiple tenants share the overall traffic of the same storage system. If not controlled, the traffic between tenants will affect each other; it can be seen that traffic control has become an essential function for file storage.

在本发明的一些实施例中,流量控制方法可以利用流量控制装置中的处理器实现,上述处理器可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(DigitalSignal Processing Device,DSPD)、可编程逻辑装置(Programmable Logic Device,PLD)、现场可编程逻辑门阵列(Field Programmable Gate Array,FPGA)、CPU、控制器、微控制器、微处理器中的至少一种。In some embodiments of the present invention, the flow control method can be implemented using a processor in a flow control device, and the processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor.

本发明实施例中,流量控制方法可以应用于对称式分布式文件存储系统中。In the embodiment of the present invention, the flow control method can be applied to a symmetrical distributed file storage system.

图1b为本发明实施例的一种流量控制方法的流程图,如图1b所示,该流程可以包括:FIG. 1b is a flow chart of a flow control method according to an embodiment of the present invention. As shown in FIG. 1b , the process may include:

步骤100:在第一流量控制组件与各个网关建立连接后,接收各个网关上报的每个目录的实时流量。Step 100: After the first traffic control component establishes connections with each gateway, the real-time traffic of each directory reported by each gateway is received.

示例性地,第一流量控制组件可以是分布在各个网关上的基于Raft算法的高可用服务;这里,Raft算法主要应用于分布式集群系统中,能够保证高可用和数据一致性;第一流量控制组件被设计得非常轻量,其可以负责各个网关上租户流量的管理。Exemplarily, the first flow control component can be a high-availability service based on the Raft algorithm distributed on each gateway; here, the Raft algorithm is mainly used in distributed cluster systems, which can ensure high availability and data consistency; the first flow control component is designed to be very lightweight, and it can be responsible for the management of tenant traffic on each gateway.

在一种实施方式中,各个网关可以表示部署在租户本地数据中心和公有云上的存储网关;这里,存储网关可以将存储桶存放的客户端的文件数据与对称式分布式文件存储系统的目录建立映射关系,实现文件数据的备份、分发等;即,存储网关相当于文件数据存储的入口,通过这个入口,租户可以使用NFS协议或CIFS协议方式访问分布式文件存储系统的对应目录。In one implementation, each gateway may represent a storage gateway deployed in a tenant's local data center and a public cloud; here, the storage gateway may establish a mapping relationship between the client's file data stored in a storage bucket and the directory of a symmetric distributed file storage system to implement backup and distribution of file data; that is, the storage gateway is equivalent to the entrance to the file data storage, through which the tenant can access the corresponding directory of the distributed file storage system using the NFS protocol or the CIFS protocol.

示例性地,对于第一流量控制组件与各个网关建立连接的实现方式,可以为在第一流量控制组件启动后,根据各个网关的端口号与各个网关建立连接;还可以为在第一流量控制组件启动后,各个网关根据第一流量控制组件的端口号与第一流量控制组件建立连接。Exemplarily, the implementation method for the first flow control component to establish a connection with each gateway may be that after the first flow control component is started, a connection is established with each gateway according to the port number of each gateway; or after the first flow control component is started, each gateway establishes a connection with the first flow control component according to the port number of the first flow control component.

本发明实施例中,在确定第一流量控制组件与各个网关建立连接后,第一流量控制组件接收各个网关上报的每个目录的实时流量;示例性地,在对称式分布式文件存储系统中存在网关1和网关2的情况下,假设目录A在网关1上的实时流量为5M,目录A在网关2上的实时流量为10M,则第一流量控制组件会接收到网关1上报的目录A的实时流量5M以及网关2上报的目录A的实时流量10M。In an embodiment of the present invention, after determining that the first flow control component establishes a connection with each gateway, the first flow control component receives the real-time flow of each directory reported by each gateway; illustratively, in a symmetric distributed file storage system where gateway 1 and gateway 2 exist, assuming that the real-time flow of directory A on gateway 1 is 5M, and the real-time flow of directory A on gateway 2 is 10M, the first flow control component will receive the real-time flow of directory A reported by gateway 1, which is 5M, and the real-time flow of directory A reported by gateway 2, which is 10M.

本发明实施例中,由于第一流量控制组件与对称式分布式文件存储系统本身互相解耦,这样,不仅可以方便租户流量管理;还可以降低对称式分布式文件存储系统的维护成本,提高系统的稳定性。In the embodiment of the present invention, since the first flow control component is decoupled from the symmetric distributed file storage system itself, this not only facilitates tenant flow management, but also reduces the maintenance cost of the symmetric distributed file storage system and improves the stability of the system.

在一些实施例中,接收各个网关上报的每个目录的实时流量,可以包括:按照设定间隔周期性地接收各个网关上报的每个目录的实时流量。In some embodiments, receiving the real-time traffic of each directory reported by each gateway may include: periodically receiving the real-time traffic of each directory reported by each gateway at a set interval.

在一种实施方式中,设定间隔的取值可以根据实际情况进行设置,例如,可以为1S,2S等,本发明实施例对此不作限制。In one implementation, the value of the set interval can be set according to actual conditions, for example, it can be 1S, 2S, etc., and the embodiment of the present invention is not limited to this.

示例性地,在时间间隔为2S的情况下,则第一流量控制组件每隔2S接收各个网关上报的每个目录的实时流量。Exemplarily, when the time interval is 2S, the first traffic control component receives the real-time traffic of each directory reported by each gateway every 2S.

在一些实施例中,分布式文件存储系统还可以包括第二流量控制组件,该方法还可以包括:在第一流量控制组件停止服务时,使用第二流量控制组件与各个网关建立连接;将第一流量控制组件提供的服务迁移至第二流量控制组件。In some embodiments, the distributed file storage system may further include a second flow control component, and the method may further include: when the first flow control component stops service, using the second flow control component to establish a connection with each gateway; and migrating the service provided by the first flow control component to the second flow control component.

示例性地,在第一流量控制组件与各个网关建立连接后,如果第一流量控制组件因为各种异常情况而停止服务时,可以将第一流量控制组件提供的服务迁移至第二流量控制组件,即,由第二流量控制组件立即接管第一流量控制组件提供上述服务;也就是说,建立第二流量控制组件与各个网关之间的连接;然后,第二流量控制组件接收各个网关上报的每个目录的实时流量。Exemplarily, after the first flow control component establishes connections with each gateway, if the first flow control component stops providing services due to various abnormal situations, the services provided by the first flow control component can be migrated to the second flow control component, that is, the second flow control component immediately takes over the above services provided by the first flow control component; that is, a connection is established between the second flow control component and each gateway; then, the second flow control component receives the real-time traffic of each directory reported by each gateway.

在一种实施方式中,可以向分布式文件存储系统中引入多个流量控制组件,而在这多个流量控制组件中,每次只需选择一个流量控制组件进行服务;并在该流量控制组件停止服务时,可以选择其它任意一个流量控制组件进行服务;这里,各个网关对于流量控制组件的切换可以无感知。In one implementation, multiple flow control components may be introduced into a distributed file storage system, and among these multiple flow control components, only one flow control component needs to be selected for service each time; and when the flow control component stops providing service, any other flow control component may be selected for providing service; here, each gateway may be unaware of the switching of the flow control components.

在一些实施例中,该方法还可以包括:在确定第一网关对应的虚拟IP转移到第二网关时,重新接收剩余网关上报的每个目录的实时流量;剩余网关表示除第一网关之外的其它网关。In some embodiments, the method may further include: when determining that the virtual IP corresponding to the first gateway is transferred to the second gateway, re-receiving the real-time traffic of each directory reported by the remaining gateways; the remaining gateways represent other gateways except the first gateway.

在一种实施方式中,多个流量控制组件中的每个流量控制组件对各个网关仅提供一个虚拟IP,在任意一个网关出现故障后,例如,宕机;则该网关对应的虚拟IP会转移到其它网关。In one implementation, each of the multiple traffic control components provides only one virtual IP for each gateway. When any gateway fails, for example, crashes, the virtual IP corresponding to the gateway will be transferred to other gateways.

这里,第一网关和第二网关表示分布式文件存储系统中两个不同的网关;在确定第一网关出现故障时,将第一网关对应的虚拟IP转移到除第一网关之外的其它网关,例如,第二网关;进而,流量控制组件重新接收除第一网关之外的其它网关上报的每个目录的实时流量。Here, the first gateway and the second gateway represent two different gateways in the distributed file storage system; when it is determined that the first gateway fails, the virtual IP corresponding to the first gateway is transferred to other gateways except the first gateway, for example, the second gateway; then, the traffic control component re-receives the real-time traffic of each directory reported by other gateways except the first gateway.

示例性地,在对称式分布式文件存储系统中存在网关1、网关2和网关3的情况下,假设目录B在网关1上的实时流量为2M,目录B在网关2上的实时流量为3M,目录B在网关3上的实时流量为10M,如果网关1出现故障,则网关1对应的虚拟IP可以转移到网关2,也可以转移到网关3。For example, in a symmetric distributed file storage system where gateway 1, gateway 2 and gateway 3 exist, assuming that the real-time traffic of directory B on gateway 1 is 2M, the real-time traffic of directory B on gateway 2 is 3M, and the real-time traffic of directory B on gateway 3 is 10M, if gateway 1 fails, the virtual IP corresponding to gateway 1 can be transferred to gateway 2 or gateway 3.

示例性地,在网关1对应的虚拟IP转移到网关2的情况下,则流量控制组件会接收到网关2上报的目录B的实时流量5M以及网关3上报的目录B的实时流量10M;在网关1对应的虚拟IP转移到网关3的情况下,则流量控制组件会接收到网关2上报的目录B的实时流量3M以及网关3上报的目录B的实时流量12M。For example, when the virtual IP corresponding to gateway 1 is transferred to gateway 2, the traffic control component will receive 5M of real-time traffic of directory B reported by gateway 2 and 10M of real-time traffic of directory B reported by gateway 3; when the virtual IP corresponding to gateway 1 is transferred to gateway 3, the traffic control component will receive 3M of real-time traffic of directory B reported by gateway 2 and 12M of real-time traffic of directory B reported by gateway 3.

可见,本发明实施例中,当对称式分布式文件存储系统中出现上述异常情况时,即,某个流量控制组件或网关出现故障时,也可以实现对目录流量的控制。It can be seen that in the embodiment of the present invention, when the above-mentioned abnormal situation occurs in the symmetric distributed file storage system, that is, when a flow control component or gateway fails, the control of the directory flow can also be achieved.

步骤101:根据各个网关上报的每个目录的实时流量以及每个目录的预设流量限制值,确定各个网关对每个目录的流量限制值。Step 101: Determine the flow limit value of each directory for each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory.

这里,每个目录都有对应的预设流量限制值;对于预设流量限制值的设置可以根据实际应用场景进行设置;不同目录的预设流量限制值可以相同,也可以不同;本发明实施例对此不作限制。Here, each directory has a corresponding preset flow limit value; the setting of the preset flow limit value can be set according to the actual application scenario; the preset flow limit values of different directories can be the same or different; the embodiment of the present invention does not limit this.

在一种实施方式中,可以在第一流量控制组件中预先设置每个目录的预设流量限制值;当第一流量控制组件接收到各个网关上报的每个目录的实时流量时,可以根据各个网关上报的每个目录的实时流量以及每个目录的预设流量限制值,确定各个网关对每个目录的流量限制值。In one embodiment, a preset traffic limit value for each directory can be pre-set in the first traffic control component; when the first traffic control component receives the real-time traffic of each directory reported by each gateway, the traffic limit value for each directory of each gateway can be determined based on the real-time traffic of each directory reported by each gateway and the preset traffic limit value of each directory.

在一些实施例中,对于根据各个网关上报的每个目录的实时流量以及每个目录的预设流量限制值,确定各个网关对每个目录的流量限制值的实现方式,可以包括:根据各个网关上报的每个目录的实时流量,确定每个目录的实时流量总和;在确定每个目录的实时流量总和大于每个目录的预设流量限制值时,根据各个网关上报的每个目录的实时流量比例与每个目录的预设流量限制值确定各个网关对每个目录的流量限制值。In some embodiments, the implementation method of determining the traffic limit value of each directory by each gateway based on the real-time traffic of each directory reported by each gateway and the preset traffic limit value of each directory may include: determining the sum of the real-time traffic of each directory based on the real-time traffic of each directory reported by each gateway; when it is determined that the sum of the real-time traffic of each directory is greater than the preset traffic limit value of each directory, determining the traffic limit value of each directory by each gateway based on the ratio of the real-time traffic of each directory reported by each gateway and the preset traffic limit value of each directory.

在一种实施方式中,以目录C为例,对第一流量控制组件确定各个网关对每个目录的流量限制值的过程进行说明,首先根据各个网关上报的目录C的实时流量,确定目录C的实时流量总和;然后,判断目录C的实时流量总和是否大于目录C的预设流量限制值。如果否,则不需要对目录C的流量做任何操作,只向各个网关返回每个目录的预设流量限制值。如果是,则需要对目录C的流量进行限流操作;此时,第一流量控制组件根据各个网关上报的目录C的实时流量比例与目录C的预设流量限制值的乘积确定各个网关对目录C的流量限制值。这里,对于其它目录的流量限制值,均可以通过上述步骤进行确定,此处不再累赘。示例性地,可以通过公式(1)计算每个网关对于每个目录的流量限制值:In one embodiment, taking directory C as an example, the process of the first traffic control component determining the traffic limit value of each gateway for each directory is explained. First, the real-time traffic sum of directory C is determined based on the real-time traffic of directory C reported by each gateway; then, it is determined whether the real-time traffic sum of directory C is greater than the preset traffic limit value of directory C. If not, no operation is required on the traffic of directory C, and only the preset traffic limit value of each directory is returned to each gateway. If yes, it is necessary to limit the traffic of directory C; at this time, the first traffic control component determines the traffic limit value of each gateway for directory C based on the product of the real-time traffic ratio of directory C reported by each gateway and the preset traffic limit value of directory C. Here, the traffic limit values of other directories can be determined by the above steps, which will not be repeated here. For example, the traffic limit value of each gateway for each directory can be calculated by formula (1):

这里,dira表示其中一个目录;node(i)表示第i个网关,i的取值为1至n,n表示对称式分布式文件存储系统中的网关数目;req(dira,node(i))表示目录dira在网关i上的实时流量;表示目录dira在n个网关上的实时流量总和;limit(dira)表示目录dira的预设流量限制值。Here, dira represents one of the directories; node(i) represents the i-th gateway, i ranges from 1 to n, and n represents the number of gateways in the symmetric distributed file storage system; req(dira,node(i)) represents the real-time traffic of directory dira on gateway i; It indicates the total real-time traffic of directory dira on n gateways; limit(dira) indicates the preset traffic limit value of directory dira.

示例性地,在n为2的情况下,即,对称式分布式文件存储系统中存在网关1和网关2的情况下,假设目录dira在网关1上的实时流量req(dira,node(1))为6M,目录dira在网关2上的实时流量req(dira,node(2))为4M,则可以确定目录dira的实时流量总和为10M。假设目录dira的预设流量限制值limit(dira)为8M,则可以确定目录dira的实时流量总和10M大于目录dira的预设流量限制值8M;此时,确定网关1上报的目录dira的实时流量比例为0.6,将网关1上报的目录dira的实时流量比例0.6与目录dira的预设流量限制值8M的乘积4.8M作为网关1对目录dira的流量限制值resp(dira,node(1))。同样地,确定网关2上报的目录dira的实时流量比例为0.4,将网关2上报的目录dira的实时流量比例0.4与目录dira的预设流量限制值8M的乘积3.2M作为网关2对目录dira的流量限制值resp(dira,node(2))。For example, when n is 2, that is, when there are gateways 1 and 2 in the symmetric distributed file storage system, assuming that the real-time traffic req(dira,node(1)) of directory dira on gateway 1 is 6M, and the real-time traffic req(dira,node(2)) of directory dira on gateway 2 is 4M, then the total real-time traffic of directory dira can be determined as is 10M. Assuming that the preset traffic limit value limit(dira) of the directory dira is 8M, it can be determined that the total real-time traffic of the directory dira, 10M, is greater than the preset traffic limit value 8M of the directory dira; at this time, the real-time traffic ratio of the directory dira reported by gateway 1 is determined to be 0.6, and the product of the real-time traffic ratio of the directory dira reported by gateway 1, 0.6, and the preset traffic limit value 8M of the directory dira, 4.8M, is used as the traffic limit value resp(dira,node(1)) of gateway 1 to the directory dira. Similarly, the real-time traffic ratio of the directory dira reported by gateway 2 is determined to be 0.4, and the product of the real-time traffic ratio of the directory dira reported by gateway 2, 0.4, and the preset traffic limit value 8M of the directory dira, 3.2M, is used as the traffic limit value resp(dira,node(2)) of gateway 2 to the directory dira.

可见,本发明实施例中,当某个目录在各个网关的实时流量总和超过该目录的预设流量限制值时,以预设流量限制值为基准,按照比例对各个网关进行流量分配,可以实现精准的流量控制。It can be seen that in the embodiment of the present invention, when the sum of the real-time traffic of a directory at each gateway exceeds the preset traffic limit value of the directory, the traffic is distributed to each gateway in proportion based on the preset traffic limit value, so that accurate traffic control can be achieved.

步骤102:将各个网关对每个目录的流量限制值发送给各个网关,使得各个网关基于每个目录的流量限制值,对每个目录的流量进行控制。Step 102: Send the flow limit value of each directory of each gateway to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.

在一种实施方式中,在第一流量控制组件确定出各个网关对每个目录的流量限制值后,向各个网关返回每个目录的预设流量限制值以及各个网关对每个目录的流量限制值;此时,各个网关可以基于每个目录的流量限制值对每个目录的流量进行控制。In one embodiment, after the first traffic control component determines the traffic limit value of each gateway for each directory, it returns the preset traffic limit value of each directory and the traffic limit value of each gateway for each directory to each gateway; at this time, each gateway can control the traffic of each directory based on the traffic limit value of each directory.

在一些实施例中,该方法还可以包括:在分布式文件存储系统的多个流量控制组件均停止服务,且各个网关与多个流量控制组件之间无心跳应答的时间超过设定时间阈值时,将每个目录的预设流量限制值发送给各个网关,使得各个网关基于每个目录的预设流量限制值,对每个目录的流量进行控制。In some embodiments, the method may also include: when multiple traffic control components of the distributed file storage system stop service and the time without heartbeat response between each gateway and the multiple traffic control components exceeds a set time threshold, the preset traffic limit value of each directory is sent to each gateway, so that each gateway controls the traffic of each directory based on the preset traffic limit value of each directory.

示例性地,在多个流量控制组件中的每个流量控制组件与各个网关进行通讯的过程中,发送方按照一定规则(例如,周期性发送、空闲发送等)向接收方发送固定格式的消息,接收方在收到消息后回复一个固定格式的消息,如果超过设定时间阈值没有收到,则认为当前连接断开。这里,发送方可以为流量控制组件,也可以为各个网关;在发送方为流量控制组件的情况下,接收方为各个网关。For example, in the process of each flow control component in multiple flow control components communicating with each gateway, the sender sends a fixed-format message to the receiver according to certain rules (e.g., periodic sending, idle sending, etc.), and the receiver replies with a fixed-format message after receiving the message. If the message is not received within a set time threshold, it is considered that the current connection is disconnected. Here, the sender can be a flow control component or a gateway; when the sender is a flow control component, the receiver is a gateway.

在一种实施方式中,设定间隔的取值可以根据实际情况进行设置,例如,可以为心跳周期的3倍,5倍等,本发明实施例对此不作限制。In one implementation, the value of the set interval can be set according to actual conditions, for example, it can be 3 times, 5 times, etc. of the heartbeat cycle, and the embodiment of the present invention is not limited to this.

示例性地,在分布式文件存储系统的多个流量控制组件均停止服务,且各个网关与多个流量控制组件之间无心跳应答的时间超过设定时间阈值时,将每个目录的预设流量限制值发送给各个网关后,各个网关基于每个目录的预设流量限制值对每个目录进行流量控制,可以保证各个网关上租户正常完成读写目录的输入/输出(Input/Output,I/O)。Exemplarily, when multiple flow control components of a distributed file storage system stop service and the time without heartbeat response between each gateway and the multiple flow control components exceeds a set time threshold, the preset flow limit value of each directory is sent to each gateway, and each gateway performs flow control on each directory based on the preset flow limit value of each directory, thereby ensuring that tenants on each gateway can normally complete the input/output (I/O) of reading and writing directories.

本发明实施例中,第一控制组件的功能可以包括:维护每个目录在各个网关上的实时流量以及持久化每个目录的预设流量限制值;维护各个网关与第一控制组件间的心跳;计算出各个网关对每个目录的流量限制值,并发给各个网关以实现流量控制。In an embodiment of the present invention, the functions of the first control component may include: maintaining the real-time traffic of each directory on each gateway and persisting the preset traffic limit value of each directory; maintaining the heartbeat between each gateway and the first control component; calculating the traffic limit value of each gateway for each directory, and sending it to each gateway to implement traffic control.

本发明提供一种流量控制方法、装置、电子设备和计算机存储介质,该方法应用于分布式文件存储系统的第一流量控制组件中,该方法包括:在第一流量控制组件与各个网关建立连接后,接收各个网关上报的每个目录的实时流量;根据各个网关上报的每个目录的实时流量以及每个目录的预设流量限制值,确定各个网关对每个目录的流量限制值;将各个网关对每个目录的流量限制值发送给各个网关,使得各个网关基于每个目录的流量限制值,对每个目录的流量进行控制;如此,该方法通过在分布式文件存储系统中引入流量控制组件,该流量控制组件根据接收到的各个网关上报的每个目录的实时流量以及预设流量限制值计算各个网关对每个目录的流量限制值;进而,根据该流量限制值,实现对每个目录的流量控制;由于每个目录对应一个租户,因而,可以实现分布式文件存储系统在单租户多网关情况下的流量控制;进一步地,由于引入的流量控制组件极其轻量,在实现流量控制的同时极大简化了分布式文件存储系统软件的设计。The present invention provides a flow control method, device, electronic device and computer storage medium. The method is applied to a first flow control component of a distributed file storage system. The method comprises: after the first flow control component establishes a connection with each gateway, receiving the real-time flow of each directory reported by each gateway; determining the flow limit value of each gateway for each directory according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory; sending the flow limit value of each gateway for each directory to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory; in this way, the method introduces a flow control component in the distributed file storage system, and the flow control component calculates the flow limit value of each gateway for each directory according to the real-time flow of each directory reported by each gateway and the preset flow limit value; further, according to the flow limit value, the flow control of each directory is realized; since each directory corresponds to a tenant, the flow control of the distributed file storage system in the case of single tenant and multiple gateways can be realized; further, since the introduced flow control component is extremely lightweight, the design of the distributed file storage system software is greatly simplified while realizing flow control.

为了能够更加体现本发明的目的,在本发明上述实施例的基础上,对分布式文件存储系统中的流量控制方法进行说明;图2a为本发明实施例的分布式文件存储系统中流量控制方法的结构示意图,如图2a所示,该结构中包括:两个租户(租户1和租户2)、DNS、N个网关(网关1至网关N)、三个存储桶(存储桶1、存储桶2和存储桶3)和第一流量控制组件Qosctl;第一流量控制组件Qosctl与N个网关中的每个网关建立连接。In order to better reflect the purpose of the present invention, based on the above-mentioned embodiment of the present invention, the flow control method in the distributed file storage system is explained; Figure 2a is a structural schematic diagram of the flow control method in the distributed file storage system of an embodiment of the present invention. As shown in Figure 2a, the structure includes: two tenants (tenant 1 and tenant 2), DNS, N gateways (gateway 1 to gateway N), three storage buckets (storage bucket 1, storage bucket 2 and storage bucket 3) and a first flow control component Qosctl; the first flow control component Qosctl establishes a connection with each of the N gateways.

租户1和租户2从DNS中分别获取N个网关的IP,根据N个网关的IP找到对应的网关1至网关N;网关1至网关N从三个存储桶中获取每个目录的实时流量。这里,流量控制方法的流程可以包括:第一流量控制组件Qosctl启动后根据约定的端口与N个网关分别建立连接;所有网关周期性向第一流量控制组件Qosctl上报每个目录的实时流量,格式如图2b和图2c所示;图2b为本发明实施例的网关上报实时流量格式的示意图一;可以看出,网关1向第一流量控制组件Qosctl上报目录a、目录b和目录c这三个目录的实时流量,其中,目录a、目录b和目录c的实时流量分别为1M、2M和3M;图2c为本发明实施例的网关上报实时流量格式的示意图二;可以看出,网关N向第一流量控制组件Qosctl上报目录a、目录b和目录c这三个目录的实时流量,其中,目录a、目录b和目录c的实时流量分别为0M、1M和7M。Tenant 1 and tenant 2 obtain the IPs of N gateways from DNS respectively, and find the corresponding gateways 1 to gateway N according to the IPs of N gateways; gateways 1 to gateway N obtain the real-time traffic of each directory from three storage buckets. Here, the process of the traffic control method may include: after the first traffic control component Qosctl is started, it establishes connections with N gateways according to the agreed port respectively; all gateways periodically report the real-time traffic of each directory to the first traffic control component Qosctl, and the format is shown in Figure 2b and Figure 2c; Figure 2b is a schematic diagram of the format of the gateway reporting real-time traffic in an embodiment of the present invention; it can be seen that gateway 1 reports the real-time traffic of the three directories of directory a, directory b and directory c to the first traffic control component Qosctl, wherein the real-time traffic of directory a, directory b and directory c is 1M, 2M and 3M respectively; Figure 2c is a schematic diagram of the format of the gateway reporting real-time traffic in an embodiment of the present invention; it can be seen that gateway N reports the real-time traffic of the three directories of directory a, directory b and directory c to the first traffic control component Qosctl, wherein the real-time traffic of directory a, directory b and directory c is 0M, 1M and 7M respectively.

示例性地,第一流量控制组件Qosctl根据各个网关上报的目录a、目录b和目录c的实时流量以及对应的流量限制值,计算各个网关对这三个目录需要设置的流量限制值。计算规则如下:Exemplarily, the first traffic control component Qosctl calculates the traffic limit values that each gateway needs to set for the three directories based on the real-time traffic of directory a, directory b, and directory c reported by each gateway and the corresponding traffic limit values. The calculation rules are as follows:

如果这三个目录中每个目录的实时流量总和不超过对应目录的预设流量限制值,则不做任何操作,只向各个网关返回第一流量控制组件Qosctl记录的每个目录预设流量限制值;如果这三个目录中某个目录的实时流量总和超过对应目录的预设流量限制值,则根据各个网关上报的该目录的实时流量比例与对应目录的预设流量限制值的乘积确定各个网关对该目录的流量限制值;在确定完流量限制值后向各个网关返回第一流量控制组件Qosctl记录的该目录的预设流量限制值及流量限制值。在各个网关收到对该目录的流量限制值后,立即更新对应目录的流量值。If the sum of the real-time traffic of each of the three directories does not exceed the preset traffic limit value of the corresponding directory, no operation is performed, and only the preset traffic limit value of each directory recorded by the first traffic control component Qosctl is returned to each gateway; if the sum of the real-time traffic of a directory in the three directories exceeds the preset traffic limit value of the corresponding directory, the traffic limit value of each gateway for the directory is determined according to the product of the real-time traffic ratio of the directory reported by each gateway and the preset traffic limit value of the corresponding directory; after determining the traffic limit value, the preset traffic limit value and traffic limit value of the directory recorded by the first traffic control component Qosctl are returned to each gateway. After each gateway receives the traffic limit value for the directory, it immediately updates the traffic value of the corresponding directory.

可见,本发明实施例通过第一流量控制组件Qosctl提供与对称式分布式文件存储系统本身高度解耦的目录流量控制的实现方式;该方法实现了对称式分布式文件存储系统在单租户多网关情况下文件存储流量的控制。It can be seen that the embodiment of the present invention provides an implementation method for directory flow control that is highly decoupled from the symmetric distributed file storage system itself through the first flow control component Qosctl; this method implements the control of file storage flow in the symmetric distributed file storage system under the single-tenant multi-gateway situation.

图3为本发明实施例的流量控制装置的组成结构示意图,该装置应用于分布式文件存储系统的第一流量控制组件中,如图3所示,该装置包括:接收模块300、确定模块301和控制模块302,其中:FIG3 is a schematic diagram of the composition structure of a flow control device according to an embodiment of the present invention. The device is applied to a first flow control component of a distributed file storage system. As shown in FIG3 , the device includes: a receiving module 300, a determining module 301 and a control module 302, wherein:

接收模块300,用于在所述第一流量控制组件与各个网关建立连接后,接收所述各个网关上报的每个目录的实时流量;The receiving module 300 is used to receive the real-time traffic of each directory reported by each gateway after the first traffic control component establishes a connection with each gateway;

确定模块301,用于根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值;The determination module 301 is used to determine the flow limit value of each directory of each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory;

控制模块302,用于将所述各个网关对每个目录的流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的流量限制值,对所述每个目录的流量进行控制。The control module 302 is used to send the flow limit value of each directory of each gateway to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.

在一些实施例中,所述确定模块301,用于根据所述各个网关上报的每个目录的实时流量以及所述每个目录的预设流量限制值,确定所述各个网关对每个目录的流量限制值,包括:In some embodiments, the determination module 301 is used to determine the flow limit value of each directory of each gateway according to the real-time flow of each directory reported by each gateway and the preset flow limit value of each directory, including:

根据所述各个网关上报的每个目录的实时流量,确定所述每个目录的实时流量总和;Determine the sum of the real-time traffic of each directory according to the real-time traffic of each directory reported by each gateway;

在确定所述每个目录的实时流量总和大于所述每个目录的预设流量限制值时,根据所述各个网关上报的每个目录的实时流量比例与所述每个目录的预设流量限制值确定所述各个网关对每个目录的流量限制值。When it is determined that the total real-time traffic of each directory is greater than the preset traffic limit value of each directory, the traffic limit value of each directory by each gateway is determined according to the real-time traffic ratio of each directory reported by each gateway and the preset traffic limit value of each directory.

在一些实施例中,所述控制模块302,还用于:In some embodiments, the control module 302 is further configured to:

在所述分布式文件存储系统的多个流量控制组件均停止服务,且所述各个网关与所述多个流量控制组件之间无心跳应答的时间超过设定时间阈值时,将所述每个目录的预设流量限制值发送给所述各个网关,使得所述各个网关基于所述每个目录的预设流量限制值,对所述每个目录的流量进行控制。When multiple flow control components of the distributed file storage system stop service and the time without heartbeat response between each gateway and the multiple flow control components exceeds a set time threshold, the preset flow limit value of each directory is sent to each gateway, so that each gateway controls the flow of each directory based on the preset flow limit value of each directory.

在一些实施例中,所述接收模块300,还用于:In some embodiments, the receiving module 300 is further used for:

在确定第一网关对应的虚拟IP转移到第二网关时,重新接收剩余网关上报的每个目录的实时流量;所述剩余网关表示除所述第一网关之外的其它网关。When it is determined that the virtual IP corresponding to the first gateway is transferred to the second gateway, the real-time traffic of each directory reported by the remaining gateways is received again; the remaining gateways represent gateways other than the first gateway.

在一些实施例中,所述接收模块300,还用于接收所述各个网关上报的每个目录的实时流量,包括:In some embodiments, the receiving module 300 is further configured to receive the real-time traffic of each directory reported by each gateway, including:

按照设定间隔周期性地接收所述各个网关上报的每个目录的实时流量。The real-time traffic of each directory reported by each gateway is periodically received according to a set interval.

在实际应用中,上述接收模块300、确定模块301和控制模块302均可以由位于电子设备中的处理器实现,该处理器可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。In practical applications, the above-mentioned receiving module 300, determination module 301 and control module 302 can all be implemented by a processor located in an electronic device, and the processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the relevant technology or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

具体来讲,本实施例中的一种流量控制方法对应的计算机程序指令可以被存储在光盘、硬盘、U盘等存储介质上,当存储介质中的与一种流量控制方法对应的计算机程序指令被一电子设备读取或被执行时,实现前述实施例的任意一种流量控制方法。Specifically, the computer program instructions corresponding to a flow control method in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the computer program instructions corresponding to a flow control method in the storage medium are read or executed by an electronic device, any flow control method in the aforementioned embodiments is implemented.

基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的电子设备400,可以包括:存储器401和处理器402;其中,Based on the same technical concept as the above embodiments, referring to FIG. 4 , an electronic device 400 provided by an embodiment of the present invention is shown, which may include: a memory 401 and a processor 402; wherein,

存储器401,用于存储计算机程序和数据;Memory 401, used for storing computer programs and data;

处理器402,用于执行存储器中存储的计算机程序,以实现前述实施例的任意一种流量控制方法。The processor 402 is used to execute the computer program stored in the memory to implement any flow control method of the foregoing embodiments.

在实际应用中,上述存储器401可以是易失性存储器(volatile memory),例如RAM;或者非易失性存储器(non-volatile memory),例如ROM、快闪存储器(flash memory)、硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器402提供指令和数据。In practical applications, the memory 401 may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 402.

上述处理器402可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的流量控制设备,用于实现上述处理器功能的电子器件还可以为其它,本发明实施例不作具体限定。The processor 402 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that for different flow control devices, the electronic device used to implement the processor function may also be other, which is not specifically limited in the embodiment of the present invention.

在一些实施例中,本发明实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the device provided by the embodiments of the present invention can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

本发明所提供的各方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the various method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.

本发明所提供的各产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the various product embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new product embodiments.

本发明所提供的各方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the various method or device embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得在计算机或其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention.

Claims (8)

1. A flow control method for use in a first flow control component of a distributed file storage system, the method comprising:
after the first flow control component establishes connection with each gateway, receiving real-time flow of each catalogue reported by each gateway;
determining the sum of the real-time flow of each directory according to the real-time flow of each directory reported by each gateway;
when the real-time flow sum of each directory is determined to be larger than the preset flow limit value of each directory, determining the flow limit value of each gateway to each directory according to the product of the real-time flow proportion of each directory and the preset flow limit value of each directory, which are reported by each gateway; each directory corresponds to one tenant; the preset flow limit value is set according to an actual application scene; the real-time flow ratio of the catalogue represents the ratio of the real-time flow of the catalogue to the sum of the real-time flows of the catalogue reported by each gateway;
and sending the flow limit value of each gateway to each directory to each gateway, so that each gateway controls the flow of each directory based on the flow limit value of each directory.
2. The method of claim 1, wherein the distributed file storage system further comprises a second flow control component, the method further comprising:
establishing a connection with the respective gateway using the second flow control component when the first flow control component is out of service; and migrating services provided by the first flow control component to the second flow control component.
3. The method according to claim 1, wherein the method further comprises:
and when the plurality of flow control components of the distributed file storage system are out of service and the time of no heartbeat response between each gateway and the plurality of flow control components exceeds a set time threshold, sending the preset flow limit value of each directory to each gateway, so that each gateway controls the flow of each directory based on the preset flow limit value of each directory.
4. The method according to claim 1, wherein the method further comprises:
when the virtual Internet Protocol (IP) corresponding to the first gateway is determined to be transferred to the second gateway, the real-time flow of each directory reported by the rest gateways is received again; the remaining gateways represent other gateways than the first gateway.
5. The method of claim 1, wherein receiving real-time traffic for each directory reported by the respective gateway comprises:
and periodically receiving the real-time traffic of each catalogue reported by each gateway according to a set interval.
6. A flow control apparatus for use in a first flow control component of a distributed file storage system, the apparatus comprising:
the receiving module is used for receiving the real-time flow of each catalogue reported by each gateway after the first flow control assembly establishes connection with each gateway;
the determining module is used for determining the sum of the real-time flow of each directory according to the real-time flow of each directory reported by each gateway; when the real-time flow sum of each directory is determined to be larger than the preset flow limit value of each directory, determining the flow limit value of each gateway to each directory according to the product of the real-time flow proportion of each directory and the preset flow limit value of each directory, which are reported by each gateway; each directory corresponds to one tenant; the preset flow limit value is set according to an actual application scene; the real-time flow ratio of the catalogue represents the ratio of the real-time flow of the catalogue to the sum of the real-time flows of the catalogue reported by each gateway;
and the control module is used for sending the flow limit value of each gateway to each directory to each gateway so that each gateway controls the flow of each directory based on the flow limit value of each directory.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 5 when the program is executed.
8. A computer storage medium having stored thereon a computer program, which when executed by a processor implements the method of any of claims 1 to 5.
CN202110462209.XA 2021-04-27 2021-04-27 Flow control method and device, electronic equipment and storage medium Active CN115348208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110462209.XA CN115348208B (en) 2021-04-27 2021-04-27 Flow control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110462209.XA CN115348208B (en) 2021-04-27 2021-04-27 Flow control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115348208A CN115348208A (en) 2022-11-15
CN115348208B true CN115348208B (en) 2024-04-09

Family

ID=83947223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110462209.XA Active CN115348208B (en) 2021-04-27 2021-04-27 Flow control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115348208B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008086720A1 (en) * 2006-12-13 2008-07-24 Huawei Technologies Co., Ltd. A method, equipment and system for path selection and flow control
EP2874376A1 (en) * 2013-11-15 2015-05-20 Huawei Technologies Co., Ltd. Method and system for information synchronization between cloud storage gateways, and cloud storage gateway
WO2015077756A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Customer-directed networking limits in distributed systems
CN105827523A (en) * 2016-06-03 2016-08-03 无锡华云数据技术服务有限公司 Virtual gateway capable of dynamically adjusting bandwidths of multiple tenants in cloud storage environment
CN106059915A (en) * 2016-07-20 2016-10-26 赛特斯信息科技股份有限公司 System and method for implementing limitation of north-south traffic of tenants based on SDN controller
WO2017050166A1 (en) * 2015-09-24 2017-03-30 阿里巴巴集团控股有限公司 Method, apparatus and system for controlling service transmission rate
CN106921584A (en) * 2017-03-31 2017-07-04 武汉绿色网络信息服务有限责任公司 A kind of distributed network flow control method
WO2019232681A1 (en) * 2018-06-04 2019-12-12 Beijing Thomson Commerce Co., Ltd. Method for providing services and corresponding gateway, storage medium and computer program product
CN110830384A (en) * 2019-09-30 2020-02-21 浙江口碑网络技术有限公司 Method, device and system for limiting service flow
KR20200072128A (en) * 2018-12-12 2020-06-22 네이버 주식회사 Distributed file system and file managing method for live service
CN112333112A (en) * 2020-10-27 2021-02-05 华云数据控股集团有限公司 Method and system for realizing shared bandwidth
CN112350918A (en) * 2020-12-10 2021-02-09 武汉绿色网络信息服务有限责任公司 Service traffic scheduling method, device, equipment and storage medium
CN112437018A (en) * 2020-11-19 2021-03-02 百度在线网络技术(北京)有限公司 Flow control method, device, equipment and storage medium for distributed cluster

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081543A1 (en) * 2005-10-11 2007-04-12 Manrique Brenes Network utilization control apparatus and method of using
US20120131466A1 (en) * 2010-11-23 2012-05-24 Embarq Holdings Company, Llc User-Based Monitoring and Control
US10721098B2 (en) * 2015-08-28 2020-07-21 Vmware, Inc. Optimizing connectivity between data centers in a hybrid cloud computing system
KR20170139872A (en) * 2016-06-10 2017-12-20 삼성에스디에스 주식회사 Multi-tenant based system and method for providing services
US10931640B2 (en) * 2018-06-22 2021-02-23 International Business Machines Corporation Tunneling network traffic using object storage
US11240160B2 (en) * 2018-12-28 2022-02-01 Alibaba Group Holding Limited Method, apparatus, and computer-readable storage medium for network control

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008086720A1 (en) * 2006-12-13 2008-07-24 Huawei Technologies Co., Ltd. A method, equipment and system for path selection and flow control
EP2874376A1 (en) * 2013-11-15 2015-05-20 Huawei Technologies Co., Ltd. Method and system for information synchronization between cloud storage gateways, and cloud storage gateway
WO2015077756A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Customer-directed networking limits in distributed systems
WO2017050166A1 (en) * 2015-09-24 2017-03-30 阿里巴巴集团控股有限公司 Method, apparatus and system for controlling service transmission rate
CN106559349A (en) * 2015-09-24 2017-04-05 阿里巴巴集团控股有限公司 The control method and device of service transmission rate, system
CN105827523A (en) * 2016-06-03 2016-08-03 无锡华云数据技术服务有限公司 Virtual gateway capable of dynamically adjusting bandwidths of multiple tenants in cloud storage environment
CN106059915A (en) * 2016-07-20 2016-10-26 赛特斯信息科技股份有限公司 System and method for implementing limitation of north-south traffic of tenants based on SDN controller
CN106921584A (en) * 2017-03-31 2017-07-04 武汉绿色网络信息服务有限责任公司 A kind of distributed network flow control method
WO2019232681A1 (en) * 2018-06-04 2019-12-12 Beijing Thomson Commerce Co., Ltd. Method for providing services and corresponding gateway, storage medium and computer program product
KR20200072128A (en) * 2018-12-12 2020-06-22 네이버 주식회사 Distributed file system and file managing method for live service
CN110830384A (en) * 2019-09-30 2020-02-21 浙江口碑网络技术有限公司 Method, device and system for limiting service flow
CN112333112A (en) * 2020-10-27 2021-02-05 华云数据控股集团有限公司 Method and system for realizing shared bandwidth
CN112437018A (en) * 2020-11-19 2021-03-02 百度在线网络技术(北京)有限公司 Flow control method, device, equipment and storage medium for distributed cluster
CN112350918A (en) * 2020-12-10 2021-02-09 武汉绿色网络信息服务有限责任公司 Service traffic scheduling method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于网关的应用软件流量监控系统设计;邹连英;李飞;王美珍;;计算机安全(第05期);全文 *

Also Published As

Publication number Publication date
CN115348208A (en) 2022-11-15

Similar Documents

Publication Publication Date Title
US9992274B2 (en) Parallel I/O write processing for use in clustered file systems having cache storage
US10657108B2 (en) Parallel I/O read processing for use in clustered file systems having cache storage
US10372504B2 (en) Global usage tracking and quota enforcement in a distributed computing system
WO2021129477A1 (en) Data synchronization method and related device
CN107734026A (en) A kind of design method, device and the equipment of network attached storage cluster
US11593496B2 (en) Decentralized data protection system for multi-cloud computing environment
US8924513B2 (en) Storage system
KR102338265B1 (en) Monitoring system and method for space weather observation data in ipfs decentralized storage environment
CN108769123A (en) A kind of data system and data processing method
CN106293954A (en) A kind of High Availabitity service management based on distributed lock
CN110633046A (en) A storage method, device, storage device and storage medium for a distributed system
US11461053B2 (en) Data storage system with separate interfaces for bulk data ingestion and data access
CN107426288A (en) A kind of resource-sharing schedule method and apparatus based on storage network
CN113965587B (en) A data acquisition method, device, equipment and medium for an artificial intelligence platform
WO2023029485A1 (en) Data processing method and apparatus, computer device, and computer-readable storage medium
CN115348208B (en) Flow control method and device, electronic equipment and storage medium
CN117395265A (en) Enterprise-level distributed hybrid cloud storage system based on IPFS
US11880586B2 (en) Storage array remote replication
CN116233057A (en) Data transmission method, cloud center, edge node and storage medium
CN112272209B (en) Gateway separation method, device, device and storage medium in distributed object storage
US11228559B2 (en) Domain management and synchronization system
CN115098259A (en) Resource management method and device, cloud platform, equipment and storage medium
CN114448897A (en) A target device migration method and device
CN108733805B (en) File interaction method, system, computer device and storage medium
US8849763B1 (en) Using multiple clients for data backup

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