CN108540532A - A kind of network file access method and terminal - Google Patents

A kind of network file access method and terminal Download PDF

Info

Publication number
CN108540532A
CN108540532A CN201810204827.2A CN201810204827A CN108540532A CN 108540532 A CN108540532 A CN 108540532A CN 201810204827 A CN201810204827 A CN 201810204827A CN 108540532 A CN108540532 A CN 108540532A
Authority
CN
China
Prior art keywords
file
network
access method
file access
network file
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
CN201810204827.2A
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.)
Chengdu Rong Xing Technology Co Ltd
Original Assignee
Chengdu Rong Xing 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 Chengdu Rong Xing Technology Co Ltd filed Critical Chengdu Rong Xing Technology Co Ltd
Priority to CN201810204827.2A priority Critical patent/CN108540532A/en
Publication of CN108540532A publication Critical patent/CN108540532A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security

Abstract

The invention discloses a kind of network file access method and terminals, monitor fixed port by ICP/IP protocol first;It waits for client to connect again and receives client file operation requests signaling;Each file operation requests of client are then responding to, completes and returns by corresponding window api functions.Traditional network file access method relies on application layer transport protocol, flow is complicated, the present invention can simplify network file access and save application layer transport protocol, accomplish that local file is consistent with network file browsing process, user can equally operate network file as local file, be not necessarily to any application layer transport protocol.

Description

A kind of network file access method and terminal
Technical field
The present invention relates to computer network communication technology field, more particularly to a kind of network file access method and Terminal.
Background technology
In the prior art, to the access of the access of file, especially network file, be usually directed to it is a variety of, such as patent text It offers
Network bookmark that CN102082760A is used, used by CN102332008A based on normative document access protocol File management method, the cloud text of the used server side duplicate removals with the unknowable encryption file of user of CN1033931156A Part system is not all detached from application layer transport protocol.
And the use of application layer transport protocol, inevitably result in communication complexity increase, response speed receive influence, Therefore, many scientific and technological authors start to wake up with a start exploration in area of agreement.
To solve the above-mentioned problems, the present invention proposes network file access method, can thoroughly simplify network file visit It asks and saves application layer transport protocol, accomplish that local file is consistent with network file browsing process.
Invention content
In order to achieve the above-mentioned object of the invention, the present invention provides following technical schemes:A kind of network file access method and Terminal includes the following steps:
Step 1:Establish the mapping relations of data:Windows functions are reflected by windows application pages file address It is mapped to local function;
Step 2:Document screening:Windows is intercepted when user initiates file access operation by windows API API judges that file type is local file or remote network file according to filename;
Step 3:Classification processing file:If it is local file, then distributes windowAPI functions and continue with, and return Handling result is transmitted to network opposite end server process, handling result is returned after server process if it is telefile.
Further, the step 1 includes:All load-on module page table file manipulation function addresses are traversed, and are replaced Change same parameter local function address into.
Further, the step 2 includes:Local function judges file type according to special string in filename, and Obtain server ip address and port.
Further, application program initiates file access operation by the windows api functions or STL of standard.
Further, the network file access method includes accessing skill based on the network file realized under ICP/IP protocol Art monitors fixed port by ICP/IP protocol, client is waited for connect and receive client file operation requests signaling, realizes text The monitoring of part access operation.
Further, when executing processing to file, file read-write is carried out using Data cache technology.
Further, statistics network interface card sends and receives byte number, and precentagewise settles accounts residual available bandwidth, and limiting server is every Second sends/receives byte number to realize bandwidth control.
Further, adaptive to carry out bandwidth control according to file size and file format.
Further, according to file size, remainder bytes number, file format, the visit capacity of server, bandwidth is adaptively carried out Control.
The present invention also provides a kind of network files to access terminal, and the network file accesses terminal and uses any one of the above Method realizes file access.
Because the present invention uses above-mentioned technical proposal, therefore has following advantageous effect:
The present invention proposes a kind of network file access method and terminal, by TCP/I P protocol listening fixed ports, etc. Wait for that client connects and receive client file operation requests signaling, each file operation requests channel at customer in response end is corresponding Window api functions are completed and are returned, and the byte number that statistics network interface card sends and receives, precentagewise settles accounts residual available bandwidth, The limiting server byte number per second sent and received can simplify network file access and save application layer to realize bandwidth control Transport protocol accomplishes that local file is consistent with network file browsing process, and user can be the same when local file by network file Operation is not necessarily to any application layer transport protocol.
Description of the drawings
Fig. 1 is the file access flow chart of the present invention.
Specific implementation mode
In order to those skilled in the art be better understood from the present invention technical characteristic, construction feature, realized purpose and Effect, present invention is further described in detail with following embodiment below in conjunction with the accompanying drawings, and described embodiment is only this Invention a part of the embodiment, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art exist The every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
The present invention proposes a kind of network file access method and terminal, is realized under a kind of P agreements based on TCP/I Network file access technique, as shown in figure, the network file access method pass through windows application pages file address By windows Function Mappings to local function, intercepted when user initiates file access operation by windows API Windows API judge file type for local file or remote network file according to filename, and judging result is local file Then distribute window api functions and continue with and return to processing and record a demerit, judging result is that telefile is then transmitted to network opposite end Server process returns to handling result after server process.
The network file access method is arrived windows Function Mappings by windows application pages file address Local function traverses all load-on module page table file manipulation function addresses, and is substituted for same parameter local function address.
Local function judges file type for local file or remote network file according to the character string in filename, and obtains Take server I P address and port.
Application program initiates file access operation by the windows api functions or STL of standard.
The network file access method includes being passed through based on the network file access technique realized under TCP/I P agreements TCP/I P protocol listening fixed ports wait for client to connect and receive client file operation requests signaling, realize file access The monitoring of operation.
When executing processing to file, file read-write is carried out using Data cache technology.
Statistics network interface card sends and receives byte number, and precentagewise settles accounts residual available bandwidth, limiting server transmission per second With receive byte number to realize bandwidth control.
It is adaptive to carry out bandwidth control according to file size and file format.
It is adaptive to carry out bandwidth control according to file size, remainder bytes number, file format, the visit capacity of server.
The present invention also provides a kind of network files to access terminal, and file access is realized using a kind of method of any of the above.
Server returns to processing result data by network transmission, and Data cache technology, which is added, keeps file read-write more steady The controllable fault-tolerant file reorientation of suspension, supports a variety of bit streams strong to network adaptability, user only needs in filename The network address character of addition specific format, which can be realized, in word accesses network file.
When user initiates file access operation, the I P address of user is examined first, is compared, and then judge Access operation is unfolded according to user right in the grade of user, meanwhile, more Password Managements are carried out to user, different passwords can root According to the correspondence of user and password, then no operating right and security classification are corresponded to.
It should be noted that for each embodiment of the method above-mentioned, for simple description, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should understand that, the application is not limited by the described action sequence, because For according to the application, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this Shen It please be necessary.
The above, only presently preferred embodiments of the present invention, are not intended to limit the invention, patent protection model of the invention It encloses and is subject to claims, equivalent structure variation made by every specification and accompanying drawing content with the present invention, similarly It should be included within the scope of the present invention.

