CN109698859B - Data storage method and device based on video network - Google Patents

Data storage method and device based on video network Download PDF

Info

Publication number
CN109698859B
CN109698859B CN201811354661.9A CN201811354661A CN109698859B CN 109698859 B CN109698859 B CN 109698859B CN 201811354661 A CN201811354661 A CN 201811354661A CN 109698859 B CN109698859 B CN 109698859B
Authority
CN
China
Prior art keywords
data
network
video
stored
network disk
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
CN201811354661.9A
Other languages
Chinese (zh)
Other versions
CN109698859A (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 CN201811354661.9A priority Critical patent/CN109698859B/en
Publication of CN109698859A publication Critical patent/CN109698859A/en
Application granted granted Critical
Publication of CN109698859B publication Critical patent/CN109698859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of video networking, and provides a data storage method and a data storage device based on video networking. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.

Description

Data storage method and device based on video network
Technical Field
The invention relates to the technical field of video networking, in particular to a data storage method and device based on video networking.
Background
The network disk is an online storage service, and is used for providing file management functions of storage, access, backup, sharing and the like of files for users. The network disk can be regarded as a hard disk arranged on the internet, and files in the network disk can be managed as long as the user can access the internet through any terminal equipment no matter where the user is located.
However, at present, data transmission is usually performed on a network disk through the internet, and the internet cannot meet the higher requirement of a user on real-time performance due to the characteristic that the transmission is not timely.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed in order to provide a method and apparatus for data storage based on a visual network that overcomes or at least partially solves the above mentioned problems.
In order to solve the above problem, an embodiment of the present invention discloses a data storage method based on a video network, which is applied to the video network, and the method includes:
receiving a data storage instruction in a network disk client; the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network;
performing protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
and transmitting the video networking data to be stored to the network disk server, and storing the video networking data to be stored through the network disk server.
The invention also provides a data storage device based on the video network, which is applied to the video network, and the device comprises:
the first receiving module is used for receiving a data storage instruction in the network disk client; the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network;
the first conversion module is used for carrying out protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
the transmission module is used for transmitting the video networking data to be stored to the network disk server;
and the storage module is used for storing the video networking data to be stored through the network disk server.
The embodiment of the invention has the following advantages:
the embodiment of the invention can be applied to the video network, firstly, a data storage instruction in a network disk client is received, the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network, then, the protocol conversion is carried out on the internet data to be stored according to the data storage instruction to obtain the video network data to be stored, the video network data to be stored is transmitted to the network disk server, and the video network data to be stored is stored through the network disk server. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.
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 flowchart illustrating the steps of an embodiment of a method for data storage over a video network;
FIG. 6 is a flowchart illustrating the detailed steps of an embodiment of a data storage method based on a video network according to the present invention;
FIG. 7 is a block diagram of an embodiment of a data storage device based on a video network according to the present invention;
FIG. 8 is a block diagram of another embodiment of a data storage device based on a video network according to 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 in a system on a network system, 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 over traditional Ethernet (Ethernet) to face the potentially enormous 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 networking is a higher-level form of the Ethernet, is a real-time switching system, can realize the large-scale high-definition video real-time transmission of the whole network which can not be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on video networking and unified video system is different from the traditional server, the streaming media transmission is established on the basis of connection orientation, the data processing capacity 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 streaming media processing of video networking and unified video systems 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 memory technology of the unified video system 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 instantly and directly sent to the user terminal, and the user waiting time 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 system 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 system to obtain various multimedia video services in various forms. The unified video system adopts a menu type matching table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes new infinite business 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 with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video system (the part in the dotted circle), and a plurality of unified video systems can form a video network; each unified video system may be interconnected via metropolitan and wide area video networks.
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: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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, and 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 data packet coming from the CPU module 204 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, which in this embodiment of the present invention is divided into 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 208 is configured by the CPU module 204, 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.
Based on the above characteristics of the video network, one of the core concepts of the embodiments of the present invention is provided, and the embodiments of the present invention may be applied to the video network, where a data storage instruction in a network disk client is first received, where the data storage instruction is used to instruct to store internet data to be stored to a network disk server, then the internet data to be stored is converted into video network data to be stored according to the data storage instruction, and the video network data to be stored is transmitted to the network disk server in the video network, and the video network data to be stored is stored by the network disk server. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a data storage method based on a video network according to the present invention is shown, where the method may be applied to a video network, and specifically may include the following steps:
step 501: and receiving a data storage instruction in the network disk client.
The data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network.
In the embodiment of the present invention, a user may perform user registration in a network disk client, and after the registration is completed, the user may log in through a registration account and a registration password, so that the user may check file data of the user in the network disk client, and in addition, the user may perform data processing operations (such as data storage, data acquisition, data movement, renaming of a file where the data is located, creating a folder, collecting data, sharing data, deleting data, and the like) after logging in the network disk client, the network disk client may generate a corresponding data processing instruction according to the data processing operations, it needs to be noted that when the user performs user registration, login, or data processing operations in the network disk client, the network disk server generates a corresponding processing result, and displays the processing result to the user in the network disk client, for example, if the user deletes a certain file data in the network disk client, the network disk client no longer displays the certain file data after the network disk server deletes the certain file data.
In this step, the user may perform a data storage operation in the network disk client, for example, the data storage operation may include dragging file data into the network disk client, or clicking a data upload button in the network disk client, so that the network disk client may display a to-be-selected file data list to the user, so that the user may select the to-be-stored internet data from the to-be-selected file data list, and complete selection of the to-be-stored internet data after the user clicks a confirmation button. In addition, the present invention may perform data storage operation on a plurality of internet data to be stored, for example, by clicking a data upload button in the network disk client, and when the network disk client displays the file data list to be selected to the user, the user may select the plurality of internet data to be stored from the file data list to be selected, and click a confirmation button, which is only an example, and the present invention is not limited thereto.
Step 502: and carrying out protocol conversion on the internet data to be stored according to the data storage instruction to obtain the video networking data to be stored.
Because the internet data and the video data are different, in order to enable the internet data to be transmitted in the video network, a data protocol converter may be adopted in this step, and the internet data to be stored is converted into the video network data to be stored according to the data storage instruction, where the data protocol converter may be a storage gateway, and the above example is only an example, and the present invention is not limited thereto.
Step 503: and transmitting the video networking data to be stored to a network disk server, and storing the video networking data to be stored through the network disk server.
In the embodiment of the invention, the characteristic that the video network has high-speed transmission is considered, and the data transmission between the network disk client and the network disk server depends on the video network, so that the data processing efficiency is improved. For the large-capacity data, if the large-capacity data has data transmission errors, the large-capacity data needs to be retransmitted, in order to solve the problem, when the video network data to be stored is transmitted to the network disk server, the large-capacity data can be subjected to fragmentation processing to obtain a plurality of pieces of data so as to sequentially perform data processing on the plurality of pieces of data, so that if part of the data fails to be transmitted, the part of the data can be retransmitted. In addition, after receiving the multiple pieces of data, the network disk server may perform fragmented data storage, and of course, may also perform merging and storage on the multiple pieces of data, for example, the network disk server in the present invention supports large data storage with a capacity exceeding 4GB and high-rate data transmission, and the above example is only an example, and the present disclosure does not limit this.
As can be seen from the above, the network disk server in the present invention can receive data sent by a network disk client in the internet, where the data protocol converter preferentially communicates with the network disk client through an internet protocol to obtain the internet data to be stored, the internet protocol may include a tcp (transmission Control protocol) protocol or a udp (user data protocol) protocol, and the like, then the data protocol converter converts the internet data to be stored into the video networking data to be stored, and finally the data protocol converter transmits the video networking data to be stored to the network disk server by using the video networking protocol. In another embodiment of the present invention, the network disk server may further receive data sent by the network disk client in the video network, and at this time, the data sent by the network disk client in the video network is transmitted to the network disk server through the video network protocol without protocol conversion in step 502.
It should be noted that, in order to ensure the security of data transmission, the present invention may also perform encryption processing on the video networking data to be stored, so that other users cannot view the video networking data to be stored after acquiring the video networking data to be stored.
In summary, a data storage instruction in the network disk client is received, where the data storage instruction is used to instruct to store the internet data to be stored to the network disk server, and then the internet data to be stored is converted into the video networking data to be stored according to the data storage instruction, and the video networking data to be stored is transmitted to the network disk server in the video networking, and the video networking data to be stored is stored through the network disk server. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.
Referring to fig. 6, a flowchart illustrating specific steps of an embodiment of a data storage method based on a video network according to the present invention is shown, where the method may be applied to a video network, and specifically may include the following steps:
step 601: and receiving a data storage instruction in the network disk client.
The data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network.
Step 602: and carrying out protocol conversion on the internet data to be stored according to the data storage instruction to obtain the video networking data to be stored.
In this step, a data protocol converter is adopted to perform protocol conversion on the internet data to be stored according to the data storage instruction to obtain the video networking data to be stored. The data protocol converter may obtain the to-be-stored internet data by using an internet protocol.
Step 603: and transmitting the video networking data to be stored to a network disk server, and storing the video networking data to be stored through the network disk server.
In the embodiment of the invention, the video networking data to be stored can be transmitted to the network disk server by adopting a video networking protocol.
It should be noted that, the network disk server stores the network disk data, at this time, the network disk client may send the corresponding network disk data to the network disk client according to a data acquisition instruction of the user in the network disk client, and the specific process refers to the following steps:
step 604: and receiving a data acquisition instruction in the network disk client.
The data acquisition instruction is used for indicating that the video network data to be acquired is acquired from the network disk server.
In this step, the user may perform a data obtaining operation on the to-be-obtained video networking data in the network disk client, for example, the data obtaining operation may be a double-click operation on a data identifier of the to-be-obtained video networking data, or select the to-be-obtained video networking data, and click an obtaining button, or the like.
Step 605: and acquiring the video networking data to be acquired from the network disk server according to the data acquisition instruction.
In the embodiment of the present invention, the data obtaining instruction may include a data identifier of the video network data to be obtained, so that the network disk server may obtain the video network data to be obtained from the network disk data according to the data identifier.
In addition, when the to-be-acquired video networking data is media data, considering that the network disk server can store media data of different formats, but the terminal where the network disk client is located does not support the playing of the media data of each format, or the playing effects of the media data of different formats are different, in order to improve the use experience of a user, in this step, if the to-be-acquired video networking data is media data, the data acquisition instruction may include the playing performance parameters of the terminal where the network disk client is located (such as the bandwidth of the network used by the terminal, the processing capability of the terminal, a player installed in the terminal, and the like), so that the data protocol converter may send the data acquisition instruction to the network disk server, and the network disk server may transcode the media data into the format of the optimal playing of the terminal where the network disk client is located according to the data acquisition instruction, so that the data protocol converter can acquire the transcoded media data from the network disk server. For example, the video data may be in a ts format, a flv format, an avi format, an mp4 format, and if the video network data to be acquired in the network disk server is ts video data, and the terminal where the network disk client is located supports flv video data, at this time, the ts video data may be converted into flv video data by the network disk server, and the converted flv video data is transmitted to the data protocol converter, so that the data protocol converter performs protocol conversion on the flv video data.
Step 606: and carrying out protocol conversion on the video networking data to be acquired to obtain the Internet data to be acquired.
Similarly, the data protocol converter is adopted to convert the to-be-acquired video network data into to-be-acquired internet data.
The network disk client in the invention can be a client in the internet, at this time, the network disk server can acquire the data of the video network to be acquired and transmit the data of the video network to be acquired to the data protocol converter through the video network protocol, the data protocol converter converts the video network to be acquired into the data of the internet to be acquired and transmits the data of the internet to be acquired to the network disk client through the internet protocol; of course, the network disk client in the invention can also be a client in the video network, so that the invention does not need a data protocol converter to carry out data protocol conversion, and the network disk server can directly send the video network data to be acquired to the network disk client.
Step 607: and sending the to-be-acquired internet data to the network disk client.
In summary, a data storage instruction in the network disk client is received, where the data storage instruction is used to instruct to store the internet data to be stored to the network disk server, and then the internet data to be stored is converted into the video networking data to be stored according to the data storage instruction, and the video networking data to be stored is transmitted to the network disk server in the video networking, and the video networking data to be stored is stored through the network disk server. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.
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 skilled 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 invention.
Referring to fig. 7, there is shown a block diagram of a data storage device based on video network, which is applied in video network, and comprises:
a first receiving module 701, configured to receive a data storage instruction in a network disk client; the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network;
a first conversion module 702, configured to perform protocol conversion on the to-be-stored internet data according to the data storage instruction to obtain to-be-stored video networking data;
a transmission module 703, configured to transmit the video networking data to be stored to the network disk server;
and the storage module 704 is used for storing the video networking data to be stored through the network disk server.
Referring to fig. 8, on the basis of fig. 7, there is shown a block diagram of a data storage device based on a video network according to the present invention, the device further includes:
a second receiving module 705, configured to receive a data obtaining instruction in the network disk client; the data acquisition instruction is used for indicating to acquire the video networking data to be acquired from the network disk server;
an obtaining module 706, configured to obtain the video networking data to be obtained from the network disk server according to the data obtaining instruction;
a second conversion module 707, configured to perform protocol conversion on the video networking data to be acquired to obtain internet data to be acquired;
a sending module 708, configured to send the to-be-acquired internet data to the network disk client.
Preferably, the first conversion module 702 is configured to employ a data protocol converter, perform protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
the second conversion module 707 is configured to perform protocol conversion on the to-be-acquired video networking data by using the data protocol converter to obtain the to-be-acquired internet data.
Preferably, when the to-be-acquired video networking data is media data, the acquiring module 706 is configured to, after the network disk server transcodes the media data into the optimal playing format of the terminal where the network disk client is located according to the data acquiring instruction, acquire the transcoded media data from the network disk server.
Preferably, the transmission module 703 is configured to transmit the video networking data to be stored to the network disk server by using a video networking protocol.
In summary, a data storage instruction in the network disk client is received first, where the data storage instruction is used to instruct to store the to-be-stored internet data to the network disk server, and then the to-be-stored internet data is converted into to-be-stored video networking data according to the data storage instruction, and the to-be-stored video networking data is transmitted to the network disk server in the video networking, and is stored by the network disk server. Therefore, because the existing network disk is transmitted through the Internet, the real-time performance of data transmission is poor, the invention converts the Internet data to be stored into the data of the video network, thereby storing the data at the network disk server side in the video network, improving the real-time performance of data storage and improving the efficiency of data transmission.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
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 the like) 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 storage method and device based on the video network provided by the invention are introduced in detail, and the principle and the implementation mode of the invention are explained by applying specific examples in the text, and the description of the above embodiments is only used for helping to 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 (6)

