CN112199332A - Distributed explosion-proof inspection robot cluster intelligent file management method and system - Google Patents

Distributed explosion-proof inspection robot cluster intelligent file management method and system Download PDF

Info

Publication number
CN112199332A
CN112199332A CN202011112100.5A CN202011112100A CN112199332A CN 112199332 A CN112199332 A CN 112199332A CN 202011112100 A CN202011112100 A CN 202011112100A CN 112199332 A CN112199332 A CN 112199332A
Authority
CN
China
Prior art keywords
file
explosion
files
inspection robot
proof
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.)
Pending
Application number
CN202011112100.5A
Other languages
Chinese (zh)
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.)
Hangzhou Ansen Intelligent Information Technology Co ltd
Original Assignee
Hangzhou Ansen Intelligent Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ansen Intelligent Information Technology Co ltd filed Critical Hangzhou Ansen Intelligent Information Technology Co ltd
Priority to CN202011112100.5A priority Critical patent/CN112199332A/en
Publication of CN112199332A publication Critical patent/CN112199332A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J11/00Manipulators not otherwise provided for
    • B25J11/002Manipulators for defensive or military tasks
    • B25J11/0025Manipulators for defensive or military tasks handling explosives, bombs or hazardous objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Manipulator (AREA)

Abstract

The invention belongs to the technical field of host computer software of an explosion-proof inspection robot, and relates to a distributed explosion-proof inspection robot cluster intelligent file management method and system. The method comprises the following steps: acquiring and classifying the file types of a plurality of explosion-proof inspection robots; acquiring first configuration information and FTP configuration data of each file; judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list; and processing the files in the first file list. The method is applied to the distributed explosion-proof inspection robot, the cluster file management is met, and the file management can be realized by calling a plurality of explosion-proof inspection robot nodes through interfaces; the server can manage the robot files, and the robots can also manage the files in an interactive mode, so that the management of the multi-node cluster files is really realized.

Description

