CN110535829A - A kind of data interactive method and a kind of view networked system - Google Patents
A kind of data interactive method and a kind of view networked system Download PDFInfo
- Publication number
- CN110535829A CN110535829A CN201910672748.9A CN201910672748A CN110535829A CN 110535829 A CN110535829 A CN 110535829A CN 201910672748 A CN201910672748 A CN 201910672748A CN 110535829 A CN110535829 A CN 110535829A
- Authority
- CN
- China
- Prior art keywords
- file
- client
- server
- item
- view
- 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.)
- Granted
Links
Classifications
-
- 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/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1013—Network architectures, gateways, control or user entities
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- 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]
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Abstract
The invention discloses a kind of data interactive methods, this method is applied to the view networked system including client and server, the operating system of client and server is different, client receives the attribute information for the first file item that server is subordinated under the first file directory by the first file directory depending on networking transmission and directly by requesting depending on transmission filesystem information of networking to server;Client generates virtual disk, according to the document display mode of native operating sys-tern, generates file view to the attribute information for receiving the first file directory, the first file item, shows file view in the file management interface of virtual disk;Client sends the first operation requests to file destination item in file view to server by view networking, receives server based on the first operation requests to the operating result after file destination item operation in the first file directory of server local;Client shows operating result corresponding with file destination item according to operating result in file view.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of data interactive method, a kind of view networked system,
A kind of data interaction device and a kind of computer readable storage medium.
Background technique
Currently, widely available depending on networking service having obtained in China, depending on the HD video interaction technique of networking
In a government office and in other industries also play very important effect.
It networks under overall situation when forward sight, if the operating system of the client and server in view networking is different,
So client is when the data to server access, with the operating system of client for windows system (window-operating
System), for server is linux operating system, if client needs directly to access the text of server by view networking
Number of packages evidence can then exist all just as accessing oneself local disk (such as C disk, D disk) this mode under windows system
It is mostly inconvenient.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of data interactive method, a kind of view networked system, a kind of data interaction device and a kind of computer to solve the above problems
Readable storage medium storing program for executing.
To solve the above-mentioned problems, the embodiment of the invention discloses one kind to solve the above-mentioned problems, the embodiment of the present invention
Disclose a kind of data interactive method.
The method is applied to view networked system, and described depending on networked system includes client and server, wherein the visitor
Family end has the first operating system, and the server has the second operating system, which comprises
The client is requested by sending filesystem information depending on networking to the server, wherein the file system
System information request includes the identification information of the first file directory in the local file system of the server;
The client receives first file directory and direct subordinate that the server is sent by view networking
The attribute information of the first file item under first file directory;
The client generates virtual disk, according to the document display mode of first operating system, to receiving
The attribute information for stating the first file directory and first file item generates file view, and in the file of the virtual disk
The file view is shown in administration interface;
The client is sent to the server to first of file destination item in the file view by view networking
Operation requests, and the server is received based on first operation requests in the first file directory of the server local
Operating result after the file destination item operation;
The client is shown corresponding with the file destination item according to the operating result in the file view
The operating result.
The embodiment of the invention also discloses a kind of view networked systems.
Described depending on networked system includes client and server, wherein the client has the first operating system, described
Server has the second operating system;
The client, for being requested by sending filesystem information depending on networking to the server, wherein the text
Part system information request includes the identification information of the first file directory in the local file system of the server;
The client, for receive the server by view networking send first file directory and directly
It is subordinated to the attribute information of the first file item under first file directory;
The client, for generating virtual disk, according to the document display mode of first operating system, to reception
File view is generated to the attribute information of first file directory and first file item, and in the virtual disk
The file view is shown in file management interface;
The client, for being sent to the server to file destination item in the file view by view networking
First operation requests, and receive first file mesh of the server based on first operation requests to the server local
Operating result after the operation of file destination item described in record;
The client, for being shown and the file destination item in the file view according to the operating result
The corresponding operating result.
The embodiment of the invention also discloses a kind of data interaction devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes one or more data interactive methods as described in the embodiments of the present invention.
The embodiment of the invention also discloses the computer programs of a kind of computer readable storage medium, storage to handle
Device executes data interactive method as described in the embodiments of the present invention.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, client can be by generating virtual disk, according to the operating system of client
Document display mode, by the first file directory and direct subordinate in server and the first file under first file directory
The attribute information of item generates file view, and this document view is shown in the file management interface of virtual disk;So work as visitor
It, then can be to each file in this document view when family end is wanted directly through the file data depending on networking to operate server
Item is operated or new files item, to trigger the first operation requests to file destination item in file view, and client
First operation requests can be passed through and be sent to server depending on networking, by server according to first operation requests, to reality
The file destination item under the first file directory that border is stored in server side carries out practical operation, and operating result is passed through
Depending on networking return to client, then client can directly in this document view display operation result.For client
For the user of side, the file data of the server side remotely connected, and energy are accessed just as accessing local disk
The shape of enough file views for supporting the attribute information of the file directory of server side and file item with local operating system
Formula shows, and improves user to the convenience of the data access of the server side for the operating system for being different from client.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of data interactive method of the embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of file view of the embodiment of the present invention;
Fig. 7 is the schematic diagram of another file view of the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of view networked system embodiment of the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
(Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking
Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship
Change the seamless connection of formula virtual circuit and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking
(or national net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine module, are forwarded: 1) end if meeting the following conditions
It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet
Include the operation such as initialization, read-write to hard disk;CPU module 203 be mainly responsible for access switch, terminal (not shown) it
Between protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 304 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, may include two kinds of situations:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 308 is configured by CPU module 304, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
With reference to Fig. 5, a kind of step flow chart of data interactive method of the embodiment of the present invention is shown.
The data interactive method is applied to view networked system, and described depending on networked system includes client and server, wherein
The client has the first operating system, and the server has the second operating system, wherein client is view networked client
End, server is view networked server, and the operating system of the two is different.
For the ease of reader's understanding, subsequent embodiment is using the first operating system as Windows operating system, the second operation system
It unites to be illustrated for (SuSE) Linux OS.
As shown in figure 5, this method may include steps of:
S601, the client are requested by sending filesystem information depending on networking to the server;
Wherein, the filesystem information request includes the first file directory in the local file system of the server
Identification information;
Wherein, client can be by requesting the corresponding clothes of its (SuSE) Linux OS depending on networking to the server having connected
It is engaged in file item (including the file being subordinated in the local file system of device under some file directory (i.e. the first file directory)
And/or file) attribute information.
It can be the letter for being used to identify some file directory made an appointment for the identification information of first file directory
Breath.
Optionally, S501, the server are requested in response to the filesystem information, by first file directory with
And the attribute information for the first file item being directly subordinated under first file directory is by being sent to the client depending on networking
End;
Wherein, server, can be by the identification information corresponding after receiving this document system information request
One file directory, and the attribute information of file and/or file being directly subordinated under first file directory pass through view connection
Net is sent to client.
Wherein, some file directory of client request can be given expression to for being sent to the first file directory of client
Catalogue framework, and the attribute information of file can include but is not limited to filename, file size, file type, finally modify
Time etc.;The attribute information of file can include but is not limited to folder name, file size etc..
S602, the client receive the server by view networking send first file directory and directly
It is subordinated to the attribute information of the first file item under first file directory;
S603, the client generates virtual disk, according to the document display mode of first operating system, to reception
File view is generated to the attribute information of first file directory and first file item, and in the virtual disk
The file view is shown in file management interface.
In embodiments of the present invention, in order to above-mentioned first file directory received, directly be subordinated to first file
The attribute information of file item under catalogue shows in the file management interface of client and meets Windows operating system
Virtual disk can be generated in file view, client, such as generates virtual F disk, and according to the file display side of Windows
Formula, to generate file view to the attribute information for receiving first file directory and first file item, so that literary
Part view includes the first file directory of the server and the first file item for being directly subordinated to first file directory
Attribute information.And the file view is shown in the file management interface of virtual F disk.
In this way, client can show the service of being stored in the document display mode supported according to native operating sys-tern
First file directory of the file item of device side, and the multiple files and/or file that are directly subordinated under first file directory
The attribute information of folder.
Such as this document view is as shown in fig. 6, the first file directory is the file directory of entitled " economy ", direct subordinate
Should " economy " file directory under multiple first file items as shown in the list of Fig. 6 (here including " temp " file,
Multiple files such as " temp0 " file, " [finance and economics youth eye] 20150202 dairy farmers ... " file), also, this document view is also shown
The attribute information of each first file item, such as last modification date, type, size, duration attribute.
S604, the client are sent to the server to file destination item in the file view by view networking
First operation requests;
Optionally, when executing S604, the client, which can receive, regards file described in the file management interface
First operation requests of file destination item in figure;Then, the client sends first operation requests by view networking
To the server.
Wherein, the file management interface includes the file shown according to the document display mode of first operating system
View;
Wherein, the file view include the first file directory of the server and be directly subordinated to it is described first text
The attribute information of the first file item under part catalogue;
Wherein, first operation requests include the attribute information of the file destination item, first file directory with
And the operation information to the file destination item, the file destination item are the file item selected from first file item, or
To request the file item created under first file directory;
For example, that the expression of the first operation requests is behaviour to some file destination item in file view as shown in FIG. 6
It requests.
Such as user double-clicks " temp " file, then triggers first operation requests, which indicates to consult
It is somebody's turn to do the content of " temp " file.So first operation requests can carry: the attribute information of " temp " file (such as text
Part presss from both sides title --- temp), should catalogue belonging to " temp " file (i.e. the first file directory is here entitled " economy "
Folder content), to the operation information (being here inquiry operation information) of " temp " file.
And with the difference of access type, there is also differences for the operation information, and the access type of first operation requests can
Be respectively it is newly-built, delete, modification, inquiry, corresponding operation information be then respectively newly-built operation information, delete operation information,
Modify operation information, inquiry operation information.
Therefore, access type be delete, modification, inquiry when, which is shown by this document view
First file item in file item;And when access type is newly-built, then the file destination item is that user requests in text
The file item created under first file directory in part view.
Wherein, when the access type of the first operation requests is newly-built, then the attribute information of the file destination item is to ask
Look for novelty the file destination item built attribute (such as under " economy " file create one entitled " test " file, then
The attribute includes: type-file, title-" test ").
And when the access type of the first operation requests is modification, then the modification operation information may include to file destination
(object can be the attribute of the file destination item, is also possible to the file destination item content after some object modification of item
File content).Such as modify to the title of " temp " file shown in fig. 6, user's triggering is revised as " temp1 ",
Then the modification operation information includes " temp1 ".
Optionally, after S604, can also include: according to the method for the embodiment of the present invention
S502, the server receive first operation requests, and based on second operating system described in the local
In first file directory, according to the attribute information and the operation information, the file destination item is operated, generates behaviour
Make result;
S503, the server, which passes through the operating result, is sent to the client depending on networking.
Due to when accessing to some file item, then needing by user in the (SuSE) Linux OS of server side
Input code instruction, to trigger the access of file item, so, after server receives first operation requests, Ke Yigen
It is pressed based on (SuSE) Linux OS under " economy " catalogue of server side according to information entrained in first operation requests
According to the operation information, to operate to the file destination item with the attribute information under the catalogue, operating result is generated.
S605, the client receive of the server based on first operation requests to the server local
Operating result after the operation of file destination item described in one file directory;
S606, the client is according to the operating result, display and the file destination item in the file view
The corresponding operating result.
In embodiments of the present invention, client can be by generating virtual disk, according to the operating system of client
Document display mode, by the first file directory and direct subordinate in server and the first file under first file directory
The attribute information of item generates file view, and this document view is shown in the file management interface of virtual disk;So work as visitor
It, then can be to each file in this document view when family end is wanted directly through the file data depending on networking to operate server
Item is operated or new files item, to trigger the first operation requests to file destination item in file view, and client
First operation requests can be passed through and be sent to server depending on networking, by server according to first operation requests, to reality
The file destination item under the first file directory that border is stored in server side carries out practical operation, and operating result is passed through
Depending on networking return to client, then client can directly in this document view display operation result.For client
For the user of side, the file data of the server side remotely connected, and energy are accessed just as accessing local disk
The shape of enough file views for supporting the attribute information of the file directory of server side and file item with local operating system
Formula shows, and improves user to the convenience of the data access of the server side for the operating system for being different from client.
Optionally, in one embodiment,
When the operation information is newly-built operation information, then server can in such a way that input code instructs,
One is created under first file directory with attribute information (the i.e. attribute letter of file destination item entrained by first operation requests
Breath) file destination item, then the operating result is the attribute information of the file destination item created;
Such as the file of one entitled " test " is created under " economy " catalogue in the memory space of server side, then
The operating result is the attribute information for being somebody's turn to do " test " file.
When the operation information is delete operation information, then the operating result is empty data;
Wherein, when the operation information be delete operation information when, then server can by input code instruct in a manner of,
To delete one under the first file directory with the attribute information (i.e. file destination item entrained by first operation requests
Attribute information) file destination item, then the operating result is to delete as a result, being empty data;
When the operation information is modification operation information, then the operating result includes the file destination modified
The attribute information of item, wherein when the type of the file destination item is file, then the operating result further comprises described
The modified file content of file destination item;
When the operation information is inquiry operation information, if the type of the file destination item is file, the behaviour
Make the file content that result is the file destination item, if the type of the file destination item is file, the operation knot
Fruit is the attribute information for the third file item being directly subordinated under the file destination item in the server.
For example, " temp " file is opened in request in user's file view shown in Fig. 6, then corresponding operating result is
Server side is actually stored in the attribute information of file and/or file in " economy " file-> " temp " file.
For another example, entitled " [finance and economics youth eye] 20150202 milk are opened in request in user's file view shown in Fig. 6
The MP4 file of agriculture ... ", then operating result is that server side is actually stored in entitled " [the finance and economics youth under " economy " file
Eye] 20150202 dairy farmers ... " MP4 file audio, video data (file content corresponding to the file destination item).
Wherein, client-side can show the operation for requesting the file destination item of operation in the file view shown in fig. 6
As a result.
For example, the first operation requests indicate that " temp " file opened in " economy " file then may be used then in this step
To show the attribute of the third file item in " temp " file being stored under " economy " file received from server
Information, such as shown in fig. 7, third file item includes " 111 " file, " 222 " file.
In embodiments of the present invention, client can by server the first file directory and direct subordinate and this
The attribute information of the first file item under one file directory, with the side of file view in the local file administration interface of client
Formula shown, then when client wants will directly by depending on network file data to access server when, then can be to text
Each file item in part view is operated or new files item, to trigger to file destination item in file view
One operation requests, and client is after receiving first operation requests, it can be by being sent to server depending on networking, by taking
Device be engaged according to first operation requests, to carry out to the file destination item under the first file directory for being stored in server side
Practical operation, and operating result is passed through and returns to client depending on networking, then client can be directly in this document view
Middle display operation result.For the user of client-side, long-range connection is accessed just as accessing local disk
Server side file data, and can be by the attribute information of the file directory of server side and file item with local behaviour
Make the form of the file view of system support to show, improves server side of the user to the operating system for being different from client
Data access convenience.
With server be linux operating system, client be Windows operating system for, client can as
The local disk (such as C disk, D disk) of oneself is accessed under windows system equally come by the text for accessing server depending on networking
Number of packages evidence.
Optionally, in any one embodiment of the invention, pass through view with server depending on the client in networking being in
When the interaction of networking progress data or signaling, by taking the end A sends data 1 to the end B as an example, the end A is by data 1 according to default storage agreement
It is packaged, is packaged into the data packet A1 for the file system for being able to access that the server, then according still further to view networking protocol
(specific packaged type can increase view networking packet header on the head of data packet A1) is packaged to data packet A1, generates data
A2 is wrapped, then by the way that data packet A2 is sent to the end B depending on networking.
And the end B, in order to obtain the data of its load, can carry out logarithm according to depending on networking protocol after receiving data packet A2
(such as removal view networking packet header) is decapsulated according to packet A2, generates data packet A1;Then, the end B is come according to default storage agreement
Data packet A1 is decapsulated, the data 1 in data packet A1 are obtained.
Wherein, the end A can be the client of view networking, and the end B is the server of view networking;Alternatively, the end A is the clothes of view networking
Business device, the end B are the client of view networking.
Wherein, the default storage agreement is related to the operating system of server and file system, which is
The agreement of the file system of server can be directly accessed under the second operating system.The default storage agreement can be internet
Agreement or view networking protocol.
In one example, when the operating system of server is (SuSE) Linux OS, which is should
The file system of Linux supports ISCSI (Internet Small Computer System Interface) agreement of access.
Wherein, ISCSI agreement is a kind of memory technology Internet-based.
It realizes the data interaction between the end A and the end B by the above process and the data received is parsed
Process.It will be understood by those of skill in the art that the client and request/data/signaling of server etc. of the embodiment of the present invention
The interactive mode of data is as described in above-described embodiment, therefore, for being directed to the interactive process of some data, no longer to data envelope
It is filled with and decapsulation process is described in detail, only by summarizing depending on networking transmission/reception data.
Optionally, before S601, can also include: according to the method for the embodiment of the present invention
The step of client and server establish connection establishes connection in the two and then executes interaction between the two
Process.
Specifically, such as one interface of client call, initiates the connection request, the ground of the server including request connection
The parameters such as location, the connection request can be above-mentioned default storage agreement, and then, the connection request of default storage agreement is encapsulated as
It is sent to the server depending on networking protocol data packet, server agrees to connection, and client has connected with server.
Optionally, after S602, can also include: according to the method for the embodiment of the present invention
S607, the client are subordinated to the first file mesh by first file directory received and directly
The attribute information of the first file item under record carries out local preservation.
Wherein, client is by by the first file directory of server side and being directly subordinated under first file directory
The attribute information of the first file item carry out local preservation, directly should from local obtain after can starting in order to client next time
The attribute information of first file directory and first file item, thus in local file management interface according to first file
Catalogue shows the attribute information of each first file item, without again from server obtain first file directory and this
The attribute information of one file item, the repetition for avoiding data obtain, and improve access circle of the client-side to the data of server
The formation efficiency in face.
Wherein, the present invention for S607 and S603 execution sequence with no restrictions.
Optionally, after S607 and after S502, can also include: according to the method for the embodiment of the present invention
S504, the server by the file destination item after operation in the server belonging to the second file directory with
And the attribute information of the file destination item after operation is by being sent to the client depending on networking;
Wherein, server is operated to the file destination item under the first local file directory, generates operating result
Later, operating result not only can be sent to client by server, can also be by the file destination item after operation in server
The second file directory (be equivalent to by after the operation, the newest directory information of the file destination item) of side, and operation
The attribute information (be equivalent to by after the operation, the newest attribute information of the file destination item) of file destination item afterwards,
It is sent to client.
Wherein, since operation information is different, the directory information of the file destination item after operation may change or not change
Become, if its directory information has not been changed, second file directory is consistent with above-mentioned first file directory;If its directory information changes
Become, then second file directory is different from above-mentioned first file directory.
Wherein, the attribute information of file destination item after the operating result and second file directory and operation can
To be sent to client together, can also be individually performed, the present invention to the execution of S503 and S504 sequence with no restrictions.
S608, the client carry out more first file directory locally saved according to second file directory
Newly;
Such as the first file directory saved to client-side is updated.
For example, such as the operation information is newly-built operation information, such as new folder, in " economy " file
" test " file is created down, then the second file mesh of the file destination item after server operation (i.e. " test " file)
Record be " economy " file-> " test " file, therefore, client need to the first file directory (" economy " file) into
Row updates, and increases the subdirectory (i.e. " test " file) of " economy " file.
Such as the operation information is delete operation information, such as Delete Folder, server will be under " economy " files
" temp " file delete, then operate after file destination item (i.e. " temp " file) the second file directory be sky, because
This, client needs to be updated the first file directory (" economy " file), specially by direct subordinate and " economy "
Sub-folder " test " under file is deleted.
Such as the operation information is modification operation information, such as modification file, server will be under " economy " file
" temp " file name modifications be " temp3 ", then operate after file destination item (i.e. " temp3 " file) second
File directory is " economy " file-> " temp3 " file, and therefore, client is needed to the first file directory (" economy " text
Part folder) it is updated, specially direct subordinate and the title for the sub-folder " temp " being somebody's turn to do under " economy " file are updated to
“temp3”。
Such as the operation information is inquiry operation information, such as inquires some file, server inquires " economy " text
The content in " temp " file under part folder, specifically inquires " 111 " file and " 222 " file, then the mesh after operating
The second file directory for marking file item (i.e. " 111 " file and " 222 " file) is respectively " economy " file-> " temp "
File-> " 111 " file, economical " file-> " temp " file-> " 222 " file, therefore, client needs
First file directory (" economy " file) is updated, specially by direct subordinate and the Ziwen being somebody's turn to do under " economy " file
Part presss from both sides " temp " and increases by two subdirectories, i.e. " 111 " file and " 222 " file.
S609, the client is according to the attribute information of the file destination item after operation, to described first locally saved
The attribute information of file item is updated.
Such as the attribute information of the first file item saved in S607 is updated.
Wherein, S608 and S609 is executed after S504, the present invention between S608 and S609 execution sequence not
It is limited.
In addition, S605 is executed after S503, S606 is executed after S605, and the present invention is between S503 and S504
Execution sequence is also with no restrictions.
Wherein, no matter the type of file destination item is file or file, if the file destination item is selected from the first text
File item in part item, then here with the attribute information of the file destination item after operation, to carry out the behaviour to what is locally saved
The attribute information of file destination item before work is updated;If the file destination item is request under first file directory
Newly-built file item, then here when being updated, then in the attribute information of the first file item locally saved, increase about
The attribute information of the file destination item newly increased.
In embodiments of the present invention, although the file view of client-side shows the file directory and text of server side
The information of file item under part catalogue, without actual storage file, but when client-side triggering is to the in file view
After one operation requests, client can receive the file destination item after server operation in the server from the server
In belonging to the second file directory and operation after file destination item attribute information, and led to because of first operation requests
The variation of the file directory of cause, the second file directory of Lai Liyong are updated the first file directory locally saved, Yi Jiyin
The variation of the attribute information of file caused by first operation requests, to utilize the attribute information of the file destination item after operation
The attribute information of the first file item locally saved is updated, so that file directory and file that client-side saves
The attribute information of each file item is the category with the file directory of the file of server side actual storage and file in catalogue
Property information is synchronised, and when file of each client to server side accesses, can all carry out local directory and text
The synchronization of part attribute information, the situation of data access mistake when next client being avoided to access server file.
Optionally, after S601, can also include: according to the method for the embodiment of the present invention
S505, the server are requested in response to the filesystem information, by multiple the of first file directory
The attribute information of one subfile catalogue and the second file item being subordinated under first file directory indirectly passes through view networking
It is sent to the client;
The present invention for S505 and S501 execution sequence with no restrictions, the two may be performed simultaneously, with one group of data come
It is sent to client, can also individually be independently executed.Server is individually performed S501 and still executes S505 and S501, is that can match
It sets.
Wherein, by taking the first file directory is " economy " file as an example, in S501, what server side returned is server
Side is stored directly in the attribute information of the first file item in " economy " file;And in S505, server " can also will pass through
Multiple subfile catalogues under Ji " file, and indirect multiple second file items being subordinated under " economy " file
Attribute information is sent to client.
Wherein, the attribute information of multiple second file items being subordinated under " economy " file indirectly as belongs to
The attribute information of multiple second file items under multiple subfile catalogue.
Optionally, after S505, can also include: according to the method for the embodiment of the present invention
S610, the client is by multiple first subfile catalogues of first file directory received and indirectly
The attribute information for being subordinated to the second file item under first file directory carries out local preservation.
In embodiments of the present invention, when to the first file item of some in file view, (type is file to client here
Folder) carry out inquiry operation when, then client can be from the first file directory locally saved and its multiple first subfile mesh
The attribute information that the file item under the file destination item that user needs to inquire is inquired in record, without being asked to server side transmission
It asks, promotes the data access efficiency of client-side.
The present invention for S505 and S501 execution sequence with no restrictions.And S610 is executed after S505, S602 exists
Execute after S501, therefore, the present invention for the execution sequence between S610 and S602 also with no restrictions.
It optionally, according to the method for the embodiment of the present invention can be with after client receives first operation requests
Include:
If the file destination item in first operation requests is the file item selected from first file item and the mesh
The type for marking file item is file and the operation information is inquiry operation information, then the client is according to described the
One operation requests search whether exist and the matched target of file destination item the in the multiple first file subdirectory
One file subdirectory;
For example, " 111 " file for being subordinated to " temp " and " 222 " file as shown in Figure 7, receive in client
In local preservation before first operation requests, if that this first operation requests are to open under " economy " file
" temp " file, then client can be subordinated to multiple file subdirectories under " economy " catalogue and look into what is locally saved
Ask with the presence or absence of " temp " file subdirectory belonged under " economy " file (includes " 111 " file and " 222 " file here
Folder);
If so, the client in the file view in a manner of opening the file destination item, described in display
The category of the first file subdirectory of target and the second file item of target being directly subordinated in first file subdirectory of target
Property information;
It wherein, as shown in fig. 7, can be in a manner of opening " temp " file, to show " temp " file subdirectory (i.e.
" new plus volume (F :) > economy > temp "), and the second file item of target being directly subordinated in " temp " file subdirectory is (i.e.
" 111 " file and " 222 " file) attribute information (here including title, modification date, type, size).
If it is not, then first operation requests are passed through the step for being sent to the server depending on networking by the client executing
Suddenly, " 111 " file and " 222 " file and its attribute information are obtained from server side.
In embodiments of the present invention, since client is when obtaining the filesystem information of server, first has been got
Multiple first subfile catalogues of file directory and the first file directory, and be directly subordinated in the first file directory
The attribute information of one file item, and the attribute information of subordinate and the second file item in first file directory indirectly, go forward side by side
Row is local to be saved, then client is being received to this article when client shows the file view based on the first file directory
In part view when the first operation requests of file destination item, then it can whether there is the mesh of required inquiry in local search first
File item (type here is file) or the file directory belonging to it are marked, if it is present can be under displaying target file
File directory, without being obtained from server side, response speed of the hoisting power to the operation requests of client.
So when the file destination item triggering in the file view as shown in Figure 7 that client receives again to display
When the first file operation requests, then the processing mode of the embodiment of the present invention, regards with file shown in fig. 6 is shown in above-described embodiment
Figure, it is similar to the processing mode of the first file operation requests of file destination item triggering, it no longer repeats one by one here.It is detailed in above-mentioned
Embodiment.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
As shown in figure 8, showing a kind of view networked system of the embodiment of the present invention.
Described depending on networked system includes client and server, wherein the client has the first operating system, described
Server has the second operating system;
The client, for being requested by sending filesystem information depending on networking to the server, wherein the text
Part system information request includes the identification information of the first file directory in the local file system of the server;
The client, for receive the server by view networking send first file directory and directly
It is subordinated to the attribute information of the first file item under first file directory;
The client, for generating virtual disk, according to the document display mode of first operating system, to reception
File view is generated to the attribute information of first file directory and first file item, and in the virtual disk
The file view is shown in file management interface;
The client, for being sent to the server to file destination item in the file view by view networking
First operation requests, and receive first file mesh of the server based on first operation requests to the server local
Operating result after the operation of file destination item described in record;
The client, for being shown and the file destination item in the file view according to the operating result
The corresponding operating result.
Optionally, the client, for receiving the first operation requests to file destination item in the file view,
In, first operation requests include the attribute information of the file destination item, first file directory and to the mesh
The operation information of file item is marked, the file destination item is the file item selected from first file item, or to request in institute
State the file item created under the first file directory;
The client is sent to the server depending on networking for passing through first operation requests;
The server, for receiving first operation requests, and based on second operating system described in the local
In first file directory, according to the attribute information and the operation information, the file destination item is operated, generates behaviour
Make result and by being sent to the client depending on networking.
Optionally, the client, for by first file directory received and being directly subordinated to described
The attribute information of the first file item under one file directory carries out local preservation.
Optionally, the server, second text affiliated in the server for the file destination item after operating
The attribute information of file destination item after part catalogue and operation, which passes through, is sent to the client depending on networking;
The client, for being carried out more according to second file directory to first file directory locally saved
Newly;
The client, for the attribute information according to the file destination item after operation, to described first locally saved
The attribute information of file item is updated.
Optionally, the server, for being requested in response to the filesystem information, by first file directory
The attribute information of multiple first subfile catalogues and the second file item being subordinated under first file directory indirectly passes through
The client is sent to depending on networking;
The client, if being selected from first file item for the file destination item in first operation requests
The type of file item and the file destination item is file and the operation information is inquiry operation information, then according to institute
The first operation requests are stated, search whether exist and the matched mesh of file destination item in the multiple first file subdirectory
Mark the first file subdirectory;
The client, for existing and the matched mesh of file destination item in the multiple first file subdirectory
When marking the first file subdirectory, then the target is shown in a manner of opening the file destination item in the file view
The attribute of first file subdirectory and the second file item of target being directly subordinated in first file subdirectory of target letter
Breath;
The client, for there is no matched with the file destination item in the multiple first file subdirectory
When the first file subdirectory of target, then the step that first operation requests are passed through and are sent to the server depending on networking is executed
Suddenly.
Optionally, the client, for by multiple first subfile catalogues of first file directory received
And the attribute information for the second file item being subordinated under first file directory indirectly carries out local preservation.
Optionally, when the operation information is newly-built operation information, then the operating result is the mesh created
Mark the attribute information of file item;
When the operation information is delete operation information, then the operating result is empty data;
When the operation information is modification operation information, then the operating result includes the file destination modified
The attribute information of item, wherein when the type of the file destination item is file, then the operating result further comprises described
The modified file content of file destination item;
When the operation information is inquiry operation information, if the type of the file destination item is file, the behaviour
Make the file content that result is the file destination item, if the type of the file destination item is file, the operation knot
Fruit is the attribute information for the third file item being directly subordinated under the file destination item in the server.
Optionally, first end, for when first end sends the first data packet to second end by view networking, according to default
Agreement is stored, first data envelope is dressed up to the second data packet for being able to access that the file system of the server, it is described
Second packet encapsulation is third data packet and is networked by view and be sent to described the according to view networking protocol by first end
Two ends;
Second end, for when the second end receives third data packet from first end by view networking, according to view
Networking protocol decapsulates three data packet, generates second data packet, and the second end is assisted according to the default storage
View decapsulates second data packet, generates first data packet;
Wherein, when the first end is the client, the second end is the server;
When the first end is the server, the second end is the client.
For the view networked system of Fig. 8 embodiment, since it is basic with the data interactive method embodiment of above-described embodiment
Similar, so being described relatively simple, related place illustrates referring to the part of data interactive method embodiment.
The embodiment of the invention also provides a kind of data interaction devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes one or more data interactive methods as described in the embodiments of the present invention.
The embodiment of the invention also provides the computer programs of a kind of computer readable storage medium, storage to handle
Device executes data interactive method as described in the embodiments of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of data interactive method provided by the present invention, a kind of view networked system, a kind of data interaction device
It is described in detail with a kind of computer readable storage medium, specific case used herein is to the principle of the present invention and reality
The mode of applying is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Together
When, for those of ordinary skill in the art, according to the thought of the present invention, have in specific embodiments and applications
Change place, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (14)
1. a kind of data interactive method, which is characterized in that the method is applied to view networked system, described to include depending on networked system
Client and server, wherein the client has the first operating system, and the server has the second operating system, institute
The method of stating includes:
The client is requested by sending filesystem information depending on networking to the server, wherein the file system letter
Breath request includes the identification information of the first file directory in the local file system of the server;
The client receives the server and is subordinated to institute by first file directory depending on networking transmission and directly
State the attribute information of the first file item under the first file directory;
The client generates virtual disk, according to the document display mode of first operating system, to receiving described the
The attribute information of one file directory and first file item generates file view, and in the file management of the virtual disk
The file view is shown in interface;
The client sends the first operation to file destination item in the file view by view networking to the server
Request, and the server is received based on described in the first file directory of first operation requests to the server local
Operating result after the operation of file destination item;
The client is shown corresponding with the file destination item described according to the operating result in the file view
Operating result.
2. the method according to claim 1, wherein
The client sends the first operation to file destination item in the file view by view networking to the server
Request, comprising:
The client receives the first operation requests to file destination item in the file view, wherein first operation
Request includes attribute information, first file directory and the operation letter to the file destination item of the file destination item
Breath, the file destination item are the file item selected from first file item, or are request under first file directory
Newly-built file item;
The client, which passes through first operation requests, is sent to the server depending on networking;
The method also includes:
The server receives first operation requests, and based on second operating system in the local first file mesh
In record, according to the attribute information and the operation information, the file destination item is operated, generate operating result and is led to
It crosses and is sent to the client depending on networking.
3. the method according to claim 1, wherein the method also includes:
The client is subordinated under first file directory by first file directory received and directly
The attribute information of one file item carries out local preservation.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The server will be after the second file directory affiliated in the server of the file destination item after operation and operation
File destination item attribute information by view network be sent to the client;
The client is updated first file directory locally saved according to second file directory;
The client is according to the attribute information of the file destination item after operation, to the category of first file item locally saved
Property information is updated.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
The server is requested in response to the filesystem information, by multiple first subfile mesh of first file directory
The attribute information of record and the second file item being subordinated under first file directory indirectly is described by being sent to depending on networking
Client;
If the file destination item in first operation requests is the file item selected from first file item and target text
The type of part item is file and the operation information is inquiry operation information, then the client is according to first behaviour
It requests, searches whether exist and matched the first text of target of the file destination item in the multiple first file subdirectory
Part subdirectory;
If so, the client in the file view in a manner of opening the file destination item, show the target
The attribute of first file subdirectory and the second file item of target being directly subordinated in first file subdirectory of target letter
Breath;
If it is not, then the client executing passes through first operation requests depending on the step of being sent to the server of networking.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The client is subordinated to institute by multiple first subfile catalogues of first file directory received and indirectly
The attribute information for stating the second file item under the first file directory carries out local preservation.
7. according to the method described in claim 2, it is characterized in that,
When the operation information is newly-built operation information, then the operating result is the category of the file destination item created
Property information;
When the operation information is delete operation information, then the operating result is empty data;
When the operation information is modification operation information, then the operating result includes the file destination item modified
Attribute information, wherein when the type of the file destination item is file, then the operating result further comprises the target
The modified file content of file item;
When the operation information is inquiry operation information, if the type of the file destination item is file, the operation knot
Fruit is the file content of the file destination item, if the type of the file destination item is file, the operating result is
The attribute information of the third file item under the file destination item is directly subordinated in the server.
8. the method according to claim 1, wherein
When first end sends the first data packet to second end by view networking, the first end, will according to default storage agreement
First data envelope dresses up the second data packet of the file system for being able to access that the server, and the first end is according to view
Networking protocol, by second packet encapsulation for third data packet and by being sent to the second end depending on networking;
When the second end receives the third data packet from first end by view networking, the second end is according to view networking association
View decapsulates three data packet, generates second data packet, and the second end is right according to the default storage agreement
The second data packet decapsulation, generates first data packet;
Wherein, when the first end is the client, the second end is the server;
When the first end is the server, the second end is the client.
9. a kind of view networked system, which is characterized in that described depending on networked system includes client and server, wherein the visitor
Family end has the first operating system, and the server has the second operating system;
The client, for being requested by sending filesystem information depending on networking to the server, wherein the file system
System information request includes the identification information of the first file directory in the local file system of the server;
The client, first file directory and direct subordinate sent for receiving the server by view networking
The attribute information of the first file item under first file directory;
The client, for generating virtual disk, according to the document display mode of first operating system, to receiving
The attribute information for stating the first file directory and first file item generates file view, and in the file of the virtual disk
The file view is shown in administration interface;
The client, for being sent to the server to first of file destination item in the file view by view networking
Operation requests, and the server is received based on first operation requests in the first file directory of the server local
Operating result after the file destination item operation;
The client, for being shown in the file view corresponding with the file destination item according to the operating result
The operating result.
10. system according to claim 9, which is characterized in that
The client, for receiving the first operation requests to file destination item in the file view, wherein described first
Operation requests include attribute information, first file directory and the behaviour to the file destination item of the file destination item
Make information, the file destination item is the file item selected from first file item, or is request in the first file mesh
The lower newly-built file item of record;
The client is sent to the server depending on networking for passing through first operation requests;
The server, for receiving first operation requests, and based on second operating system local described first
In file directory, according to the attribute information and the operation information, the file destination item is operated, generates operation knot
Fruit and by view network be sent to the client.
11. system according to claim 9, which is characterized in that
The client, for by first file directory received and being directly subordinated under first file directory
The attribute information of the first file item carry out local preservation.
12. system according to claim 11, which is characterized in that
The server, second file directory affiliated in the server for the file destination item after operating and behaviour
The attribute information of file destination item after work, which passes through, is sent to the client depending on networking;
The client, for being updated according to second file directory to first file directory locally saved;
The client, for the attribute information according to the file destination item after operation, to first file locally saved
The attribute information of item is updated.
13. a kind of data interaction device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made
Obtain the data interactive methods for the one or more that described device is executed as described in claim 1 to 8.
14. a kind of computer readable storage medium, which is characterized in that its computer program stored executes processor as weighed
Benefit requires 1 to 8 described in any item data interactive methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672748.9A CN110535829B (en) | 2019-07-24 | 2019-07-24 | Data interaction method and video networking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672748.9A CN110535829B (en) | 2019-07-24 | 2019-07-24 | Data interaction method and video networking system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110535829A true CN110535829A (en) | 2019-12-03 |
CN110535829B CN110535829B (en) | 2022-06-07 |
Family
ID=68660851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910672748.9A Active CN110535829B (en) | 2019-07-24 | 2019-07-24 | Data interaction method and video networking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110535829B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565458A (en) * | 2020-12-25 | 2021-03-26 | 北京安华金和科技有限公司 | Platform remote control method and device, storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070027929A1 (en) * | 2005-08-01 | 2007-02-01 | Whelan Gary J | System, method, and/or computer program product for a file system interface |
CN101944043A (en) * | 2010-09-27 | 2011-01-12 | 公安部第三研究所 | File access method of Linux virtual machine disk under Windows platform |
CN102143215A (en) * | 2011-01-20 | 2011-08-03 | 中国人民解放军理工大学 | Network-based PB level cloud storage system and processing method thereof |
CN103841113A (en) * | 2014-03-20 | 2014-06-04 | 武汉理工大学 | Safe network file system based on user mode file system |
CN104461685A (en) * | 2014-11-19 | 2015-03-25 | 华为技术有限公司 | Virtual machine processing method and virtual computer system |
CN106559392A (en) * | 2015-09-28 | 2017-04-05 | 北京神州泰岳软件股份有限公司 | A kind of file sharing method, device and system |
CN106778345A (en) * | 2016-12-19 | 2017-05-31 | 网易(杭州)网络有限公司 | The treating method and apparatus of the data based on operating right |
-
2019
- 2019-07-24 CN CN201910672748.9A patent/CN110535829B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070027929A1 (en) * | 2005-08-01 | 2007-02-01 | Whelan Gary J | System, method, and/or computer program product for a file system interface |
CN101944043A (en) * | 2010-09-27 | 2011-01-12 | 公安部第三研究所 | File access method of Linux virtual machine disk under Windows platform |
CN102143215A (en) * | 2011-01-20 | 2011-08-03 | 中国人民解放军理工大学 | Network-based PB level cloud storage system and processing method thereof |
CN103841113A (en) * | 2014-03-20 | 2014-06-04 | 武汉理工大学 | Safe network file system based on user mode file system |
CN104461685A (en) * | 2014-11-19 | 2015-03-25 | 华为技术有限公司 | Virtual machine processing method and virtual computer system |
CN106559392A (en) * | 2015-09-28 | 2017-04-05 | 北京神州泰岳软件股份有限公司 | A kind of file sharing method, device and system |
CN106778345A (en) * | 2016-12-19 | 2017-05-31 | 网易(杭州)网络有限公司 | The treating method and apparatus of the data based on operating right |
Non-Patent Citations (1)
Title |
---|
胡勋等: "基于Ceph的云网盘系统设计与实现", 《信息系统工程》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565458A (en) * | 2020-12-25 | 2021-03-26 | 北京安华金和科技有限公司 | Platform remote control method and device, storage medium and electronic equipment |
CN112565458B (en) * | 2020-12-25 | 2021-11-16 | 北京安华金和科技有限公司 | Platform remote control method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110535829B (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234816B (en) | The method and device of resource information real-time synchronization is monitored between a kind of monitoring device | |
CN108965912B (en) | A kind of method, client and the server of video data processing | |
CN108093011A (en) | One kind regards networked terminals control method and system | |
CN108881357A (en) | A kind of method and apparatus that data are synchronous | |
CN110198345A (en) | A kind of data request method, system and device and storage medium | |
CN108234178B (en) | A kind of method and apparatus being managed collectively menu file | |
CN108307212B (en) | A kind of file order method and device | |
CN108234190A (en) | A kind of management method and system regarding networked devices | |
CN109889420A (en) | Method and device for business processing | |
CN108989837A (en) | A kind of method and apparatus of picture interception | |
CN110381030A (en) | A kind of processing method and processing device of synchronization request | |
CN110381119A (en) | A kind of acquisition methods of log information, system and device and storage medium | |
CN110493513A (en) | A kind of camera control method and a kind of view networked system | |
CN109743550A (en) | A kind of method and apparatus of monitoring data tune stream | |
CN109284265A (en) | A kind of date storage method and system | |
CN110213334A (en) | A kind of transmission method and device of shared file | |
CN108206927A (en) | A kind of meeting synchronous method and device | |
CN110113564A (en) | A kind of data capture method and view networked system | |
CN110535829A (en) | A kind of data interactive method and a kind of view networked system | |
CN110196839A (en) | A kind of shared file method and apparatus based on view networking | |
CN110460644A (en) | A kind of data processing method and streaming media server | |
CN110035249A (en) | A kind of video gets method and apparatus ready | |
CN110087028A (en) | A kind of web video component obtains the method and system of video flowing | |
CN109769012A (en) | A kind of access method and device of Web server | |
CN109979571A (en) | A kind of pathological picture loading method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |