data processing method and system based on video network

文档序号:1697130 发布日期:2019-12-10 浏览:25次 中文

阅读说明:本技术 一种基于视联网的数据处理方法及系统 (data processing method and system based on video network ) 是由 赵海亮 秦轩敏 李艳朋 孙绍敏 于 2018-05-30 设计创作,主要内容包括:本发明实施例提供了一种基于视联网的数据处理方法及系统。通过本发明实施例,即使第一视联网设备与第二视联网设备中的任意一条通信链路出现故障,第二视联网设备还可以通过其他通信链路接收到该获取请求,以及第一视联网设备还可以通过其他通信链路接收到该视联网数据,从而使得第一视联网设备能够处理该视联网数据。(The embodiment of the invention provides a data processing method and system based on a video network. Through the embodiment of the invention, even if any one communication link between the first video network equipment and the second video network equipment fails, the second video network equipment can also receive the acquisition request through other communication links, and the first video network equipment can also receive the video network data through other communication links, so that the first video network equipment can process the video network data.)

1. a data processing method based on video networking, wherein the video networking comprises a first video networking device and a second video networking device, a plurality of communication links based on video networking are provided between the first video networking device and the second video networking device, and the method comprises the following steps:

the first video network device sends an acquisition request for acquiring the video network data to the second video network device through the plurality of communication links, wherein the acquisition request carries a data identifier of the video network data;

The second video networking equipment receives the acquisition requests through the plurality of communication links respectively;

the second video network equipment acquires the video network data according to the data identifier carried in one path of the received multiple paths of acquisition requests;

the second video network equipment respectively sends the video network data to the first video network equipment through the plurality of communication links;

The first video network equipment receives the video network data through the plurality of communication links respectively;

and the first video networking equipment processes one path of video networking data in the received multiple paths of video networking data.

2. The method according to claim 1, wherein the second video network device acquires the video network data according to the data identifier carried in one of the received multiple paths of acquisition requests, and includes:

And the second video network equipment acquires the video network data according to the data identifier carried in the received first acquisition request.

3. the method of claim 1, wherein the first video network device processes one of the received multiple channels of video network data, comprising:

The first video network equipment determines the data integrity of each path of received video network data;

The first video network equipment selects complete video network data from the received multi-channel video network data according to the data integrity;

the first video network device processes the selected video network data.

4. the method of claim 1, wherein the first video network device processes one of the received multiple channels of video network data, comprising:

The first video network device processes the received first video network data.

5. The method of claim 1, wherein the first video network device processes one of the received multiple channels of video network data, comprising:

the first video network equipment acquires the total selection times of video network data respectively received through each communication link within a preset time length before the current moment;

and the first video network equipment selects the video network data with the maximum total selection times from the received multi-channel video network data.

6. a data processing system based on video networking, the system comprising a first video networking device and a second video networking device, the first video networking device and the second video networking device having a plurality of video networking based communication links therebetween, the system comprising:

The first video network device is used for respectively sending an acquisition request for acquiring the video network data to the second video network device through the plurality of communication links, and the acquisition request carries a data identifier of the video network data;

The second video networking equipment is used for respectively receiving the acquisition requests through the plurality of communication links;

The second video network device is further configured to obtain the video network data according to the data identifier carried in one of the received multiple paths of obtaining requests;

the second video network device is further used for respectively sending the video network data to the first video network device through the plurality of communication links;

the first video network device is further used for respectively receiving the video network data through the plurality of communication links;

The first video network equipment is also used for processing one path of video network data in the received multiple paths of video network data.

7. The system according to claim 6, wherein said second video network device is further configured to obtain said video network data according to said data identifier carried in said received first obtaining request.

8. the system of claim 6, wherein the first video networking device is further configured to determine a data integrity of each received way video networking data;

the first video network equipment is also used for selecting complete video network data from the received multi-channel video network data according to the data integrity;

The first video network device is also used for processing the selected video network data.

9. the system of claim 6, wherein the first video network device is further configured to process the received first video network data.

10. The system of claim 6, wherein the first video network device is further configured to obtain a total number of selections of video network data respectively received via each communication link within a preset time period before the current time;

The first video network equipment is also used for selecting the video network data with the largest total selection times from the received multi-channel video network data.

Technical Field

The invention relates to the technical field of video networking, in particular to a data processing method and system based on video networking.

Background

currently, data on a network is explosively increased, and in order for a user to use the data, the data needs to be stored on a network server so that the user can download and use the data from the network server by using a terminal.

