CN111147789B - Method, device and equipment for recording audio and video stream and storage medium - Google Patents

Method, device and equipment for recording audio and video stream and storage medium Download PDF

Info

Publication number
CN111147789B
CN111147789B CN201911383570.2A CN201911383570A CN111147789B CN 111147789 B CN111147789 B CN 111147789B CN 201911383570 A CN201911383570 A CN 201911383570A CN 111147789 B CN111147789 B CN 111147789B
Authority
CN
China
Prior art keywords
video
terminal
channel key
channel
video network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911383570.2A
Other languages
Chinese (zh)
Other versions
CN111147789A (en
Inventor
张小帅
郭少森
袁庆宁
臧龙伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911383570.2A priority Critical patent/CN111147789B/en
Publication of CN111147789A publication Critical patent/CN111147789A/en
Application granted granted Critical
Publication of CN111147789B publication Critical patent/CN111147789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for recording audio and video streams, relates to the technical field of data processing, and aims to record the audio and video streams of a video call in the process of high-definition video call. When the video call between the internet terminal and the video network terminal is connected, a multicast address and a first channel key are issued to the streaming media server, and the multicast address and a second channel key are issued to the video network terminal; receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal; and under the condition that the first channel key and the second channel key pass the verification, instructing the video network storage gateway to acquire the audio and video stream for carrying out the video call between the internet terminal and the video network terminal according to the multicast address.

Description

Method, device and equipment for recording audio and video stream and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for recording audio and video streams.
Background
With the development of informatization, video networking technology is rapidly developed, so that the distance between people is further shortened. Audio-video technology has also penetrated various industries.
When people are in danger, people can call 110 to give an alarm, however, the call 110 can only communicate with a receiver, and in addition, the situations of complex alarm site environment, nervous alarm mood and the like can cause that the receiver can not obtain the site situation well, and the receiver can not back track and investigate the alarm mood when needed at a later stage.
Disclosure of Invention
In view of the above problems, a method, an apparatus, a device and a storage medium for recording audio and video streams according to embodiments of the present application are proposed to overcome the above problems or at least partially solve the above problems.
In order to solve the above problems, a first aspect of the embodiments of the present application discloses a method for recording audio and video streams, which is applied to a video network server, where the video network server is connected to a streaming media server, a video network terminal and a video network storage gateway through a video network, and the streaming media server is connected to the internet terminal through the internet; the method comprises the following steps:
when the video call between the internet terminal and the video networking terminal is connected, a multicast address and a first channel key are issued to the streaming media server, and the multicast address and a second channel key are issued to the video networking terminal;
receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal;
and under the condition that the first channel key and the second channel key pass the verification, instructing the video network storage gateway to acquire the audio and video stream for carrying out the video call between the internet terminal and the video network terminal according to the multicast address.
The second aspect of the embodiment of the application discloses a method for recording audio and video streams, which is applied to a streaming media server; the streaming media server is connected with the interconnection terminal through the Internet and is connected with the video network server and the video network storage gateway through the video network; the method comprises the following steps:
in the process of establishing a video call between the Internet terminal and the video network terminal, storing a terminal number of the video network terminal and a terminal number of the Internet terminal;
when a multicast address and a first channel key sent by the video network server are received, a recording instruction is generated, wherein the recording instruction comprises the multicast address, the terminal number of the video network terminal and the terminal number of the internet terminal;
sending the recording instruction to the video network storage gateway;
receiving a first channel key acquisition request sent by the video network storage gateway;
and sending the first channel key to the video network storage gateway so that the video network storage gateway acquires the audio and video stream generated by the Internet terminal from the first channel of the multicast address and records the audio and video stream under the condition that the first channel key passes the verification.
The third aspect of the embodiment of the application discloses a method for recording audio and video streams, which is applied to a video network storage gateway, wherein the video network storage gateway is connected with a streaming media server, a video network server and a video network terminal through a video network; the streaming media server is connected with the internet terminal through the internet; the method comprises the following steps:
when a video call between the Internet terminal and the video network terminal is connected, receiving a recording instruction sent by the streaming media server, wherein the recording instruction comprises a multicast address, a terminal number of the video network terminal and a terminal number of the Internet terminal;
respectively acquiring a first channel key and a second channel key from the streaming media server and the video network terminal according to the terminal number of the video network terminal and the terminal number of the internet terminal;
sending a recording request to the video networking server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
and recording audio and video streams of the video call between the Internet terminal and the video network terminal transmitted by the multicast address under the condition that the first channel key and the second channel key pass the verification.
The fourth aspect of the embodiment of the present application discloses a method for recording audio and video streams, which is applied to an audio and video stream recording system; the system comprises a streaming media server, a video network storage gateway and a video network terminal;
when the video call between the internet terminal and the video network terminal is connected, the video network server sends a multicast address and a first channel key to the streaming media server and sends the multicast address and a second channel key to the video network terminal;
the streaming media server generates a recording instruction when receiving a multicast address and a first channel key issued by the video server;
the streaming media server sends the recording instruction to the video network storage gateway;
the video network storage gateway respectively acquires a first channel key and a second channel key from the streaming media server and the video network terminal according to the video network terminal number and the internet terminal number in the recording instruction;
the video network storage gateway sends a recording request to the video network server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
the video network server receives the recording request;
the video network server verifies the first channel key and the second channel key;
and when the first channel key and the second channel key pass, the video network storage gateway acquires audio and video streams for video call between the Internet terminal and the video network terminal according to the multicast address.
The fifth aspect of the present application discloses an apparatus for recording audio and video streams, where the apparatus includes:
the issuing module is used for issuing a multicast address and a first channel key to the streaming media server and issuing the multicast address and a second channel key to the video networking terminal when the video call between the Internet terminal and the video networking terminal is connected;
the receiving and recording request module is used for receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal;
and the indication recording module is used for indicating the video network storage gateway to acquire the audio and video stream for carrying out the video call between the internet terminal and the video network terminal according to the multicast address under the condition that the first channel key and the second channel key are verified to pass.
The sixth aspect of the present application discloses a device for recording audio and video streams, where the device includes:
the storage module is used for storing the terminal number of the video networking terminal and the terminal number of the Internet terminal in the process of establishing a video call between the Internet terminal and the video networking terminal;
a recording instruction generating module, configured to generate a recording instruction when receiving a multicast address and a first channel key sent by the video network server, where the recording instruction includes the multicast address, a terminal number of the video network terminal, and a terminal number of the internet terminal;
the recording instruction sending module is used for sending the recording instruction to the video network storage gateway;
the receiving key acquisition request module is used for receiving a first channel key acquisition request sent by the video network storage gateway;
and the key providing module is used for sending the first channel key to the video network storage gateway so that the video network storage gateway can acquire the audio and video stream generated by the internet terminal from the first channel of the multicast address and record the audio and video stream under the condition that the first channel key passes verification.
A seventh aspect of the present embodiment discloses an apparatus for recording audio and video streams, where the apparatus includes:
the receiving and recording instruction module is used for receiving a recording instruction sent by the streaming media server when a video call between the internet terminal and the video network terminal is connected, wherein the recording instruction comprises a multicast address, a terminal number of the video network terminal and a terminal number of the internet terminal;
a key obtaining module, configured to obtain a first channel key and a second channel key from the streaming media server and the video network terminal, respectively, according to a terminal number of the video network terminal and a terminal number of the internet terminal;
the recording request module is used for sending a recording request to the video networking server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
and the recording module is used for recording the audio and video stream of the video call between the Internet terminal and the video network terminal transmitted by the multicast address under the condition that the first channel key and the second channel key pass the verification.
An eighth aspect of the embodiments of the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in any of the methods described above in the present application.
A ninth aspect of the embodiments of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps in any of the methods described above when executed.
The embodiment of the application has the following advantages:
in the embodiment of the application, the audio and video stream recording system in the video network is composed of the streaming media server, the video network terminal and the video network storage gateway, and a user can carry out video call with the video network terminal by using the internet terminal, so that the environment and the real-time condition of the user can be known in detail at the video network server terminal.
After confirming that the video call of the internet terminal and the video network terminal is connected, the video network server issues a multicast address where a channel for transmitting the video call is located and a key of the channel to the video network terminal and the streaming media server, so that the video network terminal and the streaming media server transmit audio and video streams through the channel of the multicast address, and then the streaming media server sends a recording instruction, so that the video network storage gateway acquires the key of the channel for transmitting the audio and video streams from the video network terminal and the streaming media server, and then records the key of the channel for transmitting the audio and video streams according to the verification of the multicast address in the video network server, so as to safely and efficiently record the high-definition audio and video streams of the video call transmitted by the channel of the multicast address. And further analyzing the video call content at a later stage according to the audio and video stream of the video call recorded by the video networking storage gateway.
Drawings
FIG. 1 is a flowchart illustrating the steps of placing a video call in accordance with an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of audio and video stream recording according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an audio/video stream recording system according to an embodiment of the present application;
fig. 4 is a flowchart illustrating steps of information interaction in an audio/video stream recording system according to an embodiment of the present application;
fig. 5 is a flowchart illustrating steps of a method for recording audio and video streams according to another embodiment of the present application;
fig. 6 is a flowchart illustrating steps of a method for recording audio and video streams according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for recording audio and video streams in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus for recording audio and video streams in another embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus for recording audio and video streams in another embodiment of the present application;
FIG. 10 is a networking schematic of a video network as disclosed herein;
fig. 11 is a schematic diagram of a hardware structure of a node server according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
When people are in danger, people can call 110 to give an alarm, however, the call 110 can only communicate with a receiver, and in addition, the situations of complex alarm site environment, nervous alarm mood and the like can cause that the receiver can not obtain the site situation well, and the receiver can not back track and investigate the alarm mood when needed at a later stage.
By the video-networking audio and video stream recording system, an alarm can make a videophone to a 110 center, a police receiver not only can obtain sound feedback and see relevant warning information such as site pictures, geographic positions and the like, but also can record the warning conditions of both the site and the police receiver at the moment through the video-networking audio and video stream recording system instead of only receiving unilateral text description of the police receiver, and the recorded audio and video can make the police receiver know the warning condition more intuitively.
The audio and video stream recording system comprises a streaming media server, a video network storage gateway and a video network terminal.
The video network server is connected with a streaming media server, a video network terminal and a video network storage gateway through a video network, and the streaming media server is connected with the internet terminal through the internet;
the enlightening terminal is used as a video network terminal of an alarm command center in the audio and video stream recording system, and can be in video communication with the mobile phone to receive and send voice and picture information. The mobile phone or the tablet computer can be used as an internet terminal adopted by a user, and the mobile phone or the tablet computer can be used for carrying out video call with the starting terminal, receiving and sending voice and picture information.
The streaming media server can be connected with a plurality of internet terminals, the data of the plurality of internet terminals based on the internet protocol are converted to data conforming to the video networking protocol and are sent to the video networking, and data transmission is carried out in the video networking.
When a user is in an alarm condition, a video call request is sent to an alarm command center through the internet by using a mobile phone, an alarm program arranged in the mobile phone can determine that the terminal number of an enlightening terminal of the alarm command center in an area is 322, the mobile phone obtains a serial number 28 which can be connected with a visual networking virtual terminal after starting the alarm program, the mobile phone dials 322 and sends the video call request carrying the enlightening terminal number 322 to establish connection with a streaming media server 001 which is connected with the enlightening terminal 322 through a visual networking server, and further establish video call with the enlightening terminal 322.
Because the streaming media server 001 of the alarm command center can receive data of the internet, the streaming media server generally responds to a video call request sent by a mobile phone in an audio/video stream recording system of the video network, and the streaming media server 001 establishes a connection with the mobile phone 28 through one of a plurality of local virtual terminals. After receiving the video call request, the streaming media server 001 connected to the mobile phone 28 converts the video call request into data that can be transmitted in the video network, and transmits the data to the video network server, and converts the data into a video call request according to the video network protocol, which carries the terminal number 28 and the declared terminal number 322 of the mobile phone.
The video network server determines that the handset successfully connected the video call with the heuristic 322 by the following steps.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of connecting a video call according to an embodiment of the present application. The method is applied to a video network server.
Step S101: receiving a video call request sent by the internet terminal through the streaming media server; the video call request carries a terminal number of the video networking terminal and a terminal number of the Internet terminal;
when the streaming media server forwards the video call request to the video networking server, the streaming media server will add its own number 001. Further, the video call request converted to comply with the video networking protocol carries the terminal number 28 of the mobile phone, the declared terminal number 322, and the number 001 of the streaming server.
Step S102: forwarding the video call request to the video networking terminal according to the video networking terminal number;
step S103: receiving a call response returned by the video network terminal;
the switch 322 receives the video call request forwarded by the video network server, stores the terminal number 28 of the mobile phone and the number 001 of the streaming media server, and sends a call response to the video network server to notify the video network server that the video network server is ready to perform a video call, including turning on a camera and a microphone, starting a program for processing the video stream, and the like. It is apparent that the call answer also carries the handset's terminal number 28 and the declared terminal number 322.
Step S104: sending the call response to the internet terminal through the streaming media server;
the video network server sends the call response directly to the streaming media server 001, and the streaming media server 001 converts the call response into data conforming to the internet protocol and sends the converted call response to the mobile phone 28.
Step S105: and receiving a confirmation response sent by the Internet terminal through the streaming media server to determine that the video call between the Internet terminal and the video networking terminal is connected.
The mobile phone receives the call response, prepares for video call locally, such as starts a camera running program, starts a program for processing audio and video streams and the like, and sends a confirmation response to the streaming media server through the internet.
After receiving the acknowledgement sent by the mobile phone 28, the media server 001 converts the acknowledgement into a data format capable of being transmitted in the video network, and sends the converted acknowledgement to the video network server, and the video network server determines that the mobile phone 28 is connected with the video call of the declaration 322 after receiving the call acknowledgement and the acknowledgement.
The alarm receiver can also dial back the mobile phone 28 through the starting terminal 322, the starting terminal 322 dials the mobile phone 28 through 001-28, and the video call request is sent to the mobile phone 28 through the video networking server and the streaming media server 001 to establish call connection with the mobile phone again. The process of the specific video networking server confirming that the mobile phone 28 and the reminder terminal 322 successfully establish the video call is similar to the above steps S101 to S105, and this is not described in detail in this embodiment of the application.
After the mobile phone 28 and the lighting device 322 successfully establish the video call, the video networking server completes recording the audio and video stream of the current video call through the following steps.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of recording audio and video streams according to an embodiment of the present application.
Step S201: when the video call between the internet terminal and the video networking terminal is connected, a multicast address and a first channel key are issued to the streaming media server, and the multicast address and a second channel key are issued to the video networking terminal;
specifically, before issuing a multicast address and a first channel key to the streaming media server and issuing a multicast address and a second channel key to the video network terminal, it is further required to determine a channel for transmitting an audio/video stream of a current video call and a multicast address where the channel is located.
Transmitting the audio and video stream generated by the internet terminal and forwarded by the streaming media server through a first channel in the multicast address;
and transmitting the audio and video stream generated by the video networking terminal through a second channel in the multicast address.
The video network server has a plurality of multicast addresses, each multicast address also has a plurality of transmission channels, the first channel refers to a channel for transmitting audio and video streams generated by the mobile phone 28, and the audio and video streams generated by the mobile phone 28 are video streams of pictures recorded by a camera of the mobile phone and audio streams collected by a microphone of the mobile phone. The first channel key refers to a key of the first channel.
Similarly, the first channel refers to a channel for transmitting the audio/video stream generated by the lighting device 322, and the audio/video stream generated by the lighting device 322 is the video stream and the audio stream collected by the camera and the microphone connected to the lighting device 322. The first channel key refers to a key of the second channel.
In another embodiment of the present application, the first channel may include two channels, which respectively transmit a video stream of a picture recorded by a camera of a mobile phone and an audio stream collected by a microphone of the mobile phone; the second channel may also include two channels, which respectively transmit a camera captured video stream connected to the lighting 322 and an audio stream captured by a microphone connected to the lighting 322.
Step S202, receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal;
the recording request is generated after the video network storage gateway acquires the first channel key and the second channel key.
Specifically, when the streaming media server 001 receives the multicast address and the first channel key, it generates a recording instruction, and because the streaming media server 001 already obtains the terminal numbers of the mobile phone 28 and the declaration 322 in the process of establishing the video call connection between the mobile phone 28 and the declaration 322, the recording instruction sent by the streaming media server 001 to the video network storage gateway carries the multicast address, the terminal number (28) of the internet terminal, and the terminal number (322) of the video network terminal.
The video network storage gateway finds the streaming media server 001 connected with the mobile phone 28 according to the terminal number (28) of the internet terminal in the recording request, and sends a first channel key obtaining request for obtaining the first channel key to the streaming media server 001. Then, according to the terminal number (322) of the video network terminal in the recording request, the declaration 322 is found, and a second channel key obtaining request for obtaining a second channel key is sent to the declaration 322.
The video network storage gateway generates a recording request and sends the recording request to a video network server, wherein the recording request comprises a multicast address, a first channel key and a second channel key. The video network storage gateway finds a channel for audio and video stream transmission to be recorded in the video network server according to the multicast address, the video network server verifies the first channel key and the second channel key, and after the verification is passed, the video network storage gateway can watch and store the audio and video stream generated by the mobile phone 28 and transmitted by the first channel and the audio and video stream generated by the declaration 322 and transmitted by the second channel at the current multicast address.
After the video network storage gateway records the audio and video streams transmitted by the mobile phone 28 and the heuristic 322 in a video call, the alarm command center can know the whole process and position environment of the alarm of the user using the mobile phone 28 more accurately, and meanwhile, the backtracking and investigation of the alarm situation can be performed more conveniently when needed at a later stage.
In the process of the video call, the audio and video streams generated by the mobile phone 28 and the heuristic 322 are transmitted in real time in the channel of the multicast address, so that the recording of the audio and video streams by the storage gateway of the video network means that the audio and video streams transmitted in real time in the channel of the multicast address are watched and collected in real time at the multicast address. The process of recording the audio/video stream by the storage network manager of the video network can be that the 1 st second and the 1 st + t are collected in sequence 1 Second, 1 st + 2 The method comprises the steps of 8230, storing the acquired audio and video stream data to the local of the video network storage gateway through the first channel and the second channel, wherein the audio and video stream data are recorded in the first channel and the second channel.
The embodiment of the application indicates that a video network storage gateway is in a video network server, a channel for transmitting audio and video streams of a video network terminal in real time records audio and video streams generated by the video network terminal in a video call, and indicates that the video network storage gateway is in the video network server, and a channel for transmitting the audio and video streams of an internet terminal in real time records the audio and video streams generated by the internet terminal in the video call; meanwhile, the video network storage gateway acquires a key of a channel for actually transmitting the audio and video stream generated by the video network terminal at the video network terminal, and acquires a key of a channel for actually transmitting the audio and video stream generated by the internet terminal at the streaming media server; the video network storage gateway can record the audio and video stream generated by the internet terminal after the video network server passes the verification of the first channel key, and the video network storage gateway can record the audio and video stream generated by the video network terminal after the video network server passes the verification of the second channel key.
In summary, the storage gateway of the video network records the real-time audio and video stream of the video call in the channel actually transmitting the audio and video stream after the multicast address where the actual transmission channel of the audio and video stream is located is verified by the actual key of the transmission channel of the audio and video stream in the video network server where the actual transmission channel of the audio and video stream is located. The video network is a safe and efficient network, so that the audio and video stream of the video call recorded in the video network server is safe and efficient, and the safety of recording the audio and video stream is further ensured by verifying a channel key for transmitting the audio and video stream.
Step S203: and under the condition that the first channel key and the second channel key pass the verification, indicating the video networking storage gateway to acquire the audio and video stream for carrying out the video call between the Internet terminal and the video networking terminal according to the multicast address.
Therefore, before instructing the storage gateway of the video network to obtain the audio and video stream for the video call between the internet terminal and the video network terminal according to the multicast address, the method further comprises:
responding to the recording request, and verifying the first channel key and the second channel key;
and the video network server responds to the recording request, respectively verifies a first channel key and a second channel key in the recording request to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and when the first channel key and the second channel key are verified, the video network server indicates that the video network storage gateway can record the audio and video streams transmitted by the first channel and the second channel at the current multicast address.
Specifically, when the first channel key is verified, the video network server instructs the video network storage gateway to view and record the video stream recorded by the camera of the mobile phone 28 and the audio stream collected by the microphone of the mobile phone 28 in the first channel.
When the second channel key is validated, the video networking server instructs the video networking storage gateway to view and record the video stream recorded by the camera connected to the video network storage gateway 322 and the audio stream captured by the microphone of the handset 28 on the second channel.
Under the condition that the first channel key passes verification, the video network storage gateway is instructed to acquire audio and video streams generated by the internet terminal from the first channel;
and under the condition that the second channel key passes the verification, instructing the video network storage gateway to acquire the audio and video stream generated by the video network terminal from the second channel.
Specifically, fig. 3 and fig. 4 are used to describe in detail information interaction of a streaming media server, a video network storage gateway, and a video network terminal in the audio and video stream recording process.
Fig. 3 is a schematic structural diagram of an audio and video stream recording system according to an embodiment of the present application.
The streaming media server, the video network storage gateway and the video network terminal 304 belong to a video network, and the streaming media server and the internet terminal belong to the internet.
Fig. 4 is a flowchart of steps of information interaction in an audio/video stream recording system according to an embodiment of the present application.
When the video call between the internet terminal and the video network terminal is connected, the video network server issues a multicast address and a first channel key to the streaming media server and issues the multicast address and a second channel key to the video network terminal;
after receiving a video call request initiated by the internet terminal forwarded by the streaming media server, the video networking server confirms that the video networking terminal and the internet terminal successfully establish video call connection based on the received call response sent by the video networking terminal and the confirmation response sent by the internet terminal forwarded by the streaming media server.
The streaming media server generates a recording instruction when receiving a multicast address and a first channel key sent by the video networking server;
in another embodiment of the present application, the multicast address and the first channel key may be a message that the video call connection and answering successfully sent from the video networking server to the streaming media server. After receiving the message that the audio call is successfully answered, the streaming media server informs the internet terminal that the audio and video stream can be sent, and forwards the audio and video stream sent by the internet terminal to a first channel on a multicast address of the video networking server through the verification of a first channel key; and meanwhile, generating a recording instruction to indicate the video network storage gateway to start recording the audio and video stream of the current video call.
The multicast address and the second channel key may be a message that the video call connection and answering successfully sent to the video network terminal by the video network server, so that the video network terminal sends the audio/video stream to the second channel on the multicast address of the server after passing the verification of the second channel key.
The streaming media server sends the recording instruction to the video network storage gateway;
the video network storage gateway respectively acquires a first channel key and a second channel key from the streaming media server and the video network terminal according to the video network terminal number and the internet terminal number in the recording instruction;
the video network storage gateway sends a recording request to the video network server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
the video network server receives the recording request;
the video network server verifies the first channel key and the second channel key;
and when the first channel key and the second channel key pass, the video networking storage gateway acquires audio and video streams for video call between the Internet terminal and the video networking terminal according to the multicast address.
By utilizing the audio and video stream recording system, not only can high-definition video call be carried out, but also the content of the video call can be recorded. The connection of the video call is confirmed, and the video call is recorded in the video network, so that the safety of audio and video streams in the video call is ensured.
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of a method for recording audio/video streams in another embodiment of the present application. The method is applied to a streaming media server,
step S501: in the process of establishing a video call between the Internet terminal and the video networking terminal, storing a terminal number of the video networking terminal and a terminal number of the Internet terminal;
step S502: when a multicast address and a first channel key sent by the video network server are received, a recording instruction is generated, wherein the recording instruction comprises the multicast address, the terminal number of the video network terminal and the terminal number of the internet terminal;
step S503: sending the recording instruction to the video network storage gateway;
step S504: receiving a first channel key acquisition request sent by the video network storage gateway;
step S505: and sending the first channel key to the video network storage gateway so that the video network storage gateway acquires the audio and video stream generated by the internet terminal from the first channel of the multicast address and records the audio and video stream under the condition that the first channel key passes verification.
After receiving the message (multicast address and first channel key) sent by the video network server and answering successfully, the streaming media server immediately records the instruction, so that the video network storage gateway starts to record the audio and video stream of the video call, the recorded audio and video stream is ensured to contain the complete call process of the mobile phone 28 and the enlightenment 322, and the subsequent backtracking and investigation of the alarm situation by the alarm command center has exact credibility.
The method for recording the audio and video stream is the same as that of the video network server side, and the details are not described here.
Specifically, the method further comprises:
receiving a video call request sent by the Internet terminal, wherein the video call request carries a terminal number of the video networking terminal and a terminal number of the Internet terminal;
forwarding the video call request to the video networking server;
receiving a call response returned by the video network terminal forwarded by the video network server;
forwarding the call response to the internet terminal according to the terminal number of the internet terminal;
receiving a confirmation response sent by the internet terminal;
and forwarding the confirmation response to the video networking server so that the video networking server determines that the video call between the Internet terminal and the video networking terminal is connected.
Referring to fig. 6, fig. 6 is a flowchart illustrating steps of a method for recording audio/video streams in another embodiment of the present application. The method is applied to the video network storage gateway.
Step S601: when the video call between the internet terminal and the video networking terminal is connected, receiving a recording instruction sent by the streaming media server, wherein the recording instruction comprises a multicast address, a terminal number of the video networking terminal and a terminal number of the internet terminal;
step S602: respectively acquiring a first channel key and a second channel key from the streaming media server and the video network terminal according to the terminal number of the video network terminal and the terminal number of the internet terminal;
step S603: sending a recording request to the video networking server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
step S604: and recording audio and video streams of video call between the Internet terminal and the video network terminal transmitted by the multicast address under the condition that the first channel key and the second channel key pass verification.
The method for recording the audio and video stream is the same as that of the video network server side, and detailed description is omitted here.
Specifically, acquiring a first channel key and a second channel key from the streaming media server and the video network terminal respectively according to the terminal number of the video network terminal and the terminal number of the internet terminal, including:
according to the terminal number of the internet terminal, sending a first channel key acquisition request to the streaming media server connected with the internet terminal;
sending a second channel key acquisition request to the video network terminal according to the terminal number of the video network terminal;
and respectively receiving a first channel key and a second channel key sent by the streaming media server and the video network terminal.
Specifically, recording the audio/video stream of the video call between the internet terminal and the video network terminal transmitted by the multicast address when the first channel key and the second channel key are verified, includes:
recording audio and video streams generated by the internet terminal and transmitted by a first channel in the multicast address under the condition that the first channel key passes verification;
and recording the audio and video stream generated by the video network terminal transmitted by the second channel in the multicast address under the condition that the verification of the second channel key is passed.
It should be noted that for simplicity of description, the method embodiments are described as a series of acts, but those skilled in the art should understand that the embodiments are not limited by the described order of acts, as some steps can be performed in other orders or simultaneously according to the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Based on the same inventive concept, the applicant also provides a device for recording audio and video streams. Referring to fig. 7, fig. 7 is a schematic structural diagram of an apparatus for recording audio and video streams in an embodiment of the present application. The device comprises:
the issuing module 701 is configured to issue a multicast address and a first channel key to the streaming media server and issue the multicast address and a second channel key to the video networking terminal when a video call between the internet terminal and the video networking terminal is connected;
a receiving recording request module 702, configured to receive a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal;
and an instruction recording module 703, configured to instruct the video networking storage gateway to obtain, according to the multicast address, an audio/video stream for performing a video call between the internet terminal and the video networking terminal when the first channel key and the second channel key are verified to be passed.
Specifically, the apparatus further comprises:
a call request receiving module, configured to receive a video call request sent by the internet terminal through the streaming media server; the video call request carries a terminal number of the video networking terminal and a terminal number of the Internet terminal;
the forwarding call request module is used for forwarding the video call request to the video networking terminal according to the video networking terminal number;
the first call response receiving module is used for receiving a call response returned by the video network terminal;
a call response sending module, configured to send the call response to the internet terminal through the streaming media server;
and the first receiving confirmation response module is used for confirming and receiving a confirmation response sent by the internet terminal through the streaming media server so as to determine that the video call between the internet terminal and the video networking terminal is connected.
Specifically, the apparatus further comprises:
the first transmission module is used for transmitting the audio and video stream generated by the internet terminal and forwarded by the streaming media server through a first channel in the multicast address;
the second transmission module is used for transmitting the audio and video stream generated by the video networking terminal through a second channel in the multicast address;
the verification module is used for responding to the recording request and verifying the first channel key and the second channel key;
the instruction recording module comprises:
the first indication submodule is used for indicating the video network storage gateway to acquire the audio and video stream generated by the internet terminal from the first channel under the condition that the key of the first channel passes the verification;
and the second indicating submodule is used for indicating the video network storage gateway to acquire the audio and video stream generated by the video network terminal from the second channel under the condition that the second channel key passes the verification.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus for recording audio and video streams in another embodiment of the present application. The method is applied to a streaming media server; the device comprises:
a storage module 801, configured to store a terminal number of the video network terminal and a terminal number of the internet terminal in a process of establishing a video call between the internet terminal and the video network terminal;
a record instruction generating module 802, configured to generate a record instruction when receiving a multicast address and a first channel key sent by the video network server, where the record instruction includes the multicast address, a terminal number of the video network terminal, and a terminal number of the internet terminal;
a recording instruction sending module 803, configured to send the recording instruction to the video networking storage gateway;
a key obtaining request receiving module 804, configured to receive a first channel key obtaining request sent by the storage gateway of the video networking;
and a key providing module 805, configured to send the first channel key to the storage gateway of the video networking, so that the storage gateway of the video networking acquires, from the first channel of the multicast address, the audio/video stream generated by the internet terminal and records the audio/video stream when the first channel key passes verification.
Specifically, the apparatus further comprises:
a video call request receiving module, configured to receive a video call request sent by the internet terminal, where the video call request carries a terminal number of the video networking terminal and a terminal number of the internet terminal;
the forwarding video call request module is used for forwarding the video call request to the video networking server;
the second call response receiving module is used for receiving the call response returned by the video network terminal forwarded by the video network server;
the call forwarding response module is used for forwarding the call response to the Internet terminal according to the terminal number of the Internet terminal;
the second receiving confirmation response module is used for receiving the confirmation response sent by the internet terminal;
and the forwarding confirmation response module is used for forwarding the confirmation response to the video networking server so that the video networking server determines that the video call between the Internet terminal and the video networking terminal is connected.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an apparatus for recording audio and video streams in another embodiment of the present application. The method is applied to the video network storage gateway. The device comprises:
a receiving and recording instruction module 901, configured to receive a recording instruction sent by the streaming media server when a video call between the internet terminal and the video network terminal is connected, where the recording instruction includes a multicast address, a terminal number of the video network terminal, and a terminal number of the internet terminal;
a key obtaining module 902, configured to obtain, according to the terminal number of the video networking terminal and the terminal number of the internet terminal, a first channel key and a second channel key from the streaming media server and the video networking terminal, respectively;
a recording request module 903, configured to send a recording request to the video network server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
and a recording module 904, configured to record, when the first channel key and the second channel key are verified to pass, an audio/video stream of a video call between the internet terminal and the video network terminal, where the audio/video stream is transmitted by the multicast address.
Specifically, the key obtaining module includes:
the first key request submodule is used for sending a first channel key acquisition request to the streaming media server connected with the internet terminal according to the terminal number of the internet terminal;
the second key request submodule is used for sending a second channel key acquisition request to the video network terminal according to the terminal number of the video network terminal;
and the key acquisition submodule is used for respectively receiving a first channel key and a second channel key which are sent by the streaming media server and the video network terminal.
Specifically, the recording module includes:
the first recording submodule is used for recording the audio and video stream generated by the internet terminal and transmitted by the first channel in the multicast address under the condition that the first channel key passes the verification;
and the second recording submodule is used for recording the audio and video stream generated by the video network terminal and transmitted by the second channel in the multicast address under the condition that the second channel key passes the verification.
For the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
Based on the same inventive concept, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the electronic device implements the steps of the method according to any of the above embodiments of the present application.
The video networking is an important milestone of network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of Internet applications to high-definition video, and high definition is face-to-face.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present application, the following description refers to the internet of view:
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 over one hundred times compared with that of the 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 eradicates the network security problem disturbing the Internet from the structure by the modes of independent admission control of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, stops 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, but also connected with a single user, a private network user or the sum of one network. 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. 10, 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 on the metro network part can 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 controlled by a hierarchical centralized way, and the network controlled by the node server and the metropolitan area server can be in various structures such as a tree, a star, a ring and the like.
The access network part can form a unified video platform (the part in a 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: server, exchanger (including Ethernet protocol gateway), terminal (including various set-top box, coding board, memory, 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 the devices of the access network part can be mainly classified into 3 types: node server, access switch (including Ethernet protocol gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 11, the system mainly includes a network interface module 1101, a switching engine module 1102, a CPU module 1103, and a disk array module 1104;
the packets from the network interface module 1101, the cpu module 1103 and the disk array module 1104 all enter the switching engine module 1102; the switching engine module 1102 performs an operation of looking up the address table 1105 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet into the queue of the corresponding packet buffer 1106 according to the packet's steering information; if the queue of the packet buffer 1106 is nearly full, it is discarded; the switching engine module 1102 polls all packet buffer queues and forwards if the following conditions are met: 1) The port send buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 1104 mainly implements control over the hard disk, including initialization, read-write, and other operations of the hard disk; the CPU module 1103 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 1105 (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 1104.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application 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 application 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 so forth) having computer-usable program code embodied therein.
Embodiments of the present application 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 application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The method, the apparatus, the device and the storage medium for recording audio and video streams provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 (11)

1. A method for recording audio and video stream is characterized in that the method is applied to a video network server, the video network server is connected with a stream media server, a video network terminal and a video network storage gateway through a video network, and the stream media server is connected with the internet terminal through the internet; the method comprises the following steps:
when the video call between the internet terminal and the video network terminal is connected, a multicast address and a first channel key are issued to the streaming media server, and the multicast address and a second channel key are issued to the video network terminal;
receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively acquired by the video network storage gateway from the streaming media server and the video network terminal;
and the video network server responds to the recording request, respectively verifies a first channel key and a second channel key in the recording request to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and when the first channel key and the second channel key are verified, the video network storage gateway is instructed to record audio and video streams transmitted by the first channel and the second channel at the current multicast address, wherein the first channel acquires the audio and video streams generated by the internet terminal, and the second channel acquires the audio and video streams generated by the video network terminal.
2. The method of claim 1, further comprising:
receiving a video call request sent by the internet terminal through the streaming media server; the video call request carries a terminal number of the video networking terminal and a terminal number of the Internet terminal;
forwarding the video call request to the video networking terminal according to the video networking terminal number;
receiving a call response returned by the video networking terminal;
sending the call response to the internet terminal through the streaming media server;
and receiving a confirmation response sent by the Internet terminal through the streaming media server to determine that the video call between the Internet terminal and the video networking terminal is connected.
3. The method of claim 1, wherein after sending a multicast address and a first channel key to the streaming media server and sending the multicast address and a second channel key to the video networking terminal, the method further comprises:
transmitting audio and video streams generated by the internet terminal and forwarded by the streaming media server through a first channel in the multicast address;
transmitting audio and video streams generated by the video networking terminal through a second channel in the multicast address;
before instructing the video networking storage gateway to acquire the audio and video stream for the video call between the internet terminal and the video networking terminal according to the multicast address, the method further comprises the following steps:
responding to the recording request, and verifying the first channel key and the second channel key;
instructing the video networking storage gateway to acquire the audio and video stream for carrying out the video call between the internet terminal and the video networking terminal according to the multicast address, comprising:
under the condition that the first channel key passes the verification, the video network storage gateway is instructed to acquire the audio and video stream generated by the internet terminal from the first channel;
and under the condition that the second channel key passes the verification, instructing the video network storage gateway to acquire the audio and video stream generated by the video network terminal from the second channel.
4. A method for recording audio and video stream is characterized in that the method is applied to a video network storage gateway, and the video network storage gateway is connected with a streaming media server, a video network server and a video network terminal through a video network; the streaming media server is connected with an internet terminal through the internet; the method comprises the following steps:
when a video call between the Internet terminal and the video network terminal is connected, receiving a recording instruction sent by the streaming media server, wherein the recording instruction comprises a multicast address, a terminal number of the video network terminal and a terminal number of the Internet terminal;
respectively acquiring a first channel key and a second channel key from the streaming media server and the video network terminal according to the terminal number of the video network terminal and the terminal number of the internet terminal;
sending a recording request to the video networking server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
receiving a response recording request returned by the video networking server, respectively verifying a first channel key and a second channel key in the recording request to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and when the first channel key and the second channel key are verified, indicating a video networking storage gateway to record audio and video streams transmitted by the first channel and the second channel at the current multicast address, wherein the first channel acquires the audio and video streams generated by the internet terminal, and the second channel acquires the audio and video streams generated by the video networking terminal.
5. The method according to claim 4, wherein obtaining a first channel key and a second channel key from the streaming media server and the video network terminal respectively according to the terminal number of the video network terminal and the terminal number of the internet terminal comprises:
according to the terminal number of the Internet terminal, sending a first channel key acquisition request to the streaming media server connected with the Internet terminal;
sending a second channel key acquisition request to the video network terminal according to the terminal number of the video network terminal;
and respectively receiving a first channel key and a second channel key sent by the streaming media server and the video network terminal.
6. The method according to claim 4, wherein recording audio/video streams of a video call between the internet terminal and the video network terminal transmitted by the multicast address under the condition that the first channel key and the second channel key are verified, comprises:
recording audio and video streams generated by the internet terminal and transmitted by a first channel in the multicast address under the condition that the first channel key passes verification;
and recording the audio and video stream generated by the video network terminal and transmitted by the second channel in the multicast address under the condition that the second channel key passes the verification.
7. A method for recording audio and video stream is characterized in that the method is applied to an audio and video stream recording system; the system comprises a streaming media server, a video network storage gateway and a video network terminal;
when the video call between the internet terminal and the video network terminal is connected, the video network server issues a multicast address and a first channel key to the streaming media server and issues the multicast address and a second channel key to the video network terminal;
the streaming media server generates a recording instruction when receiving a multicast address and a first channel key issued by the video server;
the streaming media server sends the recording instruction to the video network storage gateway;
the video network storage gateway respectively acquires a first channel key and a second channel key from the streaming media server and the video network terminal according to the video network terminal number and the internet terminal number in the recording instruction;
the video network storage gateway sends a recording request to the video network server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
the video network server receives the recording request;
the video network server verifies the first channel key and the second channel key;
and the video network server responds to the recording request, respectively verifies a first channel key and a second channel key in the recording request to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and when the first channel key and the second channel key are verified, the video network storage gateway is instructed to record audio and video streams transmitted by the first channel and the second channel at the current multicast address, wherein the first channel acquires the audio and video streams generated by the internet terminal, and the second channel acquires the audio and video streams generated by the video network terminal.
8. An apparatus for recording audio and video streams, the apparatus comprising:
the issuing module is used for issuing a multicast address and a first channel key to a streaming media server and issuing the multicast address and a second channel key to the video networking terminal when a video call between the Internet terminal and the video networking terminal is connected;
the receiving and recording request module is used for receiving a recording request sent by the video network storage gateway; the recording request comprises the first channel key and the second channel key which are respectively obtained by the video network storage gateway from the streaming media server and the video network terminal;
and the indication recording module is used for receiving a response recording request returned by the video networking server, verifying a first channel key and a second channel key in the recording request respectively to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and indicating the video networking storage gateway to record audio and video streams transmitted by the first channel and the second channel at the current multicast address when the first channel key and the second channel key are verified, wherein the first channel acquires the audio and video streams generated by the internet terminal, and the second channel acquires the audio and video streams generated by the video networking terminal.
9. An apparatus for recording audio and video streams, the apparatus comprising:
the system comprises a receiving and recording instruction module, a sending and receiving module and a recording and recording module, wherein the receiving and recording instruction module is used for receiving a recording instruction sent by a streaming media server when a video call between an internet terminal and a video network terminal is connected, and the recording instruction comprises a multicast address, a terminal number of the video network terminal and a terminal number of the internet terminal;
a key obtaining module, configured to obtain a first channel key and a second channel key from the streaming media server and the video network terminal, respectively, according to a terminal number of the video network terminal and a terminal number of the internet terminal;
the recording request module is used for sending a recording request to the video network server; wherein the recording request comprises the multicast address, the first channel key and the second channel key;
and the recording module is used for receiving a response recording request returned by the video network server, respectively verifying a first channel key and a second channel key in the recording request to determine whether the first channel key and the second channel key belong to the keys of the channels under the current multicast address, and when the first channel key and the second channel key are verified, indicating the video network storage gateway to record audio and video streams transmitted by the first channel and the second channel at the current multicast address, wherein the first channel acquires the audio and video stream generated by the internet terminal, and the second channel acquires the audio and video stream generated by the video network terminal.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing performs the steps of the method according to any of claims 1 to 6.
CN201911383570.2A 2019-12-27 2019-12-27 Method, device and equipment for recording audio and video stream and storage medium Active CN111147789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911383570.2A CN111147789B (en) 2019-12-27 2019-12-27 Method, device and equipment for recording audio and video stream and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911383570.2A CN111147789B (en) 2019-12-27 2019-12-27 Method, device and equipment for recording audio and video stream and storage medium

Publications (2)

Publication Number Publication Date
CN111147789A CN111147789A (en) 2020-05-12
CN111147789B true CN111147789B (en) 2022-10-18

Family

ID=70521481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911383570.2A Active CN111147789B (en) 2019-12-27 2019-12-27 Method, device and equipment for recording audio and video stream and storage medium

Country Status (1)

Country Link
CN (1) CN111147789B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901692B (en) * 2020-08-06 2022-09-06 杭州当虹科技股份有限公司 System for synthesizing VR (virtual reality) based on multi-audio and video streams
CN114520687B (en) * 2022-02-17 2023-11-03 深圳震有科技股份有限公司 Audio data processing method, device and equipment applied to satellite system
CN115665111B (en) * 2022-10-31 2023-09-01 江苏常熟农村商业银行股份有限公司 Real-time Communication System Based on Law Enforcement Recorder

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737762A (en) * 2018-04-25 2018-11-02 维沃移动通信有限公司 A kind of video call method and terminal device
CN109218649A (en) * 2018-09-29 2019-01-15 上海掌门科技有限公司 Talking recording and acquisition methods and equipment
CN109451263A (en) * 2018-10-17 2019-03-08 视联动力信息技术股份有限公司 Communication means and device in video conference
CN109905627A (en) * 2019-02-13 2019-06-18 视联动力信息技术股份有限公司 A kind of method and apparatus of audio/video flow data recording
CN110049274A (en) * 2019-04-04 2019-07-23 视联动力信息技术股份有限公司 Video conference recording system
CN110191092A (en) * 2019-04-26 2019-08-30 视联动力信息技术股份有限公司 A kind of processing method of video calling and view networked system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9148611B2 (en) * 2012-10-18 2015-09-29 Mettalk.Com, Inc. Method and apparatus for coviewing video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737762A (en) * 2018-04-25 2018-11-02 维沃移动通信有限公司 A kind of video call method and terminal device
CN109218649A (en) * 2018-09-29 2019-01-15 上海掌门科技有限公司 Talking recording and acquisition methods and equipment
CN109451263A (en) * 2018-10-17 2019-03-08 视联动力信息技术股份有限公司 Communication means and device in video conference
CN109905627A (en) * 2019-02-13 2019-06-18 视联动力信息技术股份有限公司 A kind of method and apparatus of audio/video flow data recording
CN110049274A (en) * 2019-04-04 2019-07-23 视联动力信息技术股份有限公司 Video conference recording system
CN110191092A (en) * 2019-04-26 2019-08-30 视联动力信息技术股份有限公司 A kind of processing method of video calling and view networked system

Also Published As

Publication number Publication date
CN111147789A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN106331581B (en) Method and device for communication between mobile terminal and video network terminal
CN108881814B (en) Method and device for communication between video network terminal and network camera and interaction system
CN110166728B (en) Video networking conference opening method and device
CN109803111B (en) Method and device for watching video conference after meeting
CN108881797B (en) Data processing method and device for video network
CN111147789B (en) Method, device and equipment for recording audio and video stream and storage medium
CN108632558B (en) Video call method and device
CN110493554B (en) Method and system for switching speaking terminal
CN110475094B (en) Video conference processing method and device and readable storage medium
CN110049271B (en) Video networking conference information display method and device
CN110062191B (en) Multi-party group meeting method and server based on video network
CN110049273B (en) Video networking-based conference recording method and transfer server
CN108965220B (en) Method and system for synchronizing conference control right
CN109743524B (en) Data processing method of video network and video network system
CN109246135B (en) Method and system for acquiring streaming media data
CN109963108B (en) One-to-many talkback method and device
CN110113558B (en) Data processing method, device, system and computer readable storage medium
CN109587433B (en) Point adjusting method and point adjusting device
CN110072154B (en) Video networking-based clustering method and transfer server
CN109963123B (en) Camera control method and device
CN110072072B (en) Method and device for reporting and displaying data
CN110730324B (en) Video picture display control method and device
CN110557594B (en) Video call processing method and device and storage medium
CN110536148B (en) Live broadcasting method and equipment based on video networking
CN109194896B (en) Calling method and system for video networking terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant