CN109302455B - Data processing method and device for video network - Google Patents

Data processing method and device for video network Download PDF

Info

Publication number
CN109302455B
CN109302455B CN201811038330.4A CN201811038330A CN109302455B CN 109302455 B CN109302455 B CN 109302455B CN 201811038330 A CN201811038330 A CN 201811038330A CN 109302455 B CN109302455 B CN 109302455B
Authority
CN
China
Prior art keywords
video network
terminal
video
server
acquisition request
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
CN201811038330.4A
Other languages
Chinese (zh)
Other versions
CN109302455A (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 CN201811038330.4A priority Critical patent/CN109302455B/en
Publication of CN109302455A publication Critical patent/CN109302455A/en
Application granted granted Critical
Publication of CN109302455B publication Critical patent/CN109302455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method and device of a video network, wherein the video network comprises a video network server and a video network terminal, and the video network terminal comprises a first video network terminal and a second video network terminal; the method comprises the following steps: the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information; the video network server extracts the terminal number information in the data acquisition request; the video network server establishes connection with the second video network terminal according to the terminal number information; after the connection is established, the video network server obtains the specified data of the second video network terminal according to the data acquisition request; and the video network server sends the specified data to the first video network terminal. The problem that in the video networking environment, equipment biased to upper development language programming cannot directly exchange data through the video networking is solved, and the data processing efficiency is improved.

Description

Data processing method and device for video network
Technical Field
The invention relates to the technical field of video networking, in particular to a data processing method and a data processing device of the video networking.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing Internet, and pushes a plurality of Internet applications to high-definition video, and high definition faces each other. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
The video network equipment can comprise a video network server, a video network switch (comprising an Ethernet gateway), a video network terminal (comprising various set top boxes, coding boards, memories and the like), and the video network server can be generally used for receiving monitoring data of the video network terminal and corresponding catalogue data and watching the monitoring data; the existing video networking protocol is basically realized by using a bottom c + + language, and the development of the video networking protocol is difficult to be performed aiming at the development language of the upper layer, so that the development process is increased, and the development efficiency is reduced.
Disclosure of Invention
Embodiments of the present invention provide a data processing method for a video network and a corresponding data processing apparatus for a video network, so as to solve the above-mentioned problems that a bottom c + + language is basically used in a video network protocol, and it is difficult for a higher-level development language to perform function development on the video network protocol, thereby increasing a development process and reducing development efficiency.
In order to solve the above problems, the embodiment of the present invention discloses a data processing method for a video network, wherein the video network comprises a video network server and a video network terminal, and the video network terminal comprises a first video network terminal and a second video network terminal; the method comprises the following steps:
the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information;
the video network server extracts the terminal number information in the data acquisition request;
the video network server establishes connection with the second video network terminal according to the terminal number information;
after the connection is established, the video network server obtains the specified data of the second video network terminal according to the data acquisition request;
and the video network server sends the specified data to the first video network terminal.
Preferably, the first video network terminal comprises a display device, and the method further comprises:
and the first video network terminal displays the specified data through a display device.
Preferably, the first video network terminal has a feature interface, and the step of sending the data acquisition request to the video network server by the first video network terminal includes:
and the first video network terminal sends a data acquisition request to the video network server through the characteristic interface.
Preferably, the data acquisition request includes at least one of page number display information, file type information, or a server identifier.
Preferably, the specific data includes at least one of a video list, a file version number, a version name, a version path, a version size, a server name, an IP address, a port number, and a Mac address.
Preferably, after the connection is established, the step of obtaining the designated data of the second internet-of-view terminal by the internet-of-view server according to the data obtaining request includes:
and after the connection is established, the video network server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number and a Mac address of the second video network terminal according to the data acquisition request.
Preferably, the second video network terminal has a feature interface, and the step of establishing connection between the video network server and the second video network terminal according to the terminal number information includes:
and the video network server establishes connection with the second video network terminal through the characteristic interface according to the terminal number information.
The embodiment of the invention discloses a data processing device of a video network, wherein the video network comprises a video network server and a video network terminal, and the video network terminal comprises a first video network terminal and a second video network terminal; the device comprises:
the data acquisition request sending module is used for sending a data acquisition request to the video network server by the first video network terminal; the data acquisition request comprises terminal number information;
the extracting module is used for extracting the terminal number information in the data acquisition request by the video network server;
the connection establishing module is used for establishing connection between the video network server and the second video network terminal according to the terminal number information;
the designated data acquisition module is used for acquiring designated data of a second video network terminal by the video network server according to the data acquisition request after the connection is established;
and the appointed data sending module is used for sending the appointed data to the first video network terminal by the video network server.
The embodiment of the invention discloses electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the data processing steps of the video network when executing the program.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the data processing steps of the video network when being executed by a processor.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the video network comprises a video network server and a video network terminal, wherein the video network terminal comprises a first video network terminal and a second video network terminal; the method comprises the following steps: the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information; the video network server extracts the terminal number information in the data acquisition request; the video network server establishes connection with the second video network terminal according to the terminal number information; after the connection is established, the video network server obtains the specified data of the second video network terminal according to the data acquisition request; the video network server sends the specified data to the first video network terminal; the problem that data exchange cannot be directly carried out through the video networking by adopting equipment which is biased to an upper development language programming in the video networking environment is solved; the data processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
FIG. 1 is a schematic networking diagram of a video network according to an embodiment of the invention;
fig. 2 is a schematic diagram of a hardware structure of a node server according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of an ethernet protocol conversion gateway according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a first embodiment of a method for processing data in a video network according to an embodiment of the present invention;
FIG. 6 is a flowchart of the steps of a second embodiment of a data processing method for a video network according to an embodiment of the present invention;
fig. 7 is a block diagram of an embodiment of a data processing apparatus of a video network according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects solved by the embodiments of the present invention more clearly apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
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 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.
Referring to fig. 5, a flowchart illustrating a first step of a data processing method of a video network according to an embodiment of the present invention is shown, where the video network includes a video network server and video network terminals, and the video network terminals include a first video network terminal and a second video network terminal; the method specifically comprises the following steps:
step 501, the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information;
in the embodiment of the present invention, the video network includes a video network server and a video network terminal, and the video network terminal may be a terminal that implements functions such as video conference or monitoring through the video network, for example, the video network terminal may be a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, and the like), and the like.
In the embodiment of the present invention, the operating system of the video networking terminal may include Android (Android), IOS, Windows Phone, Windows, and the like, which is not specifically limited in the embodiment of the present invention.
Specifically, the video network terminal may include a first video network terminal and a second video network terminal; the first video network terminal and the second video network terminal can be respectively connected with the video network server.
In the embodiment of the invention, the first video network terminal can send a data acquisition request to the video network server; and the data acquisition request comprises terminal number information.
It should be noted that the terminal number information may include terminal number information of a second video network terminal, and is used to establish a connection between the video network server and the second video network terminal.
Further, the data acquisition request may further include a request link, and after the connection is established between the video network server and the second video network terminal, the video network server may also respond to the request link in the data acquisition request to establish a connection with the first video network terminal, and the three form a communication link; the problem that data exchange cannot be directly carried out through the video networking by adopting equipment which is biased to the upper development language programming in the video networking environment is solved.
Step 502, the video network server extracts the terminal number information in the data acquisition request;
further applied to the embodiment of the present invention, after the video network server identifies the terminal number information, the terminal number information in the data acquisition request may be extracted.
Step 503, the video network server establishes connection with the second video network terminal according to the terminal number information;
in particular, the embodiment of the present invention is applied to the case where the server establishes connection with the second terminal of the video network according to the terminal number information.
Specifically, the video network server may preset a correspondence between terminal number information and a network address of a second video network terminal in the video network, and after the video network server obtains the terminal number information, the video network server may query a corresponding network address according to the correspondence and establish connection with the second video network terminal.
Step 504, after the connection is established, the video network server obtains the designated data of the second video network terminal according to the data acquisition request;
in a specific example of the embodiment of the present invention, after the connection between the video network server and the second video network terminal is established, the video network server may obtain the specified data of the second video network terminal according to the data obtaining request.
Specifically, the specified data differs depending on the content of the data acquisition request; for example, when the specified data includes user information, the data acquisition request may include a user ID (identification); or, when the specified data includes a video list, the data acquisition request may include page display information; or, when the specified data includes a file version number, a version name, a version path, and a version size, the data acquisition request may include a file type ID; alternatively, when the specific data includes server information such as a server name, an IP address, a port number, a Mac address, and the like, the data acquisition request may include a server ID.
The data obtaining request and the specific data are only examples in the embodiment of the present invention, and the embodiment of the present invention is not limited thereto.
And 505, the video network server sends the specified data to the first video network terminal.
In a preferred embodiment of the present invention, the server of the video network sends the specified data to the first terminal of the video network.
Specifically, the video network server encapsulates the specified data into video network data packets, and sends the video network data packets to the first video network terminal through the previously established communication link.
In another preferred embodiment of the present invention, after receiving the video network data packet corresponding to the specified data, the first video network terminal may perform decapsulation operation on the video network data packet to obtain the specified data.
The first video network terminal may further include a display device for displaying the decapsulated specific data.
In the embodiment of the invention, the video network comprises a video network server and a video network terminal, wherein the video network terminal comprises a first video network terminal and a second video network terminal; the method comprises the following steps: the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information; the video network server extracts the terminal number information in the data acquisition request; the video network server establishes connection with the second video network terminal according to the terminal number information; after the connection is established, the video network server obtains the specified data of the second video network terminal according to the data acquisition request; the video network server sends the specified data to the first video network terminal; the problem that data exchange cannot be directly carried out through the video networking by adopting equipment which is biased to an upper development language programming in the video networking environment is solved; the data processing efficiency is improved.
Referring to fig. 6, a flowchart illustrating a second step of a data processing method of a video network according to an embodiment of the present invention is shown, where the video network includes a video network server and a video network terminal, and the video network terminal includes a first video network terminal and a second video network terminal; the method specifically comprises the following steps:
601, the first video network terminal sends a data acquisition request to the video network server through the feature interface; the data acquisition request comprises terminal number information;
it should be noted that the first video network terminal may have a feature interface, which may be an interface encapsulated by a data exchange function, and the feature interface is used to transfer the data acquisition request or other data, so as to improve data processing efficiency.
In a specific application of the embodiment of the present invention, the first video network terminal sends a data acquisition request to the video network server through the feature interface; the data acquisition request comprises terminal number information.
Further, the data obtaining request includes at least one of page number display information, file type information, and a server identifier, which is not limited in this embodiment of the present invention.
Step 602, the server of the video network extracts the terminal number information in the data acquisition request;
in practical application to the embodiment of the present invention, after the video network server identifies the terminal number information, the terminal number information in the data acquisition request may be extracted.
Step 603, the video network server establishes connection with the second video network terminal according to the terminal number information;
in the embodiment of the invention, the video network server can preset the corresponding relation between the terminal number information and the network address of the second video network terminal in the video network, and after the video network server obtains the terminal number information, the video network server can inquire the corresponding network address according to the corresponding relation and establish connection with the second video network terminal.
It should be noted that the second video network terminal and the video network server may also have a feature interface, and the step of establishing connection between the video network server and the second video network terminal according to the terminal number information includes: and the video network server establishes connection with the second video network terminal through the characteristic interface according to the terminal number information.
Step 604, after the connection is established, the video network server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number and a Mac address of the second video network terminal according to the data acquisition request;
after the connection is established, the video networking server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number, and a Mac address of the second video networking terminal in a Protocol request manner of HTTP (Hyper Text Transfer Protocol).
Step 605, the video network server sends the video list, the file version number, the version name, the version path, the version size, the server name, the IP address, the port number, and the Mac address to the first video network terminal.
It should be noted that, after the video network server obtains the specified data, the video list, the file version number, the version name, the version path, the version size, the server name, the IP address, the port number, and the Mac address in the specified data are sent to the first video network terminal.
The data may include data in json (json Object Notation) format, which is not limited in the embodiment of the present invention.
And 606, displaying the video list, the file version number, the version name, the version path, the version size, the server name, the IP address, the port number and the Mac address by the first video network terminal through a display device.
In a specific example of the embodiment of the present invention, the first video network terminal includes a display device, and the display device may be configured to display the specific data, that is, the video list, the file version number, the version name, the version path, the version size, the server name, the IP address, the port number, and the Mac address.
In the embodiment of the invention, the video network comprises a video network server and a video network terminal, wherein the video network terminal comprises a first video network terminal and a second video network terminal; the first video network terminal sends a data acquisition request to the video network server through the characteristic interface; the data acquisition request comprises terminal number information; the video network server extracts the terminal number information in the data acquisition request; the video network server establishes connection with the second video network terminal according to the terminal number information; after the connection is established, the video networking server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number and a Mac address of a second video networking terminal according to the data acquisition request; the video networking server sends the video list, the file version number, the version name, the version path, the version size, the server name, the IP address, the port number and the Mac address to the first video networking terminal; the problem that data exchange cannot be directly carried out through the video networking by adopting equipment which is biased to an upper development language programming in the video networking environment is solved; data are transmitted through the characteristic interface, and the data processing efficiency is improved.
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, a block diagram of a data processing apparatus of an internet of view according to an embodiment of the present invention is shown, where the internet of view includes an internet of view server and an internet of view terminal, and the internet of view terminal includes a first internet of view terminal and a second internet of view terminal; the method specifically comprises the following modules:
a data obtaining request sending module 701, configured to send a data obtaining request to the video networking server by the first video networking terminal; the data acquisition request comprises terminal number information;
an extracting module 702, configured to extract, by the video networking server, terminal number information in the data acquisition request;
a connection establishing module 703, configured to establish, by the video networking server, a connection with the second video networking terminal according to the terminal number information;
the designated data acquisition module 704 is used for acquiring designated data of a second video network terminal by the video network server according to the data acquisition request after the connection is established;
a designated data sending module 705, configured to send the designated data to the first video network terminal by the video network server.
Preferably, the first video network terminal includes a display device, and the device further includes:
and the display module is used for displaying the specified data by the first video network terminal through a display device.
Preferably, the first video network terminal has a feature interface, and the data obtaining request sending module includes:
and the data acquisition request sending submodule is used for sending a data acquisition request to the video network server by the first video network terminal through the characteristic interface.
Preferably, the data acquisition request includes at least one of page number display information, file type information, or a server identifier.
Preferably, the specific data includes at least one of a video list, a file version number, a version name, a version path, a version size, a server name, an IP address, a port number, and a Mac address.
Preferably, the specified data acquiring module includes:
and after the connection is established, the video network server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number and a Mac address of the second video network terminal according to the data acquisition request.
Preferably, the second video network terminal has a feature interface, and the connection establishing module includes:
and the connection establishing submodule is used for establishing connection between the video network server and the second video network terminal through the characteristic interface according to the terminal number information.
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 embodiment of the invention also discloses electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the data processing steps of the video network when executing the program.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the data processing steps of the video network when being executed by a processor.
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 the data processing device of the video network provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. The data processing method of the video network is characterized in that the video network comprises a video network server and video network terminals, and the video network terminals comprise a first video network terminal and a second video network terminal; the method comprises the following steps:
the first video network terminal sends a data acquisition request to the video network server; the data acquisition request comprises terminal number information; the data acquisition request comprises at least one of page number display information, file type information or server identification;
the video network server extracts the terminal number information in the data acquisition request;
the video network server establishes connection with the second video network terminal according to the terminal number information;
after the connection is established, the video network server obtains the specified data of the second video network terminal according to the data acquisition request;
the video network server sends the specified data to the first video network terminal;
the video network server is preset with the corresponding relation between the terminal number information and the network address of the second video network terminal in the video network, and the video network server establishes connection with the second video network terminal according to the terminal number information, including:
and after the video network server obtains the terminal number information, inquiring a network address corresponding to the terminal number information according to the corresponding relation, and establishing connection with the second video network terminal.
2. The method of claim 1, wherein the first video network terminal comprises a display device, the method further comprising:
and the first video network terminal displays the specified data through a display device.
3. The method according to claim 1 or 2, wherein the first video network terminal has a feature interface, and the step of the first video network terminal sending a data acquisition request to the video network server comprises:
and the first video network terminal sends a data acquisition request to the video network server through the characteristic interface.
4. The method according to claim 1, wherein the specified data includes at least one of a video list, a file version number, a version name, a version path, a version size, a server name, an IP address, a port number, and a Mac address.
5. The method according to claim 4, wherein the step of the video network server obtaining the specified data of the second video network terminal according to the data obtaining request after the connection is established comprises:
and after the connection is established, the video network server obtains at least one of a video list, a file version number, a version name, a version path, a version size, a service name, an IP address, a port number and a Mac address of the second video network terminal according to the data acquisition request.
6. The method according to claim 4, wherein the second video network terminal has a feature interface, and the step of the video network server establishing connection with the second video network terminal according to the terminal number information comprises:
and the video network server establishes connection with the second video network terminal through the characteristic interface according to the terminal number information.
7. The data processing device of the video network is characterized in that the video network comprises a video network server and video network terminals, and the video network terminals comprise a first video network terminal and a second video network terminal; the device comprises:
the data acquisition request sending module is used for sending a data acquisition request to the video network server by the first video network terminal; the data acquisition request comprises terminal number information; the data acquisition request comprises at least one of page number display information, file type information or server identification;
the extracting module is used for extracting the terminal number information in the data acquisition request by the video network server;
the connection establishing module is used for establishing connection between the video network server and the second video network terminal according to the terminal number information;
the designated data acquisition module is used for acquiring designated data of a second video network terminal by the video network server according to the data acquisition request after the connection is established;
the appointed data sending module is used for sending the appointed data to the first video network terminal by the video network server;
the video network server is preset with the corresponding relation between the terminal number information and the network address of a second video network terminal in the video network, and the connection establishing module is further used for inquiring the network address corresponding to the terminal number information according to the corresponding relation after the video network server obtains the terminal number information, and establishing connection with the second video network terminal.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the data processing of the video network according to any of claims 1 to 6 when executing the program.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of data processing of the video network according to any one of claims 1 to 6.
CN201811038330.4A 2018-09-06 2018-09-06 Data processing method and device for video network Active CN109302455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811038330.4A CN109302455B (en) 2018-09-06 2018-09-06 Data processing method and device for video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811038330.4A CN109302455B (en) 2018-09-06 2018-09-06 Data processing method and device for video network