Claims (10)

1. a kind of network file access method, which is characterized in that include the following steps:
Step 1:Establish the mapping relations of data:Windows Function Mappings are arrived by windows application pages file address Local function;
Step 2:Document screening:Windows API, root are intercepted when user initiates file access operation by windows API Judge that file type is local file or remote network file according to filename;
Step 3:Classification processing file:It is local file, then distributes window api functions and continue with, and returns to processing knot Fruit is telefile, is transmitted to network opposite end server process, handling result is returned after server process.
2. network file access method according to claim 1, which is characterized in that the step 1 includes:Traversal is all Load-on module page table file manipulation function address, and it is substituted for same parameter local function address.
3. network file access method according to claim 1, which is characterized in that the step 2 includes:Local function Judge file type according to character string in filename, and obtains server ip address and port.
4. network file access method according to claim 1, which is characterized in that application program passes through standard Windows api functions or STL initiate file access operation.
5. network file access method according to claim 1, which is characterized in that the network file access method includes Based on the network file access technique realized under ICP/IP protocol, fixed port is monitored by ICP/IP protocol, waits for client Client file operation requests signaling is connected and received, realizes the monitoring of file access operation.
6. network file access method according to claim 1, which is characterized in that when executing processing to file, application Data cache technology carries out file read-write.
7. network file access method according to claim 1, which is characterized in that the byte that statistics network interface card sends and receives Number, residual available bandwidth of percentagewising, the limiting server byte number per second sent and received is to realize bandwidth control.
8. network file access method according to claim 1, which is characterized in that according to file size and file format, It is adaptive to carry out bandwidth control.
9. network file access method according to claim 1, which is characterized in that according to file size, remainder bytes number, File format, the visit capacity of server, it is adaptive to carry out bandwidth control.
10. a kind of network file accesses terminal, which is characterized in that using such as any one network file in claim 1-9 Access method realizes file access.
CN201810204827.2A 2018-03-13 2018-03-13 A kind of network file access method and terminal Pending CN108540532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810204827.2A CN108540532A (en) 2018-03-13 2018-03-13 A kind of network file access method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810204827.2A CN108540532A (en) 2018-03-13 2018-03-13 A kind of network file access method and terminal

