[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112752053A - Video telephone service access method, video network core server and video network terminal - Google Patents

Video telephone service access method, video network core server and video network terminal Download PDF

Info

Publication number
CN112752053A
CN112752053A CN202011390318.7A CN202011390318A CN112752053A CN 112752053 A CN112752053 A CN 112752053A CN 202011390318 A CN202011390318 A CN 202011390318A CN 112752053 A CN112752053 A CN 112752053A
Authority
CN
China
Prior art keywords
video
network terminal
video network
service
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.)
Pending
Application number
CN202011390318.7A
Other languages
Chinese (zh)
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.)
Shilian Power Information Technology Co ltd Tibet Branch
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 CN202011390318.7A priority Critical patent/CN112752053A/en
Publication of CN112752053A publication Critical patent/CN112752053A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a video telephone service access method, a video network core server and a video network terminal, wherein the method comprises the following steps: in the video telephone service of the intercommunication of a first video network terminal and a third video network terminal in the video network, the service preparation information of a second video network terminal is obtained according to a video telephone request command sent by the first video network terminal, a multicast address is distributed to the second video network terminal when the second video network terminal can carry out multi-terminal conversation service, and a data link between the second video network terminal and the first video network terminal and a data link between the second video network terminal and the third video network terminal are established, so that the second video network terminal is accessed into the video telephone service. In the embodiment of the invention, in the process of developing the video telephone service, the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service are improved, and the communication with other terminals can be realized without ending the current communication on the basis of realizing the multi-terminal telephone, so that the control efficiency of the video telephone service is improved.

Description

