[go: up one dir, main page]

CN106383668B - Information storage method, storage management device and client - Google Patents

Information storage method, storage management device and client Download PDF

Info

Publication number
CN106383668B
CN106383668B CN201610830142.XA CN201610830142A CN106383668B CN 106383668 B CN106383668 B CN 106383668B CN 201610830142 A CN201610830142 A CN 201610830142A CN 106383668 B CN106383668 B CN 106383668B
Authority
CN
China
Prior art keywords
storage
client
information
transmission connection
storage device
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
CN201610830142.XA
Other languages
Chinese (zh)
Other versions
CN106383668A (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.)
Xi'an Yu Vision Mdt Infotech Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610830142.XA priority Critical patent/CN106383668B/en
Publication of CN106383668A publication Critical patent/CN106383668A/en
Application granted granted Critical
Publication of CN106383668B publication Critical patent/CN106383668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an information storage method, a storage management device and a client. The method comprises the following steps: the client sends an information storage request to the storage management equipment; the storage management equipment responds to the information storage request, selects a storage device as a target storage device of the client according to a preset rule, and sends the information of the target storage device to the client; the method comprises the steps that a client establishes transmission connection with a target storage device, the duration of the transmission connection is monitored, when the duration of the transmission connection reaches a first preset duration, the transmission connection is released, and a new information storage request is sent to a storage management device again. The information storage method can be applied to the storage management equipment and the client. Through the design, the information to be stored in the client can be uniformly distributed in each storage device according to time, so that the load balance of each storage device is realized.

Description

一种信息存储方法、存储管理设备及客户端Information storage method, storage management device and client

技术领域technical field

本发明涉及分布式存储技术领域,具体而言,涉及一种信息存储方法、存储管理设备及客户端。The present invention relates to the technical field of distributed storage, and in particular, to an information storage method, a storage management device and a client.

背景技术Background technique

在分布式文件系统中,负载均衡是提高系统性能的关键技术之一,能够保证系统的稳定性和服务质量,因而必须保证各客户端的待存储信息能均匀分布在所有的存储设备上。现有的分布式文件系统大多采用集中式收流存储的方式实现,即每个客户端直接将待存储信息发送到数据分发设备,再由该数据分发设备统一将信息均匀地分配到不同的存储设备。In a distributed file system, load balancing is one of the key technologies to improve system performance, which can ensure system stability and service quality. Therefore, it is necessary to ensure that the information to be stored by each client can be evenly distributed on all storage devices. Most of the existing distributed file systems are implemented by centralized streaming storage, that is, each client directly sends the information to be stored to the data distribution device, and then the data distribution device uniformly distributes the information to different storage devices. equipment.

然而,采用上述存储方法对数据分发设备的依赖性较强,当数据分发设备出现问题时,所有客户端的信息都将无法存储。并且,随着待存储信息量的增加,同一个数据分发设备可能连接有几千个客户端,在这种情况下,对数据分发设备的性能要求较高,数据分发设备的性能好坏将直接影响整个分布式文件系统的性能好坏。However, the above-mentioned storage method is highly dependent on the data distribution device, and when a problem occurs with the data distribution device, the information of all clients cannot be stored. Moreover, with the increase of the amount of information to be stored, the same data distribution device may be connected to thousands of clients. In this case, the performance requirements of the data distribution device are relatively high, and the performance of the data distribution device will directly affect the performance of the data distribution device. Affects the performance of the entire distributed file system.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种信息存储方法、存储管理设备及客户端,以解决现有的分布式文件系统对数据分发设备的依赖性较强的问题。In view of this, the purpose of the present invention is to provide an information storage method, a storage management device and a client, so as to solve the problem that the existing distributed file system has a strong dependence on the data distribution device.

本发明较佳实施例提供了一种信息存储方法,应用于存储管理设备,所述存储管理设备能够与客户端及多个存储设备通信,所述方法包括:A preferred embodiment of the present invention provides an information storage method, which is applied to a storage management device, and the storage management device can communicate with a client and multiple storage devices, and the method includes:

接收所述客户端每间隔第一预设时长发送的信息存储请求;receiving an information storage request sent by the client at a first preset time interval;

针对每个信息存储请求,分别根据预设规则选取一存储设备作为所述客户端的目标存储设备;For each information storage request, select a storage device as the target storage device of the client according to a preset rule;

将所述目标存储设备的信息发送至所述客户端,以使所述客户端与所述目标存储设备建立传输连接。The information of the target storage device is sent to the client, so that the client establishes a transmission connection with the target storage device.

本发明另一较佳实施例提供了一种信息存储方法,应用于客户端,所述客户端能够与存储管理设备及多个存储设备通信,所述方法包括:Another preferred embodiment of the present invention provides an information storage method, which is applied to a client, and the client can communicate with a storage management device and multiple storage devices, and the method includes:

向所述存储管理设备发送信息存储请求;sending an information storage request to the storage management device;

接收所述存储管理设备发送的目标存储设备的信息,并与所述目标存储设备建立传输连接;receiving the information of the target storage device sent by the storage management device, and establishing a transmission connection with the target storage device;

监测所述传输连接保持的时长,在所述传输连接保持的时长达到第一预设时长时释放所述传输连接,并重新向所述存储管理设备发送新的信息存储请求。Monitoring the duration of maintaining the transmission connection, releasing the transmission connection when the duration of maintaining the transmission connection reaches a first preset duration, and sending a new information storage request to the storage management device again.

本发明另一较佳实施例提供了一种存储管理设备,所述存储管理设备能够与客户端及多个存储设备通信,所述存储管理设备包括存储请求接收模块、存储目标选取模块和目标信息发送模块;Another preferred embodiment of the present invention provides a storage management device, the storage management device can communicate with a client and multiple storage devices, and the storage management device includes a storage request receiving module, a storage target selection module, and target information sending module;

所述存储请求接收模块,用于接收所述客户端每间隔第一预设时长发送的信息存储请求;The storage request receiving module is configured to receive an information storage request sent by the client every first preset duration;

所述存储目标选取模块,用于针对每个信息存储请求,分别根据预设规则选取一存储设备作为所述客户端的目标存储设备;以及The storage target selection module is configured to select a storage device as the target storage device of the client according to a preset rule for each information storage request; and

所述目标信息发送模块,用于将所述目标存储设备的信息发送至所述客户端,以使所述客户端与所述目标存储设备建立传输连接。The target information sending module is configured to send the information of the target storage device to the client, so that the client can establish a transmission connection with the target storage device.

本发明另一较佳实施例提供了一种客户端,所述客户端能够与存储管理设备及多个存储设备通信,所述客户端包括存储请求发送模块、传输连接建立模块和传输连接监测模块;Another preferred embodiment of the present invention provides a client, which can communicate with a storage management device and a plurality of storage devices, and the client includes a storage request sending module, a transmission connection establishment module, and a transmission connection monitoring module ;

所述存储请求发送模块,用于向所述存储管理设备发送信息存储请求;The storage request sending module is configured to send an information storage request to the storage management device;

所述传输连接建立模块,用于接收所述存储管理设备发送的目标存储设备的信息,并与所述目标存储设备建立传输连接;以及the transmission connection establishment module, configured to receive the information of the target storage device sent by the storage management device, and establish a transmission connection with the target storage device; and

所述传输连接监测模块,用于监测所述传输连接保持的时长,在所述传输连接保持的时长达到第一预设时长时释放所述传输连接,并重新向所述存储管理设备发送新的信息存储请求。The transmission connection monitoring module is configured to monitor the duration of the transmission connection, release the transmission connection when the transmission connection is maintained for a first preset duration, and re-send a new transmission connection to the storage management device. Information storage request.

与现有技术相比,本发明实施例提供的信息存储方法、存储管理设备及客户端,客户端每间隔第一预设时长向存储管理设备申请目标存储设备,存储管理设备按照预设规则将新的目标存储设备分配给客户端,以使客户端直接将待存储信息发送到目标存储设备进行存储。存储管理设备的管理与分配能够保证客户端中的待存储信息按时间均匀分布于各存储设备,避免了现有技术中采用数据分发设备接收所有客户端的信息再统一分发这一存储方式所带来的一系列问题。Compared with the prior art, in the information storage method, the storage management device and the client provided by the embodiment of the present invention, the client applies to the storage management device for a target storage device at a first preset time interval, and the storage management device stores the target storage device according to preset rules. The new target storage device is allocated to the client, so that the client can directly send the information to be stored to the target storage device for storage. The management and distribution of the storage management device can ensure that the information to be stored in the client is evenly distributed among the storage devices according to time, avoiding the storage method of using a data distribution device to receive the information of all clients and then uniformly distributing it in the prior art. series of issues.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供的一种分布式文件系统的方框示意图。FIG. 1 is a schematic block diagram of a distributed file system according to an embodiment of the present invention.