Publications (1)

Publication Number Publication Date
CN108540532A true CN108540532A (en) 2018-09-14

Family

ID=63484504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810204827.2A Pending CN108540532A (en) 2018-03-13 2018-03-13 A kind of network file access method and terminal

Country Status (1)

Country Link
CN (1) CN108540532A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522274A (en) * 2019-01-22 2019-03-26 成都神州数码索贝科技有限公司 A kind of file access method
CN109639796A (en) * 2018-12-11 2019-04-16 浪潮电子信息产业股份有限公司 A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN110321374A (en) * 2018-10-23 2019-10-11 开采夫(杭州)科技有限公司 Standard file I/O operations system and method based on distributed network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059461A1 (en) * 2004-09-10 2006-03-16 Graphlogic Inc. Object process graph application controller-viewer
CN106657382A (en) * 2017-01-11 2017-05-10 北京学利美科技有限公司 Windows and Linux server information acquisition and management control model
CN106990923A (en) * 2017-03-30 2017-07-28 武汉大学 A kind of Dropbox constructing apparatus and method based on personal memory device
CN108062374A (en) * 2017-12-12 2018-05-22 四川金英科技有限责任公司 A kind of network file access method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059461A1 (en) * 2004-09-10 2006-03-16 Graphlogic Inc. Object process graph application controller-viewer
CN106657382A (en) * 2017-01-11 2017-05-10 北京学利美科技有限公司 Windows and Linux server information acquisition and management control model
CN106990923A (en) * 2017-03-30 2017-07-28 武汉大学 A kind of Dropbox constructing apparatus and method based on personal memory device
CN108062374A (en) * 2017-12-12 2018-05-22 四川金英科技有限责任公司 A kind of network file access method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321374A (en) * 2018-10-23 2019-10-11 开采夫(杭州)科技有限公司 Standard file I/O operations system and method based on distributed network
CN110321374B (en) * 2018-10-23 2022-03-25 开采夫(杭州)科技有限公司 Standard file IO operating system and method based on distributed network
CN109639796A (en) * 2018-12-11 2019-04-16 浪潮电子信息产业股份有限公司 A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN109522274A (en) * 2019-01-22 2019-03-26 成都神州数码索贝科技有限公司 A kind of file access method

Similar Documents

Publication Publication Date Title
CN110198334B (en) Access method and device based on object storage service and storage medium
US20060230148A1 (en) TCP forwarding of client requests of high-level file and storage access protocols in a network file server system
US9329783B2 (en) Data processing system and data processing method
CN108540532A (en) A kind of network file access method and terminal
CN102624918A (en) Proxy access method based on URL (Uniform Resource Locator) rewriting technique
CN109729187B (en) Proxy communication method, system, device and storage medium
US9602469B2 (en) Method and apparatus for optimizing hypertext transfer protocol (“HTTP”) uniform resource locator (“URL”) filtering service
JP2006209294A (en) Storage system for distributing access load
CN108062374A (en) A kind of network file access method and terminal
US11496594B1 (en) Regulation methods for proxy services
CN114039875B (en) Data acquisition method, device and system based on eBPF technology
CN106909690A (en) Network data caching method
CN107070991A (en) Network data buffer storage and system
US6643710B1 (en) Architecture to fragment transmitted TCP packets to a requested window size
CN106648838B (en) Resource pool management configuration method and device
Romanow et al. Remote direct memory access (RDMA) over IP problem statement
CN103067500B (en) Web browsing method based on cloud terminal
JP2002183000A (en) Method and system for referring to data through network
CN107515732A (en) A kind of storage method and system suitable for multi-user scene
US11394776B2 (en) Systems and methods for transport layer processing of server message block protocol messages
Li et al. Characterizing service providers traffic of mobile internet services in cellular data network
US8429209B2 (en) Method and system for efficiently reading a partitioned directory incident to a serialized process
DE60303025T2 (en) REVERSE CACHING FOR RESIDENTIAL END USER TO REDUCE THE USE OF ACCESS CONNECTIONS TO A CORE COMMUNICATION NETWORK
CN207234829U (en) Low discharge Web page accessing system
CN104935645A (en) Viral transmission prevention method for safely transmitting USB flash disk file on financial network counter

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

Application publication date: 20180914

RJ01 Rejection of invention patent application after publication