Video telephone service access method, video network core server and video network terminal
Technical Field
The invention relates to the technical field of video networking, in particular to a video telephone service access method and a video telephone service access device.
Background
With the continuous development of video networking, the service of the video telephone in the video networking is also widely applied, and based on the specific architecture of the video networking, the video telephone service which is more stable, higher definition and more real-time can be provided in the video telephone service.
However, in the video telephone service of the video network, only end-to-end communication between two parties is supported, and in the process of communication between two parties, if access to a third party is required, the current communication needs to be suspended first, and then the connection with the third party is performed to perform the video telephone service, which brings serious inconvenience to service development in practical application, so that the video telephone service development efficiency is low, the requirements of the current increasingly wide video telephone service cannot be met, and meanwhile, certain resource waste is caused.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method and an apparatus for accessing a video telephone service, so as to improve the efficiency of developing the video telephone service, meet the current requirements of a wide range of video telephone services, and save resources.
In a first aspect of the embodiments of the present invention, a method for accessing a video telephone service is provided, where the method is applied to a core server of a video network, and the method includes:
acquiring a video telephone request command sent by a first video network terminal aiming at a second video network terminal, wherein the first video network terminal is in a video telephone service connected with a third video network terminal;
under the condition that the first video network terminal is determined to be in the video telephone service, service preparation information of the second video network terminal is obtained according to the video telephone request command;
under the condition that the second video network terminal can carry out multi-terminal call service according to the service preparation information, a multicast address is distributed to the second video network terminal;
and establishing data links between the second video network terminal and the first video network terminal as well as between the second video network terminal and the third video network terminal according to the multicast address so as to enable the second video network terminal to be accessed into the video telephone service.
In a second aspect of the embodiments of the present invention, another method for accessing a video telephone service is provided, where the method is applied to a video networking terminal, and the method includes:
receiving a videophone preparation command sent by a core server of a video network, wherein the videophone preparation command corresponds to an ongoing videophone service;
determining service preparation information of the video network terminal according to the current service state of the video network terminal;
determining a videophone preparation response according to the videophone preparation command and the service preparation information, and sending the videophone preparation response to the videophone core server;
receiving a video telephone starting command sent by the video networking core server;
and sending a video telephone starting response to the video networking core server according to the video telephone starting command so as to access the video telephone service through the video networking core server.
In a third aspect of the embodiments of the present invention, a core server of a video network is provided, where the core server of the video network includes:
the request command acquisition module is used for acquiring a video telephone request command sent by a first video network terminal aiming at a second video network terminal, wherein the first video network terminal is in a video telephone service connected with a third video network terminal;
the preparation information acquisition module is used for acquiring service preparation information of the second video network terminal according to the video telephone request command under the condition that the first video network terminal is determined to be in the video telephone service;
the multicast address distribution module is used for distributing a multicast address for the second video network terminal under the condition that the second video network terminal can carry out multi-terminal call service according to the service preparation information;
and the telephone service access module is used for establishing data links between the second video network terminal and the first video network terminal as well as between the second video network terminal and the third video network terminal according to the multicast address so as to enable the second video network terminal to be accessed into the video telephone service.
In a fourth aspect of the embodiments of the present invention, a video networking terminal is provided, where the video networking terminal includes:
the system comprises a preparation command receiving module, a video telephone service processing module and a video telephone service processing module, wherein the preparation command receiving module is used for receiving a video telephone preparation command sent by a video networking core server, and the video telephone preparation command corresponds to an ongoing video telephone service;
the preparation information determining module is used for determining the service preparation information of the video network terminal according to the current service state of the video network terminal;
a preparation response sending module, configured to determine a videophone preparation response according to the videophone preparation command and the service preparation information, and send the videophone preparation response to the videophone core server;
a starting command receiving module, configured to receive a videophone starting command sent by the video networking core server;
and the starting response sending module is used for accessing the video telephone service corresponding to the video telephone starting command and sending a video telephone starting response to the video networking core server according to the video telephone starting command so as to access the video telephone service through the video networking core server.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, in the video telephone service in which a first video network terminal and a third video network terminal in the video network are communicated, the service preparation information of a second video network terminal can be obtained according to the video telephone request command sent by the first video network terminal, and when the second video network terminal can carry out multi-terminal call service according to the service preparation information of the second video network terminal, a multicast address is distributed to the second video network terminal, so that data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal are established, and the second video network terminal is accessed into the video telephone service. In the embodiment of the invention, in the process of developing the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
Drawings
Fig. 1 is an architecture diagram of a video telephone service access method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a video telephone service access method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another video telephone service access method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a video telephone service access method according to another embodiment of the present invention;
fig. 5 is an interaction flowchart of video telephone service access according to an embodiment of the present invention;
fig. 6 is a block diagram of a core server of a video network according to an embodiment of the present invention;
fig. 7 is a block diagram of a video network terminal according to an embodiment of the present invention;
FIG. 8 is a prior art networking diagram of a video network;
FIG. 9 is a diagram illustrating a hardware structure of a node server in the prior art;
fig. 10 is a schematic diagram of a hardware structure of an access switch in the prior art;
fig. 11 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway in the prior art.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, fig. 1 is a block diagram of a structure for implementing a video telephony service access method according to an embodiment of the present invention, and as shown in fig. 1, the video telephony service access method includes a video networking core server 1, a first video networking terminal 2, a second video networking terminal 3, and a third video networking terminal 4.
The core server 1 of the video network is a server for maintaining all services in the video network, and optionally, the core server of the video network may include a main control device 11 and a plurality of sub-control devices 12, where the main control device 11 is configured to receive and process a command sent by a service layer and feed back a service processing result of the command to the service layer, and the sub-control devices 12 are configured to forward data. The video network terminals such as the first video network terminal 2, the second video network terminal 3 and the third video network terminal 4 can be in communication connection with the main control device 11 through the sub-control device 12 so as to start or end different video network services, wherein one sub-control device 12 can correspond to a plurality of video network terminals. In this embodiment, the video network core server 1, the first video network terminal 2, the second video network terminal 3, and the third video network terminal 4 are not limited.
The first video network terminal 2 can be connected with the third video network terminal 4 through the video network core server 1 to perform video telephone service, at this moment, the first video network terminal 2 can send a video telephone request command for the second video network terminal to the video network core server 1, and according to the video telephone request command, the video network core server 1 can establish communication connection between the second video network terminal 3 and the first video network terminal 2 and between the second video network terminal 3 and the third video network terminal 4, so that the second video network terminal 3 is accessed into the video telephone service.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for accessing a video telephone service according to an embodiment of the present invention, where the method is applied to a core server of a video network, and the method of the present embodiment is suitable for a situation that a multi-terminal video telephone service is required in the video telephone service. The method may comprise the steps of:
step 101, a video telephone request command sent by a first video network terminal aiming at a second video network terminal is obtained, and the first video network terminal is in a video telephone service connected with a third video network terminal.
In the embodiment of the present invention, the first video network terminal refers to a terminal that has a function of a video telephone service in a video network and is in the video telephone service with the third video network terminal, where the first video network terminal may be a calling party in the video telephone service, and the third video network terminal may be a called party. The second video network terminal is the other terminal which has the function of the video telephone service in the video network and is not in the video telephone service of the intercommunication of the first video network terminal and the third video network terminal, at this moment, the video network core server can obtain the video telephone request command sent by the first video network terminal aiming at the second video network in the process of the conversation of the first video network terminal and the third video network terminal.
And 102, under the condition that the first video network terminal is determined to be in the video telephone service, acquiring service preparation information of the second video network terminal according to the video telephone request command.
In the embodiment of the invention, different from the situation that two ends in the video telephone service can not call other terminals in the prior art, the video network server can access the video telephone service by other video network terminals when the first video network terminal is in the video telephone service, the video network request command is a command sent by the first video network terminal, wherein the video network request command can include information reflecting the service state of the first video network terminal, when the first video network terminal is determined to be in the video telephone service according to the video telephone request command, the video network core server can determine a called second video network terminal according to the video telephone request command and acquire service preparation information of the second video network terminal, wherein the service preparation information is information reflecting the current service state of the second video network terminal, such as the second video network terminal is idle, the video network terminal is in a call state, and the video network core server is in a call state of the second video network, In a call, in other traffic, etc.
In the embodiment of the invention, because the multi-end communication service requires the establishment of communication connection among all video networking terminals in the video telephone service, when the first video networking terminal is in the video telephone service, the video networking core server can determine the video networking terminal which is already in the video telephone service according to the video telephone request command, such as the third video networking terminal; when the first video network terminal is not in the video telephone service, the first video network terminal and the second video network terminal can be directly connected in a communication way to establish the video telephone service. The video network core server can determine whether the first video network terminal is in the video telephone service according to the information in the telephone request command or the locally stored information of the first video network terminal or inquiring the first video network terminal.
And 103, distributing a multicast address to the second video network terminal under the condition that the second video network terminal can carry out the multi-terminal call service according to the service preparation information.
In the embodiment of the invention, in order to avoid the second video network terminal being in a state of being incapable of carrying out multi-terminal call service, whether the second video network terminal can carry out multi-terminal call service or not can be determined according to the service preparation information of the second video network terminal, a multicast address can be allocated to the second video network terminal under the condition that the second video network terminal can carry out multi-terminal call service, information such as call failure, busy second video network terminal and the like can be sent to the first video network terminal under the condition that the second video network terminal can not carry out multi-terminal call service, further, the state change of the second video network terminal can be monitored, the multicast address can be allocated to the second video network terminal under the condition that multi-terminal call service can be carried out among the states of the second video network terminal, and information in connection with the second video network terminal can be returned to the first video network terminal, the embodiment of the present invention is not particularly limited thereto.
In the embodiment of the invention, the multicast address refers to a data transmission address uniquely designated for the video network terminal in the video network core server, the receiver can determine the credibility of the received data according to the multicast address, and the sender can determine the destination of the data transmission, so that the communication connection is established between the sender and the receiver.
And 104, establishing data links between the second video network terminal and the first video network terminal as well as between the second video network terminal and the third video network terminal according to the multicast address so as to enable the second video network terminal to be accessed into the video telephone service.
In the embodiment of the invention, after the video network core server distributes the multicast address to the second video network terminal, the data links of the second video network terminal and the first video network terminal as well as the data links of the second video network terminal and the third video network terminal can be established according to the multicast address, so that the second video network terminal is respectively in communication connection with the first video network terminal and the third video network terminal, and the second video network terminal is accessed into the video telephone service to realize the multi-terminal call service under the condition that the first video network terminal and the third video network terminal are connected.
In the embodiment of the invention, in the video telephone service of the conversation between the first video network terminal and the third video network terminal in the video network, the service preparation information of the second video network terminal can be obtained according to the video telephone request command sent by the first video network terminal, and when the second video network terminal can carry out multi-terminal conversation service according to the service preparation information of the second video network terminal, the multicast address is distributed to the second video network terminal, so that the data links of the second video network terminal and the first video network terminal as well as the second video network terminal and the third video network terminal are established, and the second video network terminal is accessed into the video telephone service. In the embodiment of the invention, in the process of developing the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
Fig. 3 is a flowchart of steps of another video telephony service access method according to an embodiment of the present invention, as shown in fig. 3, the method is applied to a core server of a video networking, and the method may include the following steps:
step 201, acquiring a video telephone request command sent by a first video network terminal to a second video network terminal, wherein the first video network terminal is in a video telephone service connected with a third video network terminal.
In the embodiment of the present invention, step 201 may refer to the related description of step 101, and is not described herein again to avoid repetition.
In the embodiment of the present invention, the videophone request command may include at least one of an operation code, a global service identifier of the videophone service, a first video network terminal identifier, a second video network terminal identifier, a service type, a call mode, a data source flow, an attribute, and other information, where the operation code may be an identifier corresponding to different preset operations to indicate an operation corresponding to the command, for example, the videophone request command carries the operation code of the videophone request; the global service identification of the video telephone service is the current unique identification distributed for the video telephone service by the video networking core server when the video telephone service is established, and is used for distinguishing different video telephone services; when a first video network terminal sends a video network request command to a video network core server aiming at a second video network terminal, the first video network terminal is a calling party, the second video network terminal is a called party, and the video network request command can carry the identification of the calling party and the identification of the called party, so that the video network core server can conveniently determine the identity and the state of the calling party and the called party; the service type may be a videophone, a general telephone, etc.; the calling mode can comprise ordinary calling, forced calling, emergency calling and the like; the data traffic and the attribute may include estimated traffic of the audio/video data, coding of a transmission channel of the audio/video data, and the like, which is not particularly limited in this embodiment of the present invention.
Step 202, under the condition that the first video network terminal is determined to be in the video telephone service, sending a video telephone preparation command to the second video network terminal according to the video telephone request command.
In the embodiment of the invention, the video networking core server can determine that the first video networking terminal is in the video telephone service when the video telephone request command carries the global service identifier of the video telephone service; or, according to the first video network terminal identifier in the video telephone command, whether the video telephone service maintained by the video network core server includes the first video network terminal or not can be searched, so as to determine whether the first video network terminal is in the video telephone service or not. After the first video networking terminal is determined to be in the video telephone service, a video telephone preparation command can be sent to the second video networking terminal, wherein at least one of information such as an operation code indicating video telephone preparation, a global service identifier of the video telephone service, a first video networking terminal identifier, a second video networking terminal identifier, a service type, a calling mode, data source flow and attribute can be included, and the second video networking terminal is informed of the preparation of the video telephone service by referring to the video telephone request command.
Step 203, receiving a videophone preparation response returned by the second video network terminal according to the videophone preparation command, where the videophone preparation response includes the service preparation information of the second video network terminal.
In the embodiment of the invention, after the videophone preparation command is sent to the second videonetworking terminal, the videophone preparation response returned by the second videonetworking terminal can be received, and the videophone preparation response is obtained according to the service state of the second videonetworking terminal after the videophone request command is received by the second videonetworking terminal, wherein the videophone preparation response comprises the service preparation information of the second videonetworking terminal. Optionally, the videophone preparation response may include an opcode of videophone preparation, a global service identifier, service preparation information, and the like, where the service preparation information may be a success or failure in preparation of the videophone service by the second video network terminal.
And 204, under the condition that the second video network terminal can carry out multi-terminal call service according to the service preparation information, distributing a multicast address to the second video network terminal.
In this embodiment of the present invention, the core server of the video network may determine whether the second video network terminal can perform the multi-end call service according to the service preparation information in response to the video telephone preparation, and optionally, when the service preparation information is that the preparation of the video telephone service by the second video network terminal is successful, determine that the second video network terminal can perform the multi-end call service, thereby allocating a multicast address to the second video network terminal, and when the service preparation information is that the preparation of the video telephone service by the second video network terminal is failed, determine that the second video network terminal cannot perform the multi-end call service, at this time, notify the first video network terminal that the connection of the second video network terminal is failed, and also notify the second video network terminal to perform the service preparation again.
Step 205, establishing data links through which the second video network terminal sends audio and video data to the first video network terminal and the third video network terminal respectively according to the multicast address, and starting the data links through which the second video network terminal receives the audio and video data from the first video network terminal and the second video network terminal respectively.
In the embodiment of the invention, the video network terminal comprises two channels of a data source and a data sink, wherein the data source is a channel for coding audio and video data, the coded audio and video data can be sent to a receiving party, the data sink is a channel for decoding the audio and video data, the audio and video data of a sending party are received and decoded and played, so that the video telephone service is realized, a video network core server can respectively allocate multicast addresses to the audio data and the video data of a second video network terminal and corresponds to the data source of the second video network terminal, so that a data link for the second video network terminal to respectively send the audio and video data to a first video network terminal and a third video network terminal is established, and the multicast addresses of the data sources of the first video network terminal and the third video network terminal can respectively correspond to the data sink of the second video network terminal, and thus, a data link of a second video network terminal for respectively receiving audio and video data from the first video network terminal and the second video network terminal is started.
For example, the multicast addresses of the first, second and third video network terminals are shown in the following table:
Figure BDA0002812145830000071
as shown in the above table, the core server of the video network allocates a multicast address 11 to the channel 0 of the data source of the second video network terminal, allocates a multicast address 12 to the channel 1, and informs the multicast address 1 of the channel 0 and the multicast address 2 of the channel 1 of the first terminal device, and the multicast address 6 of the channel 0 and the multicast address 7 of the channel 1 of the third terminal device of the data sink of the second video network terminal, so as to establish a data link for the second video network terminal to send audio and video data to the first video network terminal and the third video network terminal, respectively, and open a data link for the second video network terminal to receive audio and video data from the first video network terminal and the second video network terminal, respectively.
Optionally, after the step 205, the method further includes:
step S11, sending a videophone request result to the first video network terminal according to the videophone request command, so that the first video network terminal prompts the videophone request result.
In this embodiment of the present invention, after receiving a videophone preparation response returned by the second video network terminal, the video network core server may further send a videophone request result to the first video network terminal according to the videophone request command, where optionally, the videophone request result may include an operation code indicating the videophone request, a global service identifier, and a processing result, where the processing result may include a processing success or a processing failure, the first video network terminal may prompt according to the videophone request result, and when the processing succeeds, the first video network terminal may talk with the second video network terminal, and when the processing fails, the video network core server may wait for the first video network terminal to send the videophone request for the second video network terminal again, which is not specifically limited in this embodiment of the present invention.
Step 206, sending a videophone start command to the second video network terminal.
In the embodiment of the invention, after the data links of the second video network terminal which respectively sends the audio and video data to the first video network terminal and the third video network terminal are established according to the multicast address and the data links of the second video network terminal which respectively receives the audio and video data from the first video network terminal and the second video network terminal are opened, a video telephone starting command can be sent to the second video network terminal to inform the second video network terminal of the start of the video telephone service, optionally, the video telephone starting command can comprise an operation code indicating the start of the video telephone, a global service identifier and the multicast addresses of all the video network terminals in the video telephone service.
And step 207, receiving a videophone start response sent by the second videophone network terminal according to the videophone start command.
In the embodiment of the present invention, the core server of the video networking may receive a video telephone start response sent by the second video networking terminal according to the video telephone start command, and optionally, the video telephone start response may include an operation code indicating the start of the video telephone, a global service identifier, and a processing result, where the processing result may include a processing success or a processing failure. In addition, the second video network terminal may also send audio and video data according to the multicast addresses of all the video network terminals in the video telephone service when receiving the video telephone start command, which is not specifically limited in the embodiment of the present invention.
And step 208, under the condition that the video telephone starting response is received, starting data links for respectively receiving audio and video data by the first video network terminal and the third video network terminal according to the multicast address of the second video network terminal.
In the embodiment of the invention, after receiving the videophone starting response to determine that the second video network terminal starts videophone, the video network core server can inform the first video network terminal and the third video network terminal of the multicast address allocated to the second video network terminal, so that a data link of the first video network terminal and the third video network terminal for receiving the audio and video data of the second video network terminal is opened.
For example, the multicast addresses of the first, second and third video network terminals are shown in the following table:
Figure BDA0002812145830000091
as shown in the above table, the multicast address of the second video network terminal corresponds to the channel of the data sink of the first video network terminal and the third video network terminal, so as to open the data link of the first video network terminal and the third video network terminal for receiving the audio and video data of the second video network terminal, so that the first video network terminal accesses the video telephone service of the first video network terminal and the third video network terminal, and realize the multi-terminal telephone service.
In the embodiment of the present invention, the number of the second video network terminals is not limited, and in the process of performing video telephony by the first video network terminal and the second video network terminal, according to the request of the first video network terminal, the video network core server may access any number of the second video network terminals to the video telephony service.
Optionally, after the step 208, the method further includes:
step S21, a first end current service command sent by a first target video network terminal is obtained, wherein the first target video network terminal comprises any one of the first video network terminal, the second video network terminal and the third video network terminal corresponding to the video telephone service.
In this embodiment of the present invention, the first target video network terminal refers to a video network terminal that sends a first end current service command in a video telephone service of a multi-end call, and may be any video network terminal of the multi-end call, for example, according to the foregoing video telephone service, the first end current service command may be a video telephone service that ends the first target video network terminal, or a video network terminal that ends a specified video network terminal. Optionally, the first end current service command may include an operation code indicating to end the current service, a global service identifier, a service type, and the like, where the service type is a video telephone.
Step S22, releasing the data link corresponding to the first target video network terminal in the video telephone service, and sending a first end service request response to the first target video network terminal according to the first end current service command, so that the first target video network terminal exits the video telephone service according to the first end service request response.
In the embodiment of the invention, taking the example that the first end current service command is used for enabling the first video network terminal to quit the video telephone service, when the first end current service command of the first target video network terminal is obtained, the data links of other video network terminals and the first target video network terminal are released, and if the first target video network terminal is the first video network terminal, the data links of the first video network terminal and the second video network terminal as well as the data links of the first video network terminal and the third video network terminal are released, so that the first video network terminal quits the video telephone service, and the second video network terminal and the third video network terminal continue the video telephone service; or, if the first target video network terminal is a second video network terminal, the second video network terminal exits the video telephone service, and the first video network terminal and the third video network terminal continue the video telephone service with reference to the above process.
In the embodiment of the present invention, a first end current service response may also be sent to the second target video network terminal, and at this time, the second target video network terminal may determine whether the video network core server successfully ends the current service according to the first end current service response, so as to determine to resend the first end current service command or continue the video telephone service. And under the condition that the video network core server successfully finishes the current service, the second target video network terminal can quit the video telephone service and perform other related service processing. Optionally, the first end service request response includes an operation code indicating to end the current service, a global service identifier, and a processing result, where the processing result includes a processing success or a processing failure.
Step S23, a second current service ending command sent by a second target video network terminal is obtained, wherein the second target video network terminal is any one of two video network terminals corresponding to the video telephone service after the first target video network terminal quits the video telephone service.
In the embodiment of the present invention, after the first target video network terminal exits the video telephone service, a second current service ending command sent by a second target video network terminal may also be received, at this time, the video telephone service is a two-party call, the second target video network terminal is a video network terminal that sends the second current ending command among the two video network terminals, and the second current service ending command may refer to the description related to the first current service ending command, and is not described herein again to avoid repetition.
Step S24, releasing all data links in the video telephone service.
In the embodiment of the invention, when the video telephone service is a two-party call, any one party exits the current service, and the other party actually exits the current service, so all data links in the video telephone service can be released, optionally, the video telephone service can be determined according to the global service identifier in the second current service ending command, and a video networking terminal in the video telephone service is determined, so that whether the video telephone service corresponding to the second current service ending command is a two-party call is determined, and whether all the data links in the video telephone service are released is determined.
Step S25, sending a second current service ending response to the second target video network terminal according to the second current service ending command, and notifying the second target video network terminal to exit the video telephone service.
In the embodiment of the present invention, the step S25 can be referred to the related description of the step S22, and is not repeated herein for the sake of avoiding repetition.
Step S26, sending the second current service ending command to a third target video network client, and notifying the third target video network terminal to exit the video telephone service, where the third target video network terminal is the other video network terminal of the two video network terminals corresponding to the video telephone service.
In the embodiment of the invention, when the video telephone service is a two-party call, the third target video network terminal can be another video network terminal except the second target video network terminal, at the moment, the video network core server can send the second current service ending command sent by the second target video network terminal to the third target video network terminal, and the third target video network terminal can quit the video telephone service according to the second current service ending command when receiving the second current service ending command.
And step S27, acquiring a third end service response returned by the third target video network terminal according to the second end current service command.
In this embodiment of the present invention, the video network core server may receive a third end service response returned by the third target video network terminal according to the second end current service command, so as to determine whether the third target video network terminal has exited the video telephone service, optionally, the third end service response may include an operation code indicating to end the current service, a global service identifier, and a processing result, where the processing result includes a processing success and a processing failure.
In the embodiment of the invention, in the video telephone service in which a first video network terminal and a third video network terminal in the video network are communicated, the service preparation information of a second video network terminal can be obtained according to the video telephone request command sent by the first video network terminal, and when the second video network terminal can carry out multi-terminal call service according to the service preparation information of the second video network terminal, a multicast address is distributed to the second video network terminal, so that data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal are established, and the second video network terminal is accessed into the video telephone service. In the embodiment of the invention, in the process of developing the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
Fig. 4 is a flowchart of steps of another video telephone service access method according to an embodiment of the present invention, as shown in fig. 4, the method is applied to a video network terminal, and the method may include:
step 301, receiving a videophone preparation command sent by a core server of a video network, where the videophone preparation command corresponds to an ongoing videophone service.
In the embodiment of the present invention, the video networking terminal refers to a terminal capable of performing a video telephone service and communicating with the video networking, and the video networking terminal may receive a video telephone preparation instruction sent by a video networking core server, and perform corresponding service processing according to the video telephone preparation instruction, so as to prepare for accessing the video telephone service, where the video telephone preparation instruction corresponds to the video telephone service in progress, the video telephone service already includes at least two video networking terminals in communication connection, and the video telephone preparation instruction may refer to the related description of the foregoing step 202, and is not described herein again in order to avoid repetition.
Step 302, determining service preparation information of the video network terminal according to the current service state of the video network terminal.
In the embodiment of the invention, when the videophone preparation command is received, the video networking terminal can be in other services or in other states incapable of carrying out the videophone service, at the moment, the video networking terminal can determine the current service state of the video networking terminal when the videophone preparation command is received, and the information whether the video networking terminal can carry out the multi-terminal call service is taken as the service preparation information of the video networking terminal.
Optionally, the step 302 specifically includes:
and under the condition that the video network terminal is in a service idle state and a service login state and the data channel of the video network terminal is finished according to the parameter coding, the service preparation information is that the video network terminal can carry out multi-terminal call service.
In the embodiment of the invention, the video network terminal may be in a busy service state, for example, the video network terminal is carrying out video telephone service with other video network terminals, or the video network terminal is carrying out other services, for example, monitoring, live broadcast and other services, and may also be in a service idle state; the video network terminal may be in a service unregistered state, such as a power-off state, a standby state, or a service registration state; the video network terminal may be in a state that the coding of the data channel is not completed yet or in a state that the coding is completed, and when the video network terminal is in a service idle state and a service login state and the data channel of the video network terminal is completed according to the parameter coding, the service preparation information of the video network terminal is that a multi-terminal call service can be performed.
In the embodiment of the invention, when the video network terminal is in a busy service state, the video network terminal can perform different service processing according to different video telephone preparation commands, for example, when the video network terminal is in other video telephone services, the video telephone preparation command comprises a calling mode, and when the calling mode is forced calling or emergency calling, the video network terminal can stop other video telephone services so as to enable the video network terminal to be in a service idle state.
Step 303, determining a videophone preparation response according to the videophone preparation command and the service preparation information, and sending the videophone preparation response to the videophone core server.
In the embodiment of the invention, the videophone preparation response is a response of the videophone terminal to the core server of the videophone network according to the videophone preparation command, wherein the response can include at least one of information including an operation code indicating videophone preparation, a global service identifier of the videophone service, a first videophone terminal identifier, a second videophone terminal identifier, a service type, a call mode, data source flow, attributes and the like included in the videophone preparation command, and service preparation information of the videophone terminal.
Step 304, receiving the videophone start command sent by the video networking core server.
In the embodiment of the present invention, after the video networking terminal sends the videophone preparation command to the video networking core server, if the service preparation information indicates that the video networking terminal can perform the multi-end call service, the video networking terminal may wait and receive the videophone start command sent by the video networking core server, where the videophone start command may refer to the related description in step 206, and is not described herein again to avoid repetition.
And 305, sending a videophone starting response to the video networking core server according to the videophone starting command so as to access the videophone service through the video networking core server.
In the embodiment of the present invention, after receiving the videophone start command, the video networking terminal may start responding to the videophone core server to determine to start performing the videophone service to the video networking core server, where the videophone start responding may refer to the related description in step 207, and is not described herein again to avoid repetition.
In the embodiment of the invention, the video network terminal can receive the video telephone preparation command sent by the video network core server so as to determine the service preparation information of the video network terminal, send the video telephone preparation response to the video network core server according to the video telephone preparation command and the service preparation information, and send the video telephone start response to the video network core server under the condition of receiving the telephone start command, so that the video telephone service is added through the video network core server. In the embodiment of the invention, in the ongoing process of the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
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.
Fig. 5 is an interaction flowchart of video telephone service access provided in an embodiment of the present invention, and as shown in fig. 5, the method is implemented by a main control device, a sub-control device, a video networking terminal a, a video networking terminal B, and a video networking terminal C, where the video networking terminal a and the video networking terminal B are in a video telephone service, and the video networking terminal a is a calling device, and the method is as follows:
step 401, the video networking terminal A sends a video telephone request command for the video networking terminal C to the sub-control equipment;
step 402, sub-control equipment reports a video telephone request command sent by a video network terminal A to main control equipment;
step 403, the main control device obtains the information of the video networking terminal C according to the video telephone request command.
Step 404, the main control device sends a videophone preparation command for the video network terminal C to the sub-control device according to the information of the video network terminal C;
step 405, the sub-control device sends a videophone preparation command to the videophone networking terminal C to notify the videophone networking terminal C of preparing to access the videophone service;
step 406, the video network terminal C determines whether the service preparation information of the current device is capable of performing a multi-end call service according to the video telephone preparation command, if not, step 407 is executed, and if yes, step 408 is executed;
step 407, the video network terminal C performs corresponding service processing, such as encoding a data channel, exiting the current service of the video network terminal C, and the like, and executes step 408 when the service preparation information of the video network terminal C is that a multi-port call service can be performed;
step 408, the video networking terminal C sends a video telephone preparation response to the sub-control equipment according to the video telephone preparation command and the video telephone preparation information;
step 409, the sub-control equipment reports a videophone preparation response to the main control equipment;
step 410, the main control device allocates a multicast address to the video networking terminal C according to the video telephone preparation response;
step 411, the main control device sends the videophone request result to the sub-control device according to the videophone request command;
step 412, the sub-control device sends the video telephone request result to the video networking terminal A;
step 413, the video networking terminal A prompts the video telephone request result;
step 414, the main control device sends a videophone starting command to the sub-control device, and starts a multicast link of the videophone terminal C for receiving the data sources of the videophone terminal A and the videophone terminal B;
step 415, the sub-control device sends a videophone starting command to the video networking terminal C to notify the video networking terminal C to start videophone service;
step 416, the video networking terminal C sends audio and video data to the video networking terminal A and the video networking terminal B according to the video telephone starting command, and sends a video telephone starting response to the sub-control equipment;
step 417, the sub-control device reports the videophone starting response to the main control device;
and 418, the master control device starts a multicast link of the video network terminal A and the video network terminal B for receiving the data sink of the audio and video data of the video network terminal C, so that the video network terminal A and the video network terminal B receive the audio and video data of the video network terminal C, and the video network terminal C is accessed to the video telephone service.
And 419, the video network terminal A receives the audio and video data of the video network terminal C and sends the audio and video data to the video network terminal C.
And step 420, the video network terminal B receives the audio and video data of the video network terminal C and sends the audio and video data to the video network terminal C.
Step 421, at least one of the video network terminal a, the video network terminal B and the video network terminal C sends a command for ending the current service to the sub-control device;
step 422, the sub-control equipment reports the current service ending command to the main control equipment;
step 423, the master control device releases the data link of the corresponding video network terminal according to the command for ending the current service;
step 424, the main control device determines whether the number of the remaining video network terminals in the current video telephone service is greater than 2, if yes, step 425 is executed, otherwise, step 428 is executed;
step 425, the main control device sends a service ending request response to the branch control device;
step 426, the sub-control equipment sends a service ending request response to the video network terminal corresponding to the current service ending command;
step 427, the video network terminal corresponding to the current service ending command performs service processing according to the service ending request response, such as initializing terminal resources;
step 428, the main control device releases the data links corresponding to the remaining video network terminals except the video network terminal corresponding to the end current service command in the video telephone service;
step 429, the main control device sends a command for ending the current service to the branch control devices;
step 430, the branch control equipment sends a command for ending the current service to the rest video network terminals;
431, the rest video network terminals perform service processing according to the current service ending command, such as initializing terminal resources;
step 432, the rest video network terminals return a response for ending the current service to the branch control equipment according to the command for ending the current service;
step 433, the sub-control equipment reports the response of ending the current service to the main control equipment;
step 434, the main control device releases the resources corresponding to the video telephone service according to the current service response.
Referring to fig. 6, fig. 6 is a block diagram of a video network core server according to an embodiment of the present invention, where the video network core server 50 includes:
a request command obtaining module 501, configured to obtain a video telephone request command sent by a first video network terminal to a second video network terminal, where the first video network terminal is in a video telephone service connected to a third video network terminal;
a preparation information obtaining module 502, configured to obtain service preparation information of the second video network terminal according to the video telephone request command under the condition that it is determined that the first video network terminal is in the video telephone service;
a multicast address allocation module 503, configured to allocate a multicast address to the second video network terminal when it is determined that the second video network terminal can perform a multi-port call service according to the service preparation information;
a telephone service access module 504, configured to establish a data link between the second video network terminal and the first video network terminal, and between the second video network terminal and the third video network terminal according to the multicast address, so that the second video network terminal is accessed to the video telephone service.
Optionally, the telephone service access module 504 includes:
the data link establishing submodule is used for establishing data links which are respectively sent by the second video network terminal to the first video network terminal and the third video network terminal according to the multicast address, and starting the data links which are respectively received by the second video network terminal from the first video network terminal and the second video network terminal;
a start command sending submodule for sending a videophone start command to the second videonetworking terminal;
the response receiving submodule is used for receiving a video telephone starting response sent by the second video network terminal according to the video telephone starting command;
and the data link establishing sub-module is further used for starting data links for the first video network terminal and the third video network terminal to respectively receive audio and video data according to the multicast address of the second video network terminal under the condition of receiving the video telephone starting response.
Optionally, the preparation information obtaining module 502 includes:
a preparation command sending submodule for sending a videophone preparation command to the second videonetworking terminal according to the videophone request command;
and the preparation response receiving submodule is used for receiving a video telephone preparation response returned by the second video network terminal according to the video telephone preparation command, and the video telephone preparation response comprises the service preparation information of the second video network terminal.
Optionally, the video networking core server 50 further includes:
and the request result sending module is used for sending the video telephone request result to the first video network terminal according to the video telephone request command so as to prompt the video telephone request result by the first video network terminal.
Optionally, the video networking core server 50 further includes:
an ending command acquiring module, configured to acquire a first ending current service command sent by a first target video networking terminal, where the first target video networking terminal includes any one of the first video networking terminal, the second video networking terminal, and the third video networking terminal corresponding to the video telephony service;
and the service ending module is used for releasing a data link corresponding to the first target video network terminal in the video telephone service and sending a first ending service request response to the first target video network terminal according to the first ending current service command so that the first target video network terminal exits the video telephone service according to the first ending service request response.
Optionally, the ending command obtaining module is further configured to obtain a second ending current service command sent by a second target video network terminal, where the second target video network terminal is any one of two video network terminals corresponding to the video telephone service after the first target video network terminal exits the video telephone service;
the service ending module is also used for releasing all data links in the video telephone service;
an end response sending module, configured to send a second end current service response to the second target video network terminal according to the second end current service command, and notify the second target video network terminal to exit the video telephone service;
an ending command sending module, configured to send the second ending current service command to a third target video network client, and notify the third target video network terminal to exit the video telephone service, where the third target video network terminal is another video network terminal of the two video network terminals corresponding to the video telephone service;
and the ending response receiving module is used for acquiring a third ending service response returned by the third target video network terminal according to the second ending current service command.
In the embodiment of the invention, in the video telephone service in which a first video network terminal and a third video network terminal in the video network are communicated, the service preparation information of a second video network terminal can be obtained according to the video telephone request command sent by the first video network terminal, and when the second video network terminal can carry out multi-terminal call service according to the service preparation information of the second video network terminal, a multicast address is distributed to the second video network terminal, so that data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal are established, and the second video network terminal is accessed into the video telephone service. In the embodiment of the invention, in the process of developing the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
Fig. 7 is a block diagram of a video network terminal according to an embodiment of the present invention, and as shown in fig. 7, the video network terminal 60 may include:
a preparation command receiving module 601, configured to receive a videophone preparation command sent by a video networking core server, where the videophone preparation command corresponds to an ongoing videophone service;
a preparation information determining module 602, configured to determine service preparation information of the video networking terminal according to a current service state of the video networking terminal;
a preparation response sending module 603, configured to determine a videophone preparation response according to the videophone preparation command and the service preparation information, and send the videophone preparation response to the videophone core server;
a start command receiving module 604, configured to receive a videophone start command sent by the video networking core server;
a starting response sending module 605, configured to access the video telephone service corresponding to the video telephone starting command, and send a video telephone starting response to the video networking core server according to the video telephone starting command, so as to access the video telephone service through the video networking core server.
Optionally, the preparation information determining module 602 is specifically configured to, when the video networking terminal is in a service idle state and a service login state, and a data channel of the video networking terminal is completed according to parameter coding, enable the video networking terminal to perform a multi-port call service according to the service preparation information.
In the embodiment of the invention, the video network terminal can receive the video telephone preparation command sent by the video network core server so as to determine the service preparation information of the video network terminal, send the video telephone preparation response to the video network core server according to the video telephone preparation command and the service preparation information, and send the video telephone start response to the video network core server under the condition of receiving the telephone start command, so that the video telephone service is added through the video network core server. In the embodiment of the invention, in the ongoing process of the video telephone service, the video networking terminal in the non-video telephone service can be added at any time to realize the multi-terminal video telephone service, thereby improving the flexibility and the application range of the multi-terminal telephone in the video networking video telephone service, and on the basis of realizing the multi-terminal telephone, the multi-terminal telephone can be communicated with other terminals without ending the current communication, thereby improving the control efficiency of the video telephone service.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
To further illustrate the scheme of the present application, the following brief description of the video network:
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. 8, 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. 9, 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 network interface module 701, the CPU module 703 and the disk array module 704 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 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 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. 10, 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 switching 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 nearly 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. 11, the system 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 (2byte), 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, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
The detailed description of the videophone service access method, the core server of the video network and the terminal of the video network provided by the invention is provided, and a specific example is applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A video telephone service access method is characterized in that the method is applied to a video network core server, and the method comprises the following steps:
acquiring a video telephone request command sent by a first video network terminal aiming at a second video network terminal, wherein the first video network terminal is in a video telephone service connected with a third video network terminal;
under the condition that the first video network terminal is determined to be in the video telephone service, service preparation information of the second video network terminal is obtained according to the video telephone request command;
under the condition that the second video network terminal can carry out multi-terminal call service according to the service preparation information, a multicast address is distributed to the second video network terminal;
and establishing data links between the second video network terminal and the first video network terminal as well as between the second video network terminal and the third video network terminal according to the multicast address so as to enable the second video network terminal to be accessed into the video telephone service.
2. The method according to claim 1, wherein the establishing of the data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal according to the multicast address comprises:
establishing data links which are respectively sent by the second video network terminal to the first video network terminal and the third video network terminal according to the multicast address, and starting the data links which are respectively received by the second video network terminal from the first video network terminal and the second video network terminal;
sending a video telephone starting command to the second video network terminal;
receiving a video telephone starting response sent by the second video network terminal according to the video telephone starting command;
and under the condition of receiving the starting response of the video telephone, starting data links for respectively receiving audio and video data by the first video network terminal and the third video network terminal according to the multicast address of the second video network terminal.
3. The method according to claim 1, wherein said obtaining service preparation information of said second video network terminal according to said video telephone request command comprises:
sending a videophone preparation command to the second videonetworking terminal according to the videophone request command;
and receiving a videophone preparation response returned by the second videophone terminal according to the videophone preparation command, wherein the videophone preparation response comprises the service preparation information of the second videophone terminal.
4. The method according to claim 1, wherein after establishing the data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal according to the multicast address, further comprising:
and sending a video telephone request result to the first video network terminal according to the video telephone request command so that the first video network terminal prompts the video telephone request result.
5. The method according to claim 1, wherein after establishing the data links between the second video network terminal and the first video network terminal and between the second video network terminal and the third video network terminal according to the multicast address, further comprising:
acquiring a first end current service command sent by a first target video networking terminal, wherein the first target video networking terminal comprises any one of the first video networking terminal, the second video networking terminal and the third video networking terminal corresponding to the video networking service;
and releasing a data link corresponding to the first target video network terminal in the video telephone service, and sending a first end service request response to the first target video network terminal according to the first end current service command, so that the first target video network terminal exits the video telephone service according to the first end service request response.
6. The method according to claim 5, wherein after said releasing the data link corresponding to the first target video network terminal in the video telephony service and sending a first end service request response to the first target video network terminal according to the first end current service command, further comprising:
acquiring a second current service ending command sent by a second target video network terminal, wherein the second target video network terminal is any one of two video network terminals corresponding to the video telephone service after the first target video network terminal exits the video telephone service;
releasing all data links in the video telephone service;
sending a second current service ending response to the second target video network terminal according to the second current service ending command, and informing the second target video network terminal to exit the video telephone service;
sending the second current service ending command to a third target video network client to inform the third target video network terminal to exit the video telephone service, wherein the third target video network terminal is the other video network terminal of the two video network terminals corresponding to the video telephone service;
and acquiring a third end service response returned by the third target video network terminal according to the second end current service command.
7. A video telephone service access method is characterized in that the method is applied to a video network terminal, and the method comprises the following steps:
receiving a videophone preparation command sent by a core server of a video network, wherein the videophone preparation command corresponds to an ongoing videophone service;
determining service preparation information of the video network terminal according to the current service state of the video network terminal;
determining a videophone preparation response according to the videophone preparation command and the service preparation information, and sending the videophone preparation response to the videophone core server;
receiving a video telephone starting command sent by the video networking core server;
and sending a video telephone starting response to the video networking core server according to the video telephone starting command so as to access the video telephone service through the video networking core server.
8. The method according to claim 7, wherein the determining the service preparation information of the terminal of the video network according to the current service state of the terminal of the video network comprises:
and under the condition that the video network terminal is in a service idle state and a service login state and the data channel of the video network terminal is finished according to the parameter coding, the service preparation information is that the video network terminal can carry out multi-terminal call service.
9. A video networking core server, the video networking core server comprising:
the request command acquisition module is used for acquiring a video telephone request command sent by a first video network terminal aiming at a second video network terminal, wherein the first video network terminal is in a video telephone service connected with a third video network terminal;
the preparation information acquisition module is used for acquiring service preparation information of the second video network terminal according to the video telephone request command under the condition that the first video network terminal is determined to be in the video telephone service;
the multicast address distribution module is used for distributing a multicast address for the second video network terminal under the condition that the second video network terminal can carry out multi-terminal call service according to the service preparation information;
and the telephone service access module is used for establishing data links between the second video network terminal and the first video network terminal as well as between the second video network terminal and the third video network terminal according to the multicast address so as to enable the second video network terminal to be accessed into the video telephone service.
10. A video networking terminal, characterized in that the video networking terminal comprises:
the system comprises a preparation command receiving module, a video telephone service processing module and a video telephone service processing module, wherein the preparation command receiving module is used for receiving a video telephone preparation command sent by a video networking core server, and the video telephone preparation command corresponds to an ongoing video telephone service;
the preparation information determining module is used for determining the service preparation information of the video network terminal according to the current service state of the video network terminal;
a preparation response sending module, configured to determine a videophone preparation response according to the videophone preparation command and the service preparation information, and send the videophone preparation response to the videophone core server;
a starting command receiving module, configured to receive a videophone starting command sent by the video networking core server;
and the starting response sending module is used for accessing the video telephone service corresponding to the video telephone starting command and sending a video telephone starting response to the video networking core server according to the video telephone starting command so as to access the video telephone service through the video networking core server.
CN202011390318.7A 2020-12-01 2020-12-01 Video telephone service access method, video network core server and video network terminal Pending CN112752053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011390318.7A CN112752053A (en) 2020-12-01 2020-12-01 Video telephone service access method, video network core server and video network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011390318.7A CN112752053A (en) 2020-12-01 2020-12-01 Video telephone service access method, video network core server and video network terminal