Distributed explosion-proof inspection robot cluster intelligent file management method and system
Technical Field
The invention belongs to the technical field of host computer software of an explosion-proof inspection robot, and relates to a distributed explosion-proof inspection robot cluster intelligent file management method and system.
Background
The software of the explosion-proof inspection robot is not completely equipped in the current industry, the files of the inspection robot are not required to be managed, so that the number of the files of a single inspection robot is large and complicated after the single inspection robot runs for a long time, the time consumption of the file retrieval number is long, the maintenance cost is high, and the use is not flexible. And the current single inspection robot has limited operation scenes, and the distributed explosion-proof inspection robot is a trend of future development and is very necessary for multi-node cluster intelligent file management.
The existing file management only performs conventional operations such as compression, decompression, addition, deletion, modification, viewing and the like on files, and can only meet the simple management of the files on a single robot. Meanwhile, after a single-node robot runs for a long time, the redundancy of the files is large, the synchronization can not be intelligently carried out, and the requirement of cluster type file management among multiple robots and multiple nodes can not be met.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides an intelligent file management method and system for a distributed explosion-proof inspection robot cluster, and realizes the cluster-type file management of a multi-node robot.
In order to achieve the purpose, the invention provides the following technical scheme:
in one aspect, the invention provides an intelligent file management method for a distributed explosion-proof inspection robot cluster, which is applied to a plurality of explosion-proof inspection robots, wherein the explosion-proof inspection robots are communicated with a server, and the file management method comprises the following steps:
acquiring and classifying the file types of a plurality of explosion-proof inspection robots;
acquiring first configuration information and FTP configuration data of each file;
judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and processing the files in the first file list.
Further, before processing the files in the first file list, it is required to check whether the processed files exist in the first file list, and if so, the processed files are removed and placed in a second file list.
Further, the second configuration information of the file configuration includes information of file types and different priorities of file directories, check period, delay processing time, whether to upload, whether to delete, and whether to clear the subdirectories.
Furthermore, the FTP configuration data is issued by a server, and a user with authority configures the FTP configuration data.
On the other hand, the invention also provides a distributed explosion-proof inspection robot cluster intelligent file management system, which is applied to a plurality of explosion-proof inspection robots, wherein the explosion-proof inspection robots are communicated with a server, and the file management system comprises:
the acquisition and classification module is used for acquiring and classifying the file types of the explosion-proof inspection robot;
the management module is used for reading the configuration files to acquire first configuration information and FTP configuration data of each file;
the judging module is used for judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and the processing module is used for processing the files in the first file list.
Further, the processing module is further configured to,
before processing the files in the first file list, whether the processed files exist in the first file list needs to be checked, if so, the processed files are removed and are placed in a second file list.
Further, the second configuration information of the file configuration includes information of file types and different priorities of file directories, check period, delay processing time, whether to upload, whether to delete, and whether to clear the subdirectories.
Furthermore, the management module is used for issuing various file management interfaces to realize the management of each file.
Further, the management of each file is realized by viewing, deleting, uploading, modifying, compressing and decompressing each file, and the management of each type of file is also realized.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects: the distributed explosion-proof inspection robot cluster intelligent file management method is applied to a distributed explosion-proof inspection robot, can realize intelligent and flexible management of robot files, and can flexibly synchronize the robot files: firstly, classifying different file types and file directories; then setting intelligent synchronous priority, checking time period, file delay processing and the like; then setting whether the file is uploaded or deleted, and the like; and finally, setting whether to clear the empty folder under the directory and delaying clearing time. In addition, the method can be used for calling any node successfully networked in the release process except for realizing a conventional method (such as deleting, modifying, checking, compressing, decompressing and the like of a file).
Therefore, the method meets the requirement of cluster file management, and file management can be realized by calling a plurality of explosion-proof inspection robot nodes through interfaces; the robot file management system can manage the robot files through the server, and can also manage the files among the robots in an interactive mode, so that the management of multi-node cluster files is really realized.
Drawings
FIG. 1 is a flow chart of a distributed explosion-proof inspection robot cluster intelligent file management method provided by the invention;
FIG. 2 is a schematic diagram of a configuration file provided by the present invention;
FIG. 3 is a schematic flow chart of a single node provided by the present invention;
FIG. 4 is a multi-node interaction diagram provided by the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings and examples.
Examples
Referring to fig. 1, the method for intelligently managing files of a distributed explosion-proof inspection robot cluster provided by the invention is applied to a plurality of explosion-proof inspection robots, the explosion-proof inspection robots are communicated with a server, and the method for managing files comprises the following steps: classifying all files under a single node, and uploading in batches; and opening processing interfaces for external calling, such as uploading, modifying, backing up, deleting and the like of the single file.
Acquiring first configuration information and FTP configuration data of each file;
judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and processing the files in the first file list.
Further, before processing the files in the first file list, it is necessary to check whether the processed files exist in the first file list, and if so, the processed files are removed and placed in the second file list.
As an alternative or preferred embodiment, the second configuration information of the file configuration includes information of file type and different priorities of file directories, check period, delay processing time, whether to upload, whether to delete, and whether to clear the subdirectories.
Furthermore, FTP configuration data is issued by a server, and a user with authority configures the FTP configuration data; on the premise that the configuration is successful in networking of the robot, the configuration can be configured on any node which is successful in networking, and files can be synchronized in the nodes which are successful in networking.
On the other hand, the invention also provides a distributed explosion-proof inspection robot cluster intelligent file management system, which is applied to a plurality of explosion-proof inspection robots, wherein the explosion-proof inspection robots are communicated with a server, and the file management system comprises:
the acquisition and classification module is used for acquiring and classifying the file types of the explosion-proof inspection robot;
the management module is used for reading each configuration file to acquire first configuration information and FTP configuration data of each file;
the judging module is used for judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and the processing module is used for processing the files in the first file list.
Further, the processing module is further configured to,
before processing the files in the first file list, whether the processed files exist in the first file list needs to be checked, if so, the processed files are removed and are placed in the second file list.
Furthermore, the management module is used for issuing various file management interfaces to realize the management of each file. Referring to fig. 3, the specific steps of the management module implementing the file management function under a single node (robot node or server node) are as follows: and reading the configuration file information, and processing the files after classification by a processing module. Meanwhile, a processing interface of a single file is opened, and the single file can be operated and processed.
The file data management module can be pulled up by the service after the configuration is started;
the file data management module reads each configuration file class to further obtain the configuration content of the file, and the file data management module is combined with the file management module shown in fig. 2: acquiring a file management configuration file, setting different priorities of file types and file directories, checking period, delay processing time, uploading, deleting, removing subdirectories and the like, and configuring and uploading the configuration file to a networking node; ftp configuration data (for synchronization data) is read from the local database.
The file management check class reads first configuration information of all files in the configuration directory, compares the first configuration information with second configuration information (check period, delay processing time, uploading and deleting), puts files needing to be processed (uploading and deleting) into a first file list (files needing to be processed), and puts files meeting the configuration information into a second file list (processed files).
And the file management processing class is used for performing related operations (uploading and deleting) on the first file list (files to be processed), checking whether the files are processed before the operations, removing the processed files from the first file list and placing the files into the second file list.
In addition, the file data management class externally issues various interfaces (a log management interface, an image management interface, a video management interface, an audio management interface, a sample management interface and the like), so that the files can be viewed, deleted and uploaded, and the files of various types can be managed (such as stopping intelligent synchronization of the log files). The file management interface is placed in Dictionary, so that the file class inheriting the interface is managed in a unified way; different types of files inherit the file management interface to realize file types (such as picture management type, log management type, audio management type and the like), and if new file types exist in the follow-up process, only one file type needs to be added.
The specific steps of the management module for implementing the file management function in multiple nodes are shown in fig. 4:
taking the robot 1 node as an example, the robot 1 node may be intelligently synchronized with itself or called by itself, and may also perform intelligent synchronization with the server node and other robot nodes (robot 2 node and robot 3 node), which may be realized mainly by the configuration file of fig. 2.
The robot node can manage the file data management module, a certain type of file in the file management and even a certain file through an interface issued by the file data management module, and a server and other robot nodes which are successfully networked can be called through the interface issued by the robot.
Taking the server node as an example, the server node may perform intelligent synchronization to itself, may also be called by itself, and may also perform intelligent synchronization to robot nodes (robot 1 node, robot 2 node, and robot 3 node), which may be realized mainly by the configuration file of fig. 2.
The distributed explosion-proof inspection robot cluster intelligent file management system can adapt to different nodes, the server nodes are the same as the robot nodes, intelligent synchronization of the distributed explosion-proof inspection robot cluster intelligent file management system to other robots or other robots can be achieved, and the distributed explosion-proof inspection robot cluster intelligent file management system and other robots can also perform corresponding operation on files through published interfaces.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention.
It is to be understood that the present invention is not limited to what has been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A distributed explosion-proof inspection robot cluster intelligent file management method is applied to a plurality of explosion-proof inspection robots, and is characterized in that the explosion-proof inspection robots are communicated with a server, and the file management method comprises the following steps:
acquiring and classifying the file types of a plurality of explosion-proof inspection robots;
acquiring first configuration information and FTP configuration data of each file;
judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and processing the files in the first file list.
2. The distributed explosion-proof inspection robot cluster intelligent file management method according to claim 1, wherein before processing the files in the first file list, it is checked whether the processed files exist in the first file list, and if so, the processed files are removed and placed in a second file list.
3. The distributed intelligent file management method for the explosion-proof inspection robot cluster according to claim 1, wherein the second configuration information of the file configuration comprises information of file types and different priorities of file directories, inspection periods, delay processing time, uploading or deleting or clearing subdirectories.
4. The distributed explosion-proof inspection robot cluster intelligent file management method according to claim 1, wherein the FTP configuration data is issued by a server and configured by authorized users.
5. Distributed explosion-proof routing inspection robot cluster intelligent file management system is applied to a plurality of explosion-proof routing inspection robots, and a plurality of explosion-proof routing inspection robots communicate with a server, its characterized in that, file management system includes:
the acquisition and classification module is used for acquiring and classifying the file types of the explosion-proof inspection robot;
the management module is used for reading the configuration files to acquire first configuration information and FTP configuration data of each file;
the judging module is used for judging whether the acquired first configuration information of each file is matched with the second configuration information configured by each file; if yes, the file is placed in the second file list, and if not, the file is placed in the first file list;
and the processing module is used for processing the files in the first file list.
6. The distributed explosion-proof inspection robot cluster intelligent file management system of claim 5, wherein the processing module is further configured to,
before processing the files in the first file list, whether the processed files exist in the first file list needs to be checked, if so, the processed files are removed and are placed in a second file list.
7. The distributed explosion-proof inspection robot cluster intelligent file management system according to claim 5, wherein the second configuration information of the file configuration includes information of file types and different priorities of file directories, inspection periods, delay processing time, whether to upload, whether to delete, and whether to clear subdirectories.
8. The distributed explosion-proof inspection robot cluster intelligent file management system according to claim 5, wherein the management module is used for issuing a plurality of file management interfaces to realize management of each file.
9. The distributed explosion-proof inspection robot cluster intelligent file management system according to claim 8, wherein the implementation of the management of the files includes viewing, deleting, uploading, modifying, compressing, decompressing the files, and also includes management of files of various types.
CN202011112100.5A 2020-10-16 2020-10-16 Distributed explosion-proof inspection robot cluster intelligent file management method and system Pending CN112199332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112100.5A CN112199332A (en) 2020-10-16 2020-10-16 Distributed explosion-proof inspection robot cluster intelligent file management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112100.5A CN112199332A (en) 2020-10-16 2020-10-16 Distributed explosion-proof inspection robot cluster intelligent file management method and system