1. A data storage method based on video network is characterized in that the method is applied to the video network, and comprises the following steps:
receiving a data storage instruction in a network disk client; the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network;
performing protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
transmitting the video networking data to be stored to the network disk server, and storing the video networking data to be stored through the network disk server;
after the video networking data to be stored is stored through the network disk server, the method further comprises the following steps:
receiving a data acquisition instruction in the network disk client; the data acquisition instruction is used for indicating to acquire the video networking data to be acquired from the network disk server;
acquiring the video networking data to be acquired from the network disk server according to the data acquisition instruction;
carrying out protocol conversion on the video networking data to be acquired to obtain the Internet data to be acquired;
sending the internet data to be acquired to the network disk client;
when the data type of the video networking data to be acquired is media data, acquiring the video networking data to be acquired from the network disk server according to the data acquisition instruction comprises:
and after the network disk server transcodes the media data into the optimal playing format of the terminal where the network disk client is located according to the data acquisition instruction, acquiring the transcoded media data from the network disk server.
2. The method according to claim 1, wherein the performing protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored comprises:
adopting a data protocol converter to perform protocol conversion on the internet data to be stored according to the data storage instruction to obtain the video networking data to be stored;
the protocol conversion of the video networking data to be acquired to obtain the internet data to be acquired comprises the following steps:
and performing protocol conversion on the video networking data to be acquired by adopting the data protocol converter to obtain the internet data to be acquired.
3. The method according to claim 1, wherein the transmitting the data to be stored in the video network to a network disk server in the video network comprises:
and transmitting the video networking data to be stored to the network disk server side by adopting a video networking protocol.
4. A data storage device based on video network, which is applied in video network, the device includes:
the first receiving module is used for receiving a data storage instruction in the network disk client; the data storage instruction is used for indicating that the internet data to be stored is stored to a network disk server in the video network;
the first conversion module is used for carrying out protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
the transmission module is used for transmitting the video networking data to be stored to the network disk server;
the storage module is used for storing the video networking data to be stored through the network disk server;
the device further comprises:
the second receiving module is used for receiving a data acquisition instruction in the network disk client; the data acquisition instruction is used for indicating to acquire the video networking data to be acquired from the network disk server;
the acquisition module is used for acquiring the video networking data to be acquired from the network disk server according to the data acquisition instruction;
the second conversion module is used for carrying out protocol conversion on the video networking data to be acquired to obtain the Internet data to be acquired;
the sending module is used for sending the internet data to be acquired to the network disk client;
when the to-be-acquired video network data is media data, the acquisition module is used for transcoding the media data into an optimal playing format of a terminal where the network disk client is located according to the data acquisition instruction at the network disk server, and then acquiring the transcoded media data from the network disk server.
5. The device according to claim 4, wherein the first conversion module is configured to employ a data protocol converter to perform protocol conversion on the internet data to be stored according to the data storage instruction to obtain video networking data to be stored;
and the second conversion module is used for performing protocol conversion on the to-be-acquired video networking data by adopting the data protocol converter to obtain the to-be-acquired internet data.
6. The apparatus according to claim 4, wherein the transmission module is configured to transmit the video networking data to be stored to the network disk server by using a video networking protocol.
CN201811354661.9A 2018-11-14 2018-11-14 Data storage method and device based on video network Active CN109698859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811354661.9A CN109698859B (en) 2018-11-14 2018-11-14 Data storage method and device based on video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811354661.9A CN109698859B (en) 2018-11-14 2018-11-14 Data storage method and device based on video network