图2为本发明实施例提供的一种存储管理设备的方框示意图。FIG. 2 is a schematic block diagram of a storage management device according to an embodiment of the present invention.

图3为本发明实施例提供的一种信息存储方法的一种流程示意图。FIG. 3 is a schematic flowchart of an information storage method according to an embodiment of the present invention.

图4为图3中步骤S102的子步骤示意图。FIG. 4 is a schematic diagram of sub-steps of step S102 in FIG. 3 .

图5为本发明实施例提供的信息存储方法的又一种流程示意图。FIG. 5 is a schematic flowchart of another information storage method provided by an embodiment of the present invention.

图6为本发明实施例提供的另一种信息存储方法的流程示意图。FIG. 6 is a schematic flowchart of another information storage method provided by an embodiment of the present invention.

图7为图6中步骤S301的子步骤示意图。FIG. 7 is a schematic diagram of sub-steps of step S301 in FIG. 6 .

图8为本发明实施例提供的一种存储管理设备的功能模块框图。FIG. 8 is a functional module block diagram of a storage management device according to an embodiment of the present invention.

图9为本发明实施例提供的一种存储目标选取模块的子模块连接框图。FIG. 9 is a block diagram of sub-module connections of a storage target selection module according to an embodiment of the present invention.

图10为本发明实施例提供的一种客户端的功能模块框图。FIG. 10 is a block diagram of functional modules of a client according to an embodiment of the present invention.

图11为本发明实施例提供的一种存储请求发送模块的子模块连接框图。FIG. 11 is a block diagram of sub-module connections of a storage request sending module according to an embodiment of the present invention.

图标:100-分布式文件系统;110-存储管理设备;111-存储器;112-存储控制器;113-处理器;114-外设接口;115-输入输出单元;116-通信单元;1101-存储请求接收模块;1102-存储目标选取模块;201-信息记录查询子模块;202-第一选取子模块;203-第二选取子模块;1103-目标信息发送模块;1104-任务数接收模块;1105-上报监测模块;120-客户端;121-存储请求发送模块;1211-身份获取子模块;1212-查找子模块;1213-请求发送子模块;122-传输连接建立模块;123-传输连接监测模块;130-存储设备;200-网络。Icon: 100 - distributed file system; 110 - storage management device; 111 - storage; 112 - storage controller; 113 - processor; 114 - peripheral interface; 115 - input and output unit; 116 - communication unit; 1101 - storage 1102-storage target selection module; 201-information record query sub-module; 202-first selection sub-module; 203-second selection sub-module; 1103-target information sending module; 1104-task number receiving module; 1105 -Report monitoring module; 120-Client; 121-Storage request sending module; 1211-Identity acquisition sub-module; 1212-Search sub-module; 1213-Request sending sub-module; 122-Transmission connection establishment module; 123-Transmission connection monitoring module ; 130 - storage device; 200 - network.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.

因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

请参阅图1,是本发明实施例提供的一种分布式文件系统100的方框示意图。所述分布式文件系统100包括存储管理设备110、客户端120及多个存储设备130。所述客户端120和多个存储设备130分别与所述存储管理设备110通过网络200通信连接,所述客户端120和多个存储设备130能够通过网络200建立传输连接,以进行数据通信或交互。Please refer to FIG. 1 , which is a schematic block diagram of a distributed file system 100 according to an embodiment of the present invention. The distributed file system 100 includes a storage management device 110 , a client 120 and a plurality of storage devices 130 . The client 120 and the plurality of storage devices 130 are respectively connected to the storage management device 110 in communication through the network 200, and the client 120 and the plurality of storage devices 130 can establish transmission connections through the network 200 for data communication or interaction .

其中,根据实际需求,所述客户端120可以是一个信息采集设备,也可以包括交换服务器以及与所述交换服务器通信连接的多个信息采集设备。Wherein, according to actual requirements, the client 120 may be an information collection device, and may also include an exchange server and a plurality of information collection devices in communication with the exchange server.

所述存储管理设备110和存储设备130可以为服务器、计算机、终端等具有存储和信息处理能力的设备。The storage management device 110 and the storage device 130 may be devices with storage and information processing capabilities, such as a server, a computer, and a terminal.

如图2所示,是本发明实施例提供的一种存储管理设备110的方框示意图。所述存储管理设备110包括存储器111、存储控制器112、处理器113、外设接口114、输入输出单元115以及通信单元116。As shown in FIG. 2 , it is a schematic block diagram of a storage management device 110 provided by an embodiment of the present invention. The storage management device 110 includes a memory 111 , a storage controller 112 , a processor 113 , a peripheral interface 114 , an input and output unit 115 and a communication unit 116 .

所述存储器111、存储控制器112、处理器113、外设接口114、输入输出单元115及通信单元116各元件相互之间直接或间接电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。The elements of the memory 111 , the storage controller 112 , the processor 113 , the peripheral interface 114 , the input/output unit 115 and the communication unit 116 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, these elements may be electrically connected to each other through one or more communication buses or signal lines.

其中,所述存储器111可以是,但不限于,随机存取存储器(Random AccessMemory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(ProgrammableRead-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-OnlyMemory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-OnlyMemory,EEPROM)等。Wherein, the memory 111 may be, but not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), or Erasable Programmable Read-Only Memory (EPROM), Electrical Erasable Programmable Read-Only Memory (EEPROM), etc.

所述存储器111可用于存储软件程序及模块,处理器113在接收到执行指令后,执行存储在存储器111中的软件程序及模块,从而执行相应的功能应用及信息处理。The memory 111 can be used to store software programs and modules. After receiving the execution instructions, the processor 113 executes the software programs and modules stored in the memory 111 to execute corresponding functional applications and information processing.

所述处理器113可以是一种集成电路芯片,具有信息处理能力。所述处理器113可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等。还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器113也可以是任何常规的处理器等。The processor 113 may be an integrated circuit chip with information processing capability. The processor 113 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), and the like. It may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor 113 may be any conventional processor or the like.

所述外设接口114用于将各种输入/输出装置耦合至处理器113以及存储器111。在一些实施例中,外设接口114、处理器113及存储控制器112可以在单个芯片中实现,在其他一些实施例中,他们可以分别由独立的芯片实现。The peripheral interface 114 is used to couple various input/output devices to the processor 113 and the memory 111 . In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip, and in other embodiments, they may be implemented by separate chips.

所述通信单元116用于通过网络200建立存储管理设备110与外部通信终端之间的通信连接,此处所述的外部通信终端包括本发明实施例中的客户端120和存储设备130。The communication unit 116 is configured to establish a communication connection between the storage management device 110 and an external communication terminal through the network 200, and the external communication terminal described here includes the client 120 and the storage device 130 in the embodiment of the present invention.

可以理解,图2所示的结构仅为示意,存储管理设备110还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。图2中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 2 is only for illustration, and the storage management device 110 may further include more or less components than those shown in FIG. 2 , or have different configurations from those shown in FIG. 2 . The components shown in FIG. 2 can be implemented in hardware, software, or a combination thereof.

需要说明的是,所述存储设备130、客户端120及本发明实施例中公开的其他服务器和终端中的各组件的具体结构和连接方式与所述存储管理设备110中对应的各组件的结构和连接方式相同。例如,所述客户端120中存储有相应的软件程序及模块,执行所述软件程序及模块即可实现相应的功能应用。所述存储设备130中存储有相应的软件程序及模块,执行所述软件程序及模块即可实现相应的功能应用。It should be noted that the specific structures and connection methods of the components in the storage device 130 , the client 120 , and other servers and terminals disclosed in the embodiments of the present invention are the same as the structures of the components corresponding to the storage management device 110 . same as the connection method. For example, corresponding software programs and modules are stored in the client 120, and corresponding functional applications can be implemented by executing the software programs and modules. Corresponding software programs and modules are stored in the storage device 130, and corresponding functional applications can be implemented by executing the software programs and modules.