Publications (1)

Publication Number Publication Date
CN112752053A true CN112752053A (en) 2021-05-04

Family

ID=75648979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011390318.7A Pending CN112752053A (en) 2020-12-01 2020-12-01 Video telephone service access method, video network core server and video network terminal

Country Status (1)

Country Link
CN (1) CN112752053A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003235027A (en) * 2002-02-12 2003-08-22 Matsushita Electric Ind Co Ltd Simultaneous reproduction method for distribution video, video distribution system, and terminal
CN1605074A (en) * 2001-12-15 2005-04-06 汤姆森特许公司 Video conference talk conversion from unicast to multicast
CN111131747A (en) * 2019-12-06 2020-05-08 视联动力信息技术股份有限公司 Method and device for determining data channel state, electronic equipment and storage medium
CN111405229A (en) * 2020-02-13 2020-07-10 视联动力信息技术股份有限公司 Video conference processing method, system, client, electronic device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605074A (en) * 2001-12-15 2005-04-06 汤姆森特许公司 Video conference talk conversion from unicast to multicast
JP2003235027A (en) * 2002-02-12 2003-08-22 Matsushita Electric Ind Co Ltd Simultaneous reproduction method for distribution video, video distribution system, and terminal
CN111131747A (en) * 2019-12-06 2020-05-08 视联动力信息技术股份有限公司 Method and device for determining data channel state, electronic equipment and storage medium
CN111405229A (en) * 2020-02-13 2020-07-10 视联动力信息技术股份有限公司 Video conference processing method, system, client, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108965776B (en) A kind of communication means and communication system
CN110620896B (en) Conference establishing method, system and device
CN110475090B (en) Conference control method and system
CN109996086B (en) Method and device for inquiring service state of video networking
CN110022306B (en) Method and device for calling conference of video conference
CN109120879B (en) Video conference processing method and system
CN109246486B (en) Method and device for framing
CN109547727B (en) Data caching method and device
CN110545395A (en) video networking conference switching method and device
CN111431966B (en) Service request processing method and device, electronic equipment and storage medium
CN111193767B (en) Request data sending method and device and clustered server system
CN110113557B (en) Multistage conference implementation method and video networking system
CN110650171A (en) Video networking service scheduling system and method
CN111327868A (en) Method, terminal, server, device and medium for setting conference speaking party role
CN110505433B (en) Data processing method and video networking video conference platform
CN109889516B (en) Method and device for establishing session channel
CN110798450B (en) Audio and video data processing method and device and storage medium
CN110557594B (en) Video call processing method and device and storage medium
CN111355916B (en) Method, device, equipment and storage medium for establishing video networking communication connection
CN109788231B (en) Video telephone service processing method and device
CN110177244B (en) Method and system for polling conference terminal
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN109495709B (en) Video network management system and method
CN110113553B (en) Method and device for processing video telephone
CN110475160B (en) Method and device for transmitting video data across video network

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231205

Address after: Floor 3, All Season Hotel, No. 31, Jiangsu Road, Chengdong District, Lhasa, Xizang Autonomous Region, 850000

Applicant after: Shilian Power Information Technology Co.,Ltd. Tibet Branch

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Applicant before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.