Publications (2)

Publication Number Publication Date
CN109302455A CN109302455A (en) 2019-02-01
CN109302455B true CN109302455B (en) 2021-09-07

Family

ID=65166235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811038330.4A Active CN109302455B (en) 2018-09-06 2018-09-06 Data processing method and device for video network

Country Status (1)

Country Link
CN (1) CN109302455B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873864B (en) * 2019-02-02 2020-12-11 视联动力信息技术股份有限公司 Communication connection establishing method and system based on video networking
CN109768986B (en) * 2019-02-20 2021-09-07 视联动力信息技术股份有限公司 Method and device for responding to video network service request signaling
CN110049100B (en) * 2019-03-08 2021-03-05 视联动力信息技术股份有限公司 Service data processing method and system
CN110187846A (en) * 2019-04-17 2019-08-30 视联动力信息技术股份有限公司 Print system, method and apparatus
CN110224991B (en) * 2019-05-13 2021-04-06 视联动力信息技术股份有限公司 Video networking terminal communication method and device
CN110677507B (en) * 2019-08-30 2022-03-11 视联动力信息技术股份有限公司 Method, system, equipment and storage medium for accessing video network terminal
CN111147613A (en) * 2019-12-02 2020-05-12 视联动力信息技术股份有限公司 Method, device, electronic equipment and medium based on direct communication of video network
CN111131398B (en) * 2019-12-02 2022-12-23 视联动力信息技术股份有限公司 Method, device, electronic equipment and medium based on direct communication of video network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729602A (en) * 2009-12-11 2010-06-09 北京工业大学 Method for acquiring P2P (peer-to-peer) video system program information
CN103686432A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Screen sharing method and system based on video network
CN107995069A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind of method and apparatus of terminal video push
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108462851A (en) * 2017-02-21 2018-08-28 北京视联动力国际信息技术有限公司 The method and mobile terminal of data processing, server, the second mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729602A (en) * 2009-12-11 2010-06-09 北京工业大学 Method for acquiring P2P (peer-to-peer) video system program information
CN103686432A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Screen sharing method and system based on video network
CN107995069A (en) * 2016-10-26 2018-05-04 北京视联动力国际信息技术有限公司 A kind of method and apparatus of terminal video push
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108462851A (en) * 2017-02-21 2018-08-28 北京视联动力国际信息技术有限公司 The method and mobile terminal of data processing, server, the second mobile terminal