请参阅图3,是本发明实施例提供的信息存储方法的流程示意图,所述信息存储方法可应用于图1中所示的存储管理设备110。下面将对图3所示的具体流程和步骤进行详细阐述。Please refer to FIG. 3 , which is a schematic flowchart of an information storage method provided by an embodiment of the present invention. The information storage method can be applied to the storage management device 110 shown in FIG. 1 . The specific flow and steps shown in FIG. 3 will be described in detail below.

步骤S101:接收客户端120每间隔第一预设时长发送的信息存储请求。Step S101: Receive an information storage request sent by the client 120 every first preset duration.

所述客户端120每间隔第一预设时长向所述存储管理设备110发送信息存储请求,可选地,所述信息存储请求中携带有所述客户端120的身份信息。所述第一预设时长可以根据实际情况灵活设置,本实施例对此不作限制。例如,所述第一预设时长可以为5分钟。The client 120 sends an information storage request to the storage management device 110 every first preset time period. Optionally, the information storage request carries the identity information of the client 120 . The first preset duration may be flexibly set according to actual conditions, which is not limited in this embodiment. For example, the first preset duration may be 5 minutes.

步骤S102:针对每个信息存储请求,分别根据预设规则选取一存储设备130作为所述客户端120的目标存储设备。Step S102: For each information storage request, select a storage device 130 as the target storage device of the client 120 according to a preset rule.

所述存储管理设备110在每次接收到所述客户端120发送的信息存储请求时,响应该信息存储请求,并按照预设规则为所述客户端120分配新的目标存储设备。Each time the storage management device 110 receives an information storage request sent by the client 120, the storage management device 110 responds to the information storage request, and allocates a new target storage device to the client 120 according to preset rules.

可选地,所述预设规则可以为多种,例如:所述存储管理设备110查询各存储设备130的当前任务数,并选取当前任务数最少的存储设备130作为所述客户端120的目标存储设备。其中,所述各存储设备130的任务数为与各存储设备130传输连接的客户端120的数量。实施时,所述存储管理设备110在接收到所述信息存储请求后,查询当前与各存储设备130传输连接的客户端120的数量。又例如:所述存储管理设备110查询各存储设备130的剩余存储空间,并选取剩余存储空间最多的存储设备130作为所述客户端120的目标存储设备。Optionally, the preset rules may be various, for example: the storage management device 110 queries the current number of tasks of each storage device 130, and selects the storage device 130 with the least number of current tasks as the target of the client 120 storage device. The number of tasks of each storage device 130 is the number of clients 120 connected to each storage device 130 for transmission. During implementation, after receiving the information storage request, the storage management device 110 queries the number of clients 120 currently connected to each storage device 130 for transmission. For another example, the storage management device 110 queries the remaining storage space of each storage device 130 , and selects the storage device 130 with the most remaining storage space as the target storage device of the client 120 .

当所述预设规则为存储管理设备110查询各存储设备130的当前任务数,并选取当前任务数最少的存储设备130作为所述客户端120的目标存储设备时,可选地,所述存储管理设备110可以通过依次访问各存储设备130的方式来查询各存储设备130的当前任务数,也可通过接收各存储设备130定时上报的当前任务数并进行存储,在需要时查询自身存储的各存储设备130的当前任务数的方式来进行查询。需要说明的是,各存储设备130上报当前任务数的周期小于所述第一预设时长。When the preset rule is that the storage management device 110 queries the current number of tasks of each storage device 130, and selects the storage device 130 with the least number of current tasks as the target storage device of the client 120, optionally, the storage device 130 The management device 110 can query the current number of tasks of each storage device 130 by sequentially accessing each storage device 130, or can also receive the current number of tasks reported by each storage device 130 periodically and store it, and query the number of tasks stored by itself when necessary. The query is performed by means of the current task number of the storage device 130 . It should be noted that the period in which each storage device 130 reports the current number of tasks is less than the first preset duration.

步骤S103:将所述目标存储设备的信息发送至所述客户端120,以使所述客户端120与所述目标存储设备建立传输连接。Step S103: Send the information of the target storage device to the client 120, so that the client 120 establishes a transmission connection with the target storage device.

所述存储管理设备110将所述目标存储设备的信息发送至所述客户端120,所述客户端120在接收到所述目标存储设备的信息后,与所述目标存储设备建立传输连接。The storage management device 110 sends the information of the target storage device to the client 120, and the client 120 establishes a transmission connection with the target storage device after receiving the information of the target storage device.

可选地,为了更好地实现负载均衡,以及防止数据丢失,在每次重新为所述客户端120分配目标存储设备时,需要剔除掉已经与该客户端120建立过传输连接的存储设备130。在每次为客户端120分配目标存储设备时,存储管理设备110可以将所述目标存储设备的信息与所述客户端120关联后进行存储,也即,存储管理设备110中存储有每个所述第一预设时长内与所述客户端120建立传输连接的存储设备130的信息记录。Optionally, in order to better achieve load balancing and prevent data loss, each time a target storage device is reassigned to the client 120, the storage device 130 that has established a transmission connection with the client 120 needs to be eliminated. . Each time a target storage device is allocated to a client 120, the storage management device 110 may associate the information of the target storage device with the client 120 and store it, that is, the storage management device 110 stores the information of each target storage device 110. The information record of the storage device 130 that establishes a transmission connection with the client 120 within the first preset time period.

如图4所示,步骤S102中,所述根据预设规则选取一存储设备130作为所述客户端120的目标存储设备的步骤,可以包括步骤S201、步骤S202和步骤S203三个子步骤。As shown in FIG. 4 , in step S102 , the step of selecting a storage device 130 as the target storage device of the client 120 according to a preset rule may include three sub-steps of step S201 , step S202 and step S203 .

步骤S201:根据所述信息记录查询是否存在未与所述客户端120建立过传输连接的存储设备130。若不存在,则所述存储管理设备110执行步骤S202,若存在,则所述存储管理设备110执行步骤S203。Step S201 : query whether there is a storage device 130 that has not established a transmission connection with the client 120 according to the information record. If it does not exist, the storage management device 110 executes step S202, and if it exists, the storage management device 110 executes step S203.

步骤S202:删除所述存储管理设备110中的每个所述第一预设时长内与所述客户端120建立传输连接的存储设备130的信息记录,并将当前任务数最少的存储设备130作为所述客户端120的目标存储设备。Step S202: Delete the information record of the storage device 130 that establishes a transmission connection with the client 120 within each of the first preset durations in the storage management device 110, and use the storage device 130 with the least number of current tasks as the storage device 130. The target storage device of the client 120.

步骤S203:将未与所述客户端120建立过传输连接的各存储设备130中当前任务数最少的存储设备130作为所述客户端120的目标存储设备。Step S203 : Use the storage device 130 with the least number of current tasks among the storage devices 130 that have not established a transmission connection with the client 120 as the target storage device of the client 120 .

在每次为客户端120选取目标存储设备时,需要优先在未与该客户端120建立过传输连接的存储设备130中选择当前任务数最少的存储设备130作为该客户端120的目标存储设备。当所有存储设备130都与该客户端120建立过传输连接后,再删除掉存储管理设备110中该客户端120的目标存储设备的信息记录,重新查询所有存储设备130的当前任务数,并重新开始记录该客户端120的目标存储设备的信息记录。Each time a target storage device is selected for the client 120 , it is necessary to select the storage device 130 with the least number of current tasks as the target storage device for the client 120 preferentially among the storage devices 130 that have not established a transmission connection with the client 120 . After all storage devices 130 have established transmission connections with the client 120, delete the information record of the target storage device of the client 120 in the storage management device 110, re-query the current number of tasks of all storage devices 130, and re- Start recording the information recording of the target storage device of the client 120 .

可选地,在所述信息存储方法的实施过程中,各存储设备130可以定时向存储管理设备110上报当前任务数,以使所述存储管理设备110能够在需要时在自身存储内容中进行查询,而不必轮询各存储设备130。Optionally, during the implementation of the information storage method, each storage device 130 may periodically report the current number of tasks to the storage management device 110, so that the storage management device 110 can query its own storage content when needed. , without having to poll each storage device 130.

