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

Method for realizing file reading and/or writing and data server

A data server and file reading technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., to reduce costs, improve security, and avoid illegal attacks

Inactive Publication Date: 2013-08-28
YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It solves the problem in the prior art that users need to master the proprietary functions of HDFS to complete file reading and writing, and has high technical requirements for users, and improves the security of the system

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 file reading and/or writing and data server
  • Method for realizing file reading and/or writing and data server
  • Method for realizing file reading and/or writing and data server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] 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.

[0055] Such as figure 2 A schematic flowchart of a method for realizing file reading and / or writing according to an embodiment of the present invention is shown, including:

[0056] Step S201: the first HDFS client receives the file reading information and / or file writing information sent by the client terminal;

[0057] Specifically, the first HDFS client is a preset HDFS client corresponding to the client terminal by default, and when the user needs to perform ...

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 embodiment of the invention discloses a method for realizing file reading and / or writing, comprising the following steps: a first hadoop distributed file system (HDFS) client receives file reading information and / or file writing information sent by a client terminal, wherein the first HDFS client is the preset HDFS client corresponding to the client terminal in default; the first HDFS client interacts with a name server according to the file reading information and / or file writing information and acquires file node information sent by the name server; and the first HDFS client finishes the file reading and / or writing according to a data server corresponding to the file node information. The embodiment of the invention further discloses the data server. According to the invention, the file reading and writing based on HDFS can be simply and quickly realized, and the storage of huge data amount is finished; and the method can be conveniently operated on common computers, thereby greatly improving the system compatibility.

Description

technical field [0001] The invention relates to the field of electronic communication, in particular to a method for realizing file reading and / or writing and a data server. Background technique [0002] Hadoop implements a distributed file system HDFS (Hadoop Distributed File System). HDFS has the characteristics of high fault tolerance and is designed to be deployed on low-cost hardware, and HDFS provides high transfer rates to access application data, suitable for applications with very large data sets. [0003] Such as figure 1 It shows a schematic structural diagram of a system for reading and writing files based on HDFS in the prior art. The system includes a client terminal, a name server (NameNode) and multiple data servers (DataNodes). The client terminal needs to be connected to the NameNode and all DataNodes , that is, it needs to interact with the NameNode and all DataNodes, and the client terminal must call the proprietary functions of HDFS to complete the rea...

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 Patents(China)
IPC IPC(8): G06F17/30H04L29/08
Inventor 荆宇
Owner YULONG COMPUTER TELECOMM SCI (SHENZHEN) 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