CN110535829B - Data interaction method and video networking system - Google Patents

Data interaction method and video networking system Download PDF

Info

Publication number
CN110535829B
CN110535829B CN201910672748.9A CN201910672748A CN110535829B CN 110535829 B CN110535829 B CN 110535829B CN 201910672748 A CN201910672748 A CN 201910672748A CN 110535829 B CN110535829 B CN 110535829B
Authority
CN
China
Prior art keywords
file
server
client
item
directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910672748.9A
Other languages
Chinese (zh)
Other versions
CN110535829A (en
Inventor
许磊
高�浩
崔彬
牛永会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910672748.9A priority Critical patent/CN110535829B/en
Publication of CN110535829A publication Critical patent/CN110535829A/en
Application granted granted Critical
Publication of CN110535829B publication Critical patent/CN110535829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a data interaction method, which is applied to a video network system comprising a client and a server, wherein the client and the server have different operating systems, the client sends a file system information request to the server through the video network, and receives a first file directory sent by the server through the video network and attribute information of a first file item directly subordinate to the first file directory; the client generates a virtual disk, generates a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the local operating system, and displays the file view on the file management interface of the virtual disk; the client sends a first operation request for a target file item in the file view to the server through the video network, and receives an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request; and the client displays the operation result corresponding to the target file item in the file view according to the operation result.

Description

Data interaction method and video networking system
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data interaction method, a video networking system, a data interaction apparatus, and a computer-readable storage medium.
Background
Currently, video networking services are widely popularized nationwide, and the high-definition video interaction technology of video networking plays a significant role in government departments and other industries.
In the current large environment of the internet of view, if the operating systems of the client and the server in the internet of view are different, when the client accesses data of the server, taking the operating system of the client as a windows system (windows operating system) and the server as a linux operating system as an example, if the client needs to directly access file data of the server through the internet of view, much inconvenience may exist like accessing its own local disk (e.g., C disk, D disk) under the windows system.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data interaction method, a video networking system, a data interaction apparatus and a computer readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for data interaction.
The method is applied to an internet-of-view system which comprises a client and a server, wherein the client is provided with a first operating system, and the server is provided with a second operating system, and the method comprises the following steps:
the client sends a file system information request to the server through the video network, wherein the file system information request comprises identification information of a first file directory in a local file system of the server;
the client receives the first file directory sent by the server through the video network and the attribute information of the first file item directly subordinate to the first file directory;
the client generates a virtual disk, generates a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the first operating system, and displays the file view in a file management interface of the virtual disk;
the client sends a first operation request for a target file item in the file view to the server through a video network, and receives an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request;
and the client displays the operation result corresponding to the target file item in the file view according to the operation result.
The embodiment of the invention also discloses a video networking system.
The video networking system comprises a client and a server, wherein the client is provided with a first operating system, and the server is provided with a second operating system;
the client is used for sending a file system information request to the server through the video network, wherein the file system information request comprises identification information of a first file directory in a local file system of the server;
the client is used for receiving the first file directory sent by the server through the video network and the attribute information of the first file item directly subordinate to the first file directory;
the client is used for generating a virtual disk, generating a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the first operating system, and displaying the file view in a file management interface of the virtual disk;
the client is used for sending a first operation request for a target file item in the file view to the server through a video network, and receiving an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request;
and the client is used for displaying the operation result corresponding to the target file item in the file view according to the operation result.
The embodiment of the invention also discloses a data interaction device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more data interaction methods as described in embodiments of the invention.
The embodiment of the invention also discloses a computer readable storage medium, and a stored computer program enables a processor to execute the data interaction method.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a client can generate a file view according to a file display mode of an operating system of the client by generating a virtual disk, and the file view is generated by a first file directory in a server and attribute information of a first file item directly subordinate to the first file directory and displayed in a file management interface of the virtual disk; when the client wants to directly operate the file data of the server through the video network, the client can operate each file item in the file view or create a new file item to trigger a first operation request for a target file item in the file view, the client can send the first operation request to the server through the video network, the server performs actual operation on the target file item which is actually stored at the server side and is in the first file directory according to the first operation request, and the operation result is returned to the client through the video network, so that the client can directly display the operation result in the file view. For a user at a client side, the user accesses file data at a server side connected remotely just like accessing a local disk, and can show a file directory at the server side and attribute information of a file item in a file view supported by a local operating system, so that the convenience of the user for accessing data at the server side of the operating system different from the client side is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of the steps of a method of data interaction in accordance with an embodiment of the present invention;
FIG. 6 is a schematic diagram of a file view of an embodiment of the present invention;
FIG. 7 is a schematic diagram of another file view of an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a video networking system according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video network is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the large-scale high-definition video real-time transmission of the whole network which can not be realized by the current Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure controlled by a hierarchical centralized way, and the network controlled by the node server and the metropolitan area server can be in various structures such as a tree, a star, a ring and the like.
The access network part can form a unified video platform (the part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to FIG. 5, a flow chart of steps of a data interaction method of an embodiment of the invention is shown.
The data interaction method is applied to a video network system, the video network system comprises a client and a server, wherein the client is provided with a first operating system, the server is provided with a second operating system, the client is a video network client, the server is a video network server, and the operating systems of the client and the server are different.
For the convenience of the reader to understand, the following embodiments take the first operating system as the Windows operating system and the second operating system as the Linux operating system as an example for description.
As shown in fig. 5, the method may include the steps of:
s601, the client sends a file system information request to the server through the video network;
wherein the file system information request includes identification information of a first file directory in a local file system of the server;
the client can request the connected server for the attribute information of the file items (including folders and/or files) belonging to a certain file directory (namely a first file directory) in the local file system of the server corresponding to the Linux operating system of the client through the video network.
The identification information for the first file directory may be information that is previously agreed to identify a certain file directory.
Optionally, S501, in response to the file system information request, the server sends the first file directory and the attribute information of the first file item directly subordinate to the first file directory to the client through a video network;
after receiving the file system information request, the server may send the first file directory corresponding to the identification information and the attribute information of the files and/or folders directly subordinate to the first file directory to the client through the video network.
The first file directory sent to the client may express a directory structure of a certain file directory requested by the client, and the attribute information of the file may include, but is not limited to, a file name, a file size, a file type, a last modification time, and the like; the attribute information of the folder may include, but is not limited to, a folder name, a folder size, and the like.
S602, the client receives the first file directory and the attribute information of the first file item directly subordinate to the first file directory, which are sent by the server through the video network;
s603, the client generates a virtual disk, generates a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the first operating system, and displays the file view in the file management interface of the virtual disk.
In the embodiment of the present invention, in order to display the received attribute information of the first file directory and the file items directly subordinate to the first file directory in the file management interface of the client, a file view conforming to the Windows operating system may be generated by the client, for example, a virtual disk may be generated by the client, and a file view may be generated according to the file display mode of Windows for receiving the first file directory and the attribute information of the first file items, so that the file view includes the first file directory of the server and the attribute information of the first file items directly subordinate to the first file directory. And displaying the file view in a file management interface of the virtual F disk.
In this way, the client can display the first file directory of the file items stored on the server side and the attribute information of the plurality of files and/or folders directly subordinate to the first file directory in a file display manner supported by the local operating system.
For example, the file view is shown in fig. 6, the first file directory is a file directory named "economy", a plurality of first file items directly under the "economy" file directory are shown in the list of fig. 6 (here, a plurality of files such as "temp" folder, "temp 0" folder, "[ finance and economic eyes ] 20150202 dairy farmer …" file are included), and the file view also displays attribute information of each first file item, such as the last modification date, type, size, duration attribute.
S604, the client sends a first operation request for a target file item in the file view to the server through the video network;
optionally, in S604, the client may receive a first operation request for a target file item in the file view in the file management interface; then, the client sends the first operation request to the server through the video network.
The file management interface comprises a file view displayed according to a file display mode of the first operating system;
the file view comprises a first file directory of the server and attribute information of a first file item directly subordinate to the first file directory;
wherein the first operation request comprises attribute information of the target file item, the first file directory and operation information of the target file item, and the target file item is a file item selected from the first file item or a file item requested to be newly created under the first file directory;
for example, the first operation request expresses an operation request for a certain target file item in the file view as shown in fig. 6.
For example, the user double-clicks the "temp" folder, and then triggers the first operation request, which indicates that the contents of the "temp" folder are referred to. Then the first operation request may carry: attribute information of the "temp" folder (e.g., folder name — temp), a directory to which the "temp" folder belongs (i.e., a first file directory, herein, a folder directory named "economy"), and operation information for the "temp" folder (herein, query operation information).
The operation information is also different with different access types, the access type of the first operation request can be newly created, deleted, modified and inquired, and the corresponding operation information is newly created operation information, deleted operation information, modified operation information and inquired operation information.
Therefore, when the access type is deletion, modification or inquiry, the target file item is a file item selected from the first file items displayed by the file view; and when the access type is new, the target file item is a file item requested to be newly created under the first file directory in the file view by the user.
When the access type of the first operation request is new, the attribute information of the target file item is the attribute of the target file item requested to be new (for example, a folder named as "test" is newly created under the economic folder, and the attribute comprises type-folder and name- "test").
When the access type of the first operation request is modification, the modification operation information may include modified content of an object of the target file item (the object may be an attribute of the target file item or a file content of the target file item). For example, if the name of the "temp" folder shown in fig. 6 is modified and the user triggers modification to "temp 1", the modification operation information includes "temp 1".
Optionally, after S604, the method according to the embodiment of the present invention may further include:
s502, the server receives the first operation request, and operates the target file item according to the attribute information and the operation information in the first file directory locally based on the second operating system to generate an operation result;
s503, the server sends the operation result to the client through the video network.
In the Linux operating system on the server side, when a certain file item is accessed, a code instruction needs to be input by a user to trigger the access of the file item, so after the server receives the first operation request, the target file item with the attribute information in the directory can be operated according to the operation information based on the "economic" directory of the Linux operating system on the server side according to the information carried in the first operation request, and an operation result is generated.
S605, the client receives an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request;
s606, the client displays the operation result corresponding to the target file item in the file view according to the operation result.
In the embodiment of the invention, a client can generate a file view according to a file display mode of an operating system of the client by generating a virtual disk, and the file view is generated by a first file directory in a server and attribute information of a first file item directly subordinate to the first file directory and displayed in a file management interface of the virtual disk; when the client wants to directly operate the file data of the server through the video network, the client can operate each file item in the file view or create a new file item to trigger a first operation request for a target file item in the file view, the client can send the first operation request to the server through the video network, the server performs actual operation on the target file item which is actually stored at the server side and is in the first file directory according to the first operation request, and the operation result is returned to the client through the video network, so that the client can directly display the operation result in the file view. For a user at a client side, the user accesses file data at a server side connected remotely just like accessing a local disk, and can show a file directory at the server side and attribute information of a file item in a file view supported by a local operating system, so that the convenience of the user for accessing data at the server side of the operating system different from the client side is improved.
Alternatively, the user may, in one embodiment,
when the operation information is new operation information, the server may create a target file item with attribute information (i.e., attribute information of the target file item carried by the first operation request) under the first file directory in a manner of inputting a code instruction, and then the operation result is the attribute information of the target file item that has been created;
for example, a folder named "test" is newly created under the "economy" directory in the storage space on the server side, and the operation result is the attribute information of the "test" folder.
When the operation information is deletion operation information, the operation result is null data;
when the operation information is deletion operation information, the server may delete a target file item having the attribute information (i.e., the attribute information of the target file item carried by the first operation request) under the first file directory in a manner of inputting a code instruction, and then the operation result is a deletion result, i.e., null data;
when the operation information is modification operation information, the operation result comprises the modified attribute information of the target file item, wherein when the type of the target file item is a file, the operation result further comprises the modified file content of the target file item;
when the operation information is query operation information, if the type of the target file item is a file, the operation result is the file content of the target file item, and if the type of the target file item is a folder, the operation result is attribute information of a third file item in the server directly subordinate to the target file item.
For example, if the user requests to open a "temp" folder in the file view shown in fig. 6, the corresponding operation result is the attribute information of the file and/or folder actually stored in the "economic" folder- "temp" folder on the server side.
As another example, the user requests to open an MP4 file named "[ finance and economics eyes ] 20150202 dairy farmer …" in the file view shown in fig. 6, the operation result is that the server side actually stores audio and video data (corresponding to the file content of the target file item) of an MP4 file named "[ finance and economics eyes ] 20150202 dairy farmer …" under the "economics" folder.
Wherein, the client side can display the operation result of the target file item requested to be operated in the file view shown in fig. 6.
For example, if the first operation request indicates that a "temp" folder in an "economic" folder is opened, in this step, the attribute information of the third file item stored in the "temp" folder under the "economic" folder, which is received from the server, may be displayed, for example, as shown in fig. 7, the third file item includes a "111" folder and a "222" folder.
In the embodiment of the invention, the client can send the attribute information of the first file directory in the server and the first file item directly subordinate to the first file directory, displayed in a file view mode in a local file management interface of the client, when the client wants to directly access the file data of the server through the video network, the operation can be carried out on each file item in the file view, or a new file item is created to trigger a first operation request for a target file item in the file view, and after receiving the first operation request, the target file items stored in the server side and under the first file directory can be actually operated by the server according to the first operation request, and the operation result is returned to the client through the video network, so that the client can directly display the operation result in the file view. For a user at a client side, the user accesses file data at a server side connected remotely just like accessing a local disk, and can show a file directory at the server side and attribute information of a file item in a file view supported by a local operating system, so that the convenience of the user for accessing data at the server side of the operating system different from the client side is improved.
Taking the server as a linux operating system and the client as a Windows operating system as an example, the client can access file data of the server through the internet of view like accessing its own local disk (e.g., C disk, D disk) under a Windows system.
Optionally, in any embodiment of the present invention, when a client and a server in the video network perform data or signaling interaction through the video network, taking the example that the a-side sends data 1 to the B-side, the a-side encapsulates the data 1 according to a preset storage protocol, encapsulates the data 1 into a data packet a1 capable of accessing a file system of the server, then encapsulates the data packet a1 according to the video network protocol (a video network packet header may be added to a header of the data packet a1 in a specific encapsulation manner), generates a data packet a2, and then sends the data packet a2 to the B-side through the video network.
After receiving the data packet a2, the B-side may decapsulate the data packet a2 according to the video networking protocol (e.g., remove the video networking header) to obtain the loaded data, and generate a data packet a 1; then, the B-side decapsulates the packet a1 according to a preset storage protocol, to obtain data 1 in the packet a 1.
The A end can be a client end of the video network, and the B end is a server of the video network; or the A terminal is a server of the video network, and the B terminal is a client of the video network.
The preset storage protocol is related to an operating system and a file system of the server, and the preset storage protocol is a protocol which can directly access the file system of the server under a second operating system. The predetermined storage protocol may be an internet protocol or a video networking protocol.
In an example, when the operating System of the server is a Linux operating System, the predetermined storage protocol is an iscsi (internet Small Computer System interface) protocol that the file System of the Linux supports access. The ISCSI protocol is an internet-based storage technology.
The data interaction between the A terminal and the B terminal and the process of analyzing the received data are realized through the processes. It should be understood by those skilled in the art that the interaction manner of data such as request/data/signaling between the client and the server according to the embodiment of the present invention is as described in the foregoing embodiment, and therefore, for the interaction process for a certain data, the detailed description of the encapsulation and decapsulation processes of the data packet is omitted, and only the data is generally described by sending/receiving the data through the video network.
Optionally, before S601, the method according to the embodiment of the present invention may further include:
and establishing connection between the client and the server, and executing an interaction process between the client and the server after the client and the server establish connection.
Specifically, for example, the client invokes an interface to initiate a connection request, which includes parameters such as an address of a server requesting the connection, and the connection request may be the above-mentioned preset storage protocol, and then the connection request of the preset storage protocol is encapsulated as an internet protocol packet and sent to the server, and the server approves the connection, while the client and the server are connected.
Optionally, after S602, the method according to the embodiment of the present invention may further include:
s607, the client locally saves the received first file directory and the attribute information of the first file item directly subordinate to the first file directory.
The client locally stores the first file directory on the server side and the attribute information of the first file item directly subordinate to the first file directory, so that the client can conveniently and directly obtain the first file directory and the attribute information of the first file item from the local after starting the client next time, the attribute information of each first file item is displayed on the local file management interface according to the first file directory, the first file directory and the attribute information of the first file item do not need to be obtained from the server again, repeated acquisition of data is avoided, and the generation efficiency of an access interface of the client side to the data of the server is improved.
The execution sequence of S607 and S603 is not limited in the present invention.
Optionally, after S607 and after S502, the method according to the embodiment of the present invention may further include:
s504, the server sends the second file directory of the operated target file item in the server and the attribute information of the operated target file item to the client through the video network;
after the server operates the target file item in the local first file directory and generates the operation result, the server may send the operation result to the client, and may also send the second file directory (equivalent to the latest directory information of the target file item after the operation) of the operated target file item on the server side and the attribute information of the operated target file item (equivalent to the latest attribute information of the target file item after the operation) to the client.
Wherein, because the operation information is different, the directory information of the operated target file item may be changed or not, if the directory information is not changed, the second file directory is consistent with the first file directory; if the directory information is changed, the second file directory is different from the first file directory.
The operation result, the second file directory and the attribute information of the operated target file item may be sent to the client together or may be executed separately, and the execution sequence of S503 and S504 is not limited in the present invention.
S608, the client updates the first file directory stored locally according to the second file directory;
for example, a first file directory saved on the client side is updated.
For example, if the operation information is new operation information, such as a new folder, and a "test" folder is created under the "economic" folder, the second file directory of the target file item (i.e., the "test" folder) after the server operation is the "economic" folder- "test" folder, and therefore, the client needs to update the first file directory ("economic" folder) and add the subdirectory of the "economic" folder (i.e., the "test" folder).
For example, the operation information is deletion operation information, such as a delete folder, the server deletes the "temp" folder under the "economic" folder, and the second file directory of the operated target file item (i.e., the "temp" folder) is empty, so that the client needs to update the first file directory (the "economic" folder), specifically, delete the "test" folder directly subordinate to and under the "economic" folder.
For example, the operation information is modification operation information, for example, a folder is modified, the server modifies the name of a "temp" folder under an "economic" folder to "temp 3", and the second file directory of the operated target file item (i.e., the "temp 3" folder) is the "economic" folder > "temp 3" folder, so that the client needs to update the first file directory (the "economic" folder), specifically, the name of a subfolder "temp" under the "economic" folder directly subordinate to the first file directory is updated to "temp 3".
For example, the operation information is query operation information, for example, a certain folder is queried, the server queries the content in the "temp" folder under the "economic" folder, and specifically queries the "111" folder and the "222" folder, then the second file directories of the operated target file items (i.e., the "111" folder and the "222" folder) are the "economic" folder- "temp" folder- "111" folder, and the economic "folder-" temp "folder-" 222 "folder, respectively, so that the client needs to update the first file directory (" economic "folder), specifically, two subdirectories are added to the subfolder" temp "under the directly subordinate and the" economic "folder, that is, the" 111 "folder and the" 222 "folder.
And S609, the client updates the attribute information of the first file item stored locally according to the operated attribute information of the target file item.
For example, the attribute information of the first file item saved in S607 is updated.
Wherein, both S608 and S609 are executed after S504, and the execution sequence between S608 and S609 is not limited in the present invention.
In addition, S605 is executed after S503, and S606 is executed after S605, and the execution order between S503 and S504 is not limited in the present invention.
Wherein, no matter the type of the target file item is a file or a folder, if the target file item is a file item selected from the first file item, the attribute information of the target file item after the operation is used to update the attribute information of the target file item before the operation, which is locally saved; if the target file item is a file item requested to be newly created in the first file directory, then when updating, the attribute information of the newly added target file item is added to the attribute information of the locally stored first file item.
In the embodiment of the present invention, although the file view on the client side displays the file directory on the server side and the information of the file items under the file directory without actually storing the file, after the client side triggers the first operation request to the file view, the client side may receive, from the server, the second file directory to which the target file item operated by the server belongs in the server and the attribute information of the target file item after the operation, update the first file directory locally stored by using the second file directory for the change of the file directory caused by the first operation request, and update the attribute information of the first file item locally stored by using the attribute information of the target file item after the operation for the change of the attribute information of the file caused by the first operation request, so that the file directory stored on the client side and the attribute information of each file item in the file directory are both the same as the file directory stored on the server side and the attribute information of each file item on the server side The file directory of the file which is actually stored and the attribute information of the file are synchronized, and the local directory and the attribute information of the file are synchronized each time the client accesses the file on the server side, so that the condition of data access error when the client accesses the server file next time is avoided.
Optionally, after S601, the method according to the embodiment of the present invention may further include:
s505, the server responds to the file system information request, and sends the plurality of first subfiles of the first file directory and the attribute information of the second file items indirectly subordinate to the first file directory to the client through a video network;
the execution sequence of S505 and S501 is not limited in the present invention, and both can be executed simultaneously, sent to the client as a set of data, or executed independently. Whether the server performs S501 alone or S505 and S501, respectively, is configurable.
Taking the first file directory as an economic folder as an example, in S501, the server side returns attribute information of the first file item directly stored in the economic folder by the server side; in S505, the server may further send the plurality of subfiles in the "economic" folder and the attribute information of the plurality of second file items indirectly subordinate to the "economic" folder to the client.
Wherein the attribute information of the second file items indirectly belonging to the economic folder is the attribute information of the second file items belonging to the subfiles.
Optionally, after S505, the method according to the embodiment of the present invention may further include:
s610, the client locally saves the received multiple first sub-file directories of the first file directory and the attribute information of the second file item indirectly subordinate to the first file directory.
In the embodiment of the present invention, when the client performs a query operation on a certain first file item (here, the type is a folder) in the file view, the client may query attribute information of a file item under a target file item that a user needs to query from the first file directory stored locally and the plurality of first subfiles thereof, without sending a request to the server side, thereby improving data access efficiency of the client side.
The present invention does not limit the execution order of S505 and S501. However, S610 is executed after S505, and S602 is executed after S501, so the present invention does not limit the execution sequence between S610 and S602.
Optionally, after the client receives the first operation request, the method according to the embodiment of the present invention may further include:
if a target file item in the first operation request is a file item selected from the first file items, the type of the target file item is a folder, and the operation information is query operation information, the client searches whether a target first file subdirectory matched with the target file item exists in the plurality of first file subdirectories according to the first operation request;
for example, as shown in fig. 7, if the "111" folder and the "222" folder which belong to "temp" are already saved locally before the client receives the first operation request, if the first operation request of this time is to open the "temp" folder under the "economic" folder, the client may query whether there are "temp" file subdirectories (including the "111" folder and the "222" folder) which belong to the "economic" folder in the locally saved plurality of file subdirectories under the "economic" folder;
if so, the client displays the target first file subdirectory and the attribute information of a target second file item directly subordinate to the target first file subdirectory in a mode of opening the target file item in the file view;
wherein, as shown in FIG. 7, the "temp" file subdirectory (i.e., "New volume (F:) > economic > temp") and the attribute information (here including name, modification date, type, size) of the target second file item (i.e., "111" folder and "222" folder) directly subordinate to the "temp" file subdirectory can be displayed in such a manner that the "temp" folder is opened.
If not, the client side executes the step of sending the first operation request to the server through the video network to obtain the '111' folder and the '222' folder and the attribute information thereof from the server side.
In the embodiment of the invention, when the client acquires the file system information of the server, the client acquires the first file directory and the plurality of first sub-file directories of the first file directory, and attribute information of a first file item directly subordinate to the first file directory, and attribute information of a second file item indirectly subordinate to the first file directory, and a local save is performed, when the client displays a file view based on the first file directory, when the client receives a first operation request for a target file item in the file view, it may first be queried locally whether there is a target file item (here the type is folder) or a file directory to which it belongs that needs to be queried, if the file directory exists, the file directory under the target file can be displayed without being acquired from the server side, and the response speed of the capacity to the operation request of the client is improved.
Then, when the client receives the first file operation request triggered by the target file item in the displayed file view shown in fig. 7 again, the processing manner of the embodiment of the present invention is similar to the processing manner of the file view shown in fig. 6 in the foregoing embodiment, and the processing manner of the first file operation request triggered by the target file item is similar to that of the file view shown in fig. 6, and details are not repeated here. See the above embodiments for details.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those of skill in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the embodiments of the invention.
As shown in fig. 8, a video networking system of an embodiment of the present invention is shown.
The video networking system comprises a client and a server, wherein the client is provided with a first operating system, and the server is provided with a second operating system;
the client is used for sending a file system information request to the server through the video network, wherein the file system information request comprises identification information of a first file directory in a local file system of the server;
the client is used for receiving the first file directory sent by the server through the video network and the attribute information of the first file item directly subordinate to the first file directory;
the client is used for generating a virtual disk, generating a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the first operating system, and displaying the file view in a file management interface of the virtual disk;
the client is used for sending a first operation request for a target file item in the file view to the server through a video network, and receiving an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request;
and the client is used for displaying the operation result corresponding to the target file item in the file view according to the operation result.
Optionally, the client is configured to receive a first operation request for a target file item in the file view, where the first operation request includes attribute information of the target file item, the first file directory, and operation information of the target file item, and the target file item is a file item selected from the first file item, or a file item requested to be newly created under the first file directory;
the client is used for sending the first operation request to the server through a video network;
and the server is used for receiving the first operation request, operating the target file item in the first local file directory based on the second operating system according to the attribute information and the operation information, generating an operation result and sending the operation result to the client through a video network.
Optionally, the client is configured to locally store the received first file directory and attribute information of a first file item directly subordinate to the first file directory.
Optionally, the server is configured to send the second file directory to which the operated target file item belongs in the server and the attribute information of the operated target file item to the client through a video network;
the client is used for updating the first file directory stored locally according to the second file directory;
and the client is used for updating the attribute information of the first file item stored locally according to the operated attribute information of the target file item.
Optionally, the server is configured to send, in response to the file system information request, the plurality of first subfiles of the first file directory and attribute information of a second file item indirectly subordinate to the first file directory to the client through an internet of view;
the client is configured to, if a target file item in the first operation request is a file item selected from the first file items, the type of the target file item is a folder, and the operation information is query operation information, search, according to the first operation request, whether a target first file subdirectory matching the target file item exists in the first file subdirectories;
the client is used for displaying the target first file subdirectory and the attribute information of a target second file item directly subordinate to the target first file subdirectory in a way of opening the target file item in the file view when the target first file subdirectory matched with the target file item exists in the plurality of first file subdirectories;
and the client is used for executing the step of sending the first operation request to the server through the video network when the target first file subdirectory matched with the target file item does not exist in the plurality of first file subdirectories.
Optionally, the client is configured to locally store the received multiple first subfile directories of the first file directory and attribute information of a second file item indirectly subordinate to the first file directory.
Optionally, when the operation information is new operation information, the operation result is attribute information of the target file item that is already newly created;
when the operation information is deletion operation information, the operation result is null data;
when the operation information is modification operation information, the operation result comprises the modified attribute information of the target file item, wherein when the type of the target file item is a file, the operation result further comprises the modified file content of the target file item;
when the operation information is query operation information, if the type of the target file item is a file, the operation result is the file content of the target file item, and if the type of the target file item is a folder, the operation result is attribute information of a third file item in the server directly subordinate to the target file item.
Optionally, the first end is configured to, when the first end sends a first data packet to the second end through the internet of view, encapsulate the first data packet into a second data packet capable of accessing the file system of the server according to a preset storage protocol, and encapsulate the second data packet into a third data packet according to the internet of view protocol and send the third data packet to the second end through the internet of view;
the second end is used for decapsulating the third data packet according to an internet of view protocol to generate the second data packet when the second end receives the third data packet from the first end through the internet of view, and decapsulating the second data packet according to the preset storage protocol to generate the first data packet;
when the first end is the client, the second end is the server;
and when the first end is the server, the second end is the client.
For the video networking system of the embodiment of fig. 8, since it is basically similar to the data interaction method embodiment of the above embodiment, the description is simple, and for relevant points, reference may be made to partial description of the data interaction method embodiment.
An embodiment of the present invention further provides a data interaction apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more data interaction methods as described in embodiments of the invention.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for enabling a processor to execute the data interaction method according to the embodiment of the invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data interaction method, the video networking system, the data interaction device and the computer-readable storage medium provided by the invention are described in detail, specific examples are applied in the description to explain the principles and the implementation of the invention, and the description of the above embodiments is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. A data interaction method is applied to a video networking system, the video networking system comprises a client and a server, the client is provided with a first operating system, the server is provided with a second operating system, and the first operating system is different from the second operating system, and the method comprises the following steps:
the client sends a file system information request to the server through the video network, wherein the file system information request comprises identification information of a first file directory in a local file system of the server;
the client receives the first file directory sent by the server through the video network and the attribute information of the first file item directly subordinate to the first file directory;
the client generates a virtual disk, generates a file view for the received first file directory and the attribute information of the first file item according to the file display mode of the first operating system, and displays the file view in a file management interface of the virtual disk, wherein the displaying of the file view comprises: displaying a first file directory of the file items stored on the server side and attribute information of a plurality of files and/or folders directly subordinate to the first file directory according to a file display mode supported by the first operating system;
the client sends a first operation request for a target file item in the file view to the server through a video network, wherein the access type of the first operation request comprises creation, deletion, modification and query, and an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request is received;
and the client displays the operation result corresponding to the target file item in the file view according to the operation result.
2. The method of claim 1,
the client sends a first operation request for a target file item in the file view to the server through the video network, and the first operation request comprises the following steps:
the client receives a first operation request for a target file item in the file view, wherein the first operation request comprises attribute information of the target file item, the first file directory and operation information of the target file item, and the target file item is a file item selected from the first file item or a file item requested to be newly created under the first file directory;
the client sends the first operation request to the server through a video network;
the method further comprises the following steps:
and the server receives the first operation request, operates the target file item in the first local file directory based on the second operating system according to the attribute information and the operation information, generates an operation result and sends the operation result to the client through the video network.
3. The method of claim 1, further comprising:
and the client locally stores the received first file directory and the attribute information of the first file item directly subordinate to the first file directory.
4. The method of claim 3, further comprising:
the server sends the second file directory of the operated target file item in the server and the attribute information of the operated target file item to the client through the video network;
the client updates the first file directory stored locally according to the second file directory;
and the client updates the attribute information of the first file item which is locally stored according to the attribute information of the operated target file item.
5. The method of claim 2, further comprising:
the server responds to the file system information request, and sends a plurality of first subfile directories of the first file directory and attribute information of a second file item indirectly subordinate to the first file directory to the client through an internet of view;
if a target file item in the first operation request is a file item selected from the first file items, the type of the target file item is a folder, and the operation information is query operation information, the client searches whether a target first file subdirectory matched with the target file item exists in the plurality of first file subdirectories according to the first operation request;
if so, the client displays the target first file subdirectory and the attribute information of a target second file item directly subordinate to the target first file subdirectory in a mode of opening the target file item in the file view;
and if not, the client executes the step of sending the first operation request to the server through the video network.
6. The method of claim 5, further comprising:
and the client locally saves the received multiple first subfile directories of the first file directory and the attribute information of a second file item indirectly subordinate to the first file directory.
7. The method of claim 2,
when the operation information is newly-built operation information, the operation result is the attribute information of the target file item which is newly built;
when the operation information is deletion operation information, the operation result is null data;
when the operation information is modification operation information, the operation result comprises the modified attribute information of the target file item, wherein when the type of the target file item is a file, the operation result further comprises the modified file content of the target file item;
when the operation information is query operation information, if the type of the target file item is a file, the operation result is the file content of the target file item, and if the type of the target file item is a folder, the operation result is attribute information of a third file item in the server directly subordinate to the target file item.
8. The method of claim 1,
when a first end sends a first data packet to a second end through a video network, the first end encapsulates the first data packet into a second data packet capable of accessing a file system of the server according to a preset storage protocol, and the first end encapsulates the second data packet into a third data packet according to the video network protocol and sends the third data packet to the second end through the video network;
when the second end receives a third data packet from the first end through the video network, the second end decapsulates the third data packet according to a video network protocol to generate a second data packet, and the second end decapsulates the second data packet according to the preset storage protocol to generate the first data packet;
when the first end is the client, the second end is the server;
and when the first end is the server, the second end is the client.
9. An internet of view system comprising a client having a first operating system and a server having a second operating system; the first operating system is different from the second operating system;
the client is used for sending a file system information request to the server through the video network, wherein the file system information request comprises identification information of a first file directory in a local file system of the server;
the client is used for receiving the first file directory sent by the server through the video network and the attribute information of the first file item directly subordinate to the first file directory;
the client is configured to generate a virtual disk, generate a file view for the received first file directory and the attribute information of the first file item according to a file display manner of the first operating system, and display the file view in a file management interface of the virtual disk, where displaying the file view includes: displaying a first file directory of the file items stored on the server side and attribute information of a plurality of files and/or folders directly subordinate to the first file directory according to a file display mode supported by the first operating system;
the client is used for sending a first operation request for a target file item in the file view to the server through a video network, wherein the access type of the first operation request comprises new creation, deletion, modification and query, and receiving an operation result of the server after the server operates the target file item in a first file directory local to the server based on the first operation request;
and the client is used for displaying the operation result corresponding to the target file item in the file view according to the operation result.
10. The system of claim 9,
the client is used for receiving a first operation request for a target file item in the file view, wherein the first operation request comprises attribute information of the target file item, the first file directory and operation information of the target file item, and the target file item is a file item selected from the first file item or a file item requested to be newly created under the first file directory;
the client is used for sending the first operation request to the server through a video network;
and the server is used for receiving the first operation request, operating the target file item in the first local file directory based on the second operating system according to the attribute information and the operation information, generating an operation result and sending the operation result to the client through the video network.
11. The system of claim 9,
and the client is used for locally storing the received first file directory and the attribute information of the first file item directly subordinate to the first file directory.
12. The system of claim 11,
the server is used for sending the second file directory of the operated target file item in the server and the attribute information of the operated target file item to the client through the video network;
the client is used for updating the first file directory stored locally according to the second file directory;
and the client is used for updating the attribute information of the first file item stored locally according to the operated attribute information of the target file item.
13. A data interaction device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the data interaction method of one or more of claims 1-8.
14. A computer-readable storage medium, characterized in that it stores a computer program that causes a processor to execute the data interaction method according to any one of claims 1 to 8.
CN201910672748.9A 2019-07-24 2019-07-24 Data interaction method and video networking system Active CN110535829B (en)

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 CN110535829A (en) 2019-12-03
CN110535829B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565458B (en) * 2020-12-25 2021-11-16 北京安华金和科技有限公司 Platform remote control method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

* Cited by examiner, † Cited by third party
Title
基于Ceph的云网盘系统设计与实现;胡勋等;《信息系统工程》;20180620(第06期);全文 *

Also Published As

Publication number Publication date
CN110535829A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
CN109729310B (en) Method and device for exporting monitoring inspection data
CN110198345B (en) Data request method, system and device and storage medium
CN109889780B (en) Data synchronization method and device
CN109634988B (en) Monitoring polling method and device
CN109672857B (en) Information processing method and device for monitoring resources
CN109743550B (en) Method and device for monitoring data flow regulation
CN110602039A (en) Data acquisition method and system
CN110475131B (en) Terminal connection method, server and terminal
CN110650313B (en) Catalog display method and device for monitoring resources and storage medium
CN110120885B (en) Method and device for processing equipment state information
CN110224988B (en) Image data processing method, system and device and storage medium
CN110609818B (en) Log processing method and device
CN111125426A (en) Data storage and query method and device
CN110535829B (en) Data interaction method and video networking system
CN110557370B (en) Method, system, electronic equipment and storage medium for pamir synchronization of terminal information
CN110557608B (en) Resource monitoring method, device and computer readable storage medium
CN109743360B (en) Information processing method and device
CN108965219B (en) Data processing method and device based on video network
CN110557611B (en) Information synchronization method, device and storage medium
CN111031090B (en) Data processing method and device, electronic equipment and readable storage medium
CN110381029B (en) Monitoring resource synchronization method and device
CN110557372B (en) Data acquisition method and system
CN110120937B (en) Resource acquisition method, system, device and computer readable storage medium
CN110493319B (en) Data synchronization method, system 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