Publications (2)

Publication Number Publication Date
CN109698859A CN109698859A (en) 2019-04-30
CN109698859B true CN109698859B (en) 2022-04-19

Family

ID=66229850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811354661.9A Active CN109698859B (en) 2018-11-14 2018-11-14 Data storage method and device based on video network

Country Status (1)

Country Link
CN (1) CN109698859B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266638A (en) * 2019-05-08 2019-09-20 视联动力信息技术股份有限公司 Information processing method, device and storage medium
CN110602072A (en) * 2019-08-30 2019-12-20 视联动力信息技术股份有限公司 Virtual disk access method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528865B (en) * 2016-06-21 2020-07-28 平安科技(深圳)有限公司 File downloading method and system
CN108243153B (en) * 2016-12-23 2019-03-12 视联动力信息技术股份有限公司 A kind of method and apparatus playing TV programme in view networking

Also Published As

Publication number Publication date
CN109698859A (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN110198345B (en) Data request method, system and device and storage medium
CN111193788A (en) Audio and video stream load balancing method and device
CN108965040B (en) Service monitoring method and device for video network
CN110475090B (en) Conference control method and system
CN109617956B (en) Data processing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN110022295B (en) Data transmission method and video networking system
CN109547163B (en) Method and device for controlling data transmission rate
CN111221664A (en) Operation log processing system
CN109547817B (en) Method and device for double-playing video networking video recording in Internet
CN110266577B (en) Tunnel establishment method and video networking system
CN110213334B (en) Method and device for transmitting shared file
CN110113564B (en) Data acquisition method and video networking system
CN109743284B (en) Video processing method and system based on video network
CN110650147A (en) Data acquisition method and system
CN109698859B (en) Data storage method and device based on video network
CN110113555B (en) Video conference processing method and system based on video networking
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110087147B (en) Audio and video stream transmission method and device
CN109889516B (en) Method and device for establishing session channel
CN110392227B (en) Data processing method, device and storage medium
CN110022500B (en) Packet loss processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN110012063B (en) Data packet processing method and system

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China