when the terminal needs to process certain data, the terminal can send an acquisition request for acquiring the data to the network server; the network server receives the acquisition request, acquires the data stored by the network server and sends the data to the terminal; the terminal receives the data and processes the data.

However, the inventor found that sometimes a communication link between the network server and the terminal is failed, which results in that the data is lost in the process of being transmitted from the network server to the terminal, and thus the terminal cannot obtain the data and further cannot process the data.

Disclosure of Invention

In order to solve the above technical problem, embodiments of the present invention show a data processing method and system based on a video network.

In a first aspect, an embodiment of the present invention shows a data processing method based on an internet of view, where the internet of view includes a first internet of view device and a second internet of view device, and multiple communication links based on the internet of view are provided between the first internet of view device and the second internet of view device, the method includes:

the first video network device sends an acquisition request for acquiring the video network data to the second video network device through the plurality of communication links, wherein the acquisition request carries a data identifier of the video network data;

The second video networking equipment receives the acquisition requests through the plurality of communication links respectively;

the second video network equipment acquires the video network data according to the data identifier carried in one path of the received multiple paths of acquisition requests;

the second video network equipment respectively sends the video network data to the first video network equipment through the plurality of communication links;

The first video network equipment receives the video network data through the plurality of communication links respectively;

and the first video networking equipment processes one path of video networking data in the received multiple paths of video networking data.

In an optional implementation manner, the acquiring, by the second video networking device, the video networking data according to the data identifier carried in one of the received multiple paths of acquisition requests includes:

And the second video network equipment acquires the video network data according to the data identifier carried in the received first acquisition request.

In an optional implementation manner, the processing, by the first video networking device, one piece of video networking data in the received multiple pieces of video networking data includes:

the first video network equipment determines the data integrity of each path of received video network data;

the first video network equipment selects complete video network data from the received multi-channel video network data according to the data integrity;

The first video network device processes the selected video network data.

In an optional implementation manner, the processing, by the first video networking device, one piece of video networking data in the received multiple pieces of video networking data includes:

the first video network device processes the received first video network data.

In an optional implementation manner, the processing, by the first video networking device, one piece of video networking data in the received multiple pieces of video networking data includes:

The first video network equipment acquires the total selection times of video network data respectively received through each communication link within a preset time length before the current moment;

And the first video network equipment selects the video network data with the maximum total selection times from the received multi-channel video network data.

in a second aspect, an embodiment of the present invention shows an internet of view based data processing system, where the system includes a first internet of view device and a second internet of view device, and multiple internet of view based communication links are provided between the first internet of view device and the second internet of view device, and the system includes:

the first video network device is used for respectively sending an acquisition request for acquiring the video network data to the second video network device through the plurality of communication links, and the acquisition request carries a data identifier of the video network data;

The second video networking equipment is used for respectively receiving the acquisition requests through the plurality of communication links;

The second video network device is further configured to obtain the video network data according to the data identifier carried in one of the received multiple paths of obtaining requests;

The second video network device is further used for respectively sending the video network data to the first video network device through the plurality of communication links;

The first video network device is further used for respectively receiving the video network data through the plurality of communication links;

the first video network equipment is also used for processing one path of video network data in the received multiple paths of video network data.

in an optional implementation manner, the second video network device is further configured to obtain the video network data according to the data identifier carried in the received first obtaining request.

In an optional implementation, the first video networking device is further configured to determine data integrity of each received path video networking data;

The first video network equipment is also used for selecting complete video network data from the received multi-channel video network data according to the data integrity;

The first video network device is also used for processing the selected video network data.

in an alternative implementation, the first video network device is further configured to process the received first video network data.

In an optional implementation manner, the first video network device is further configured to obtain a total number of selection times of video network data respectively received through each communication link within a preset time length before the current time;

the first video network equipment is also used for selecting the video network data with the largest total selection times from the received multi-channel video network data.

The embodiment of the invention has the following advantages:

In the embodiment of the invention, a first video network device sends an acquisition request for acquiring video network data to a second video network device through a plurality of communication links, wherein the acquisition request carries a data identifier of the video network data; the second video networking equipment receives the acquisition request through a plurality of communication links respectively; the second video network equipment acquires video network data according to the data identifier carried in one path of the received multiple paths of acquisition requests; the second video network equipment respectively sends the video network data to the first video network equipment through a plurality of communication links; the first video networking equipment receives video networking data through a plurality of communication links respectively; the first video network equipment processes one path of video network data in the received multiple paths of video network data.