Also Published As

Publication number Publication date
CN109302455A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN109302455B (en) Data processing method and device for video network
CN108632525B (en) Method and system for processing service
CN108881797B (en) Data processing method and device for video network
CN110149262B (en) Method and device for processing signaling message and storage medium
CN108881815B (en) Video data transmission method and device
CN108965040B (en) Service monitoring method and device for video network
CN109167960B (en) Method and system for processing video stream data
CN109547163B (en) Method and device for controlling data transmission rate
CN109547731B (en) Video conference display method and system
CN108965930B (en) Video data processing method and device
CN108574816B (en) Video networking terminal and communication method and device based on video networking terminal
CN109802952B (en) Monitoring data synchronization method and device
CN110149305B (en) Video network-based multi-party audio and video playing method and transfer server
CN109544879B (en) Alarm data processing method and system
CN110769179B (en) Audio and video data stream processing method and system
CN110769297A (en) Audio and video data processing method and system
CN111212255B (en) Monitoring resource obtaining method and device and computer readable storage medium
CN110493149B (en) Message processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN108632635B (en) Data processing method and device based on video network
CN110086773B (en) Audio and video data processing method and system
CN108881793B (en) Data processing method and device for video network
CN108632236B (en) Data processing method and device for video network
CN109688073B (en) Data processing method and system based on video network
CN110536148B (en) Live broadcasting method and equipment based on video networking

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