CN104735099B - A kind of distal end file reading and system - Google Patents
A kind of distal end file reading and system Download PDFInfo
- Publication number
- CN104735099B CN104735099B CN201310701451.3A CN201310701451A CN104735099B CN 104735099 B CN104735099 B CN 104735099B CN 201310701451 A CN201310701451 A CN 201310701451A CN 104735099 B CN104735099 B CN 104735099B
- Authority
- CN
- China
- Prior art keywords
- file
- management server
- console management
- server
- monitoring module
- 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.)
- Active
Links
Classifications
-
- 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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/178—Techniques for file synchronisation in file systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of distal end file reading and system, it is related to technical field of the computer network.By setting console management server in a network, monitoring module is set on each file server, passes through http protocol realization intercommunications between console management server and each monitoring module.Server, which is almost given tacit consent to, opens http agreements, and is not required to input username and password every time, only need to pass through console management server, File read operation can be carried out to being mounted with the file server of monitoring module, preferably, can be realized by the way of browser, interface is simple to operation.Monitoring module verifies the legitimacy of console management server before the file for performing console management server reads instruction, ensures to carry out the security of distal end file process link based on http agreements.Distal end file the present invention provides simple general-purpose reads solution, can greatly improve the reading efficiency of big file, improves enterprises production efficiency.
Description
Technical field
The present invention relates to technical field of the computer network, more particularly to a kind of distal end file reading and system.
Background technology
Have much for view as text class software, as UltrEdit, Notepad++ and operating system are carried
Notepad, more order etc., known to most of user and has used.
Existing technology checks generally there is two ways to big file, and one kind is soft using Notepad, UltrEdit etc.
Part opens file, and another kind is to connect upper terminal using third party's management software, " order such as more cat " carries out for percussion manually
Fileview.
But both modes for big file check there are it is certain the problem of, to UltrEdit, notepad load
Need to expend a large amount of memories during file, if the File Open of a upper GB is at a relatively high to the performance requirement of machine, opening speed
Slowly, can not be opened when file is excessive, when file is excessive, opening speed is slow, or causes system seemingly-dead;The more lives of operating system band
Order be can split screen display available, but without friendly operable interface.When being safeguarded to the progress daily record of numerous softwares, just have many
Inconvenience.
Daily record can be managed concentratedly in this case, quick check retrieves daily record, can quickly read large log file
Software just there is an urgent need to occur in the application management of enterprise-level, to improve efficient reading efficiency of the server to big file,
To improve enterprises production efficiency.
The content of the invention
In view of the above problems, the embodiment of the present invention provides a kind of distal end file reading and system, enabling is based on
The framework of simple general-purpose realizes the efficient reading efficiency to big file.
The embodiment of the present invention employs following technical solution:
One embodiment of the invention provides a kind of distal end file reading, sets console management service in a network
Device, sets monitoring module, also, each monitoring module of console management server carry, institute in a network on each file server
The method of stating includes:
Console management server receives file read request;
Destination address of the console management server in the file read request, obtains file where destination address
File structure in server;
Console management server is according to the file destination selected in the file structure, to destination address place
File server sends file and reads instruction;
After monitoring module in the file server receives file reading instruction, file destination is performed and reads behaviour
Make, and result will be read and return to console management server.
The method is further included and interacted between console management server and each monitoring module by http agreements;Tool
Body,
Destination address of the console management server in the file read request, obtains destination address place
File structure in file server is specially:Destination of the console management server in the file read request
Location, the file structure in the file server of destination address place is obtained by http agreements;
It is described to file server where the destination address send file and read instruction be specially:By http agreements to
File server where the destination address sends file and reads instruction;
It is described to be specially by reading result return console management server:Result will be read by http agreements and return to control
Platform management server processed.
Destination address of the console management server in the file read request, obtains destination address place
File structure step in file server further includes:
The step of monitoring module in file server carries out security verification to console management server.
Monitoring module in the file server carries out security verification to console management server and is specially:
IP address legitimacy of the monitoring module using md5 encryption algorithm to console management server in file server
Verified.
The method further includes:
When the IP address change of console management server, console management server is sent comprising IP address after change
Synch command give each monitoring module;
After each monitoring module receives synch command, the IP address for the console management server that itself is preserved is updated to
IP address after change;And/or
When the IP address change of monitoring module, console management server updates the IP of the monitoring module of itself preservation
Address is IP address after change.
The console management server provides interactive interface using browser mode, specifically:
Console management server receives file read request by browser;
The file structure got is presented by browser in console management server;Also, received by browser
The file destination selected in the file structure;And
Console management server is presented the reading result that monitoring module returns by browser.
It is described that read operation is performed to file destination, and result will be read and return to console management server, specifically include:
Judge whether the file destination is super large file, if meeting super large file condition, using dividing page read algorithm
The file destination is subjected to paging processing, console management server is returned using paging handling result as result is read;If
Super large file condition is unsatisfactory for, then directly returns to console management server using the file destination as result is read.
In addition, the embodiment of the present invention, which additionally provides a kind of distal end file, reads system, the system comprises console management
Server, multiple file servers, and the monitoring module being arranged in each file server;Console management server carry
Each monitoring module;
The console management server includes:
Receiving module, for receiving file read request;
Acquisition module, for the destination address in the file read request, file clothes where obtaining destination address
The file structure being engaged in device;
Instruction issues module, the file destination selected for basis in the file structure, to the destination address institute
File, which is sent, in file server reads instruction;
Monitoring module in the file server, after receiving file reading instruction, institute is performed to file destination
Read operation is stated, and result will be read and return to console management server.
Interacted between the console management server and each monitoring module by http agreements;
The console management server provides interactive interface using browser mode, for receive file read request,
Present get file structure, receive in the file structure select file destination and, by monitoring module return
Result is read to be presented.
The monitoring module further includes:
Authentication unit, for receiving the file structure in file server where the acquisition module obtains destination address
When, security verification is carried out to console management server;
The console management server further includes the first synchronization module, for when the IP address of console management server
During change, the synch command for including IP address after change is sent to each monitoring module;
Each monitoring module further includes the second synchronization module, after receiving synch command, by the console of itself preservation
The IP address of management server is updated to IP address after change;
The console management server further includes the 3rd synchronization module, for when monitoring module IP address change when,
The IP address for updating the monitoring module of itself preservation is IP address after change;
The monitoring module further includes judging unit and paging processing unit;
The judging unit, for judging whether the file destination is super large before performing read operation to file destination
File, if meeting super large file condition, starts paging processing unit,;If being unsatisfactory for super large file condition, directly by described in
File destination is as reading result;
The paging processing unit, for using dividing page read algorithm that the file destination is carried out paging processing, will divide
Page handling result is as reading result.
As it can be seen that distal end file reading provided in an embodiment of the present invention and system, by setting console in a network
Management server, and monitoring module is set on each file server, in console management server and each file server
Monitoring module between pass through http protocol realization intercommunications.Since the use of http agreements is most extensive, Servers-all is almost given tacit consent to
It will open, and need not every time connect and all input username and password, only need to pass through console management server, it is possible to
File reading is carried out to all file servers for being mounted with monitoring module, it is preferred that console management server can use
The mode of browser realizes that interface is simple to operation, just as reading local file.Further, monitoring module is performing
Before the file of console management server reads instruction, the legitimacy of console management server can be verified, from
And ensure to carry out the security of distal end file process link based on http agreements.Further, monitoring module can also judge
Whether file destination is super large file, if meeting super large file condition, transfers a point page read algorithm, and paging reading result is returned
Return console management server;If being unsatisfactory for super large file condition, directly control is returned to using file destination as result is read
Platform management server.As it can be seen that the telefile an embodiment of the present invention provides a kind of simple general-purpose reads solution, and energy
It is enough that paging reading is carried out to big file, the reading efficiency of big file can be greatly improved, improves enterprises production efficiency.
Brief description of the drawings
Fig. 1 is a kind of distal end file reading flow chart provided by one embodiment of the present invention;
Fig. 2 is a kind of distal end file reading flow chart that another embodiment of the present invention provides;
Fig. 3 is a kind of instantiation flow chart of distal end file reading provided in an embodiment of the present invention;
Fig. 4 reads system block diagram for a kind of distal end file provided by one embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to Fig. 1, the embodiment of the present invention provides a kind of distal end file reading, sets console management clothes in a network
Business device, sets monitoring module, also, each monitoring module of console management server carry in a network on each file server.
It is as follows to implement step:
S101:Console management server receives file read request.
S102:Destination address of the console management server in file read request, obtains text where destination address
File structure in part server.
S103:Console management server is according to the file destination selected in file structure, to the destination address institute
File, which is sent, in file server reads instruction.
S104:After monitoring module in file server receives file reading instruction, file destination is performed and reads behaviour
Make, and result will be read and return to console management server.
As it can be seen that a kind of distal end file reading provided in an embodiment of the present invention, by setting console pipe in a network
Server is managed, and monitoring module is set on each file server, each monitoring module of console management server carry.Due to
Intercommunication between console management server and each monitoring module, so as to only present a paper in console management server
All file servers for being mounted with monitoring module can be carried out file reading, without file takes one by one again by read requests
Business device is read out, so that the distal end file for providing a kind of simple general-purpose reads solution, it is possible to increase more are serviced
The reading efficiency of device file.
Referring to Fig. 2, an embodiment of the present invention provides a kind of distal end file reading, sets console management in a network
Server, sets monitoring module in a network on each file server, also, console management server carry respectively monitors mould
Block, method provided in an embodiment of the present invention specifically include following steps:
S201:Console management server receives file read request.
Specifically, console management server uses browser mode to provide the interactive interface with user request end, that is, uses
Family logs in the console management server page by browser, on this page input file read requests.
S202:Destination address of the console management server in file read request, mesh is obtained by http agreements
Address where file structure in file server.
Specifically, console management server browser backstage, purpose is parsed in the file read request received
Address, i.e. this file read request to be directed to which platform or which platform file server.Again with where destination address
Information exchange is established between monitoring module in file server, and obtains the file structure on corresponding file server, i.e.,
The file structure of respective file server is obtained, and is presented on the browser of console management server, for user terminal in text
The file destination to be read is selected in mark structure.
Preferably, the file structure of acquisition can be analogous to the explorer of windows, include file and document
Form.User's custom is so more conform with, improves ease for use and user experience.
Further, this step console management server is built with the monitoring module in file server where destination address
Vertical connection, when realizing information exchange, the monitoring module further included in archive server carries out safety to console management server
Property verification the step of.
In the specific implementation, the monitoring module in file server uses md5 encryption algorithm to console management server
IP address legitimacy is verified.
It should be noted that although http agreements, using most extensively, usual server, which is almost given tacit consent to, can all open, and not
Connection every time is needed all to input username and password, but for the sake of security, in practical applications, in general, server is general
Strange IP address will not be allowed arbitrarily to be accessed by http agreements, opened although this is also why file server is usually all given tacit consent to
Http agreements are led to, but the prior art needs file server inquiry user request end one by one in the implementation(Strange access originator)
Allow the agreement used, such as ftp or sftp agreements etc., and corresponding username and password, to ensure the safety accessed
Property.It is safety since console management server is for the monitoring module in each file server in the embodiment of the present invention
, when console management server between http protocol and each monitoring module by interacting, each monitoring module is to console
The IP address of management server carries out legitimate verification, realizes secure access.Certainly, in practical applications, each user request end
In access control platform management server, secure log can be realized by modes such as user name passwords, further improve safety
Property.That is, after certain user request end only needs once safety to log in, can be to the console management server institute carry
The file on file server where each monitoring module is read out, greatly improve convenience that distal end file reads and
Efficiency.
Each user request end have submitted file read request in console management server.
S203:Console management server is upward by http agreements according to the file destination selected in file structure
File server where stating destination address sends file and reads instruction.
User terminal can be in the file structure that console management server browser is presented, the selected target to be read text
Part and to the file destination reading of content to be carried out, console management server backstage in file structure according to selecting
File destination and reading of content, generation file read instruction, and by http agreements to file service where above-mentioned destination address
Device sends file and reads instruction.
Specifically, can in console management server preset web project, for according to file destination and reading of content
Generate corresponding file and read instruction.After console management server receives selected file destination and reading of content, just
Web project can be called to generate this file and read instruction.
It should be noted that the file destination selected in file structure can be one or multiple, Ke Yixuan
Fixed is one or more file destinations on a file server, and what can also be selected is more on multiple file servers
A file destination.
If selected is multiple file destinations on multiple file servers, console management server respectively will be raw
Into file read instruction and send to corresponding file server.
S204:After monitoring module in file server receives file reading instruction, file destination is performed and reads behaviour
Make, and result will be read by http agreements and return to console management server.
Specifically, in monitoring module in each file server, it is built-in with for for the specific of various reading of content
The web project of realization, after monitoring module, which receives file, reads instruction, in this monitoring module in built-in web project, is adjusted
The web project of corresponding current reading of content is taken, to realize the specific read operation to current goal file.
Further, the monitoring module in file server, will read result and returns to console management by http agreements
After server, console management server can will read result and be presented on browser interface so that result is more directly perceived clear
It is clear, improve ease for use and user experience.
Further, distal end file reading provided in an embodiment of the present invention can also include console management server
The step that IP address is synchronous between each monitoring module, specifically includes:
When the IP address change of console management server, console management server is sent comprising IP address after change
Synch command give each monitoring module;
After each monitoring module receives synch command, the IP address for the console management server that itself is preserved is updated to
IP address after change.
And/or when the IP address change of monitoring module, console management server updates the monitoring mould of itself preservation
The IP address of block is IP address after change.
Preferably, in the concrete realization, each monitoring module can also be recorded to file service where it embodiment of the present invention
Each file on device performs the history read, which can periodically synchronize to console management server,
It can also will read history according to the reading history synchronic command of the console management server received and be synchronized to console pipe
Manage server.
Further, the monitoring module in file server performs read operation to file destination, and will read result
Console management server is returned, is specifically included:Judge whether the file destination is super large file, if meeting super large file bar
Part, then using dividing page read algorithm that the file destination is carried out paging processing, return using paging handling result as result is read
Return console management server;If being unsatisfactory for super large file condition, directly returned using the file destination as result is read
Console management server.
Preferably, judge whether the file destination is that the method for super large file is specially:
By reading file size, text size is calculated, when file size equals or exceeds a certain preset value such as
During 500M, then it is assumed that be super large text.
A kind of implementation of point page read algorithm can be specifically:
1. take file size;
2. define file cache;
3. file size is read in definition every time;Define file reading of content storage array;
4. judge that file reads whether length is more than array length, if length is read in definition is more than current array size,
Array doubles and reads Documents Comparison, is maximized and generates new array, and new array assignment is cached to definition;
5. judging read direction, determine to read point;
6. if reading point is more than zero, reads line number and be more than zero;
A) read whether point is more than file reading length, its difference is arranged to read point, carries out file reading;
B) read whether point is less than file reading length, will be read from initial position;
7. read data length in caching;
8. all characters in searching loop caching;
9. often traveling through a total number of characters of character adds one;Total line number is judged by newline;Subtract one in the presence of line feed line number;
10. the total number of characters of traversal, if total number of characters is more than the length of file reading of content storage array, in file reading
Appearance storage array length is double to be taken greatly with total number of characters, and as the length of new array, original array is stored in new array;Will be new
Array assignment give former array;
11. it is current to read file point by cache size when line number is more than zero, and file cache traversal is completed, read text
Part;5 are returned to continue to execute;
12. when line number is equal to zero, judge whether file size is equal to record and reads point;
A) it is less than file and reads point, returns to file content, lower one page sign;
B) it is equal to file and reads point, returns to file content;
C) point is read if more than file, returns to file content, page up sign.
As it can be seen that a kind of distal end file reading provided in an embodiment of the present invention, by setting console pipe in a network
Server is managed, and monitoring module is set on each file server, in console management server and each file server
Pass through http protocol realization intercommunications between monitoring module.Since the use of http agreements is most extensive, Servers-all is almost given tacit consent to all
It can open, and need not every time connect and all input username and password, only need to pass through console management server, it is possible to right
All file servers for being mounted with monitoring module carry out file reading, it is preferred that console management server can use clear
The mode of device of looking at realizes that interface is simple to operation, just as reading local file.Further, monitoring module is performing control
Before the file of platform management server processed reads instruction, the legitimacy of console management server can be verified, so that
Ensure the security based on http agreements progress distal end file process link.Further, monitoring module can also judge mesh
Mark file whether be super large file, if meeting super large file condition, transfer a point page read algorithm, using paging handling result as
Read result and return to console management server;If being unsatisfactory for super large file condition, directly tied file destination as reading
Fruit returns to console management server.As it can be seen that the telefile an embodiment of the present invention provides a kind of simple general-purpose reads solution
Scheme, and paging reading can be carried out to big file, the reading efficiency of big file can be greatly improved, improves enterprise's production effect
Rate.
Referring to Fig. 3, an a kind of instantiation of distal end file reading provided in an embodiment of the present invention, wherein, control
Platform management server console processed, each monitoring module are realized by the way of cyberdog watchdog.
Console management server console:One web project, installed in the center at whole network, ensures with every
Platform watchdog can intercommunication, watchdog is carried out on carry instruction transmission and maintenance function.
Watchdog:On the server for needing to supervise, the text that console management server console is sent is performed
Part reads instruction.
Communicated between console and watchdog using http agreements, http agreement uses are most extensive, own
Server, which is almost given tacit consent to, can all open, and need not every time connect and all input username and password, and by all supervision
Watchdog be all uniformly mounted to console, only the console pages need to be logged in by browser, it is possible to all peaces
The server for having filled watchdog carries out unified document manipulation, and interface is simple to operation, just as the local file of operation
Equally, it is possible to achieve the read operation of file.
In this example, it is preferred that when being interacted between console and each operation module, DES enciphering and deciphering algorithms are taken, to
Further improve the security of network transmission.
That is, this programme is by using http agreements, it is possible to reduce user downloads corresponding fastening means, input pair
The username and password answered goes the process of connection.And those services for being mounted with watchdog are managed collectively using console
Device, has the servers of all supervision one unified interface can operate the file system for handling substantial amounts of server internal,
And interface uses web modes directly in browser access, it is not necessary to any fastening means of user installation, the reading to file
Just as reading local file, interface is simple to operation.And each read of file can all be recorded, and also
Historical record can be checked at any time.The specific implementation of this example is shown in Fig. 3, details are not described herein again.
Referring to Fig. 4, the embodiment of the present invention provides a kind of distal end file and reads system, which includes console management service
Device 400, multiple file servers 500, and the monitoring module 600 being arranged in each file server;Console management service
Each monitoring module 600 of device carry.
Above-mentioned console management server 400 includes:
Receiving module 401, for receiving file read request.
Acquisition module 402, for the destination address in above-mentioned file read request, obtains file where destination address
File structure in server.
Instruction issues module 403, the file destination selected for basis in above-mentioned file structure, to above-mentioned destination address
Place file server sends file and reads instruction.
Monitoring module 600 in file server 500, after receiving file reading instruction, performs file destination
The read operation, and result will be read and return to console management server 400.
Interacted between above-mentioned console management server and each monitoring module by http agreements;The console pipe
Reason server provide interactive interface using browser mode, for receive file read request, presentation get file structure,
Receive in the file structure select file destination and, by monitoring module return reading result presented.
Preferably, above-mentioned monitoring module 600 further includes:
Authentication unit, for receiving the file structure in file server where the acquisition module obtains destination address
When, security verification is carried out to console management server.
The console management server further includes the first synchronization module, for when the IP address of console management server
During change, the synch command for including IP address after change is sent to each monitoring module.
Correspondingly, each monitoring module further includes the second synchronization module, after receiving synch command, itself is preserved
The IP address of console management server is updated to IP address after change.
In addition, console management server further includes the 3rd synchronization module, for when the IP address change of monitoring module,
The IP address for updating the monitoring module of itself preservation is IP address after change.
Preferably, the monitoring module further includes judging unit and paging processing unit:
The judging unit, for judging whether the file destination is super large before performing read operation to file destination
File, if meeting super large file condition, starts paging processing unit,;If being unsatisfactory for super large file condition, directly by described in
File destination is as reading result.
The paging processing unit, for using dividing page read algorithm that the file destination is carried out paging processing, will divide
Page handling result is as reading result.
The console service implement body provides interactive interface using browser mode, specifically:
Console server receives file read request by browser;Console server is presented by browser and obtained
The file structure arrived;Also, the file destination selected in the file structure and reading of content are received by browser;With
And console server is presented the reading result that operation module returns by browser.
It should be noted that the operation principle and processing procedure of the modules or unit in present system embodiment
The associated description in embodiment of the method shown in above-mentioned Fig. 1, Fig. 2 and Fig. 3 is may refer to, details are not described herein again.
As it can be seen that a kind of distal end file provided in an embodiment of the present invention reads system, by setting console pipe in a network
Server is managed, and monitoring module is set on each file server, in console management server and each file server
Pass through http protocol realization intercommunications between monitoring module.Since the use of http agreements is most extensive, Servers-all is almost given tacit consent to all
It can open, and need not every time connect and all input username and password, only need to pass through console management server, it is possible to right
All file servers for being mounted with monitoring module carry out file reading, it is preferred that console management server can use clear
The mode of device of looking at realizes that interface is simple to operation, just as reading local file.Further, monitoring module is performing control
Before the file of platform management server processed reads instruction, the legitimacy of console management server can be verified, so that
Ensure the security based on http agreements progress distal end file process link.Further, monitoring module can also judge mesh
Mark whether file is super large file, if meeting super large file condition, transfer a point page read algorithm, paging is read result returns
Console management server;If being unsatisfactory for super large file condition, directly console is returned to using file destination as result is read
Management server.As it can be seen that the telefile an embodiment of the present invention provides a kind of simple general-purpose reads solution, and can
Paging reading is carried out to big file, the reading efficiency of big file can be greatly improved, improves enterprises production efficiency.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in the embodiment of invention, employ " first ",
Printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can manage
The printed words such as solution " first ", " second " are not defined quantity and execution order.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (9)
1. a kind of distal end file reading, it is characterised in that console management server is set in a network, in a network respectively
Monitoring module, also, each monitoring module of console management server carry are set on file server, the described method includes:
Console management server receives file read request;
Destination address of the console management server in the file read request, obtains file service where destination address
File structure in device;
Console management server is according to the file destination selected in the file structure, file where to the destination address
Server sends file and reads instruction;
After monitoring module in the file server receives file reading instruction, read operation is performed to file destination, and
Result will be read and return to console management server;
It is described that read operation is performed to file destination, and result will be read and return to console management server, specifically include:
Judge whether the file destination is super large file, if meeting super large file condition, using dividing page read algorithm by institute
State file destination and carry out paging processing, console management server is returned using paging handling result as result is read;It is if discontented
Sufficient super large file condition, then directly return to console management server using the file destination as result is read.
2. distal end file reading according to claim 1, it is characterised in that the method further includes console management
Interacted between server and each monitoring module by http agreements;Specifically, the console management server is according to institute
The destination address in file read request is stated, the file structure in file server where obtaining destination address is specially:Control
Destination address of the platform management server in the file read request, file where obtaining destination address by http agreements
File structure in server;
It is described to file server where the destination address send file and read instruction be specially:By http agreements to described
File server where destination address sends file and reads instruction;
It is described to be specially by reading result return console management server:Result will be read by http agreements and return to console
Management server.
3. distal end file reading according to claim 2, it is characterised in that the console management server according to
Destination address in the file read request, the file structure step obtained in the file server of destination address place are also wrapped
Include:
The step of monitoring module in file server carries out security verification to console management server.
4. distal end file reading according to claim 3, it is characterised in that the monitoring mould in the file server
Block carries out security verification to console management server:
Monitoring module in file server carries out the IP address legitimacy of console management server using md5 encryption algorithm
Verification.
5. distal end file reading according to claim 4, it is characterised in that the method further includes:
When console management server IP address change when, console management server send comprising change after IP address it is same
Step command gives each monitoring module;
After each monitoring module receives synch command, the IP address for the console management server that itself is preserved is updated to change
IP address afterwards;And/or
When the IP address change of monitoring module, console management server updates the IP address of the monitoring module of itself preservation
For IP address after change.
6. according to claim 1-5 any one of them distal end file reading, it is characterised in that the console management clothes
Business device provides interactive interface using browser mode, specifically:
Console management server receives file read request by browser;
The file structure got is presented by browser in console management server;Also, received by browser described
The file destination selected in file structure;And
Console management server is presented the reading result that monitoring module returns by browser.
7. a kind of distal end file reads system, it is characterised in that the system comprises console management server, multiple files to take
Business device, and the monitoring module being arranged in each file server;Each monitoring module of console management server carry;
The console management server includes:
Receiving module, for receiving file read request;
Acquisition module, for the destination address in the file read request, obtains file server where destination address
In file structure;
Instruction issues module, the file destination selected for basis in the file structure, text where to the destination address
Part server sends file and reads instruction;
Monitoring module in the file server, after receiving file reading instruction, the reading is performed to file destination
Extract operation, and result will be read and return to console management server;
The monitoring module further includes judging unit and paging processing unit;
The judging unit, for judging whether the file destination is super large text before performing read operation to file destination
Part, if meeting super large file condition, starts paging processing unit;If being unsatisfactory for super large file condition, directly by the mesh
File is marked as reading result;
The paging processing unit, for using divide page read algorithm by the file destination carry out paging processing, at paging
Result is managed as reading result.
8. distal end file according to claim 7 reads system, it is characterised in that the console management server with it is each
Interacted between monitoring module by http agreements;
The console management server provides interactive interface using browser mode, for receiving file read request, presenting
The file structure that gets, receive the file destination selected in the file structure and, the reading that monitoring module is returned
As a result presented.
9. the distal end file according to claim 7 or 8 reads system, it is characterised in that the monitoring module further includes:
Authentication unit, when obtaining the file structure in the file server of destination address place for receiving the acquisition module,
Security verification is carried out to console management server;
The console management server further includes the first synchronization module, for when the IP address change of console management server
When, the synch command for including IP address after change is sent to each monitoring module;
Each monitoring module further includes the second synchronization module, after receiving synch command, by the console management of itself preservation
The IP address of server is updated to IP address after change;
The console management server further includes the 3rd synchronization module, for when the IP address change of monitoring module, updating
The IP address for the monitoring module that itself is preserved is IP address after change.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310701451.3A CN104735099B (en) | 2013-12-18 | 2013-12-18 | A kind of distal end file reading and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310701451.3A CN104735099B (en) | 2013-12-18 | 2013-12-18 | A kind of distal end file reading and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104735099A CN104735099A (en) | 2015-06-24 |
CN104735099B true CN104735099B (en) | 2018-05-08 |
Family
ID=53458533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310701451.3A Active CN104735099B (en) | 2013-12-18 | 2013-12-18 | A kind of distal end file reading and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104735099B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109039804B (en) * | 2018-07-12 | 2020-08-25 | 武汉斗鱼网络科技有限公司 | File reading method and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9332058B2 (en) * | 2001-11-01 | 2016-05-03 | Benhov Gmbh, Llc | Local agent for remote file access system |
CN100351828C (en) * | 2002-06-06 | 2007-11-28 | 联想(北京)有限公司 | File access method based on a distributed file storage system |
CN100596353C (en) * | 2006-12-05 | 2010-03-31 | 阿里巴巴集团控股有限公司 | Method and system for providing log service |
CN101621405B (en) * | 2009-07-07 | 2012-02-29 | 中兴通讯股份有限公司 | Distributed type management monitoring system, monitoring method and establishing method thereof |
CN102387048B (en) * | 2011-10-25 | 2015-08-12 | 中兴通讯股份有限公司 | A kind of method for supervising for distributed file system and distributed file system |
CN104253832B (en) * | 2013-06-26 | 2018-01-09 | 北京神州泰岳软件股份有限公司 | Distal end file management method and system |
-
2013
- 2013-12-18 CN CN201310701451.3A patent/CN104735099B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104735099A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102821161B (en) | A kind of network security auditing method, Apparatus and system | |
US9444787B2 (en) | Non-intrusive method and apparatus for automatically dispatching security rules in cloud environment | |
CN102946440B (en) | Automatic cloud synchronization and recovery system based on cloud storage technology | |
CN104038510B (en) | The realization method and system of iOS system Transparent Proxy | |
CN103106216A (en) | Method and device of web page access | |
CN103944890A (en) | Virtual interaction system and method based on client/server mode | |
CN104253833B (en) | Remote processes operating method and system | |
CN102497395A (en) | Breakpoint unloading application control method | |
CN102291437A (en) | System and method for realizing application of cross-platform internet | |
CN106550052A (en) | A kind of data acquisition unit and method based on OPC UA | |
CN105530254A (en) | Data communication method between internal and external networks | |
CN102143218B (en) | Web access cloud architecture and access method | |
CN103685554A (en) | Upgrading method, device and system | |
CN108737471B (en) | Network access method and device | |
CN108737343B (en) | Method and device for realizing secure access to network | |
CN101924696A (en) | Be used for effectively realizing the system and method for enhanced router device | |
JP2017524314A (en) | Provision of router information according to programmatic interface | |
CN103281361A (en) | Personal cloud cooperation system and data management method | |
CN103166996A (en) | Self-adaptation method, device and system of hyper text transport protocol (HTTP) connection and hypertext transfer protocol secure (HTTPS) connection | |
CN102148839B (en) | Method, device and system for managing FTP (file transfer protocol) server | |
CN103401931B (en) | A kind of method and system for downloading file | |
CN106330994A (en) | User message publishing method and system | |
CN104253832B (en) | Distal end file management method and system | |
CN106993041A (en) | A kind of power marketing moves work data synchronous method | |
CN104735099B (en) | A kind of distal end file reading and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080 Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd. Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A Room 601 Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd. |