CN111131912B - Communication method, broadcasting method, communication device and broadcasting device - Google Patents

Communication method, broadcasting method, communication device and broadcasting device Download PDF

Info

Publication number
CN111131912B
CN111131912B CN201911400658.0A CN201911400658A CN111131912B CN 111131912 B CN111131912 B CN 111131912B CN 201911400658 A CN201911400658 A CN 201911400658A CN 111131912 B CN111131912 B CN 111131912B
Authority
CN
China
Prior art keywords
video data
authentication token
target
node server
terminal
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
CN201911400658.0A
Other languages
Chinese (zh)
Other versions
CN111131912A (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 CN201911400658.0A priority Critical patent/CN111131912B/en
Publication of CN111131912A publication Critical patent/CN111131912A/en
Application granted granted Critical
Publication of CN111131912B publication Critical patent/CN111131912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication

Abstract

The embodiment of the invention provides a communication method, a broadcasting method, a communication device and a broadcasting device, wherein the method relates to a terminal and a node server, the node server is connected with the terminal in the same local area network, and the method comprises the following steps: the node server receives a stream-adjusting request message aiming at target video data sent by the terminal, determines a target authentication token corresponding to the target video data according to the stream-adjusting request message, sends the target authentication token to the terminal, and acquires and broadcasts the video data with the corresponding authentication token, so that the target video data can be received only by the terminal which acquires the target authentication token, meanwhile, the node server does not need to identify a sender and a receiver in the video data, the video data with the corresponding authentication token can be sent to a plurality of different terminals, the reusability of the video data is improved, the performance consumption of the server is greatly reduced, and the operation stability of the server is improved.

Description

Communication method, broadcasting method, communication device and broadcasting device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and a communication apparatus.
Background
Currently, a communication method based on a Transmission Control Protocol (TCP) is mainly used as a communication method of a local area network. The transmission control protocol is a transport protocol specifically designed to provide a reliable end-to-end byte stream over an unreliable internet network. TCP is a communication protocol for a wide area network, and aims to provide a communication mode between two communication endpoints when communicating across multiple networks, wherein the communication mode has the following characteristics: (1) a stream-based approach; (2) face-to-face connection; (3) a reliable communication mode; (4) When the network condition is not good, the bandwidth overhead of the system caused by retransmission is reduced as much as possible; (5) Communication connection maintenance is communication-oriented towards both endpoints, regardless of the intermediate segments and nodes.
In a communication mode based on the TCP, a server needs to label a sender and a receiver for video data, so that one video data can only be sent to one terminal and cannot be utilized by other terminals, and when a plurality of terminals request data at the same time, the server needs to generate a plurality of labeled video data corresponding to the terminals, which greatly occupies the memory of the server, and meanwhile, the server needs to send video data for each terminal once, which greatly consumes the performance of the server. Therefore, when the number of terminals simultaneously requesting data is large, the communication method based on the transmission control protocol used in the local area network may slow down the transmission speed of the data, and may even affect the stability of the server operation.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a communication method and a corresponding communication apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a communication method, where the method relates to a terminal and a node server, and the node server is connected to the terminal in the same local area network, and the method includes:
the node server receives a stream adjusting request message aiming at target video data sent by the terminal;
the node server determines a target authentication token corresponding to the target video data according to the stream regulating request message;
the node server sends the target authentication token to the terminal;
the node server acquires and broadcasts video data with a corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
Optionally, the step of determining, by the node server, the target authentication token corresponding to the target video data according to the stream adjustment request message includes:
the node server acquires an authentication token list;
the node server determines target video data corresponding to the stream adjustment request message;
and the node server inquires the authentication token list and determines a target authentication token corresponding to the target video data.
Optionally, the method further comprises:
the node server judges whether a target authentication token corresponding to the target video data exists or not;
and if the target authentication token corresponding to the target video data exists, the node server generates the target authentication token corresponding to the target video data.
Correspondingly, the embodiment of the invention also discloses a broadcasting method, which relates to a terminal and a node server, wherein the node server is connected with the terminal in the same local area network, and the method comprises the following steps:
the terminal generates and sends a stream adjusting request message aiming at the target video data to the node server;
the terminal receives a target authentication token corresponding to the target video data, which is returned by the node server aiming at the stream regulation request message;
the terminal monitors video data which are broadcasted by the node server and have corresponding authentication tokens;
and the terminal determines target video data corresponding to the target authentication token from the video data and receives the target video data.
Optionally, the step of the terminal monitoring the video data broadcast by the node server and having the corresponding authentication token includes:
and the terminal scans the video data which are broadcasted by the node server and have the corresponding authentication token at a preset frequency, and acquires the authentication token corresponding to the video data.
Optionally, the step of determining, by the terminal, target video data corresponding to the target authentication token from the video data and receiving the target video data includes:
the terminal judges whether the authentication token corresponding to the video data is the same as the target authentication token;
and if the authentication token corresponding to the video data is the same as the target authentication token, determining the video data as target video data corresponding to the target authentication token, and receiving the target video data.
Correspondingly, the embodiment of the invention also discloses a communication device, the device relates to a terminal and a node server, the node server is connected with the terminal in the same local area network, and the device comprises:
a stream modulation request message receiving module located in the node server, configured to receive a stream modulation request message for target video data sent by the terminal;
a target authentication token determining module located in the node server, configured to determine a target authentication token corresponding to the target video data according to the stream adjustment request message;
the target authentication token sending module is positioned on the node server and used for sending the target authentication token to the terminal;
the video data acquisition and broadcast module is positioned on the node server and is used for acquiring and broadcasting the video data with the corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
Optionally, the target authentication token determination module includes:
the authentication token list acquisition submodule is positioned in the node server and is used for acquiring an authentication token list;
a target video data determining submodule located in the node server and used for determining target video data corresponding to the stream modulation request message;
and the target authentication token determining submodule is positioned in the node server and is used for determining a target authentication token corresponding to the target video data.
Optionally, the apparatus further comprises:
the target authentication token judgment module is positioned on the node server and used for judging whether a target authentication token corresponding to the target video data exists or not;
and the target authentication token generation module is positioned on the node server and used for generating a target authentication token corresponding to the target video data if the target authentication token corresponding to the target video data exists.
Correspondingly, the embodiment of the invention also discloses a communication device, which relates to a terminal and a node server, wherein the node server is connected with the terminal in the same local area network, and specifically comprises the following modules:
the stream modulation request message generation and transmission module is positioned at the terminal and used for generating and transmitting a stream modulation request message aiming at the target video data to the node server;
a target authentication token receiving module located at the terminal, configured to receive a target authentication token corresponding to the target video data, where the target authentication token is returned by the node server in response to the stream regulation request message;
the video data monitoring module is positioned at the terminal and used for monitoring the video data which are broadcasted by the node server and provided with the corresponding authentication token;
and the target video data determining and receiving module is positioned at the terminal and used for determining the target video data corresponding to the target authentication token from the video data and receiving the target video data.
Optionally, the video data monitoring module includes:
and the scanning module is positioned at the terminal and used for scanning the video data which are broadcasted by the node server and have the corresponding authentication token at a preset frequency and acquiring the authentication token corresponding to the video data.
Optionally, the target video data determining and receiving module includes:
the target authentication token judgment submodule is positioned at the terminal and used for judging whether the authentication token corresponding to the video data is the same as the target authentication token;
and the target video data determining and receiving submodule is positioned at the terminal and is used for determining the video data as the target video data corresponding to the target authentication token and receiving the target video data if the authentication token corresponding to the video data is the same as the target authentication token.
The embodiment of the invention also discloses a communication device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more communication methods as described above.
The embodiment of the invention also discloses a computer readable storage medium, which stores a computer program for enabling a processor to execute the communication method.
The embodiment of the invention has the following advantages: the node server receives a stream modulation request message aiming at target video data sent by the terminal, determines a target authentication token corresponding to the target video data according to the stream modulation request message, sends the target authentication token to the terminal, and acquires and broadcasts the video data with the corresponding authentication token, so that when the terminal monitors and broadcasts the video data with the corresponding token, the target video data corresponding to the target authentication token can be determined from the video data according to the target authentication token, and therefore, the target video data can be received only by the terminal which acquires the target authentication token.
Drawings
FIG. 1 is a flow chart of steps of a first embodiment of a communication method of the present invention;
FIG. 2 is a flowchart illustrating the steps of a second embodiment of a communication method of the present invention;
FIG. 3 is a block diagram of a first embodiment of a communication device according to the present invention;
fig. 4 is a block diagram of a second embodiment of a communication apparatus according to the present invention;
FIG. 5 is a schematic diagram of a video networking of the present invention;
FIG. 6 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 7 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
At present, a communication method based on a Transmission Control Protocol (TCP) is mainly used as a communication method of a local area network, a server needs to distribute data for each terminal requesting data once, and when the number of terminals requesting data is large, a process of distributing data occupies a large amount of memory of the server, and simultaneously, a large amount of consumption of broadband is caused, and performance consumption of the server is greatly increased. In addition, the communication method based on the transmission control protocol requires the server to mark the sending end and the receiving end for each path of video when the video is transmitted, and when the number of terminals requesting data is large, the marking process causes a large amount of consumption of the performance of the server. Therefore, when the number of terminals simultaneously requesting data is large, the communication method based on the transmission control protocol used in the local area network may slow down the transmission speed of the data, and may even affect the stability of the server operation.
In view of the above conventional communication method, one of the core concepts of the embodiments of the present invention is that a node server sends a target authentication token corresponding to target video data requested by a terminal to the terminal, and then sends the video data with the authentication token to the terminal in a broadcast manner, and the terminal determines the target video data from the video data according to the target authentication token.
Referring to fig. 1, a flowchart illustrating a first step of a communication method according to a first embodiment of the present invention is shown, where the method involves a terminal and a node server, and the node server is connected to the terminal in the same local area network, and specifically includes the following steps:
step 101, the node server receives a stream modulation request message aiming at target video data sent by the terminal;
the stream modulation request message is used for requesting a server to send target video data corresponding to the stream modulation request message. In addition, the node server may be a cooperative server, and the cooperative server is used for accessing monitoring front-end devices, video monitoring systems, video monitoring networking platforms and the like of different manufacturers. In the embodiment of the invention, when a user wants to watch a monitoring video of a certain path, a flow adjusting request message can be sent to the node server through the terminal.
102, the node server determines a target authentication token corresponding to the target video data according to the stream adjustment request message;
since the node server may broadcast a plurality of video data simultaneously, the terminal needs to determine the target video data from the broadcast of the plurality of video data, and after the authentication token is sent to the terminal, the terminal can identify the target video data corresponding to the authentication token from the broadcast of the plurality of video data by means of the authentication token, and further accurately acquire the target video data.
In an optional embodiment of the present invention, before determining the target authentication token corresponding to the target video data, the node server may first determine whether the target authentication token corresponding to the target video data exists, and if the target authentication token corresponding to the target video data does not exist, the node server generates the target authentication token corresponding to the target video data.
Specifically, the step of determining whether a target authentication token corresponding to the target video data exists may include:
the node server acquires an authentication token relation table;
in the embodiment of the present invention, each authentication token corresponds to a path of broadcasted video data, and the authentication token relationship table stores the correspondence between the authentication token and the video data.
The node server inquires the authentication token relation table and judges whether a target authentication token corresponding to the target video data exists or not
In addition, if there is no target authentication token corresponding to the target video data, the node server needs to generate a target authentication token corresponding to the target video data, and specifically, the step of generating the target authentication token corresponding to the target video data by the node server includes:
the node server acquires an authentication token relation table;
the node server generates a random number of the preset digit;
in the embodiment of the present invention, in order to prevent the identification information of the streaming services of different video data from being repeated, a larger preset number of bits should be set, for example, the preset number of bits may be set to 12 bits.
The node server inquires the authentication token relation table and judges whether an authentication token identical to the random number exists or not;
if so, the node server re-executes the step of generating the random number with the preset digit by the node server;
if not, the node server determines the random number as a target authentication token corresponding to the target video data generated by the node server;
and the node server stores the corresponding relation between the target authentication token corresponding to the target video data and the target video data in the authentication token relation table.
The step that the node server determines the target authentication token corresponding to the target video data according to the stream adjustment request message comprises the following substeps:
substep S11, the node server obtains an authentication token list;
substep S12, the node server determines target video data corresponding to the stream adjustment request message;
and a substep S13, querying the authentication token list by the node server, and determining a target authentication token corresponding to the target video data.
103, the node server sends the target authentication token to the terminal;
104, the node server acquires and broadcasts video data with a corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
In an optional embodiment of the present invention, the step of the node server obtaining and broadcasting video data with a corresponding authentication token may comprise:
the node server acquires an authentication token relation table;
the node server determines an authentication token in an authentication token relation table;
the node server acquires video data with a corresponding authentication token;
specifically, the node server may request the core server for the video data with the corresponding authentication token, or call the video data with the corresponding authentication token at a preset storage location of the node server.
And the node server sends the video data with the corresponding authentication token to all terminals in the same local area network connected with the node server.
In addition, the video data with the corresponding authentication token may be generated by:
the node server acquires source video data corresponding to the authentication token;
it should be noted that the source video data is data that can be directly played on the terminal.
And the node server packages the authentication token and the source video data to generate video data with a corresponding authentication token.
Specifically, the node server may apply a preset encapsulation protocol, determine the authentication token as a packet header of a data packet, determine the source video data as an effective data portion of the data packet, and add the packet header of the data packet to the front of the effective data portion of the data packet, so as to generate video data with a corresponding token, that is, the video data broadcasted by the node server carries its corresponding token.
When the node server is broadcasting video data with a corresponding authentication token; and the terminal monitors the video data, and when certain video data is detected to carry the authentication token corresponding to the target authentication token, the video data can be determined as the target video data.
In the embodiment of the invention, the node server receives a stream modulation request message aiming at target video data sent by the terminal, determines a target authentication token corresponding to the target video data according to the stream modulation request message, sends the target authentication token to the terminal, and acquires and broadcasts the video data with the corresponding authentication token, so that when the terminal monitors and broadcasts the video data with the corresponding token, the target video data corresponding to the target authentication token can be determined from the video data according to the target authentication token, and therefore, the target video data can be received only by the terminal acquiring the target authentication token, meanwhile, the node server does not need to identify a sender and a receiver in the video data, the video data with the corresponding authentication token can be sent to a plurality of different terminals, the reusability of the video data is improved, the performance consumption of the server is greatly reduced, and the running stability of the server is improved.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a communication method according to the present invention is shown, where the method involves a terminal and a node server, and the node server is connected to the terminal in the same local area network, and specifically includes the following steps:
step 202, the terminal generates and sends a stream adjusting request message aiming at target video data to the node server;
when a user needs to watch target video data, the user can generate and send a stream adjusting request message aiming at the target video data to the node server through the terminal.
Step 203, the terminal receives a target authentication token corresponding to the target video data, which is returned by the node server for the stream adjustment request message;
after a terminal generates and sends a stream adjustment request message aiming at target video data to the node server, the node server sends a target authentication token corresponding to the target video data to the terminal.
Step 204, the terminal monitors video data which are broadcast by the node server and have corresponding authentication tokens;
and the terminal monitors video data which are broadcast by the node server and provided with corresponding authentication tokens, and when the video data carry target authentication tokens, the video data can be confirmed as target video data and the target video data is received.
The step that the terminal monitors the video data which are broadcast by the node server and provided with the corresponding authentication token comprises the following steps:
and the terminal scans the video data which are broadcasted by the node server and have the corresponding authentication token at a preset frequency, and acquires the authentication token corresponding to the video data.
Step 205, the terminal determines target video data corresponding to the target authentication token from the video data and receives the target video data.
The terminal determines target video data corresponding to the target authentication token from the video data by using an authentication token and receives the target video data, and specifically, the step of determining the target video data corresponding to the target authentication token from the video data and receiving the target video data by the terminal includes:
step S21, the terminal judges whether the authentication token corresponding to the video data is the same as the target authentication token;
and a substep S22, if the authentication token corresponding to the video data is the same as the target authentication token, determining the video data as the target video data corresponding to the target authentication token, and receiving the target video data.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a first embodiment of a communication device according to the present invention is shown, where the device relates to a terminal and a node server, and the node server is connected to the terminal in the same lan, and specifically includes the following modules:
a stream modulation request message receiving module 301 located in the node server, configured to receive a stream modulation request message for target video data sent by the terminal;
a target authentication token determining module 302 located at the node server, configured to determine a target authentication token corresponding to the target video data according to the stream adjustment request message;
a target authentication token sending module 303, located in the node server, configured to send the target authentication token to the terminal;
a video data acquisition and broadcasting module 304 located at the node server, configured to acquire and broadcast video data with a corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
In an embodiment of the present invention, the target authentication token determining module includes:
the authentication token list acquisition submodule is positioned in the node server and is used for acquiring an authentication token list;
a target video data determining submodule located in the node server and configured to determine target video data corresponding to the stream modulation request message;
and the target authentication token determining submodule is positioned in the node server and is used for determining a target authentication token corresponding to the target video data.
In an embodiment of the present invention, the apparatus further includes:
the target authentication token judgment module is positioned on the node server and used for judging whether a target authentication token corresponding to the target video data exists or not;
and the target authentication token generation module is positioned on the node server and used for generating a target authentication token corresponding to the target video data if the target authentication token corresponding to the target video data exists.
Referring to fig. 4, a block diagram of a second embodiment of a communication device according to the present invention is shown, where the device relates to a terminal and a node server, and the node server is connected to the terminal in the same lan, and specifically includes the following modules:
a stream modulation request message generating and sending module 401 located at the terminal, configured to generate and send a stream modulation request message for target video data to the node server;
a target authentication token receiving module 402 located at the terminal, configured to receive a target authentication token corresponding to the target video data, which is returned by the node server for the stream adjustment request message;
a video data monitoring module 403 located at the terminal, configured to monitor video data broadcast by the node server and having a corresponding authentication token;
a target video data determining and receiving module 404 located at the terminal, configured to determine target video data corresponding to the target authentication token from the video data and receive the target video data.
In this embodiment of the present invention, the video data monitoring module includes:
and the scanning module is positioned at the terminal and used for scanning the video data which are broadcasted by the node server and have the corresponding authentication token at a preset frequency and acquiring the authentication token corresponding to the video data.
In an embodiment of the present invention, the target video data determining and receiving module includes:
the target authentication token judgment submodule is positioned at the terminal and used for judging whether the authentication token corresponding to the video data is the same as the target authentication token;
and the target video data determining and receiving submodule is positioned at the terminal and is used for determining the video data as the target video data corresponding to the target authentication token and receiving the target video data if the authentication token corresponding to the video data is the same as the target authentication token.
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.
An embodiment of the present invention further provides an apparatus, including:
the communication method comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the communication method embodiment is realized, the same technical effect can be achieved, and the details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the communication method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The video networking is an important milestone of 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 is face-to-face.
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 enable those skilled in the art to better understand the embodiments of the present invention, the following description is given of the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network innovations in video networking have improved the 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 network and the unified video platform is different from the traditional server, the streaming media transmission of the video network and the unified video platform is established on the basis of connection orientation, the data processing capability of the video network and the unified video platform is irrelevant to 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 movement of hard disk magnetic head tracking, the resource consumption only accounts for 20% of the same-grade IP internet, but the 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. 5, the view network is divided into two parts, 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: metropolitan area server, node switch, 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 and can also be 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 interconnect and interwork via metropolitan and wide area video networks.
Visio 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. 6, the system mainly includes a network interface module 701, a switching engine module 702, a CPU module 703, and a disk array module 704;
the packets coming from the network interface module 701, the cpu module 703 and the disk array module 704 all enter the switching engine module 702; the switching engine module 702 performs an operation of looking up the address table 705 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a corresponding queue of the packet buffer 706 based on the packet's steering information; if the queue of the packet buffer 706 is nearly full, discard; the switching engine module 702 polls all packet buffer queues and forwards 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 704 mainly implements control over the hard disk, including initialization, read-write, and other operations; the CPU module 703 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 705 (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 704.
The access switch:
as shown in fig. 7, the network interface module mainly includes a network interface module (a downlink network interface module 801, an uplink network interface module 802), a switching engine module 803, and a CPU module 804;
wherein, the packet (uplink data) coming from the downlink network interface module 801 enters the packet detection module 805; the packet detection module 805 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 switch engine module 803, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 802 enters the switching engine module 803; the incoming data packet from the CPU module 804 enters the switching engine module 803; the switching engine module 803 performs an operation of looking up the address table 806 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 803 is from the downstream network interface to the upstream network interface, the packet is stored in a queue of the corresponding packet buffer 807 in association with a stream-id; if the queue of the packet buffer 807 is close to full, it is discarded; if the packet entering the switching engine module 803 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 807 according to the packet guiding information; if the queue of the packet buffer 807 is nearly full, it is discarded.
The switching engine module 803 polls all packet buffer queues, which in this embodiment of the 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 808 is configured by the CPU module 804, and generates tokens for packet buffer queues from all downlink network interfaces to uplink network interfaces at programmable intervals to control the rate of uplink forwarding.
The CPU module 804 is mainly responsible for protocol processing with the node server, configuration of the address table 806, and configuration of the code rate control module 808.
Ethernet protocol conversion gateway
As shown in fig. 8, the apparatus mainly includes a network interface module (a downlink network interface module 901 and an uplink network interface module 902), a switching engine module 903, a CPU module 904, a packet detection module 905, a rate control module 908, an address table 906, a packet buffer 907, a MAC adding module 909, and a MAC deleting module 910.
Wherein, the data packet coming from the downlink network interface module 901 enters the packet detection module 905; the packet detection module 905 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 deleting module 910 subtracts MAC DA, MAC SA, length or frame type (2 byte), and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 901 detects the sending buffer of the port, and if there is a packet, the downlink network interface module learns the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet in the video network, 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. Vission networking data 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 byte, 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 the types of different datagrams, 64 bytes if various protocol packets, 32+1024=1056 bytes if single-multicast data packets, and certainly 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 packet definition for metropolitan area networks
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 the present 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 there are 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 0x0001. 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 as follows: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, which is located between the reserved bytes and the payload of the packet.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or terminal apparatus that comprises the element.
The above detailed description of a communication method and a communication apparatus provided by the present invention, and the specific examples applied herein have been provided to explain the principles and embodiments of the present invention, and the above descriptions of the embodiments are only used to help understanding the method and the core idea of the present 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 communication method involving a terminal and a node server connected to the terminal in the same local area network, the method comprising:
the node server receives a stream adjusting request message aiming at target video data sent by the terminal;
the node server determines a target authentication token corresponding to the target video data according to the stream regulation request message;
the node server sends the target authentication token to the terminal;
the node server acquires and broadcasts video data with a corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
2. The method according to claim 1, wherein the step of the node server determining the target authentication token corresponding to the target video data according to the stream adjustment request message comprises:
the node server acquires an authentication token list;
the node server determines target video data corresponding to the stream adjustment request message;
and the node server inquires the authentication token list and determines a target authentication token corresponding to the target video data.
3. The method of claim 1, further comprising:
the node server judges whether a target authentication token corresponding to the target video data exists or not;
and if the target authentication token corresponding to the target video data does not exist, the node server generates the target authentication token corresponding to the target video data.
4. A method of broadcasting, the method involving a terminal and a node server, the node server being connected to the terminal in the same local area network, the method comprising:
the terminal generates and sends a stream adjusting request message aiming at target video data to the node server;
the terminal receives a target authentication token corresponding to the target video data, which is returned by the node server aiming at the stream adjusting request message;
the terminal monitors video data which are broadcasted by the node server and have corresponding authentication tokens;
and the terminal determines target video data corresponding to the target authentication token from the video data and receives the target video data.
5. The method according to claim 4, wherein the step of the terminal listening to the video data broadcast by the node server with the corresponding authentication token comprises:
and the terminal scans the video data which are broadcasted by the node server and have the corresponding authentication token at a preset frequency, and acquires the authentication token corresponding to the video data.
6. The method according to claim 4, wherein the step of the terminal determining target video data corresponding to the target authentication token from the video data and receiving the target video data comprises:
the terminal judges whether the authentication token corresponding to the video data is the same as the target authentication token;
and if the authentication token corresponding to the video data is the same as the target authentication token, determining the video data as the target video data corresponding to the target authentication token, and receiving the target video data.
7. A communication apparatus, wherein the apparatus relates to a terminal and a node server, and wherein the node server is connected to the terminal in the same local area network, the apparatus comprising:
a stream modulation request message receiving module located in the node server, configured to receive a stream modulation request message for target video data sent by the terminal;
a target authentication token determining module located in the node server, configured to determine a target authentication token corresponding to the target video data according to the stream adjustment request message;
the target authentication token sending module is positioned on the node server and used for sending the target authentication token to the terminal;
the video data acquisition and broadcast module is positioned on the node server and is used for acquiring and broadcasting the video data with the corresponding authentication token; the terminal is used for monitoring the video data, determining target video data corresponding to the target authentication token from the video data and receiving the target video data.
8. An apparatus for broadcasting, wherein the apparatus relates to a terminal and a node server, and the node server is connected to the terminal in the same local area network, the apparatus comprising:
the stream modulation request message generation and transmission module is positioned at the terminal and used for generating and transmitting a stream modulation request message aiming at the target video data to the node server;
a target authentication token receiving module located at the terminal, configured to receive a target authentication token corresponding to the target video data, which is returned by the node server for the traffic regulating request message;
the video data monitoring module is positioned at the terminal and used for monitoring the video data which are broadcasted by the node server and provided with the corresponding authentication token;
and the target video data determining and receiving module is positioned at the terminal and used for determining the target video data corresponding to the target authentication token from the video data and receiving the target video data.
9. A communications apparatus, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the communication method of any of claims 1-3, or the broadcast method of any of claims 4-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the communication method according to any one of claims 1 to 3, or the broadcasting method according to any one of claims 4 to 6.
CN201911400658.0A 2019-12-30 2019-12-30 Communication method, broadcasting method, communication device and broadcasting device Active CN111131912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911400658.0A CN111131912B (en) 2019-12-30 2019-12-30 Communication method, broadcasting method, communication device and broadcasting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911400658.0A CN111131912B (en) 2019-12-30 2019-12-30 Communication method, broadcasting method, communication device and broadcasting device

Publications (2)

Publication Number Publication Date
CN111131912A CN111131912A (en) 2020-05-08
CN111131912B true CN111131912B (en) 2023-04-18

Family

ID=70505661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911400658.0A Active CN111131912B (en) 2019-12-30 2019-12-30 Communication method, broadcasting method, communication device and broadcasting device

Country Status (1)

Country Link
CN (1) CN111131912B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7979881B1 (en) * 2000-03-30 2011-07-12 Microsoft Corporation System and method for identifying audio/visual programs to be recorded
CN103222275A (en) * 2010-10-27 2013-07-24 乐天株式会社 Systems and methods for providing a network link between broadcast content and content located on a computer network
US10271079B1 (en) * 2015-10-20 2019-04-23 Halogen Networks, LLC Live video streaming system and method
CN110430043A (en) * 2019-07-05 2019-11-08 视联动力信息技术股份有限公司 A kind of authentication method, system and device and storage medium
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7979881B1 (en) * 2000-03-30 2011-07-12 Microsoft Corporation System and method for identifying audio/visual programs to be recorded
CN103222275A (en) * 2010-10-27 2013-07-24 乐天株式会社 Systems and methods for providing a network link between broadcast content and content located on a computer network
US10271079B1 (en) * 2015-10-20 2019-04-23 Halogen Networks, LLC Live video streaming system and method
CN110430043A (en) * 2019-07-05 2019-11-08 视联动力信息技术股份有限公司 A kind of authentication method, system and device and storage medium
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IGMP工作原理与安全技术;侯艳等;《才智》;20101025(第30期);41 *

Also Published As

Publication number Publication date
CN111131912A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109547417B (en) Code stream transmission method and device
CN109996086B (en) Method and device for inquiring service state of video networking
CN109150905B (en) Video network resource release method and video network sharing platform server
CN110049341B (en) Video processing method and device
CN110719258B (en) Server access method and system
CN111131911B (en) Multicast method and device
CN109347844B (en) Method and device for accessing equipment to Internet
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110266577B (en) Tunnel establishment method and video networking system
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110087147B (en) Audio and video stream transmission method and device
CN109842630B (en) Video processing method and device
CN109889516B (en) Method and device for establishing session channel
CN110289974B (en) Data stream processing method, system and device and storage medium
CN111245733A (en) Data transmission method and device
CN111225241B (en) Communication method and device
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110113563B (en) Data processing method based on video network and video network server
CN109788231B (en) Video telephone service processing method and device
CN111131912B (en) Communication method, broadcasting method, communication device and broadcasting device
CN110113553B (en) Method and device for processing video telephone
CN112511787A (en) Conference implementation method, device, equipment and readable storage medium
CN110769324A (en) Processing method and device of virtual terminal

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