如图5所示,可选地,所述信息存储方法还可以包括步骤S104、步骤S105和步骤S106三个步骤,详细描述如下。As shown in FIG. 5 , optionally, the information storage method may further include three steps of step S104 , step S105 and step S106 , which are described in detail as follows.

步骤S104:接收各存储设备130每间隔第二预设时长发送的当前任务数。Step S104: Receive the current number of tasks sent by each storage device 130 every second preset duration.

通过各存储设备130每间隔第二预设时长向所述存储管理设备110上报当前任务数,可以节省所述存储管理设备110查询各存储设备130的当前任务数的时间,即便是所述存储管理设备110异常重启,也能保证存储管理设备110中各存储设备130的当前任务数的同步。需要说明的是,所述第二预设时长小于所述第一预设时长,例如,所述第一预设时长为5分钟,所述第二预设时长可以为30秒。By each storage device 130 reporting the current number of tasks to the storage management device 110 every second preset time period, the storage management device 110 can save the time for the storage management device 110 to query the current number of tasks of each storage device 130, even if the storage management When the device 110 restarts abnormally, the synchronization of the current number of tasks of each storage device 130 in the storage management device 110 can also be ensured. It should be noted that the second preset duration is shorter than the first preset duration, for example, the first preset duration is 5 minutes, and the second preset duration may be 30 seconds.

步骤S105:对各存储设备130发送的当前任务数进行记录,并判断是否存在第三预设时长未发送当前任务数的存储设备130。Step S105: Record the current number of tasks sent by each storage device 130, and determine whether there is a storage device 130 that has not sent the current number of tasks for a third preset duration.

步骤S106:在存在第三预设时长未发送当前任务数的存储设备130时,判定该存储设备130宕机,并删除所述存储管理设备110中记录的该存储设备130的信息。Step S106 : when there is a storage device 130 that has not sent the current number of tasks for the third preset duration, determine that the storage device 130 is down, and delete the information of the storage device 130 recorded in the storage management device 110 .

所述存储管理设备110对各存储设备130发送的当前任务数进行记录,以使所述存储管理设备110能够在需要时进行查询。所述存储管理设备110通过是否存在第三预设时长未发送当前任务数的存储设备130来判定是否有存储设备130宕机。当所述存储管理设备110第三预设时长未接收到某一个存储设备130上报的当前任务数时,则判定该存储设备130宕机,并删除所述存储管理设备110中记录的该存储设备130的信息,以使所述存储管理设备110内存储的信息与各存储设备130的实际情况同步。在将该存储设备130的信息删除之后,存储管理设备110为客户端120重新分配存储设备130时,不再对该存储设备130进行查询。The storage management device 110 records the current number of tasks sent by each storage device 130, so that the storage management device 110 can query when necessary. The storage management device 110 determines whether a storage device 130 is down by whether there is a storage device 130 that has not sent the current number of tasks for a third preset duration. When the storage management device 110 has not received the current number of tasks reported by a storage device 130 for the third preset time period, it is determined that the storage device 130 is down, and the storage device recorded in the storage management device 110 is deleted. 130, so that the information stored in the storage management device 110 is synchronized with the actual situation of each storage device 130. After the information of the storage device 130 is deleted, when the storage management device 110 reallocates the storage device 130 for the client 120, the storage device 130 is not queried any more.

其中,所述第三预设时长大于所述第二预设时长,可选地,所述第三预设时长可以为所述第二预设时长的整数倍。例如,当所述第二预设时长为15秒时,所述第三预设时长可以为30秒。Wherein, the third preset duration is greater than the second preset duration, and optionally, the third preset duration may be an integer multiple of the second preset duration. For example, when the second preset duration is 15 seconds, the third preset duration may be 30 seconds.

在本发明实施例提供的信息存储方法中,只需保证各存储设备130足够存储各客户端120在留存期内产生的信息即可。因此,为了节约存储空间,各存储设备130的容量可按照如下方式进行分配:每个客户端120在所述预设留存期内存在一最大信息采集量,选取所有最大信息采集量中的最大值,并将该最大值与所述客户端120的个数的乘积作为所有所述存储设备130的存储容量之和。In the information storage method provided by the embodiment of the present invention, it is only necessary to ensure that each storage device 130 is sufficient to store the information generated by each client 120 during the retention period. Therefore, in order to save storage space, the capacity of each storage device 130 may be allocated as follows: each client 120 has a maximum amount of information collection within the preset retention period, and selects the maximum value among all the maximum information collection amounts , and the product of the maximum value and the number of the clients 120 is taken as the sum of the storage capacities of all the storage devices 130 .

所述预设留存期即为用户想要各存储设备130中的信息保留的时间,可根据实际情况进行调整。例如,所述预设留存期可以为30天。The preset retention period is the time that the user wants to retain the information in each storage device 130 , and can be adjusted according to the actual situation. For example, the preset retention period may be 30 days.

由于所述信息存储方法是按照任务数进行均匀分配,而非按照存储量进行均匀分配,为避免在未到达留存期时,某些存储容量较小的存储设备130存满造成数据丢失,同时为了更好地实现负载均衡,本发明实施例中各存储设备130的容量可以相等。Since the information storage method is to distribute evenly according to the number of tasks, rather than according to the amount of storage, in order to avoid data loss caused by the full storage of some storage devices 130 with smaller storage capacity when the retention period has not been reached, and at the same time for the purpose of To better achieve load balancing, the capacities of the storage devices 130 in this embodiment of the present invention may be equal.

按照上述容量配置方式,当任意一台存储设备130存满时,则可以认为存储设备130中的信息存储时间达到了所述预设留存期。According to the above capacity configuration method, when any storage device 130 is full, it can be considered that the information storage time in the storage device 130 has reached the preset retention period.

可选地,在上述配置下,为了防止各存储设备130存满造成数据丢失,可以设置一监控服务器,所述监控服务器每间隔第四预设时长删除每个所述存储设备130中当前时刻之前的一个预设留存期前的存储内容。Optionally, under the above configuration, in order to prevent data loss caused by the full storage of each storage device 130, a monitoring server can be set up, and the monitoring server deletes each storage device 130 before the current time every fourth preset time period. Stored content prior to a preset retention period.

实施时,各存储设备130可以在存储各客户端120发送过来的信息时记录存储时间,并形成文件目录,所述文件目录包括所有信息的存储时间。所述监控服务器每间隔第四预设时长扫描一次该文件目录,并将该扫描时刻倒退一个预设留存期之前的存储内容删除,以避免各存储设备130存满。需要说明的是,所述第四预设时长小于所述留存期。例如,所述预设留存期可以为30天,所述第四预设时长可以为一天。During implementation, each storage device 130 may record the storage time when storing the information sent from each client 120, and form a file directory, where the file directory includes the storage time of all the information. The monitoring server scans the file directory once every fourth preset period of time, and deletes the storage content before the scanning time is reversed by a preset retention period, so as to prevent the storage devices 130 from being full. It should be noted that the fourth preset duration is less than the retention period. For example, the preset retention period may be 30 days, and the fourth preset duration may be one day.

各存储设备130的容量按照所述预设留存期进行分配,且各存储设备130的存储容量相等时,相当于将一个所述预设留存期内各客户端120所采集的信息量之和按照时间均分到各存储设备130。The capacity of each storage device 130 is allocated according to the preset retention period, and when the storage capacity of each storage device 130 is equal, it is equivalent to dividing the sum of the amount of information collected by each client 120 within the preset retention period according to The time is evenly divided among the storage devices 130 .

假设总共有N台所述存储设备130,则在每台存储设备130都正常运行的情况下,每台存储设备130分配到的信息量为1/N的所述预设留存期内各客户端120所采集的信息量之和。Assuming that there are N storage devices 130 in total, under the condition that each storage device 130 operates normally, the amount of information allocated to each storage device 130 is 1/N for each client within the preset retention period. 120 The sum of the amount of information collected.

