CN109714641B - Data processing method and device based on video network - Google Patents

Data processing method and device based on video network Download PDF

Info

Publication number
CN109714641B
CN109714641B CN201811448980.6A CN201811448980A CN109714641B CN 109714641 B CN109714641 B CN 109714641B CN 201811448980 A CN201811448980 A CN 201811448980A CN 109714641 B CN109714641 B CN 109714641B
Authority
CN
China
Prior art keywords
data
processed
parameter type
software development
parameter
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
CN201811448980.6A
Other languages
Chinese (zh)
Other versions
CN109714641A (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 CN201811448980.6A priority Critical patent/CN109714641B/en
Publication of CN109714641A publication Critical patent/CN109714641A/en
Application granted granted Critical
Publication of CN109714641B publication Critical patent/CN109714641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention relates to the technical field of video networking, and provides a data processing method and a data processing device based on the video networking, wherein the method comprises the steps of receiving data processing triggering operation; responding to the data processing triggering operation, and determining data to be processed; acquiring the data to be processed through the data distribution control; determining the parameter type of the data to be processed through the data distribution control; and according to the parameter type, sending the data to be processed to a server corresponding to the parameter type through the data distribution control for data processing. According to the embodiment of the invention, the video network terminal can send the data of the video network parameter type and the data of the streaming media type through the data distribution control arranged on the video network terminal.

Description

Data processing method and device based on video network
Technical Field
The invention relates to the technical field of video networking, in particular to a data processing method and device based on video networking.
Background
Because the video networking technology can realize the real-time transmission of the whole network high-definition video which can not be realized by the internet at present, a plurality of applications are pushed to high-definition video, and high definition is face to face, so the video networking technology is applied more and more.
In the prior art, a video networking terminal SDK (Software Development Kit) and a streaming media SDK are two SDKs with independent functions, and because two SDKs have different interfaces, the video networking terminal can only call the video networking terminal SDK, and cannot call the streaming media SDK, which causes a communication obstacle between the video networking terminal and a streaming media server.
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 processing based on a visual network that overcomes or at least partially solves the above mentioned problems.
In order to solve the above problems, the embodiment of the present invention discloses a data processing method based on a video network, which is applied to a video network terminal, wherein the video network terminal is provided with a data distribution control; the method comprises the following steps:
receiving a data processing trigger operation;
responding to the data processing triggering operation, and determining data to be processed;
acquiring the data to be processed through the data distribution control;
determining the parameter type of the data to be processed through the data distribution control;
and according to the parameter type, sending the data to be processed to a server corresponding to the parameter type through the data distribution control for data processing.
The invention also provides a data processing device based on the video network, which is applied to the video network terminal, wherein the video network terminal is provided with a data distribution control; the device comprises:
the receiving module is used for receiving data processing triggering operation;
the determining module is used for responding to the data processing triggering operation and determining data to be processed;
the acquisition module is used for acquiring the data to be processed through the data distribution control;
the parameter type determining module is used for determining the parameter type of the data to be processed through the data distribution control;
and the processing module is used for sending the data to be processed to a server corresponding to the parameter type through the data distribution control according to the parameter type for data processing.
The embodiment of the invention has the following advantages:
the embodiment of the invention can be applied to a video network terminal, a data distribution control is preset in the video network terminal, the data distribution control can call different types of SDKs, when the video network terminal receives a data processing trigger operation, the data distribution control can automatically acquire the data to be processed corresponding to the data processing trigger operation, determine the parameter type of the data to be processed, and send the data to be processed to a server corresponding to the parameter type according to the parameter type for data processing, so that the data distribution control can be distributed to the corresponding server for processing no matter what type of parameter is sent by the video network terminal; therefore, for example, the data separation module can call the video networking terminal SDK and also call the streaming media SDK, and through the data distribution control arranged at the video networking terminal, the video networking terminal can send the data of the video networking parameter type and also can send the data of the streaming media type, and the video networking terminal SDK and the streaming media SDK do not need to be changed at all, thereby solving the communication obstacle between the video networking terminal and the streaming media server.
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 data processing method for video networking according to the present invention;
FIG. 6 is a flowchart illustrating the detailed steps of an embodiment of a data processing method based on a video network according to the present invention;
FIG. 7 is a block diagram of an embodiment of a data processing apparatus based on a video network according to the present invention;
fig. 8 is a specific block diagram of an embodiment of a data processing 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 incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, 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 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the core concepts of the embodiments of the present invention is provided, wherein a data distribution control is preset in a video network terminal, the data distribution control can call different types of SDKs, when the video network terminal receives a data processing trigger operation, the data distribution control can automatically acquire to-be-processed data corresponding to the data processing trigger operation, determine a parameter type of the to-be-processed data, and send the to-be-processed data to a server corresponding to the parameter type according to the parameter type for data processing, so that no matter what type of parameter is sent by the video network terminal, the to-be-processed data can be distributed to the corresponding server through the data distribution control for processing; therefore, for example, the data separation module can call the video networking terminal SDK and also call the streaming media SDK, and through the data distribution control arranged at the video networking terminal, the video networking terminal can send the data of the video networking parameter type and also can send the data of the streaming media type, and the video networking terminal SDK and the streaming media SDK do not need to be changed at all, thereby solving the communication obstacle between the video networking terminal and the streaming media server.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a data processing method based on a video network according to the present invention is shown, and the method can be applied to a video network terminal, wherein the video network terminal is provided with a data distribution control.
In the embodiment of the present invention, the video network terminal is a terminal that uses a video network protocol for communication, and specifically, the video network terminal may be a computer terminal, a multimedia player, and the like that access the video network.
In a specific application, the data distribution control may be an intermediate file, such as unified _ SDK (hook file), and the data distribution control may call the video networking terminal SDK or the streaming media SDK, which is a bridge between the video networking terminal SDK and the streaming media SDK.
The method specifically comprises the following steps:
step 501: and receiving a data processing trigger operation.
In the embodiment of the invention, when a user of a video networking terminal wishes to release video networking live broadcast, or wishes to watch video networking live broadcast, or wishes to release streaming media live broadcast, or wishes to watch streaming media live broadcast, or wishes to dial video networking videophone, or wishes to dial streaming media videophone, the user of the video networking terminal usually sends out data processing triggering operation to the video networking terminal, for example, the functions of 'releasing live broadcast', 'dialing videophone' and the like of the video networking terminal can be called, or the operations of calling the video networking terminal SDK and the like are called, and the data processing triggering operation can be used for indicating that the user of the video networking terminal wishes to perform data processing such as live broadcast and the like through the video networking terminal.
Step 502: and determining the data to be processed in response to the data processing triggering operation.
In the embodiment of the present invention, after receiving a data processing trigger operation, the video networking terminal may determine data to be processed in response to the data processing trigger operation, for example, may determine which videos are live through which specific interface, and the like, and then information such as the interface type and the video content may be used as the data to be processed.
Step 503: and acquiring the data to be processed through the data distribution control.
In the embodiment of the present invention, the data distribution control may automatically obtain the to-be-processed data, for example, when the data distribution control is unified _ sdk, the unified _ sdk may hook the to-be-processed data into unified _ sdk, and take over interface call of the video network terminal. In specific application, unified _ SDK can realize two functions, namely, firstly hooking the interface call of the SDK of the video networking terminal; secondly, a large amount of conversion of SKD interface parameters of the video network terminal and SKD interface parameters of the streaming media can be carried out.
Step 504: and determining the parameter type of the data to be processed through the data distribution control.
In the embodiment of the present invention, the data distribution control may determine the parameter type of the data to be processed according to the parameter identifier carried by the data to be processed, for example, may determine that the data to be processed is a video networking parameter or a streaming media parameter; the streaming media parameter may specifically be a parameter using an internet protocol, and the video network terminal may implement communication with the internet terminal through the streaming media server.
Step 505: and according to the parameter type, sending the data to be processed to a server corresponding to the parameter type through the data distribution control for data processing.
In the embodiment of the invention, after the parameter type is determined, the data to be processed can be sent to the server corresponding to the parameter type through the data distribution space, and the server processes the data, so that the communication between the video network terminal and the corresponding server is realized, and further the functions of publishing live broadcast, watching live broadcast and the like of the video network terminal are realized.
In summary, the embodiments of the present invention may be applied to a video networking terminal, where a data distribution control is preset in the video networking terminal, and the data distribution control may invoke different types of SDKs, and after the video networking terminal receives a data processing trigger operation, the data distribution control may automatically acquire to-be-processed data corresponding to the data processing trigger operation, determine a parameter type of the to-be-processed data, and send the to-be-processed data to a server corresponding to the parameter type according to the parameter type for data processing, so that no matter what type of parameter is sent by the video networking terminal, the to-be-processed data may be distributed to the corresponding server through the data distribution control for processing; therefore, for example, the data separation module can be a video networking terminal SDK or a streaming media SDK, and the video networking terminal can send data of a video networking parameter type or a streaming media type through a data distribution control arranged on the video networking terminal, and the video networking terminal SDK and the streaming media SDK do not need to be changed, so that communication obstacles between the video networking terminal and a streaming media server are solved.
Referring to fig. 6, a flowchart illustrating specific steps of an embodiment of a data processing method based on a video network according to the present invention is shown, which specifically includes the following steps:
step 601: and receiving a data processing trigger operation.
As a preferable mode of the embodiment of the present invention, step 601 may include:
receiving a calling operation of a video networking terminal software development control package; or receiving a calling operation of the published live application program.
In the embodiment of the invention, the data processing triggering operation can be specifically a calling operation of a video networking terminal software development control package or a calling operation of a live broadcast application program.
Step 602: and determining the data to be processed in response to the data processing triggering operation.
Step 603: reading the parameter identification through the data distribution control to obtain the parameter type of the data to be processed, wherein the data to be processed comprises: and identifying the parameters.
In the embodiment of the present invention, the data to be processed may carry the parameter identifier at a preset position, and the data distribution control may directly read the parameter identifier at the preset position, so as to obtain the parameter type of the data to be processed through the parameter identifier.
For example, it may be predetermined that a parameter identifier is carried in a header of the data to be processed, where the parameter identifier is "0", the data to be processed is represented as an internet parameter, and where the parameter identifier is "1", the data to be processed is represented as an internet parameter. It can be understood that, a person skilled in the art may determine a specific location and content of the parameter identifier of the data to be processed according to an actual application scenario, which is not specifically limited in the embodiment of the present invention.
Step 604: and under the condition that the parameter type is the video networking parameter, the data to be processed is sent to a video networking server through the data distribution control for data processing.
Preferably, step 604 includes: and under the condition that the parameter type is the video networking parameter, calling a video networking terminal software development control package through the data distribution control, and sending the data to be processed to a video networking server for data processing through the video networking terminal software development control package.
In the embodiment of the invention, under the condition that the data distribution control judges the parameter type to be the video networking parameter, the video networking terminal SDK can be called, and the data to be processed is sent to the video networking server through the video networking terminal SDK, so that the communication between the video networking terminal and the video networking server is realized.
Step 605: and under the condition that the parameter type is an internet parameter, the data to be processed is sent to a streaming media server through the data distribution control for data processing.
Preferably, step 605 includes: and under the condition that the parameter type is an internet parameter, calling a streaming media software development control package through the data distribution control, and sending the data to be processed to a streaming media server for data processing through the streaming media software development control package.
In the embodiment of the invention, under the condition that the data distribution control judges the parameter type to be the internet parameter, the streaming media SDK can be called, and the data to be processed is sent to the streaming media server through the streaming media SDK, so that the communication between the video network terminal and the streaming media server is realized.
When the video networking terminal calls the SDK interface of the video networking terminal, the unified _ SDK hooks the calling interface into the unified _ SDK, judgment is carried out in the unified _ SDK, and if the called interface is a video networking parameter, the original SDK of the video networking terminal is called; if the parameter is the streaming media parameter, the streaming media SKD is called, that is, on the premise that the calling interface of the video networking terminal is not changed, the video networking terminal can call the video networking terminal SKD to execute the related services of the video networking, and can call the streaming media SDK to execute the related services of the streaming media. Therefore, the video network terminal can release the video network live broadcast and watch the video network live broadcast; the video network terminal can also release the stream media live broadcast and can watch the stream media live broadcast; the video networking terminal can dial a video networking video telephone; the video network terminal can also dial the streaming media and can be a telephone.
In summary, the embodiments of the present invention may be applied to a video networking terminal, where a data distribution control is preset in the video networking terminal, and the data distribution control may invoke different types of SDKs, and after the video networking terminal receives a data processing trigger operation, the data distribution control may automatically acquire to-be-processed data corresponding to the data processing trigger operation, determine a parameter type of the to-be-processed data, and send the to-be-processed data to a server corresponding to the parameter type according to the parameter type for data processing, so that no matter what type of parameter is sent by the video networking terminal, the to-be-processed data may be distributed to the corresponding server through the data distribution control for processing; therefore, for example, the data separation module can be a video networking terminal SDK or a streaming media SDK, and the video networking terminal can send data of a video networking parameter type or a streaming media type through a data distribution control arranged on the video networking terminal, and the video networking terminal SDK and the streaming media SDK do not need to be changed, so that communication obstacles between the video networking terminal and a streaming media server are solved.
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 processing apparatus based on video network, which may be applied to a video network terminal, wherein the video network terminal is provided with a data distribution control; the device comprises:
a receiving module 710, configured to receive a data processing trigger operation;
a determining module 720, configured to determine to-be-processed data in response to the data processing trigger operation;
an obtaining module 730, configured to obtain the to-be-processed data through the data distribution control;
a parameter type determining module 740, configured to determine a parameter type of the to-be-processed data through the data distribution control;
and the processing module 750 is configured to send the data to be processed to a server corresponding to the parameter type through the data distribution control according to the parameter type to perform data processing.
Preferably, with reference to fig. 8, on the basis of fig. 7, in the device:
the data to be processed comprises: parameter identification, the parameter type determination module 740 includes:
and the parameter type determining submodule 7401 is used for reading the parameter identifier through the data distribution control to obtain the parameter type of the data to be processed.
The parameter types include: a video networking parameter, an internet parameter, and the processing module 750 includes:
the first processing submodule 7501 is configured to, when the parameter type is a video networking parameter, send the data to be processed to a video networking server through the data distribution control to perform data processing;
and the second processing submodule 7502 is configured to, when the parameter type is an internet parameter, send the data to be processed to a streaming media server through the data distribution control for data processing.
The first processing submodule 7501 includes:
the first processing unit is used for calling a video network terminal software development control package through the data distribution control under the condition that the parameter type is a video network parameter, and sending the data to be processed to a video network server through the video network terminal software development control package for data processing;
the second processing sub-module 7502 includes:
and the second processing unit is used for calling a streaming media software development control package through the data distribution control under the condition that the parameter type is the internet parameter, and sending the data to be processed to a streaming media server through the streaming media software development control package for data processing.
The receiving module 710 includes:
the first receiving submodule 7101 is used for receiving calling operation of a video networking terminal software development control package;
or the like, or, alternatively,
and the second receiving submodule 7102 is used for receiving a calling operation of the released live application program.
In summary, the embodiments of the present invention may be applied to a video networking terminal, where a data distribution control is preset in the video networking terminal, and the data distribution control may invoke different types of SDKs, and after the video networking terminal receives a data processing trigger operation, the data distribution control may automatically acquire to-be-processed data corresponding to the data processing trigger operation, determine a parameter type of the to-be-processed data, and send the to-be-processed data to a server corresponding to the parameter type according to the parameter type for data processing, so that no matter what type of parameter is sent by the video networking terminal, the to-be-processed data may be distributed to the corresponding server through the data distribution control for processing; therefore, for example, the data separation module can be a video networking terminal SDK or a streaming media SDK, and the video networking terminal can send data of a video networking parameter type or a streaming media type through a data distribution control arranged on the video networking terminal, and the video networking terminal SDK and the streaming media SDK do not need to be changed, so that communication obstacles between the video networking terminal and a streaming media server are solved.
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 processing 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 (10)

1. A data processing method based on video network is characterized in that the method is applied to a video network terminal, wherein the video network terminal is provided with a data distribution control, and the data distribution control is used for calling different types of software development control packages; the method comprises the following steps:
receiving a data processing trigger operation;
responding to the data processing triggering operation, and determining data to be processed;
acquiring the data to be processed through the data distribution control;
determining the parameter type of the data to be processed through the data distribution control;
calling a software development control package corresponding to the parameter type through the data distribution control according to the parameter type, and sending the data to be processed to a server corresponding to the parameter type through the called software development control package for data processing;
according to the parameter type, calling a software development control package corresponding to the parameter type through the data distribution control, and sending the data to be processed to a server corresponding to the parameter type through the called software development control package for data processing, wherein the data processing method comprises the following steps:
the data distribution control is unified _ sdk, when a software development control package interface of the video network terminal is called, the software development control package interface is hooked into the unified _ sdk through the unified _ sdk, the parameter type of the data to be processed is judged in the unified _ sdk, and the data to be processed is sent to a server corresponding to the parameter type for data processing.
2. The method of claim 1, wherein the data to be processed comprises: the step of determining the parameter type of the data to be processed through the data distribution control comprises:
and reading the parameter identification through the data distribution control to obtain the parameter type of the data to be processed.
3. The method of claim 2, wherein the parameter types comprise: the method comprises the steps of selecting a software development control package corresponding to a parameter type through a data distribution control according to the parameter type, and sending data to be processed to a server corresponding to the parameter type through the selected software development control package for data processing, wherein the steps comprise:
under the condition that the parameter type is a video networking parameter, calling a software development control package corresponding to the parameter type through the data distribution control, and sending the data to be processed to a video networking server for data processing through the called software development control package;
and under the condition that the parameter type is an internet parameter, calling a software development control package corresponding to the parameter type through the data distribution control, and sending the data to be processed to a streaming media server for data processing through the called software development control package.
4. The method according to claim 3, wherein the step of calling a software development control package corresponding to the parameter type through the data distribution control and sending the data to be processed to an internet of view server through the called software development control package for data processing includes:
under the condition that the parameter type is the video networking parameter, calling a video networking terminal software development control package through the data distribution control, and sending the data to be processed to a video networking server through the video networking terminal software development control package for data processing;
under the condition that the parameter type is an internet parameter, calling a software development control package corresponding to the parameter type through the data distribution control, and sending the data to be processed to a streaming media server through the called software development control package for data processing, wherein the step comprises the following steps of:
and under the condition that the parameter type is an internet parameter, calling a streaming media software development control package through the data distribution control, and sending the data to be processed to a streaming media server for data processing through the streaming media software development control package.
5. The method of claim 1, wherein the step of receiving a data processing trigger operation comprises:
receiving a calling operation of a video networking terminal software development control package;
or the like, or, alternatively,
and receiving a calling operation for releasing the live application program.
6. The data processing device based on the video network is applied to a video network terminal, wherein the video network terminal is provided with a data distribution control, and the data distribution control is used for calling different types of software development control packages;
the device comprises:
the receiving module is used for receiving data processing triggering operation;
the determining module is used for responding to the data processing triggering operation and determining data to be processed;
the acquisition module is used for acquiring the data to be processed through the data distribution control;
the parameter type determining module is used for determining the parameter type of the data to be processed through the data distribution control;
the processing module is used for calling a software development control package corresponding to the parameter type through the data distribution control according to the parameter type and sending the data to be processed to a server corresponding to the parameter type through the called software development control package for data processing;
the data distribution control is unified _ sdk, and the processing module is further configured to hook the software development control package interface into the unified _ sdk through the unified _ sdk when the software development control package interface of the video networking terminal is called, determine a parameter type of the to-be-processed data in the unified _ sdk, and send the to-be-processed data to a server corresponding to the parameter type for data processing.
7. The apparatus of claim 6, wherein the data to be processed comprises: a parameter identification, the parameter type determination module comprising:
and the parameter type determining submodule is used for reading the parameter identification through the data distribution control to obtain the parameter type of the data to be processed.
8. The apparatus of claim 7, wherein the parameter types comprise: the processing module comprises a video networking parameter and an internet parameter:
the first processing submodule is used for calling a software development control package corresponding to the parameter type through the data distribution control under the condition that the parameter type is the video networking parameter, and sending the data to be processed to a video networking server through the called software development control package for data processing;
and the second processing submodule is used for calling a software development control package corresponding to the parameter type through the data distribution control under the condition that the parameter type is the internet parameter, and sending the data to be processed to the streaming media server for data processing through the called software development control package.
9. The apparatus of claim 8, wherein the first processing sub-module comprises:
the first processing unit is used for calling a video network terminal software development control package through the data distribution control under the condition that the parameter type is a video network parameter, and sending the data to be processed to a video network server through the video network terminal software development control package for data processing;
the second processing sub-module comprises:
and the second processing unit is used for calling a streaming media software development control package through the data distribution control under the condition that the parameter type is the internet parameter, and sending the data to be processed to a streaming media server through the streaming media software development control package for data processing.
10. The apparatus of claim 6, wherein the receiving module comprises:
the first receiving submodule is used for receiving the calling operation of the video networking terminal software development control package;
or the like, or, alternatively,
and the second receiving submodule is used for receiving the calling operation of the released live broadcast application program.
CN201811448980.6A 2018-11-28 2018-11-28 Data processing method and device based on video network Active CN109714641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811448980.6A CN109714641B (en) 2018-11-28 2018-11-28 Data processing method and device based on video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811448980.6A CN109714641B (en) 2018-11-28 2018-11-28 Data processing method and device based on video network

Publications (2)

Publication Number Publication Date
CN109714641A CN109714641A (en) 2019-05-03
CN109714641B true CN109714641B (en) 2021-06-29

Family

ID=66255221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811448980.6A Active CN109714641B (en) 2018-11-28 2018-11-28 Data processing method and device based on video network

Country Status (1)

Country Link
CN (1) CN109714641B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447395A (en) * 2020-03-05 2020-07-24 视联动力信息技术股份有限公司 Data communication method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
CN107995451A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind of inspection method and device regarding networked video stream
EP3340688A1 (en) * 2016-08-09 2018-06-27 HTC Corporation Device and method of handling narrowband internet of things communication
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108462589A (en) * 2017-02-20 2018-08-28 北京视联动力国际信息技术有限公司 A kind of method for connecting network and device of terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005043006B4 (en) * 2005-09-09 2009-04-16 Infineon Technologies Ag Communication system, communication session server unit, media distribution unit and method for transferring data in the context of a communication session
CN101594297A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 The swap server of data addressing and forwarding, system and method in the Control Network
CN106027757B (en) * 2016-04-28 2020-03-31 努比亚技术有限公司 Device and method for distributed reporting of mobile terminal data
CN206251120U (en) * 2016-12-05 2017-06-13 爱国者电子科技有限公司 Wireless router and wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409673A (en) * 2008-11-12 2009-04-15 北京恒光创新科技股份有限公司 Method for transmitting network adapter data, network adapter and system
EP3340688A1 (en) * 2016-08-09 2018-06-27 HTC Corporation Device and method of handling narrowband internet of things communication
CN107995451A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind of inspection method and device regarding networked video stream
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108462589A (en) * 2017-02-20 2018-08-28 北京视联动力国际信息技术有限公司 A kind of method for connecting network and device of terminal

Also Published As

Publication number Publication date
CN109714641A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109474715B (en) Resource configuration method and device based on video network
CN108965226B (en) Data acquisition method and device based on video network
CN111193788A (en) Audio and video stream load balancing method and device
CN109743284B (en) Video processing method and system based on video network
CN108881148B (en) Data acquisition method and device
CN110769297A (en) Audio and video data processing method and system
CN109714641B (en) Data processing method and device based on video network
CN110557319B (en) Message processing method and device based on video network
CN110233872B (en) Data transmission method based on video network and video network terminal
CN110177244B (en) Method and system for polling conference terminal
CN110086773B (en) Audio and video data processing method and system
CN109788231B (en) Video telephone service processing method and device
CN109889755B (en) Communication connection method and video networking terminal
CN109743555B (en) Information processing method and system based on video network
CN109698953B (en) State detection method and system for video network monitoring equipment
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110113553B (en) Method and device for processing video telephone
CN110769324A (en) Processing method and device of virtual terminal
CN110830826A (en) Video transcoding equipment scheduling method and system
CN110198433B (en) Access method and system of monitoring video recording equipment
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110048870B (en) Cross-video-networking communication method and device
CN110582129B (en) Resource release method and device
CN110166740B (en) Method and device for monitoring resource processing

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