Through the embodiment of the invention, even if any one communication link between the first video network equipment and the second video network equipment fails, the second video network equipment can also receive the acquisition request through other communication links, and the first video network equipment can also receive the video network data through other communication links, so that the first video network equipment can process the video network data.

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 block diagram of an embodiment of a data processing system based on a video network according to the present invention;

FIG. 6 is a flowchart illustrating the steps of an embodiment of a data processing method based on a video network.

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 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 exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot 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 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 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 platform (the part in the 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: 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 MACSA of the ethernet coordination 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 following the protocol of the video network, even if any one of the communication links between the first video network device and the second video network device fails, the second video network device may further receive the acquisition request through another communication link, and the first video network device may further receive the video network data through another communication link, so that the first video network device can process the video network data.

referring to fig. 5, a block diagram of an embodiment of a data processing system based on the internet of vision according to the present invention is shown, the system includes a first internet of vision device 01 and a second internet of vision device 02, and a plurality of communication links based on the internet of vision are provided between the first internet of vision device 01 and the second internet of vision device 02; the first video network device 01 and the second video network device 02 can mutually transmit video network data through each communication link between the first video network device and the second video network device.

the second video network device 01 comprises a terminal, a server, a base station or a router and the like. The second video networking device 01 also comprises a terminal, a server, a base station or a router and the like.

Referring to fig. 6, a flowchart illustrating steps of an embodiment of a data processing method based on the internet of view according to the present invention is shown, where the method may be applied to the system shown in fig. 5, and the method may specifically include the following steps:

In step S101, a first video network device sends an acquisition request for acquiring video network data to a second video network device through a plurality of communication links, where the acquisition request carries a data identifier of the video network data;

wherein the data identifications of different video network data are different.

In the embodiment of the invention, when the first video network device needs to process the video network data, the video network data can be obtained from the second video network device and then processed.

in order to avoid that the second video network device cannot receive the acquisition request due to the fact that the acquisition request is lost in transmission on one communication link between the first video network device and the second video network device, the first video network device can respectively send the acquisition request to the second video network device through a plurality of communication links.

in step S102, the second video network device receives the obtaining requests through a plurality of communication links respectively;

In step S103, the second video network device obtains video network data according to the data identifier carried in one of the received multiple paths of obtaining requests;

in the embodiment of the present invention, bandwidths of different communication links between a first video networking device and a second video networking device are often different, or numbers of relay devices in different communication links between the first video networking device and the second video networking device are different, so that durations that the same acquisition request needs to be consumed when the same acquisition request is transmitted through different communication links are different, so that the first video networking device sends the same acquisition request to the second video networking device through a plurality of communication links at the same time, but the second video networking device often receives the acquisition request through different communication links at different times.

in this embodiment of the present invention, the purpose of the first video network device obtaining the video network data is to process the video network data, and in order to improve the processing efficiency of the first video network device processing the video network data, in this step, the second video network device may obtain the video network data according to the data identifier carried in the received first obtaining request.

In the embodiment of the present invention, the second internet-of-view device may further receive the acquisition request through another communication link, but does not acquire the internet-of-view data according to the data identifier carried in the acquisition request received through another communication link, and may directly discard the acquisition request received through another communication link.

In step S104, the second video network device sends the video network data to the first video network device through a plurality of communication links, respectively;

in order to avoid that the first video network device cannot receive the video network data due to the fact that the video network data is lost when being transmitted on one communication link between the second video network device and the first video network device, the second video network device can respectively send the video network data to the first video network device through a plurality of communication links.

In step S105, the first video network device receives video network data through a plurality of communication links, respectively;

In step S106, the first video network device processes one of the received multiple video network data.

in the embodiment of the present invention, the video networking data includes a plurality of data packets, and part of the data packets may be lost during the transmission of the video networking data in the communication link, so that the video networking data received by the first video networking device through the communication link is incomplete, and the first video networking device cannot normally process the video networking data.

thus, to enable the first internet-of-view device to process the internet-of-view data normally, the first internet-of-view device may determine the data integrity of each way of received internet-of-view data; the first video network equipment selects complete video network data from the received multi-channel video network data according to the data integrity; the first video network device processes the selected video network data.

in the embodiment of the present invention, each data packet included in the video networking data has a respective number, the numbers of different data packets are different, the video networking data further includes a preset field, and the preset field stores the numbers of all data packets included in the video networking data. Therefore, when determining the data integrity of any received road video network data, the ratio between the number of data packets included in the road video network data and the number of numbers stored in the preset field included in the road video network data can be calculated and taken as the data integrity of the road video network data.

in another embodiment of the present invention, bandwidths of different communication links between the first and second video networking devices are often different, or the numbers of relay devices in different communication links between the first and second video networking devices are different, so that the time duration required for transmitting the same video networking data in different communication links is different, and thus, although the second video networking device simultaneously sends the same video networking data to the first video networking device through a plurality of communication links, the first video networking device often receives the video networking data through different communication links at different times.

In another embodiment of the present invention, the purpose of the first video network device acquiring the video network data is to process the video network data, and in order to improve the efficiency of the first video network device processing the video network data, in this step, the first video network device may process the received first video network data.

In the embodiment of the invention, the first video network device may subsequently receive the video network data through other communication links, but does not process the video network data subsequently received through other communication links, and can directly discard the video network data received through other communication links.

In the embodiment of the invention, in the history process, after the same video networking data is received through a plurality of communication links each time, if the video networking data received through a certain communication link is often selected, the video networking data is received completely through the communication link and/or the video networking data received through the communication link is often the first video networking data received, so that when one video networking data in the received multi-path video networking data is processed, the first video networking device obtains the total selection times of selecting the video networking data received through each communication link respectively within the preset time length before the current time; and then selecting the video network data with the maximum total selection times from the received multi-channel video network data.

In the embodiment of the invention, a first video network device sends an acquisition request for acquiring video network data to a second video network device through a plurality of communication links, wherein the acquisition request carries a data identifier of the video network data; the second video networking equipment receives the acquisition request through a plurality of communication links respectively; the second video network equipment acquires video network data according to the data identifier carried in one path of the received multiple paths of acquisition requests; the second video network equipment respectively sends the video network data to the first video network equipment through a plurality of communication links; the first video networking equipment receives video networking data through a plurality of communication links respectively; the first video network equipment processes one path of video network data in the received multiple paths of video network data.

through the embodiment of the invention, even if any one communication link between the first video network equipment and the second video network equipment fails, the second video network equipment can also receive the acquisition request through other communication links, and the first video network equipment can also receive the video network data through other communication links, so that the first video network equipment can process the video network data.

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.

The embodiment of the invention also discloses a data processing system based on the video network, the system comprises a first video network device and a second video network device, a plurality of communication links based on the video network are arranged between the first video network device and the second video network device, and the system comprises:

The first video network device is used for respectively sending an acquisition request for acquiring the video network data to the second video network device through the plurality of communication links, and the acquisition request carries a data identifier of the video network data;

The second video networking equipment is used for respectively receiving the acquisition requests through the plurality of communication links;

The second video network device is further configured to obtain the video network data according to the data identifier carried in one of the received multiple paths of obtaining requests;

The second video network device is further used for respectively sending the video network data to the first video network device through the plurality of communication links;

The first video network device is further used for respectively receiving the video network data through the plurality of communication links;

The first video network equipment is also used for processing one path of video network data in the received multiple paths of video network data.

in an optional implementation manner, the second video network device is further configured to obtain the video network data according to the data identifier carried in the received first obtaining request.

in an optional implementation, the first video networking device is further configured to determine data integrity of each received path video networking data;

the first video network equipment is also used for selecting complete video network data from the received multi-channel video network data according to the data integrity;

The first video network device is also used for processing the selected video network data.

in an alternative implementation, the first video network device is further configured to process the received first video network data.

in an optional implementation manner, the first video network device is further configured to obtain a total number of selection times of video network data respectively received through each communication link within a preset time length before the current time;

The first video network equipment is also used for selecting the video network data with the largest total selection times from the received multi-channel video network data.

In the embodiment of the invention, a first video network device sends an acquisition request for acquiring video network data to a second video network device through a plurality of communication links, wherein the acquisition request carries a data identifier of the video network data; the second video networking equipment receives the acquisition request through a plurality of communication links respectively; the second video network equipment acquires video network data according to the data identifier carried in one path of the received multiple paths of acquisition requests; the second video network equipment respectively sends the video network data to the first video network equipment through a plurality of communication links; the first video networking equipment receives video networking data through a plurality of communication links respectively; the first video network equipment processes one path of video network data in the received multiple paths of video network data.

Through the embodiment of the invention, even if any one communication link between the first video network equipment and the second video network equipment fails, the second video network equipment can also receive the acquisition request through other communication links, and the first video network equipment can also receive the video network data through other communication links, so that the first video network equipment can process the video network data.

For the system 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, system, 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 a system 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 an instruction system 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 method and system for establishing communication connection based on video networking provided by the invention are introduced in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the 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.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种监控系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类