然而,在实际应用过程中,可能出现单台存储设备130不能使用的情况。当单台存储设备130宕机时,该存储设备130所分配到的信息量则无法存储,也即各存储设备130中存储的信息能够保留的时间减少了1/N。因此,在尚未到达所述预设留存期时,就会出现某些存储设备130存满的情况,且这种情况无法检测到。However, in the actual application process, there may be a situation that a single storage device 130 cannot be used. When a single storage device 130 goes down, the amount of information allocated by the storage device 130 cannot be stored, that is, the time that the information stored in each storage device 130 can be retained is reduced by 1/N. Therefore, before the preset retention period has been reached, some storage devices 130 may become full, and such a situation cannot be detected.

由于本实施例提供的信息存储方法按照各存储设备130的当前任务数为各客户端120分配目标存储设备,而所述各存储设备130的当前任务数指的是与各存储设备130传输连接的客户端120的数量,因而可能出现某些客户端120继续选择已经存储满的存储设备130进行信息存储,从而造成数据丢失。Because the information storage method provided in this embodiment allocates target storage devices to each client 120 according to the current number of tasks of each storage device 130 , and the current number of tasks of each storage device 130 refers to the transmission connection to each storage device 130 Due to the number of clients 120, some clients 120 may continue to select the storage device 130 that has been fully stored for information storage, thereby causing data loss.

为了解决上述问题,可选地,所述信息存储方法还可以包括以下步骤:每个存储设备130在存满时向所述监控服务器发送报警信号。In order to solve the above problem, optionally, the information storage method may further include the following steps: each storage device 130 sends an alarm signal to the monitoring server when the storage device 130 is full.

当监控服务器接收到报警信号时即可对用户进行提醒,以使用户能够查看是否存在宕机的存储设备130,当存在存储设备130宕机时,可以根据宕机的存储设备130的数量手动删除各存储设备130中的部分内容,以免数据丢失。When the monitoring server receives the alarm signal, it can remind the user so that the user can check whether there is a downed storage device 130. When there is a downed storage device 130, it can be manually deleted according to the number of downed storage devices 130. Part of the content in each storage device 130 to avoid data loss.

如图6所示,是本发明另一实施例提供的一种信息存储方法,应用于客户端120,所述客户端120能够与存储管理设备110及多个存储设备130通信。下面将对图6所示的具体流程和步骤进行详细描述。As shown in FIG. 6 , an information storage method provided by another embodiment of the present invention is applied to the client 120 , and the client 120 can communicate with the storage management device 110 and multiple storage devices 130 . The specific flow and steps shown in FIG. 6 will be described in detail below.

步骤S301:向存储管理设备110发送信息存储请求。Step S301: Send an information storage request to the storage management device 110.

根据实际需求,所述客户端120可以是一个信息采集设备,用于采集图像信息、参数信息等。本实施例中,以采集图像信息为例,所述信息采集设备可以为相机、摄像机等,用于采集经过交通卡口的车辆的图像信息。According to actual requirements, the client 120 may be an information collection device for collecting image information, parameter information, and the like. In this embodiment, taking the collection of image information as an example, the information collection device may be a camera, a video camera, or the like, and is used to collect image information of a vehicle passing through a traffic checkpoint.

实施时,可以在所述客户端120中预存一任务控制块,所述任务控制块中设置有定时器。所述定时器在每计时满第一预设时长时,向所述存储管理设备110发送信息存储请求,以使所述存储管理设备110根据所述信息存储请求为所述客户端120分配存储设备130。During implementation, a task control block may be pre-stored in the client 120, and a timer is set in the task control block. The timer sends an information storage request to the storage management device 110 every time the first preset time period expires, so that the storage management device 110 allocates a storage device to the client 120 according to the information storage request 130.

步骤S302:接收所述存储管理设备110发送的目标存储设备的信息,并与所述目标存储设备建立传输连接。Step S302: Receive the information of the target storage device sent by the storage management device 110, and establish a transmission connection with the target storage device.

可选地,每个所述第一预设时长内所述客户端120都需要与一个存储设备130建立传输连接,不管在该预设时长内所述客户端120是否有采集到信息。通过上述设计,能够保证客户端120采集到的信息按照时间均匀分布于各存储设备130。Optionally, the client 120 needs to establish a transmission connection with a storage device 130 within each of the first preset duration, regardless of whether the client 120 has collected information within the preset duration. Through the above design, it can be ensured that the information collected by the client 120 is evenly distributed among the storage devices 130 according to time.

步骤S303:监测所述传输连接保持的时长,在所述传输连接保持的时长达到第一预设时长时释放所述传输连接,并重新向所述存储管理设备110发送新的信息存储请求。Step S303 : Monitor the maintained duration of the transmission connection, release the transmission connection when the maintained duration of the transmission connection reaches a first preset duration, and re-send a new information storage request to the storage management device 110 .

实施时,所述客户端120可以通过所述定时器监测所述传输连接保持的时长。所述定时器可以从所述客户端120向所述存储管理设备110发送请求的时刻开始计时,也可以从所述客户端120与所述目标存储设备建立传输连接的时刻开始计时,由于两个时刻之间的时间差为毫秒级,具体从哪一个时刻开始计时对本方案的实现没有影响,本实施例对此不作限制。During implementation, the client 120 may monitor the length of time that the transmission connection is maintained through the timer. The timer may start timing from the moment the client 120 sends the request to the storage management device 110, or may start timing from the moment the client 120 establishes a transmission connection with the target storage device, because two The time difference between the times is in milliseconds, and the specific time from which time is started has no effect on the implementation of the solution, which is not limited in this embodiment.

当所述定时器计时满第一预设时长时,所述客户端120释放所述传输连接,并重新向所述存储管理设备110发送新的信息存储请求,所述定时器重新开始计时。When the timer expires for the first preset time period, the client 120 releases the transmission connection, and re-sends a new information storage request to the storage management device 110, and the timer starts counting again.

也即,所述客户端120每间隔第一预设时长需要向所述存储管理设备110发送一次信息存储请求,以使所述存储管理设备110根据各存储设备130的当前任务数重新为所述客户端120分配目标存储设备,从而使得所述客户端120的待存储信息能够按时间均匀分布于各存储设备130中。That is, the client 120 needs to send an information storage request to the storage management device 110 every first preset duration, so that the storage management device 110 can re-create the storage management device 110 according to the current number of tasks of each storage device 130. The client 120 allocates the target storage device, so that the information to be stored by the client 120 can be evenly distributed among the storage devices 130 according to time.

根据实际需求,可选地,所述客户端120可以包括交换服务器以及与所述交换服务器通信连接的多个所述信息采集设备。According to actual requirements, optionally, the client 120 may include an exchange server and a plurality of the information collection devices that are communicatively connected to the exchange server.

在上述情况下,如图7所示,所述步骤S301可以包括步骤S401、步骤S402及步骤S403三个子步骤。In the above case, as shown in FIG. 7 , the step S301 may include three sub-steps of step S401 , step S402 and step S403 .

步骤S401:交换服务器获取信息采集设备的身份信息。Step S401: The exchange server acquires the identity information of the information collection device.

步骤S402:交换服务器根据所述身份信息查找出与所述身份信息对应的任务控制块。Step S402: The exchange server searches out the task control block corresponding to the identity information according to the identity information.

实施时,多个所述信息采集设备将采集到的信息发送到所述交换服务器进行存储,所述信息中携带有各信息采集设备的身份信息。所述交换服务器中存储有多个任务控制块,以及各任务控制块与各信息采集设备的身份信息的对应关系,所述对应关系可以哈希表的形式进行存储。During implementation, a plurality of the information collection devices send the collected information to the exchange server for storage, and the information carries the identity information of each information collection device. The exchange server stores a plurality of task control blocks, and the corresponding relationship between each task control block and the identity information of each information collection device, and the corresponding relationship can be stored in the form of a hash table.

其中,每一个任务控制块对应一个信息采集设备,所述交换服务器每一次接收到信息采集设备发送来的信息时,需要查询与该信息采集设备的身份信息对应的任务控制块。若无法查找到与该信息采集设备的身份信息对应的任务控制块,则新建一个任务控制块与该身份信息对应。可选地,所述身份信息可以是所述信息采集设备的编码信息。Wherein, each task control block corresponds to an information collection device, and each time the exchange server receives information sent by the information collection device, it needs to query the task control block corresponding to the identity information of the information collection device. If the task control block corresponding to the identity information of the information collection device cannot be found, a new task control block is created corresponding to the identity information. Optionally, the identity information may be encoded information of the information collection device.

