Method for realizing cross-network video call system based on IP bidirectional network set top box
Technical Field
The invention relates to the technical field of IP-based bidirectional network set top boxes, in particular to a method for realizing a cross-network video call system based on an IP bidirectional network set top box.
Background
With the rapid development of computer technology and communication technology, the IP bidirectional network set-top box is in reality, and the IP bidirectional network set-top box adopts an IP network to transmit multimedia data, so that bidirectional interaction can be realized, a server side can transmit information with a client side through the network in real time, and the traditional set-top box communication needs a calling client side and a called client side to directly communicate. The communication mode has the limitation of network environment, and cannot be suitable for a plurality of complex closed independent network environments.
Disclosure of Invention
The technical task of the invention is to provide a method for realizing a cross-network video call system based on an IP bidirectional network set top box.
The technical task of the invention is realized by the following modes:
an implementation method of a cross-network video call system based on an IP bidirectional network set top box comprises the following steps:
step 1) communicating all the client sides of the set top boxes with a node network of a node where the client sides are located;
step 2) deploying a node registration server on each sub-node, wherein the node registration server is accessed to a backbone network and a node network;
step 3) before the cross-network video call, all the clients register in each node registration server in a proxy mode based on the sip protocol;
step 4), the calling client side calls the called client side, the calling client side initiates a calling request, and the calling request is received by a node registration server of a sub-node;
step 5) the node register server receives the call request, judges whether the called client is in the node network, and then establishes a media link for communication.
In the step 2), a node registration server is deployed, and meanwhile, a forwarding server is deployed at a central node, and the forwarding server is accessed to the backbone network.
In the step 3), the node registration server records the account number and the address path of each client.
In the step 5), if the called client is in the node network, communication is established for the two clients by the address of the called client stored in the node registration server.
In the step 5), if the called client is not in the local node network, forwarding the called client to the forwarding server of the central node.
And after receiving the forwarding request, the forwarding server of the central node acquires the address of the registration server of the sub-node where the called client is located according to the account number of the called client, and forwards the call request to the sub-node registration server where the called client is located.
And after receiving the call request, the sub-node registration server where the called client is located inquires an address path of the called client according to the client account, and forwards the call request to the called client.
After the called client receives the call request, if the called client agrees to establish a call, the sub-node registration server and the forwarding server of the central node establish a media link for the two cross-network clients through self-forwarding to carry out communication.
And the two cross-network clients establish a media link of an rtp protocol for communication.
Compared with the prior art, the implementation method of the cross-network video call system based on the IP bidirectional network set top box overcomes the limitation of the network environment existing in the prior communication mode and can not adapt to the problems of a plurality of complex closed independent network environments, and the cross-node network communication of the set top box client of each node is realized through the central forwarding service, the node-divided registration and the proxy service based on the sip protocol and the rtp protocol, so that the video call of the set top box is not limited by the network environment any more, and a user can better use a television large screen to carry out the video call.
Drawings
Fig. 1 is a schematic view of the overall architecture of a video call system based on the implementation method of the cross-network video call system of the IP bidirectional network set-top box.
Fig. 2 is a schematic diagram of a call process timing sequence of an implementation method of an inter-network video call system based on an IP bidirectional network set top box.
Detailed Description
Example 1:
an implementation method of a cross-network video call system based on an IP bidirectional network set top box comprises the following steps:
step 1) communicating all the client sides of the set top boxes with a node network of a node where the client sides are located;
step 2) deploying a node registration server on each sub-node, wherein the node registration server is accessed to a backbone network and a node network; meanwhile, a forwarding server is deployed at the central node, and the forwarding server is accessed to the backbone network.
Step 3) before the cross-network video call, all the clients register in each node registration server in a proxy mode based on the sip protocol; the node registration server records the account number and the address path of each client.
Step 4), the calling client side calls the called client side, the calling client side initiates a calling request, and the calling request is received by a node registration server of a sub-node;
step 5), the node registration server receives the call request and judges whether the called client is in the node network:
if the called client is in the node network, the communication is established for the two clients through the address of the called client stored in the node registration server.
If the called client is not in the node network, the called client is forwarded to a forwarding server of the central node.
After receiving the forwarding request, the forwarding server of the central node acquires the address of the registration server of the sub-node where the called client is located according to the account number of the called client, and forwards the call request to the sub-node registration server where the called client is located; after receiving the call request, the sub-node registration server where the called client is located inquires an address path of the called client according to the client account number and forwards the call request to the called client; after the called client receives the call request, if the called client agrees to establish a call, the sub-node registration server and the forwarding server of the central node establish a rtp protocol media link for two cross-network clients to communicate through self-forwarding.
Example 2:
a method for realizing a cross-network video call system based on an IP bidirectional network set-top box is disclosed, wherein the network environment is shown in figure 1, the networks of all nodes are not communicated and are respectively communicated with a central network. And deploying a registration server at each sub-node, configuring two network cards for the registration server, respectively accessing the main network and the node network, and deploying and installing registration service and proxy service. And deploying a forwarding server at the central node, accessing the backbone network and deploying a forwarding service.
The client side of each sub-node network is configured with the registration service address of the node and the communication agent address.
When the clients communicate, each sub-node and the central node establish a communication link for the calling and called clients to perform video call as shown in fig. 2.
The present invention can be easily implemented by those skilled in the art from the above detailed description. It should be understood, however, that the intention is not to limit the invention to the particular embodiments described. On the basis of the disclosed embodiments, a person skilled in the art can combine different technical features at will, thereby implementing different technical solutions.