CN111367866A - Cabinet model system of data cloud - Google Patents
Cabinet model system of data cloud Download PDFInfo
- Publication number
- CN111367866A CN111367866A CN202010163225.4A CN202010163225A CN111367866A CN 111367866 A CN111367866 A CN 111367866A CN 202010163225 A CN202010163225 A CN 202010163225A CN 111367866 A CN111367866 A CN 111367866A
- Authority
- CN
- China
- Prior art keywords
- cabinet
- data
- cloud
- file
- model system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1847—File system types specifically adapted to static storage, e.g. adapted to flash memory or SSD
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种数据云的柜模型系统,查寻设备向配置分发网络发送查找目标数据的请求。配置分发网络通过柜管理员获得目标数据的配置信息。根据配置信息生成文件路径。柜管理员根据配置信息,获得任意云数据服务器,如果不可用,则切换到下一个云数据服务器,直到可用为止,云数据服务器用于提供调取配置信息的服务。云数据服务器找到目标数据存储时相对应的柜。利用预设规则对查寻设备的属性、物理位置信息以及文件路径进行计算,生成文件名称,用文件名称创建文件夹,将目标数据存储在文件夹中。所有存储都可以从任何云数据服务器直接寻址。使用数据云的柜模型创建视频流和编写视频记录应用程序永远不会出现故障,可靠性提高了一个数量级。
The invention provides a cabinet model system of a data cloud, and a search device sends a request for searching target data to a configuration distribution network. The configuration distribution network obtains the configuration information of the target data through the cabinet administrator. Generate file paths based on configuration information. The cabinet administrator obtains any cloud data server according to the configuration information. If it is unavailable, it will switch to the next cloud data server until it is available. The cloud data server is used to provide the service of retrieving configuration information. The corresponding cabinet when the cloud data server finds the target data storage. The properties, physical location information and file path of the search device are calculated by using preset rules, the file name is generated, a folder is created with the file name, and the target data is stored in the folder. All storage is directly addressable from any cloud data server. Creating video streams and writing video recording applications using the data cloud's cabinet model never fails, increasing reliability by an order of magnitude.
Description
技术领域technical field
本发明涉及系统里文件建立技术领域,具体涉及一种数据云的柜模型系统。The invention relates to the technical field of file establishment in a system, in particular to a cabinet model system of a data cloud.
背景技术Background technique
数据云的组件由数字学定义,具有磁盘数据库的底层存储拓扑。数字学为 AI(人工智能)/BI(商业智能)应用程序提供了一个有效的SQL(结构化查询语言)绑定。但是,网络视频录制、GUI(图形用户界面)缩略图和视频播放等功能通常需要类似POSIX(可移植操作系统接口,共享内存,子系统,以下简称POSIX)的服务,可以从服务器或视频录制应用程序访问。The components of a data cloud are defined by numerology, with the underlying storage topology of a disk database. Numerology provides an efficient SQL (Structured Query Language) binding for AI (Artificial Intelligence)/BI (Business Intelligence) applications. However, functions such as network video recording, GUI (Graphical User Interface) thumbnailing, and video playback usually require services like POSIX (Portable Operating System Interface, Shared Memory, Subsystem, hereinafter referred to as POSIX) that can be accessed from a server or video recording application Program access.
为此,还创建了一个基本上与POSIX兼容的绑定。此绑定名为cabinet(本申请中指柜),与其他实现中的文件和文件夹类似。最低要求的功能如下:文件创建和编写,文件打开和阅读,文件夹创造,文件夹打开和阅读,文件大小和创建、时间以及查询。A largely POSIX-compliant binding was also created for this purpose. This binding is named cabinet (meaning cabinet in this application) and is similar to files and folders in other implementations. The minimum required functions are as follows: file creation and writing, file opening and reading, folder creation, folder opening and reading, file size and creation, time, and query.
现有技术在没有完整的网络结构或电力崩溃的情况下,使用数据云创建视频流和编写视频记录的NVR(网络视频录像机)应用程序会出现中断或故障,云创建视频流和编写视频记录没有连续性,可靠性比较低。Existing technology NVR (Network Video Recorder) applications that use the data cloud to create video streams and write video recordings will experience interruptions or failures without a complete network structure or power failure, and the cloud to create video streams and write video records does not. Continuity and reliability are relatively low.
发明内容SUMMARY OF THE INVENTION
本发明实施例的目的在于提供一种数据云的柜模型系统,用于创建视频流和编写视频记录。The purpose of the embodiments of the present invention is to provide a data cloud cabinet model system for creating video streams and writing video records.
一种数据云的柜模型系统,其特征在于:A cabinet model system for data cloud, characterized in that:
S100查寻设备向配置分发网络发送查找目标数据的请求。查寻设备为用于发送查找目标数据请求的服务器,配置分发网络用于向查寻设备提供查找目标数据服务。S100, the search device sends a request to search for target data to the configuration distribution network. The search device is a server for sending a request for finding target data, and a distribution network is configured to provide the search device with a search target data service.
S110配置分发网络通过柜管理员获得目标数据的配置信息,柜模型系统包括柜管理员,柜管理员用于调取目标数据的配置信息。配置信息是目标数据在柜模型系统中的存储位置。S110 The configuration distribution network obtains the configuration information of the target data through the cabinet administrator. The cabinet model system includes the cabinet administrator, and the cabinet administrator is used to retrieve the configuration information of the target data. Configuration information is the storage location of target data in the cabinet model system.
S120根据配置信息生成文件路径。S120 generates a file path according to the configuration information.
S130所述柜管理员根据所述配置信息,获得当前云数据服务器,如果所述当前云数据服务器不可用,即所述当前云数据服务器无法调取所述配置信息,则所述柜管理员自动获得到下一个云数据服务器,直到所述柜管理员获得可用的云数据服务器为止,所述云数据服务器用于提供调取所述配置信息的服务。S130, the cabinet administrator obtains the current cloud data server according to the configuration information, and if the current cloud data server is unavailable, that is, the current cloud data server cannot retrieve the configuration information, the cabinet administrator automatically The next cloud data server is obtained until the cabinet administrator obtains an available cloud data server, and the cloud data server is used to provide a service for retrieving the configuration information.
S140云数据服务器找到目标数据存储时相对应的柜,柜为用于存储目标数据的硬盘插槽,硬盘插槽具有唯一确定的物理位置信息。物理位置信息用于提供硬盘卡槽的具体位置。When the S140 cloud data server finds the corresponding cabinet for storing the target data, the cabinet is a hard disk slot for storing the target data, and the hard disk slot has unique physical location information. The physical location information is used to provide the exact location of the hard disk slot.
S150利用预设规则对查寻设备的属性、物理位置信息以及文件路径进行计算,生成文件名称,用文件名称创建文件夹,将目标数据存储在文件夹中。其中,文件名称包含了查寻设备的属性、物理位置信息以及文件路径,预设规则用于根据查寻设备的属性、物理位置信息以及文件路径生成唯一确定的文件名。S150 calculates the attributes, physical location information and file path of the search device by using preset rules, generates a file name, creates a folder with the file name, and stores the target data in the folder. The file name includes the attributes, physical location information and file path of the search device, and the preset rule is used to generate a uniquely determined file name according to the attributes, physical location information and file path of the search device.
与现有技术相比,本发明的有益效果为:所有存储都可以从任何云数据服务器直接寻址。即使整个数据中心(AZ)都不在线,使用数据云的柜模型创建视频流和编写视频记录的NVR(network video recorder)应用程序永远不会出现故障。可靠性由99.999%提高到99.9999%,比现有技术的可靠性提高了一个数量级。Compared with the prior art, the beneficial effect of the present invention is that all storage can be directly addressed from any cloud data server. Even if the entire data center (AZ) is offline, NVR (network video recorder) applications that create video streams and write video recordings using the cabinet model of the data cloud will never fail. The reliability is increased from 99.999% to 99.9999%, which is an order of magnitude higher than the reliability of the prior art.
进一步优化为:查寻设备可以是物联网设备或无网查寻设备中任意至少一种。A further optimization is: the search device may be at least one of an Internet of Things device or a network-free search device.
采用上述技术方案,查寻设备在网络或电力崩溃的情况下都可以查询目标数据,避免出现故障。By adopting the above technical solution, the search device can search the target data even in the case of network or power failure, so as to avoid failure.
进一步优化为:配置信息包括目标数据的类型、编号、过滤器类型、图形界面过滤器类型、物理位置、路由器、服务器以及磁盘槽位的信息。Further optimization is: configuration information includes target data type, serial number, filter type, GUI filter type, physical location, router, server, and disk slot information.
采用上述技术方案,通过配置信息,查寻设备可准确查找到存储的目标数据。By adopting the above technical solution, through the configuration information, the search device can accurately find the stored target data.
进一步优化为:物理位置信息为目标数据的所在存储位置的区域信息,物理位置信息包括可用区域、区域、扇区、层数、地区、经度以及纬度。Further optimization is: the physical location information is the area information of the storage location of the target data, and the physical location information includes available area, area, sector, number of layers, region, longitude and latitude.
采用上述技术方案,唯一确定了目标数据的存储位置。With the above technical solution, the storage location of the target data is uniquely determined.
进一步优化为:柜存储若干个文件,文件由区段组成,区段跨越若干个文件。Further optimization is: the cabinet stores several files, the files are composed of sections, and the sections span several files.
采用上述技术方案,文件由区段组成,区段跨越若干个文件,体系结构是完全通用的,创建文件的成本低、查询方便快速。With the above technical solution, the file is composed of sections, and the section spans several files, the system structure is completely general, the cost of creating the file is low, and the query is convenient and fast.
进一步优化为,柜向若干个文件提供存储空间,柜在存储空间中用大写字母作前缀。Further optimization is that the cabinet provides storage space for several documents, and the cabinet is prefixed with a capital letter in the storage space.
采用上述技术方案,方便标识文件。By adopting the above technical solution, it is convenient to identify files.
进一步优化为:存储空间的所有条目都代表柜的物理位置。Further optimization is: all entries of the storage space represent the physical location of the cabinet.
采用上述技术方案,确定了柜的唯一性。By adopting the above technical solution, the uniqueness of the cabinet is determined.
进一步优化为:文件在柜组中可跨越4个数据中心进行存储。Further optimization is: files can be stored across 4 data centers in the cabinet group.
采用上述技术方案,柜组允许文件数据中心存储。With the above technical solution, the cabinet group allows the storage of files in the data center.
进一步优化为:区段文件指隐形区段文件,对隐形区段文件可进行编码,当进行查询访问时,隐形区段文件自动呈现。It is further optimized as follows: the segment file refers to the invisible segment file, the invisible segment file can be encoded, and the invisible segment file is automatically presented when query access is performed.
采用上述技术方案,实现自动生成文件,自动呈现隐形区段文件。By adopting the above technical solution, the automatic file generation is realized, and the invisible segment file is automatically presented.
进一步优化为:文件连接任意数量的配置分发网络。Further optimization is: the file is connected to any number of configuration distribution networks.
采用上述技术方案,整个程序保持连续运行,不报告错误,可靠性提高了一个数量级。By adopting the above technical solution, the whole program keeps running continuously, no errors are reported, and the reliability is improved by an order of magnitude.
附图说明Description of drawings
图1实施例的流程示意图;The schematic flow chart of the embodiment of Fig. 1;
图2为实施例的柜管理员示意图;2 is a schematic diagram of a cabinet manager of an embodiment;
图3为实施例的柜组实例示意图;3 is a schematic diagram of an example of a cabinet group of an embodiment;
图4为实施例的文件生成示意图;4 is a schematic diagram of file generation of an embodiment;
图5为数据存储与读取的示意图;Fig. 5 is the schematic diagram of data storage and reading;
图6为存储数据到配置分发网络的数字命理图。Figure 6 is a numerology diagram for storing data into a configuration distribution network.
具体实施方式Detailed ways
本发明实施例的目的在于提供一种数据云的柜模型系统,用于创建视频流和编写视频记录。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a data cloud cabinet model system for creating video streams and writing video records. The specific technical solutions are as follows:
一种数据云的柜模型系统,用于创建视频流和编写视频记录,如图1所示,具体的流程为:A data cloud cabinet model system for creating video streams and writing video records, as shown in Figure 1. The specific process is:
S100查寻设备向配置分发网络发送查找目标数据的请求。查寻设备为用于发送查找目标数据请求的服务器,配置分发网络用于向查寻设备提供查找目标数据服务。S100, the search device sends a request to search for target data to the configuration distribution network. The search device is a server for sending a request for finding target data, and a distribution network is configured to provide the search device with a search target data service.
S110配置分发网络通过柜管理员获得目标数据的配置信息,柜模型系统包括柜管理员,柜管理员用于调取目标数据的配置信息。配置信息是目标数据在柜模型系统中的存储位置。S110 The configuration distribution network obtains the configuration information of the target data through the cabinet administrator. The cabinet model system includes the cabinet administrator, and the cabinet administrator is used to retrieve the configuration information of the target data. Configuration information is the storage location of target data in the cabinet model system.
S120根据配置信息生成文件路径。S120 generates a file path according to the configuration information.
S130所述柜管理员根据所述配置信息,获得当前云数据服务器,如果所述当前云数据服务器不可用,即所述当前云数据服务器无法调取所述配置信息,则所述柜管理员自动获得到下一个云数据服务器,直到所述柜管理员获得可用的云数据服务器为止,所述云数据服务器用于提供调取所述配置信息的服务。S130, the cabinet administrator obtains the current cloud data server according to the configuration information, and if the current cloud data server is unavailable, that is, the current cloud data server cannot retrieve the configuration information, the cabinet administrator automatically The next cloud data server is obtained until the cabinet administrator obtains an available cloud data server, and the cloud data server is used to provide a service for retrieving the configuration information.
S140云数据服务器找到目标数据存储时相对应的柜,柜为用于存储目标数据的硬盘插槽,硬盘插槽具有唯一确定的物理位置信息。物理位置信息用于提供硬盘卡槽的具体位置。When the S140 cloud data server finds the corresponding cabinet for storing the target data, the cabinet is a hard disk slot for storing the target data, and the hard disk slot has unique physical location information. The physical location information is used to provide the exact location of the hard disk slot.
S150利用预设规则对查寻设备的属性、物理位置信息以及文件路径进行计算,生成文件名称,用文件名称创建文件夹,将目标数据存储在文件夹中。其中,文件名称包含了查寻设备的属性、物理位置信息以及文件路径,预设规则用于根据查寻设备的属性、物理位置信息以及文件路径生成唯一确定的文件名。S150 calculates the attributes, physical location information and file path of the search device by using preset rules, generates a file name, creates a folder with the file name, and stores the target data in the folder. The file name includes the attributes, physical location information and file path of the search device, and the preset rule is used to generate a uniquely determined file name according to the attributes, physical location information and file path of the search device.
所有存储都可以从任何云数据服务器直接寻址。即使整个数据中心(AZ) 都不在线,使用数据云的柜模型创建视频流和编写视频记录的NVR(network video recorder)应用程序一直保持连续性,永远不会出现故障。所有的数据存储和读取都是连续性的,不间断的,可靠性由99.999%提高到99.9999%,比现有技术的可靠性提高了一个数量级。All storage is directly addressable from any cloud data server. Even if the entire data center (AZ) is offline, NVR (network video recorder) applications that create video streams and write video recordings using the cabinet model of the data cloud are always continuous and never fail. All data storage and reading are continuous and uninterrupted, and the reliability is increased from 99.999% to 99.9999%, which is an order of magnitude higher than the reliability of the existing technology.
虚拟文件夹和文件机制称为柜。它为以下内容提供了一个符合POSIX名称空间:一个摄像机的视频流文件夹、每一个视频流文件、每一个视频区段的文件、缩略图图册的文件夹、缩略图的文件以及对人脸的历史访问记录。The virtual folder and file mechanism is called a cabinet. It provides a POSIX-compliant namespace for the following: a video stream folder for a camera, a file for each video stream, a file for each video segment, a folder for thumbnail albums, a file for thumbnails, and a file for faces historical access records.
此外,应用程序可以与柜类型相关联,其中包括:一个写路径上的GPU筛选器、自定义元数据展示和存储、相关组件的自动生成以及自定义的图形用户界面展示。Additionally, applications can be associated with cabinet types, which include: a GPU filter on the write path, custom metadata presentation and storage, auto-generation of related components, and custom GUI presentation.
存储对象键由A-H列组合定义,如图6所示,所有列都是CDN中的数字列,类似于标准产品代码,扩展名包括实际环境中的属性,如纬度和经度。The storage object key is defined by the combination of A-H columns, as shown in Figure 6, all of which are numeric columns in the CDN, similar to standard product codes, with extensions including attributes in the actual environment, such as latitude and longitude.
这是一个标准层次结构(列A-D),它定义了一个磁盘或挂载点,但是没有路径名的概念(比如C:ProgamFiles),因为文件夹的层次结构字符串不容易通过 SQL查询。在本发明中,路径名称源自数字学,其中列E-H对应于传统层次结构中的单个文件夹。This is a standard hierarchy (columns A-D) that defines a disk or mount point, but has no notion of pathnames (like C:ProgamFiles), because the folder hierarchy string is not easily queried via SQL. In the present invention, path names are derived from numerology, where columns E-H correspond to individual folders in a traditional hierarchy.
由于文件夹是派生的,并且名称空间是虚拟的,所以还可以扩展柜概念,以包含媒体流中的各个区段。例如,如果支持200万台摄像机,并将视频保存一个月,每个视频区段平均14秒,则有4000亿个惟一路径名,至少比现有技术大一个数量级。Since folders are derived and namespaces are virtual, the concept of cabinets can also be extended to include individual segments in a media stream. For example, if 2 million cameras are supported, and video is kept for a month, with an average of 14 seconds per video segment, there are 400 billion unique pathnames, which is at least an order of magnitude larger than the state-of-the-art.
与广泛分布式的CDN相结合,柜模型系统还意味着所有存储都可以从任何云服务器直接寻址。Combined with a widely distributed CDN, the cabinet model system also means that all storage is directly addressable from any cloud server.
柜管理员通过物理联网设备控制柜,多个柜形成柜组。柜存储若干个文件,文件由区段组成,区段跨越若干个文件,文件由区段组成,区段跨越若干个文件。体系结构是完全通用的,创建文件的成本低、查询方便快速。Cabinet administrators control cabinets through physical networking equipment, and multiple cabinets form cabinet groups. A cabinet stores several files, a file consists of sections, a section spans several files, a file consists of sections, and a section spans several files. The architecture is completely general, the cost of creating files is low, and the query is convenient and fast.
柜向若干个文件提供存储空间,柜在存储空间中用大写字母作前缀,在 POSIX名称空间中,柜按照惯例用大写字母数字作前缀。例如,相机元文件夹拥有前缀CM_,相机媒体流拥有前缀CF_。Cabinets provide storage space for several files, cabinets are prefixed with uppercase letters in storage spaces, and in POSIX namespaces, cabinets are by convention prefixed with uppercase alphanumerics. For example, the camera meta folder has the prefix CM_ and the camera media stream has the prefix CF_.
对象的路径名根据对象的不同而不同,如下:The pathname of an object varies from object to object, as follows:
CF_<fid>_<cabinet>是一个媒体文件CF_<fid>_<cabinet> is a media file
CEF_<extid>_<fid>_<cabinet>是一个媒体片段文件CEF_<extid>_<fid>_<cabinet> is a media fragment file
CER_<extid>_<extid>_<fid>_<cabinet>是一个时间范围文件CER_<extid>_<extid>_<fid>_<cabinet> is a time range file
CM_<cabinet>是文件夹CM_<cabinet> is the folder
<fid>是Linux历元格式的8位十六进制数字。<extid>是一个12位的十六进制数字,为了惟一性,它还包含第二个粒度的1/65536。<fid> is an 8-digit hexadecimal number in Linux epoch format. <extid> is a 12-digit hexadecimal number that also contains 1/65536 of the second granularity for uniqueness.
因此,名称空间中的所有条目都代表柜的物理位置(包括3D位置),加上一个时间戳。由于是物联网,所有的实体都直接用空间/时间表示。方便标识文件。存储空间的所有条目都代表柜的物理位置,确定了柜的唯一性。Therefore, all entries in the namespace represent the physical location of the cabinet (including the 3D location), plus a timestamp. Since it is the Internet of Things, all entities are directly represented in space/time. Easy to identify files. All entries in the storage space represent the physical location of the cabinet and determine the uniqueness of the cabinet.
如图5所示,创建一个NVR(网络视频录像机)文件的过程包括以下步骤:As shown in Figure 5, the process of creating an NVR (Network Video Recorder) file includes the following steps:
NVR连接到CDN(配置分发网络),CDN提供柜管理员。NVR is connected to CDN (Configuration Distribution Network), CDN provides cabinet administrator.
2.柜管理员对应4个数据中心的4个云服务器,定义为柜组。2. The cabinet administrator corresponds to the 4 cloud servers in the 4 data centers and is defined as a cabinet group.
3.媒体文件根据它所在的AZ(数据中心)和时间索引命名,例如 VF_1a2b3000_0_30_1_1_1。3. The media file is named according to its AZ (data center) and time index, eg VF_1a2b3000_0_30_1_1_1.
4.由文件名衍生出柜实例。4. Derive the out-of-the-box instance from the file name.
5.柜文件夹是自动生成的。5. Cabinet folders are automatically generated.
阅读一个NVR文件的过程包括以下步骤:The process of reading an NVR file includes the following steps:
1.通过摄像头的位置信息和时间范围信息搜索并且缩小所需查找的视频源范围。1. Search and narrow down the range of video sources to be searched through the location information and time range information of the camera.
2.柜管理员在其柜组中查找主柜实例2. The cabinet administrator finds the master cabinet instance in his cabinet group
3.通过opt|az|reg|seg来查找磁盘,其中opt为类型,az为可用区域,reg为区域,seg为扇区。3. Find the disk by opt|az|reg|seg, where opt is the type, az is the available area, reg is the area, and seg is the sector.
4.按存储路径:area|zn|fl|cam|lat|in|c1|c2|router查找文件夹。其中area 为地区,zn|为区域,fl为成熟,cam为摄像头编号,lat为经度,in为纬度,c1 为过滤器类型,c2为图形界面过滤器类型,router为路由器。4. Find the folder according to the storage path: area|zn|fl|cam|lat|in|c1|c2|router. Where area is the area, zn| is the area, fl is the maturity, cam is the camera number, lat is the longitude, in is the latitude, c1 is the filter type, c2 is the GUI filter type, and router is the router.
5.名称空间包括数据中心唯一标识和时间索引。5. The namespace includes the unique identifier of the data center and the time index.
6.如果NVR不可用,则自动切换到柜组中定义的下一个可用数据中心,重复步骤4。6. If the NVR is unavailable, it will automatically switch to the next available data center defined in the cabinet group, repeat
预设规则:柜管理员在表格中由每个纵列表示,如图2所示,第3行显示了一个示例柜管理员。摄像头的纬度/经度和仰角由列I、J和G指定。GPU和 GUI类由列K和列L表示。父元磁盘由列A-D表示。组成了柜管理员在表格中的用处。柜管理员定义了一个物联网设备(例如摄像头)的配置定义和数据存储在数据中心的主位置与备份位置。图1展示一个设备实例,其opt(类型) 为cam(摄像头),az(可用区域)编号为0,reg(区域)为1,sect(扇区) 为1,area(地区)为1,zone(区域)为1,floor(层数)为1,cam(摄像头编号)为1,lat(经度)为34.2540882,lng(维度)为108.9423662,c1(过滤器类型)为g(GPU),c2(图形界面过滤器类型)为face(人脸),以及router (路由器),nid(服务器id)和slot(磁盘槽位)的信息。Pre-set rules: Cabinet keeper is represented by each column in the table, as shown in Figure 2, and
文件在柜组中可跨越4个数据中心进行存储,柜组允许文件数据中心存储。如图3所示,第3-6行定义一个区域,表示为4个可用性区域(列B)。摄像头权限的柜实例在第8行定义,拥有为0的主可靠区域(第8行,第B列),以及第4-6行定义的备选区域。Files can be stored across 4 data centers in a cabinet group, and the cabinet group allows file data center storage. As shown in Figure 3, rows 3-6 define a zone, represented as 4 availability zones (column B). The cabinet instance for camera permissions is defined on
区段文件指隐形区段文件,对隐形区段文件可进行编码,文件可以由区段组成,区段可以跨不同的文件原始文件。例如“VER_1a2b3000_1ac2s4000_0_30_1_1_1”是一个时间范围,它跨越了3个视频文件,跨越了2个数据中心。通常,时间范围的选择将是一个很短的周期,不会跨越多个文件,但是体系结构是完全通用的。当进行查询访问时,隐形区段文件自动呈现,实现自动生成文件,自动呈现隐形区段文件。The segment file refers to the invisible segment file. The invisible segment file can be encoded. The file can be composed of segments, and the segment can span different original files of the file. For example "VER_1a2b3000_1ac2s4000_0_30_1_1_1" is a time range that spans 3 video files and spans 2 data centers. Typically, the timeframe selection will be a short period that won't span multiple files, but the architecture is completely generic. When query access is performed, the invisible segment file is automatically presented, so as to realize the automatic generation of the file and the automatic presentation of the invisible segment file.
柜从文件的路径名派生,在创建第一个媒体文件时自动创建文件夹,如图 4所示,柜管理员(5.1)对应着最多4个扇区级磁盘,最多4个数据中心(5.2)。复制目录结构将会很麻烦,而且成本很高。The cabinet is derived from the path name of the file, and a folder is automatically created when the first media file is created, as shown in Figure 4, the cabinet manager (5.1) corresponds to a maximum of 4 sector-level disks, and a maximum of 4 data centers (5.2). ). Copying the directory structure would be cumbersome and expensive.
柜实例(5.1)可以从文件路径名(5.4)派生出来,柜文件夹名(5.5)也可以。在创建第一个媒体文件时自动创建文件夹。管理成本低,实现了隐式创建。The cabinet instance (5.1) can be derived from the file pathname (5.4), as can the cabinet folder name (5.5). Folders are automatically created when the first media file is created. Low management cost and implicit creation.
文件连接任意数量的配置分发网络服务,文件连接可靠性高。The file connection can be configured to distribute any number of network services, and the file connection reliability is high.
配置分发网络服务器指被记录的物理联网设备提供管理柜员服务,在失去整个数据中心的情况下,确保记录是连续,没有错误的情况。The configuration distribution network server refers to the physical networked equipment being recorded to provide management teller services, in the event of the loss of the entire data center, to ensure that the recording is continuous and error-free.
文件生成的步骤包括以下步骤:如图4和图6所示,The steps of file generation include the following steps: as shown in Figure 4 and Figure 6,
S101文件连接到任意数量的配置分发网络。S101 files connect to any number of configuration distribution networks.
S102配置分发网络在云服务器上提供最多4个云磁盘。The S102 configuration distribution network provides up to 4 cloud disks on the cloud server.
S103创建文件,而云服务器失败,云服务器切换到另一个服务器,创建新文件。S103 creates a file, and the cloud server fails, and the cloud server switches to another server to create a new file.
S104继续执行S101—S103。继续运行文件生成,不报告错误,在没有整个数据中心的情况下,可靠性提高了一个数量级。S104 continues to execute S101-S103. File generation continues to run, no errors are reported, and reliability improves by an order of magnitude without an entire data center.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010163225.4A CN111367866B (en) | 2020-03-10 | 2020-03-10 | Cabinet model system of data cloud |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010163225.4A CN111367866B (en) | 2020-03-10 | 2020-03-10 | Cabinet model system of data cloud |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111367866A true CN111367866A (en) | 2020-07-03 |
| CN111367866B CN111367866B (en) | 2022-02-08 |
Family
ID=71207346
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010163225.4A Active CN111367866B (en) | 2020-03-10 | 2020-03-10 | Cabinet model system of data cloud |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111367866B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103237046A (en) * | 2013-02-25 | 2013-08-07 | 中国科学院深圳先进技术研究院 | Distributed file system supporting mixed cloud storage application and realization method thereof |
| CN103297496A (en) * | 2012-03-02 | 2013-09-11 | 国际商业机器公司 | Method and system of enhanced storage quota management for cloud computing system |
| US20130238553A1 (en) * | 2010-10-28 | 2013-09-12 | Sk Telecom Co., Ltd. | Cloud computing system and data synchronization method |
| CN104618482A (en) * | 2015-02-02 | 2015-05-13 | 浙江宇视科技有限公司 | Cloud data access method, server, traditional storage device and architecture |
| CN105095103A (en) * | 2015-08-25 | 2015-11-25 | 曙光云计算技术有限公司 | Storage device management method and device used for cloud environment |
| CN108431763A (en) * | 2016-03-10 | 2018-08-21 | 微软技术许可有限责任公司 | Pass through the multiple cloud storage devices of network service management |
| CN109271113A (en) * | 2018-09-28 | 2019-01-25 | 武汉烽火众智数字技术有限责任公司 | A kind of data management system and method based on cloud storage |
-
2020
- 2020-03-10 CN CN202010163225.4A patent/CN111367866B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130238553A1 (en) * | 2010-10-28 | 2013-09-12 | Sk Telecom Co., Ltd. | Cloud computing system and data synchronization method |
| CN103297496A (en) * | 2012-03-02 | 2013-09-11 | 国际商业机器公司 | Method and system of enhanced storage quota management for cloud computing system |
| CN103237046A (en) * | 2013-02-25 | 2013-08-07 | 中国科学院深圳先进技术研究院 | Distributed file system supporting mixed cloud storage application and realization method thereof |
| CN104618482A (en) * | 2015-02-02 | 2015-05-13 | 浙江宇视科技有限公司 | Cloud data access method, server, traditional storage device and architecture |
| CN105095103A (en) * | 2015-08-25 | 2015-11-25 | 曙光云计算技术有限公司 | Storage device management method and device used for cloud environment |
| CN108431763A (en) * | 2016-03-10 | 2018-08-21 | 微软技术许可有限责任公司 | Pass through the multiple cloud storage devices of network service management |
| CN109271113A (en) * | 2018-09-28 | 2019-01-25 | 武汉烽火众智数字技术有限责任公司 | A kind of data management system and method based on cloud storage |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111367866B (en) | 2022-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11330055B2 (en) | Data retrieval in a hybrid cloud | |
| CN104813321B (en) | The content and metadata of uncoupling in distributed objects store the ecosystem | |
| US8095558B2 (en) | System for logging and reporting access to content using unique content identifiers | |
| US11064025B2 (en) | File replication using file content location identifiers | |
| US10831380B2 (en) | System and method of collision management in a namespace of a storage system | |
| JP6448555B2 (en) | Content class for object storage indexing system | |
| US11914585B2 (en) | Servicing queries of a hybrid event index | |
| US8843445B2 (en) | Storage system for storing data in a plurality of storage devices and method for same | |
| US10917260B1 (en) | Data management across cloud storage providers | |
| US9298797B2 (en) | Preserving content item collection data across interfaces | |
| Salmon et al. | Perspective: Semantic Data Management for the Home. | |
| US20170193039A1 (en) | Servicing queries of an event log | |
| JP2013545162A (en) | System and method for integrating query results in a fault tolerant database management system | |
| US11106625B2 (en) | Enabling a Hadoop file system with POSIX compliance | |
| US8332497B1 (en) | Generic resynchronization between persistent management store and dynamic configuration | |
| CN102708165A (en) | Method and device for processing files in distributed file system | |
| US11533377B2 (en) | Hybrid cloud | |
| US12437005B2 (en) | File metadata service | |
| US20050216428A1 (en) | Distributed data management system | |
| US9231957B2 (en) | Monitoring and controlling a storage environment and devices thereof | |
| US20250028850A1 (en) | Hybrid cloud | |
| CN111367866B (en) | Cabinet model system of data cloud | |
| WO2023028332A1 (en) | Partitioning, processing, and protecting media data | |
| US12111946B2 (en) | Hybrid cloud | |
| CN101438287B (en) | Method and apparatus for migrating content from a storage system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Cabinet Model System of Data Cloud Effective date of registration: 20221207 Granted publication date: 20220208 Pledgee: Xianyang financing guarantee Limited by Share Ltd. Pledgor: Xi'an Okayun Data Technology Co.,Ltd. Registration number: Y2022610000796 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20231206 Granted publication date: 20220208 Pledgee: Xianyang financing guarantee Limited by Share Ltd. Pledgor: Xi'an Okayun Data Technology Co.,Ltd. Registration number: Y2022610000796 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Cabinet Model System for Data Cloud Effective date of registration: 20231211 Granted publication date: 20220208 Pledgee: Xianyang financing guarantee Limited by Share Ltd. Pledgor: Xi'an Okayun Data Technology Co.,Ltd. Registration number: Y2023610000758 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20220208 Pledgee: Xianyang financing guarantee Limited by Share Ltd. Pledgor: Xi'an Okayun Data Technology Co.,Ltd. Registration number: Y2023610000758 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Cabinet Model System for Data Cloud Granted publication date: 20220208 Pledgee: Xianyang financing guarantee Limited by Share Ltd. Pledgor: Xi'an Okayun Data Technology Co.,Ltd. Registration number: Y2024980055408 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right |