根据实际需求,实施时,所述客户端120可以为多个,多个所述客户端120通过网络200与存储管理设备110通信连接。According to actual requirements, during implementation, there may be multiple clients 120 , and multiple clients 120 are connected to the storage management device 110 in communication through the network 200 .

其中,当所述客户端120为一个信息采集设备时,所述分布式文件系统100包括存储管理设备110、多个存储设备130和多个信息采集设备。当所述客户端120包括交换服务器和与所述交换服务器通信连接的多个所述信息采集设备时,所述分布式文件系统100包括存储管理设备110、多个存储设备130、多个交换服务器以及多个信息采集设备,所述多个信息采集设备被划分为多组,每组信息采集设备与一个所述交换服务器通信连接。Wherein, when the client 120 is an information collection device, the distributed file system 100 includes a storage management device 110, a plurality of storage devices 130 and a plurality of information collection devices. When the client 120 includes an exchange server and a plurality of the information collection devices connected to the exchange server, the distributed file system 100 includes a storage management device 110, a plurality of storage devices 130, and a plurality of exchange servers and a plurality of information collection devices, the plurality of information collection devices are divided into multiple groups, and each group of information collection devices is communicatively connected to one of the exchange servers.

步骤S403:查找出的所述任务控制块向所述存储管理设备110发送信息存储请求。Step S403: The found task control block sends an information storage request to the storage management device 110.

通过上述设计,能够将所述客户端120采集到的信息按照任务数即按照时间均匀分配到每个存储设备130上进行存储,从而更好地实现负载均衡。Through the above design, the information collected by the client 120 can be evenly distributed to each storage device 130 for storage according to the number of tasks, that is, according to time, so as to better achieve load balancing.

请参阅图8,是本发明实施例提供的一种存储管理设备110的功能模块框图,所述存储管理设备110能够与客户端120及多个存储设备130通信。Please refer to FIG. 8 , which is a functional block diagram of a storage management device 110 according to an embodiment of the present invention, where the storage management device 110 can communicate with the client 120 and multiple storage devices 130 .

其中,所述存储管理设备110包括存储请求接收模块1101、存储目标选取模块1102和目标信息发送模块1103。The storage management device 110 includes a storage request receiving module 1101 , a storage target selecting module 1102 and a target information sending module 1103 .

所述存储请求接收模块1101用于接收所述客户端120每间隔第一预设时长发送的信息存储请求。关于所述存储请求接收模块1101的详细描述具体可参考对图3中所示的步骤S101的描述,也即,步骤S101可由所述存储请求接收模块1101来执行。The storage request receiving module 1101 is configured to receive an information storage request sent by the client 120 every first preset duration. For a detailed description of the storage request receiving module 1101 , reference may be made to the description of step S101 shown in FIG. 3 , that is, step S101 can be performed by the storage request receiving module 1101 .

所述存储目标选取模块1102用于针对每个信息存储请求,分别根据预设规则选取一存储设备130作为所述客户端120的目标存储设备。关于所述存储目标选取模块1102的详细描述具体可参考对图3中所示的步骤S102的描述,也即,步骤S102可由所述存储目标选取模块1102来执行。The storage target selection module 1102 is configured to select a storage device 130 as the target storage device of the client 120 according to preset rules for each information storage request. For a detailed description of the storage target selection module 1102 , reference may be made to the description of step S102 shown in FIG. 3 , that is, step S102 can be executed by the storage target selection module 1102 .

所述目标信息发送模块1103用于将所述目标存储设备的信息发送至所述客户端120,以使所述客户端120与所述目标存储设备建立传输连接。关于所述目标信息发送模块1103的详细描述具体可参考对图3中所示的步骤S103的描述,也即,步骤S103可由所述目标信息发送模块1103来执行。The target information sending module 1103 is configured to send the information of the target storage device to the client 120, so that the client 120 establishes a transmission connection with the target storage device. For a detailed description of the target information sending module 1103 , reference may be made to the description of step S103 shown in FIG. 3 , that is, step S103 can be executed by the target information sending module 1103 .

可选地,所述存储管理设备110还可以包括任务数接收模块1104和上报监测模块1105。Optionally, the storage management device 110 may further include a task number receiving module 1104 and a report monitoring module 1105 .

所述任务数接收模块1104用于接收各存储设备130每间隔第二预设时长发送的当前任务数。关于所述任务数接收模块1104的详细描述具体可参考对图5中所示的步骤S104的描述,也即,步骤S104可由所述任务数接收模块1104来执行。The task number receiving module 1104 is configured to receive the current task number sent by each storage device 130 every second preset duration. For a detailed description of the task number receiving module 1104 , reference may be made to the description of step S104 shown in FIG. 5 , that is, step S104 may be executed by the task number receiving module 1104 .

所述上报监测模块1105用于对各存储设备130发送的当前任务数进行记录,判断是否存在第三预设时长未发送当前任务数的存储设备130,在存在第三预设时长未发送当前任务数的存储设备130时,判定该存储设备130宕机,并删除所述存储管理设备110中记录的该存储设备130的信息。其中,所述第三预设时长大于所述第二预设时长。The reporting and monitoring module 1105 is used to record the current number of tasks sent by each storage device 130, and determine whether there is a storage device 130 that does not send the current number of tasks for a third preset duration, and does not send the current task when there is a third preset duration. When the number of storage devices 130 is reached, it is determined that the storage device 130 is down, and the information of the storage device 130 recorded in the storage management device 110 is deleted. Wherein, the third preset duration is greater than the second preset duration.

关于所述上报监测模块1105的详细描述具体可参考对图5所示的步骤S105和步骤S106两个步骤的描述,也即,步骤S105和步骤S106可由所述上报监测模块1105来执行。For a detailed description of the reporting monitoring module 1105, reference may be made to the description of the two steps of step S105 and step S106 shown in FIG.

可选地,所述存储管理设备110中存储有每个所述第一预设时长内与所述客户端120建立传输连接的存储设备130的信息记录。如图9所示,所述存储目标选取模块1102包括信息记录查询子模块201、第一选取子模块202和第二选取子模块203。Optionally, the storage management device 110 stores information records of the storage device 130 that establishes a transmission connection with the client 120 within each of the first preset durations. As shown in FIG. 9 , the storage target selection module 1102 includes an information record query sub-module 201 , a first selection sub-module 202 and a second selection sub-module 203 .

所述信息记录查询子模块201用于根据所述信息记录查询是否存在未与所述客户端120建立过传输连接的存储设备130。关于所述信息记录查询子模块201的详细描述具体可参考对图4中所示的步骤S201的描述,也即,步骤S201可由所述信息记录查询子模块201来执行。The information record query sub-module 201 is configured to query whether there is a storage device 130 that has not established a transmission connection with the client 120 according to the information record. For a detailed description of the information record query sub-module 201, reference may be made to the description of step S201 shown in FIG.

所述第一选取子模块202用于在不存在未与所述客户端120建立过传输连接的存储设备130时,删除所述存储管理设备110中的每个所述第一预设时长内与所述客户端120建立传输连接的存储设备130的信息记录,并将当前任务数最少的存储设备130作为所述客户端120的目标存储设备。关于所述第一选取子模块202的详细描述具体可参考对图4中所示的步骤S202的描述,也即,步骤S202可由所述第一选取子模块202来执行。The first selection sub-module 202 is configured to delete each storage device 130 within the first preset duration in the storage management device 110 when there is no storage device 130 that has not established a transmission connection with the client 120. The client 120 establishes an information record of the storage device 130 connected by the transmission, and uses the storage device 130 with the least number of current tasks as the target storage device of the client 120 . For a detailed description of the first selection sub-module 202 , reference may be made to the description of step S202 shown in FIG. 4 , that is, step S202 may be performed by the first selection sub-module 202 .

所述第二选取子模块203用于在存在未与所述客户端120建立过传输连接的存储设备130时,将未与所述客户端120建立过传输连接的各存储设备130中当前任务数最少的存储设备130作为所述客户端120的目标存储设备。关于所述第二选取子模块203的详细描述具体可参考对图4中所示的步骤S203的描述,也即,步骤S203可由所述第二选取子模块203来执行。The second selection sub-module 203 is used to select the current number of tasks in each storage device 130 that has not established a transmission connection with the client 120 when there is a storage device 130 that has not established a transmission connection with the client 120. The least storage device 130 serves as the target storage device for the client 120 . For a detailed description of the second selection sub-module 203 , reference may be made to the description of step S203 shown in FIG. 4 , that is, step S203 may be performed by the second selection sub-module 203 .