Publications (1)

Publication Number Publication Date
CN112199332A true CN112199332A (en) 2021-01-08

Family

ID=74009455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112100.5A Pending CN112199332A (en) 2020-10-16 2020-10-16 Distributed explosion-proof inspection robot cluster intelligent file management method and system

Country Status (1)

Country Link
CN (1) CN112199332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117708382A (en) * 2023-10-12 2024-03-15 广州信邦智能装备股份有限公司 Inspection data processing method, intelligent factory inspection system and related medium program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060104220A1 (en) * 2004-11-11 2006-05-18 Naoko Yamazaki Method and apparatus for managing configuration information, and configuration information managing system using the apparatus
WO2017080362A1 (en) * 2015-11-11 2017-05-18 中兴通讯股份有限公司 Data managing method and device
CN107483250A (en) * 2017-08-21 2017-12-15 郑州云海信息技术有限公司 Decentralized configuration management method, device and the system for realizing decentralized configuration management
CN108650320A (en) * 2018-05-15 2018-10-12 北京中创腾锐技术有限公司 Isomorphism cascade device configuration file synchronous method under a kind of cluster environment
CN111736809A (en) * 2020-06-24 2020-10-02 杭州安森智能信息技术有限公司 Distributed robot cluster network management framework and implementation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060104220A1 (en) * 2004-11-11 2006-05-18 Naoko Yamazaki Method and apparatus for managing configuration information, and configuration information managing system using the apparatus
WO2017080362A1 (en) * 2015-11-11 2017-05-18 中兴通讯股份有限公司 Data managing method and device
CN107483250A (en) * 2017-08-21 2017-12-15 郑州云海信息技术有限公司 Decentralized configuration management method, device and the system for realizing decentralized configuration management
CN108650320A (en) * 2018-05-15 2018-10-12 北京中创腾锐技术有限公司 Isomorphism cascade device configuration file synchronous method under a kind of cluster environment
CN111736809A (en) * 2020-06-24 2020-10-02 杭州安森智能信息技术有限公司 Distributed robot cluster network management framework and implementation method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117708382A (en) * 2023-10-12 2024-03-15 广州信邦智能装备股份有限公司 Inspection data processing method, intelligent factory inspection system and related medium program

