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

Method for realizing FTP access based on automatic code conversion in heterogeneous environment

An automatic coding and environmental technology, applied in electrical components, transmission systems, etc., can solve problems such as garbled file names, and achieve the effect of solving garbled characters and improving user experience.

Inactive Publication Date: 2015-09-16
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The default system encoding of Windows Server in the Chinese environment is GBK encoding, while Linux generally uses the more general UTF8 encoding as the default encoding of the system. The inconsistency of encoding in this heterogeneous environment will cause many problems
For the sake of simplicity, we assume that an FTP server is set up on Windows Server. Due to work reasons, we need to use the FTP client to access the FTP server on Windows Server under Linux. Due to the incompatibility between GBK encoding and UTF8 encoding, the FTP client on Linux will The file name containing Chinese characters seen on the terminal is garbled

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
  • Method for realizing FTP access based on automatic code conversion in heterogeneous environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be further described below in conjunction with specific embodiments according to the accompanying drawings of the description:

[0030] A method for accessing FTP through automatic code conversion in a heterogeneous environment. The method uses the interface provided by FUSE (FileSystem in UserSpace) to implement a custom user-mode file system Ftp_FS. Using Ftp_FS, the FTP space can be conveniently Mounted to the local file system, the user's access to the mount point directory will be automatically redirected to the FTP space.

[0031] Technical details are shielded from end users. Users only need to access the mount point directory like accessing local files to complete the process of reading and writing to the FTP server, which is very convenient.

[0032] The fuse user file system, as a loadable module, allows non-privileged users to create a fully functional file system without recompiling the kernel. The fuse module only provides the e...

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

Disclosed in the invention is a method for realizing file transfer protocol (FTP) access based on automatic code conversion in a heterogeneous environment. According to the method, an interface provided by a FUSE is used for realizing a self-defined user-state file system Ftp_FS; a FTP space unit is mounted to a local file system based on the Ftp_FS; and the access of a mounting point directory by the user is oriented to the FTP space unit again automatically. In the heterogeneous environment, a coding sub module of a Ftp_FS file system is used for mounting a FTP space unit to a local file system based on a specified code format; and an FTP client is used for carrying out accessing. According to the invention, because the FTP is mounted to the local file system, the terminal user can operate a file at an FTP server like the way of operating the local file, thereby improving the user experience. On the basis of intelligent transcoding, a problem of messy code caused by different coding in a heterogeneous environment can be solved.

Description

technical field [0001] The invention relates to the technical field of system architecture, in particular to a method for conveniently accessing FTP in a heterogeneous environment and supporting automatic code conversion. Background technique [0002] FTP, FTP-File Transfer Protocol, the file transfer protocol, is a protocol that is widely used in real life. The company can use FTP to build a knowledge sharing library, which is convenient for employees to download company documents and application software. Schools can set up an FTP server for the submission of student course design or for the distribution of teaching courseware. It is precisely because of the convenience, ease of use and powerful functions of FTP that the FTP protocol is very popular. Many operating systems are bundled with FTP components, and users can easily use these components to build FTP servers or access remote FTP servers. [0003] FTP has a wide range of uses. But generally you need to use a de...

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
IPC IPC(8): H04L29/08
CPCH04L67/06
Inventor 李占强辛国茂亓开元房体盈
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
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