请参阅图10,是本发明另一实施例提供的客户端120的功能模块框图,所述客户端120能够与存储管理设备110及多个存储设备130通信,所述客户端120包括存储请求发送模块121、传输连接建立模块122和传输连接监测模块123。Please refer to FIG. 10 , which is a functional block diagram of a client 120 according to another embodiment of the present invention. The client 120 can communicate with the storage management device 110 and a plurality of storage devices 130 , and the client 120 includes a storage request sending device. Module 121 , transmission connection establishment module 122 and transmission connection monitoring module 123 .

所述存储请求发送模块121用于向所述存储管理设备110发送信息存储请求。关于所述存储请求发送模块121的详细描述具体可参考对图6所示的步骤S301的描述,也即,步骤S301可由所述存储请求发送模块121来执行。The storage request sending module 121 is configured to send an information storage request to the storage management device 110 . For a detailed description of the storage request sending module 121 , reference may be made to the description of step S301 shown in FIG. 6 , that is, step S301 can be performed by the storage request sending module 121 .

所述传输连接建立模块122用于接收所述存储管理设备110发送的目标存储设备的信息,并与所述目标存储设备建立传输连接。关于所述传输连接建立模块122的详细描述具体可参考对图6中所示的步骤S302的描述,也即,步骤S302可由所述传输连接建立模块122来执行。The transmission connection establishing module 122 is configured to receive the information of the target storage device sent by the storage management device 110, and establish a transmission connection with the target storage device. For a detailed description of the transmission connection establishment module 122, reference may be made to the description of step S302 shown in FIG. 6 , that is, step S302 can be executed by the transmission connection establishment module 122 .

所述传输连接监测模块123用于监测所述传输连接保持的时长,在所述传输连接保持的时长达到第一预设时长时释放所述传输连接,并重新向所述存储管理设备110发送新的信息存储请求。关于所述传输连接监测模块123的详细描述具体可参考对图6中所示的步骤S303的描述,也即,步骤S303可由所述传输连接监测模块123来执行。The transmission connection monitoring module 123 is configured to monitor the duration of the transmission connection maintained, release the transmission connection when the transmission connection maintained duration reaches the first preset duration, and re-send a new transmission connection to the storage management device 110. information storage request. For a detailed description of the transmission connection monitoring module 123 , reference may be made to the description of step S303 shown in FIG. 6 , that is, step S303 may be performed by the transmission connection monitoring module 123 .

可选地,所述客户端120可以包括交换服务器和与所述交换服务器通信的多个信息采集设备,所述交换服务器包括多个任务控制块。此时,如图11所示,所述存储请求模块可以包括存储于所述交换服务器的身份获取子模块1211、查找子模块1212以及请求发送子模块1213。Optionally, the client 120 may include an exchange server and a plurality of information collection devices in communication with the exchange server, and the exchange server includes a plurality of task control blocks. At this time, as shown in FIG. 11 , the storage request module may include an identity acquisition submodule 1211 , a search submodule 1212 and a request sending submodule 1213 stored in the exchange server.

所述身份获取子模块1211用于获取信息采集设备的身份信息。关于所述身份获取子模块1211的详细描述具体可参考对图7中所示的步骤S401的描述,也即,步骤S401可由所述身份获取子模块1211来执行。The identity acquisition sub-module 1211 is used to acquire the identity information of the information collection device. For a detailed description of the identity acquisition sub-module 1211 , reference may be made to the description of step S401 shown in FIG. 7 , that is, step S401 may be performed by the identity acquisition sub-module 1211 .

所述查找子模块1212用于根据所述身份信息查找出与所述身份信息对应的任务控制块,其中,所述交换服务器中预存有所述多个任务控制块与所述多个信息采集设备的身份信息的对应关系。关于所述查找子模块1212的详细描述具体可参考对图7中所示的步骤S402的描述,也即步骤S402可由所述查找子模块1212来执行。The search sub-module 1212 is used to find out the task control block corresponding to the identity information according to the identity information, wherein the exchange server pre-stores the multiple task control blocks and the multiple information collection devices. The corresponding relationship of the identity information. For a detailed description of the search sub-module 1212 , reference may be made to the description of step S402 shown in FIG. 7 , that is, step S402 may be performed by the search sub-module 1212 .

所述请求发送子模块1213用于控制查找出的所述任务控制块向所述存储管理设备110发送信息存储请求。关于所述请求发送子模块1213的详细描述具体可参考对图7中所示的步骤S403的描述,也即,步骤S403可由所述请求发送子模块1213来执行。The request sending sub-module 1213 is configured to control the found task control block to send an information storage request to the storage management device 110 . For a detailed description of the request sending sub-module 1213 , reference may be made to the description of step S403 shown in FIG. 7 , that is, step S403 may be performed by the request sending sub-module 1213 .

综上所述,本发明实施例提供的信息存储方法、存储管理设备110及客户端120按照预设规则为客户端120分配目标存储设备,使得各客户端120中的待存储信息能够按时间均匀分布于各存储设备130中,避免了现有技术对数据分发设备依赖性较大的问题。To sum up, the information storage method, the storage management device 110 and the client 120 provided by the embodiments of the present invention allocate the target storage device to the client 120 according to preset rules, so that the information to be stored in each client 120 can be evenly distributed over time Distributing in each storage device 130 avoids the problem that the prior art relies heavily on data distribution devices.

在本发明实施例所提供的几个实施例中,应该理解到,所揭露的系统和方法,也可以通过其它的方式实现。以上所描述的系统和方法实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the embodiments of the present invention, it should be understood that the disclosed system and method may also be implemented in other manners. The system and method embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, possible implementations of systems, methods and computer program products according to various embodiments of the present invention function and operation. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present invention may be integrated to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes . It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (8)

