Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network mapping method and device for files

A technology of file network and mapping method, which is applied in the direction of file system, electrical components, special data processing applications, etc., can solve the problems of prolonging the overall time, difficulty in ensuring the security of file transmission, and "anonymous pipe" technology not supporting cross-machine calls, etc. , to achieve the effect of reducing time consumption

Active Publication Date: 2016-10-12
CHINA UNIONPAY
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When processing files in the data center, it is often necessary to perform operations such as decompression, transmission and processing of a large number of compressed files (such as database backup, restoration, sharing, etc.). The traditional operation process needs to be carried out step by step, and the latter step needs to wait for the previous step to be implemented. Complete, otherwise the operation cannot be performed, the process will take up a lot of disk space, and is very time-consuming
[0003] In the existing file transfer technology, you can use NFS, Samba, etc. to realize cross-machine file sharing, but this method needs to deploy Server and Client programs, and requires root privileges to create and mount file systems, and most of them are plain text transfers, which are difficult Ensure the security of file transfers
[0004] Alternatively, you can use sftp, ftp, etc. to transfer files across machines, and then perform subsequent processing, but these operations must be implemented serially, which will prolong the overall time, and will occupy disk space and network bandwidth resources during the process
[0005] Furthermore, file streams can be processed concurrently using the "anonymous pipe" technology, but many user applications do not support the "anonymous pipe" technology, and the "anonymous pipe" technology does not support cross-machine calls

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network mapping method and device for files
  • Network mapping method and device for files
  • Network mapping method and device for files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0027] Embodiments of the present invention provide a file network mapping method and device. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0028] An embodiment of the present invention provides a file network mapping method, such as Figure 1A and Figure 1B As shown, the file network mapping method mainly includes the following steps:

[0029] Step S101: Create a FIFO_IN file in the source host, and log...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a network mapping method and device for files. The network mapping method for the files comprises the following steps: an FIFO_IN file is created in a source host, and a target host logs in to the source host through SSH; an FIFO_OUT file is created in the target host; the FIFO_IN file is redirected to the FIFO_OUT file through an SSH tunnel and a named pipe, so that a mapping relationship between the FIFO_IN file and the FIFO_OUT file is established; a source file or a source process output is written into the FIFO_IN file in the source host; the source file or the source process output is mapped from the FIFO_IN file to the FIFO_OUT file through the mapping relationship; and a target process in the target host reads the source file or the source process output from the FIFO_OUT file. The method and the device provided by the invention have the advantages that the security of cross-host file mapping and transmission can be improved; meanwhile, disk space is not occupied during actual transmission, and multiple processes can be executed at the same time, so that time consumption caused by disk accessing is reduced.

Description

technical field [0001] The present invention relates to data sharing technology, in particular to a file network mapping method and device. Background technique [0002] When processing files in the data center, it is often necessary to perform operations such as decompression, transmission and processing of a large number of compressed files (such as database backup, restoration, sharing, etc.). The traditional operation process needs to be carried out step by step, and the latter step needs to wait for the previous step to be implemented. Complete, otherwise the operation cannot be performed, and the process will take up a lot of disk space and is very time-consuming. [0003] In the existing file transfer technology, you can use NFS, Samba, etc. to realize cross-machine file sharing, but this method needs to deploy Server and Client programs, and requires root privileges to create and mount file systems, and most of them are plain text transfers, which are difficult Ensu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06F3/06G06F5/06G06F17/30
CPCG06F3/0608G06F3/067G06F5/06G06F16/10H04L63/029H04L67/06
Inventor 郝建明张炼路敬原金凡张园园
Owner CHINA UNIONPAY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products