Similar Documents

Publication Publication Date Title
US10754835B2 (en) High-efficiency deduplication module of a database-management system
WO2018093094A1 (en) Data replacation technique in database management system
CN100504873C (en) Method and system for managing an archived file system
CN107797767B (en) One kind is based on container technique deployment distributed memory system and its storage method
US8341119B1 (en) Flexible copies having different sub-types
US20070288835A1 (en) Apparatus, computer readable medium, data signal, and method for document management
WO2013106079A1 (en) Hybrid data management system and method for managing large, varying datasets
US20150046503A1 (en) System and method for capturing, managing, and distributing computer files
CN103605809A (en) Data synchronization method
US8335900B2 (en) Converting backup copies of objects created using a first backup program to backup copies created using a second backup program
US20080154986A1 (en) System and Method for Compression of Data Objects in a Data Storage System
US20140136496A1 (en) System, method and non-transitory computer readable storage medium for supporting network file accessing and versioning with multiple protocols in a cloud storage server
WO2021141294A1 (en) Data archiving method and system using hybrid storage of data
WO2014056371A1 (en) Method and apparatus for determining range of files to be migrated
CN113486095A (en) Civil aviation air traffic control cross-network safety data exchange management platform
CN112199332A (en) Distributed explosion-proof inspection robot cluster intelligent file management method and system
CN112764830B (en) Data migration method and system applied to localization substitution
WO2021141292A1 (en) Method and system for hybrid cloud-based real-time data archiving
CN115826828B (en) Network disk file operation method, device, terminal and storage medium
TWI571754B (en) Method for performing file synchronization control, and associated apparatus
CN109189467B (en) Software version control method under distributed environment
US10635128B1 (en) Storing backup data using snapshots
US10657105B2 (en) Method and computer system for sharing objects
US9846703B2 (en) Page-based metadata system for distributed filesystem
CN112597250A (en) Track traffic data relay station implementation method based on DataX data synchronization

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210108