1. An information storage method applied to a storage management device, wherein the storage management device can communicate with a client and a plurality of storage devices, the method comprising:
receiving an information storage request sent by the client at intervals of a first preset duration; the storage management device stores information records of storage devices which establish transmission connection with the client within each first preset time length;
for each information storage request, inquiring whether storage equipment which is not in transmission connection with the client exists or not according to the information record;
when no storage device which is not in transmission connection with the client exists, deleting the information record of the storage device which is in transmission connection with the client within each first preset time length in the storage management device, and taking the storage device with the minimum current task number as the target storage device of the client; the current task number refers to the number of clients which are in current transmission connection with the storage device;
when a storage device which does not establish transmission connection with the client exists, taking the storage device which does not establish transmission connection with the client as a target storage device of the client;
and sending the information of the target storage equipment to the client so as to enable the client to establish transmission connection with the target storage equipment.
2. The information storage method of claim 1, further comprising:
receiving the current task number sent by each storage device every second preset time interval;
recording the current task number sent by each storage device, judging whether a storage device which does not send the current task number for a third preset time length exists, judging that the storage device is down when the storage device which does not send the current task number for the third preset time length exists, and deleting the information of the storage device recorded in the storage management device, wherein the third preset time length is longer than the second preset time length.
3. An information storage method is applied to a client and is characterized in that the client can communicate with a storage management device and a plurality of storage devices, wherein the storage management device stores information records of the storage devices which establish transmission connection with the client within each first preset time length; the method comprises the following steps:
sending an information storage request to the storage management device;
receiving information of a target storage device sent by the storage management device, and establishing transmission connection with the target storage device;
monitoring the duration of the transmission connection holding, releasing the transmission connection when the duration of the transmission connection holding reaches a first preset duration, and resends a new information storage request to the storage management device, so that when the storage management device receives the information storage request, inquiring whether a storage device which does not establish transmission connection with the client exists according to the information record, when no storage device which is not in transmission connection with the client exists, deleting the information record of the storage device which is in transmission connection with the client within each first preset time length in the storage management device, and taking the storage device with the minimum current task number as the target storage device of the client, and when the storage device which does not establish transmission connection with the client exists, taking the storage device which does not establish transmission connection with the client as a target storage device of the client.
4. The information storage method according to claim 3, wherein the client includes a switching server and a plurality of information collecting devices communicating with the switching server, the switching server including a plurality of task control blocks;
the step of sending an information storage request to the storage management device includes:
the exchange server acquires identity information of the information acquisition equipment;
the exchange server searches out task control blocks corresponding to the identity information according to the identity information, wherein the exchange server is pre-stored with corresponding relations between the plurality of task control blocks and the identity information of the plurality of information acquisition devices; and
and the searched task control block sends an information storage request to the storage management equipment.
5. The storage management equipment is characterized by being capable of communicating with a client and a plurality of storage equipment and comprising a storage request receiving module, a storage target selecting module and a target information sending module;
the storage request receiving module is used for receiving information storage requests sent by the client every first preset time interval; the storage management device stores information records of storage devices which establish transmission connection with the client within each first preset time length;
the storage target selection module is configured to:
for each information storage request, inquiring whether storage equipment which is not in transmission connection with the client exists or not according to the information record; when no storage device which is not in transmission connection with the client exists, deleting the information record of the storage device which is in transmission connection with the client within each first preset time length in the storage management device, and taking the storage device with the minimum current task number as the target storage device of the client; the current task number refers to the number of clients which are in current transmission connection with the storage device; when a storage device which does not establish transmission connection with the client exists, taking the storage device which does not establish transmission connection with the client as a target storage device of the client; and
and the target information sending module is used for sending the information of the target storage equipment to the client so as to enable the client to establish transmission connection with the target storage equipment.
6. The storage management device according to claim 5, wherein the storage management device further comprises a task number receiving module and a report monitoring module;
the task number receiving module is used for receiving the current task number sent by each storage device at intervals of second preset time; and
the report monitoring module is configured to record the current task number sent by each storage device, determine whether there is a storage device for which the third preset time length does not send the current task number, determine that the storage device is down when there is a storage device for which the third preset time length does not send the current task number, and delete the information of the storage device recorded in the storage management device, where the third preset time length is greater than the second preset time length.
7. The client is characterized in that the client can communicate with a storage management device and a plurality of storage devices, wherein information records of the storage devices which establish transmission connection with the client within each first preset time length are stored in the storage management device; the client comprises a storage request sending module, a transmission connection establishing module and a transmission connection monitoring module;
the storage request sending module is used for sending an information storage request to the storage management equipment;
the transmission connection establishing module is used for receiving the information of the target storage device sent by the storage management device and establishing transmission connection with the target storage device; and
the transmission connection monitoring module is configured to monitor a duration of the transmission connection, release the transmission connection when the duration of the transmission connection reaches a first preset duration, and send a new information storage request to the storage management device again, so that the storage management device, when receiving the information storage request, queries whether there is a storage device that has not established a transmission connection with the client according to the information record, when there is no storage device that has not established a transmission connection with the client, deletes the information record of the storage device that has established a transmission connection with the client within each first preset duration in the storage management device, and uses the storage device with the smallest number of current tasks as a target storage device of the client, when there is a storage device that has not established a transmission connection with the client, and taking the storage equipment which has not established transmission connection with the client as the client to obtain target storage equipment.
8. The client of claim 7, wherein the client comprises a switching server and a plurality of information gathering devices in communication with the switching server, wherein the switching server comprises a plurality of task control blocks;
the storage request sending module comprises an identity acquisition sub-module, a search sub-module and a request sending sub-module;
the identity acquisition submodule is used for acquiring identity information of the information acquisition equipment;
the search submodule is used for searching the task control blocks corresponding to the identity information according to the identity information, wherein the corresponding relations between the plurality of task control blocks and the identity information of the plurality of information acquisition devices are prestored in the exchange server;
and the request sending submodule is used for controlling the searched task control block to send an information storage request to the storage management equipment.
CN201610830142.XA 2016-09-18 2016-09-18 Information storage method, storage management device and client Active CN106383668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610830142.XA CN106383668B (en) 2016-09-18 2016-09-18 Information storage method, storage management device and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610830142.XA CN106383668B (en) 2016-09-18 2016-09-18 Information storage method, storage management device and client

Publications (2)

Publication Number Publication Date
CN106383668A CN106383668A (en) 2017-02-08
CN106383668B true CN106383668B (en) 2020-06-19

Family

ID=57936559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610830142.XA Active CN106383668B (en) 2016-09-18 2016-09-18 Information storage method, storage management device and client

Country Status (1)

Country Link
CN (1) CN106383668B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519310B (en) * 2018-05-21 2021-12-28 浙江宇视科技有限公司 Storage task allocation method and device
CN112241239B (en) * 2019-07-18 2023-03-14 浙江宇视科技有限公司 Storage task management and control method, storage task management and control device and storage equipment
CN111193804B (en) * 2020-01-02 2022-09-09 深圳市网心科技有限公司 Distributed storage method and device, network node and storage medium
CN111600395A (en) * 2020-07-23 2020-08-28 南京万形电气有限公司 Low-voltage distribution network topology identification method and system
CN112235809B (en) * 2020-08-14 2023-07-28 赛特斯信息科技股份有限公司 5G inter-base station communication method and communication device
CN115938013B (en) * 2023-03-14 2023-06-13 禾多科技(北京)有限公司 Method, apparatus, apparatus and computer readable medium for monitoring data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207891A (en) * 2011-06-10 2011-10-05 浙江大学 Method for achieving dynamic partitioning and load balancing of data-partitioning distributed environment
CN102262680A (en) * 2011-08-18 2011-11-30 北京新媒传信科技有限公司 Distributed database proxy system based on massive data access requirement
CN105450679A (en) * 2014-08-06 2016-03-30 杭州海康威视系统技术有限公司 Method and system for performing data cloud storage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207891A (en) * 2011-06-10 2011-10-05 浙江大学 Method for achieving dynamic partitioning and load balancing of data-partitioning distributed environment
CN102262680A (en) * 2011-08-18 2011-11-30 北京新媒传信科技有限公司 Distributed database proxy system based on massive data access requirement
CN105450679A (en) * 2014-08-06 2016-03-30 杭州海康威视系统技术有限公司 Method and system for performing data cloud storage

Also Published As

Publication number Publication date
CN106383668A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106383668B (en) Information storage method, storage management device and client
US10637916B2 (en) Method and device for storage resource allocation for video cloud storage
CN108683720B (en) Container cluster service configuration method and device
US9804981B2 (en) Method, controller, and system for service flow control in object-based storage system
CN106657383B (en) Data downloading method and related equipment
US20160344582A1 (en) Call home cluster
CN107819797B (en) Access request processing method and device
CN105760240A (en) Distributed task processing method and device
CN110324680B (en) Video pushing method and device, server, client and storage medium
CN109800204B (en) Data distribution method and related product
CN112016030B (en) Message pushing method, device, server and computer storage medium
JP2015191523A (en) Configuration management apparatus, configuration management system, and configuration management program
CN112333249B (en) Business service system and method
US20210211493A1 (en) Method for managing resource state information and system for downloading resource
CN109298937A (en) File parsing method and network device
CN105049509A (en) Cluster scheduling method, load balancer and clustering system
CN104618493A (en) Data request processing method and device
CN112035579B (en) Graph management, data storage and data query methods, devices and storage medium
CN109951662A (en) Video backup method and system
CN109982034B (en) Access request processing method and device in video monitoring system
CN112416594A (en) Micro-service distribution method, electronic equipment and computer storage medium
WO2019205788A1 (en) Data storage method, storage server and cloud storage system
CN108924013B (en) Network flow accurate acquisition method and device
CN110046319B (en) Social media information collection method, device, system, device and storage medium
US9432476B1 (en) Proxy data storage system monitoring aggregator for a geographically-distributed environment

Legal Events

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

Effective date of registration: 20221111

Address after: 15 / F, Zhongchuang Plaza, 385 Hangtian Middle Road, national civil aerospace industrial base, Xi'an City, Shaanxi Province 710100

Patentee after: Xi'an Yu vision Mdt InfoTech Ltd.

Address before: 310000 1-11 / F, South Block, building 10, No. 88, Jiangling Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: ZHEJIANG UNIVIEW TECHNOLOGIES Co.,Ltd.