CN109743524B - Data processing method of video network and video network system - Google Patents

Data processing method of video network and video network system Download PDF

Info

Publication number
CN109743524B
CN109743524B CN201811466861.3A CN201811466861A CN109743524B CN 109743524 B CN109743524 B CN 109743524B CN 201811466861 A CN201811466861 A CN 201811466861A CN 109743524 B CN109743524 B CN 109743524B
Authority
CN
China
Prior art keywords
audio interface
audio
terminal
participant
video
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
CN201811466861.3A
Other languages
Chinese (zh)
Other versions
CN109743524A (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 CN201811466861.3A priority Critical patent/CN109743524B/en
Publication of CN109743524A publication Critical patent/CN109743524A/en
Application granted granted Critical
Publication of CN109743524B publication Critical patent/CN109743524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data processing method and a video networking system of a video networking, wherein the video networking comprises a video networking terminal, the video networking terminal comprises a plurality of participant terminals, each participant terminal is provided with a plurality of audio interfaces, and the method comprises the following steps: the participant terminal receives an audio interface switching instruction; the participant terminal acquires preset identification information of a first audio interface to be switched to according to the audio interface switching instruction; the participant terminal identifies a running second audio acquisition thread and controls the second audio acquisition thread to stop running, wherein a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface; the conference participating terminal starts a first audio acquisition thread according to preset identification information; and the participating terminal acquires audio information by adopting a first audio acquisition thread. When the audio interface is switched for the conference participating terminals in the video conference, the audio interface switching method and the conference participating terminals can dynamically change according to different audio interface switching instructions, so that the flexibility of audio interface switching is improved.

Description

Data processing method of video network and video network system
Technical Field
The invention relates to the technical field of video networking, in particular to a data processing method of the video networking and a video networking system.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing Internet, and pushes a plurality of Internet applications to high-definition video, and high definition faces each other. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
The video networking equipment may include video networking servers, video networking switches (including ethernet gateways), video networking terminals, etc., and the most common function of a video networking terminal is to hold a video conference for multiple people. In a video conference of multiple persons, when switching an audio acquisition interface to any video networking terminal participating in the conference, the technical scheme provided by the related technology is to pre-configure the priority of each audio interface for each video networking terminal, when an audio interface for acquiring audio by the video networking terminal in the video conference needs to be switched, according to the priority of each audio interface, the audio interface in use is switched to the audio interface with the highest priority among the unused audio interfaces, and the audio data is acquired by using the switched audio interface.
Obviously, the switching scheme of the audio interfaces in the related art can only use the audio interfaces according to the predefined priority order, and is not flexible enough in switching the audio interfaces and difficult to meet the user requirements.
Disclosure of Invention
The embodiment of the invention provides a data processing method of a video network and a video network system, aiming at solving the problems that the audio switching is not flexible enough and is difficult to meet the requirements of users in the switching scheme of an audio interface in the related technology.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method for a video network, where the video network includes a video network terminal, the video network terminal includes multiple participant terminals, and each participant terminal has multiple audio interfaces, and the method includes:
the conference participating terminal receives an audio interface switching instruction, wherein the conference participating terminal is in a video conference;
the conference participating terminal acquires preset identification information of the first audio interface to be switched according to the audio interface switching instruction;
the conference participating terminal identifies a running second audio acquisition thread and controls the second audio acquisition thread to stop running, wherein a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface;
the conference participating terminal starts a first audio acquisition thread according to the preset identification information;
and the conference participating terminal acquires audio information by adopting the first audio acquisition thread.
The embodiment of the invention also discloses a video networking system, which comprises a video networking terminal, wherein the video networking terminal comprises a plurality of participant terminals, each participant terminal is provided with a plurality of audio interfaces, and the participant terminals comprise:
the first receiving module is used for receiving an audio interface switching instruction, wherein the participating terminal is in a video conference;
the first acquisition module is used for acquiring the preset identification information of the first audio interface to be switched according to the audio interface switching instruction;
the control module is used for identifying a second running audio acquisition thread and controlling the second audio acquisition thread to stop running, wherein a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface;
the starting module is used for starting a first audio acquisition thread according to the preset identification information;
and the acquisition module is used for acquiring audio information by adopting the first audio acquisition thread.
The embodiment of the invention discloses electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the data processing steps of the video network when executing the program.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the data processing steps of the video network when being executed by a processor.
The embodiment of the invention has the following advantages:
therefore, when the participant terminal is in the video conference, the participant terminal can acquire the preset identification information of the first audio interface to be switched to according to the received audio interface switching instruction, stop the second audio acquisition thread which is acquiring the audio, start the first audio acquisition thread corresponding to the preset identification information, and control the first audio acquisition thread to acquire the audio data, so that the switching from the second audio interface to the first audio interface of the participant terminal in the video conference is realized, and the first audio interface which needs to be switched to when the audio interface is switched can be dynamically changed according to the difference of the audio interface switching instruction, thereby improving the flexibility of audio interface switching and being capable of meeting the user requirements.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
FIG. 1 is a schematic networking diagram of a video network according to an embodiment of the invention;
fig. 2 is a schematic diagram of a hardware structure of a node server according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of an ethernet protocol conversion gateway according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of an embodiment of a method for data processing in a video network, in accordance with an embodiment of the present invention;
fig. 6 is a block diagram of a video networking system according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects solved by the embodiments of the present invention more clearly apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol gateway:
as shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
On the basis of the basic characteristics of the video network, one of the core ideas of the embodiments of the present invention is that if there are many audio interfaces on the video network terminal in the video conference, when the audio interface on the video network terminal needs to be switched, the video network terminal can flexibly switch the audio interface currently acquiring the audio to the audio interface corresponding to the audio interface switching instruction according to the audio interface switching instruction, and the switched audio interface is adopted to acquire audio data, so that the switching flexibility of the audio interface is improved, and the audio interface switching requirement of the user is met.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a data processing method of a video network according to an embodiment of the present invention is shown, where the video network includes a video network terminal.
The video network terminal may be a terminal that implements functions such as video conferencing or monitoring through a video network, for example, the video network terminal may be a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, and the like).
The video network terminals participating in the video conference are called participant terminals, so that the video network terminals may include a plurality of participant terminals, and the plurality of participant terminals are in the same video conference. Each participant terminal may be configured with multiple audio interfaces, each audio interface having a matching audio connector, the types of audio interfaces including, but not limited to: a USB (Universal Serial Bus) Interface or a TRS (Tip Ring Sleeve) connector, a cardon Interface, and an HDIM (high definition Multimedia Interface) Interface; in addition, the audio interface of the participant terminal may also be a composite interface, including but not limited to a USB to cardon interface (i.e. the participant terminal does not have a cardon interface but has a USB interface, and the cardon interface is connected with the USB interface, so as to construct the USB to cardon interface).
For the audio interface and the matched audio connector, for example, the participant terminal may have a USB interface, and then the USB connector of the microphone may be plugged into the USB interface of the participant terminal, so that the participant terminal can collect audio data by using the microphone.
With the aid of the above-mentioned video networking terminal, the method may specifically include the steps of:
step 501, a participant terminal receives an audio interface switching instruction, wherein the participant terminal is in a video conference;
the audio interface switching instruction may be triggered by the participant terminal user performing an audio interface switching operation on the participant terminal, or may be received by the participant terminal from the control terminal side, which is not limited in the present invention.
In addition, it should be noted that the participating terminal that receives the audio switching instruction in the embodiment of the present invention is a video networking terminal in the video conference, that is, the method in the embodiment of the present invention may perform the audio interface switching operation on the video networking terminal that is performing the video conference service, and it is not necessary to first quit the video conference, manually perform the audio interface switching, and then participate in the video conference.
In addition, a plurality of participating terminals in the same video conference can be provided, so that a multi-party video conference is carried out.
In one example, a user of a certain participant terminal may trigger an audio interface switching instruction by operating conference control software of the participant terminal, so that the participant terminal may receive the audio interface switching instruction triggered by the user of the participant terminal.
Step 502, the participating terminal acquires preset identification information of a first audio interface to be switched to according to the audio interface switching instruction;
in this step, the participant terminal may obtain the preset identification information of the first audio interface according to the audio interface switching instruction.
It should be noted that the relevant information of the first audio interface carried in the audio interface switching instruction may be preset identification information, or may be other information associated with the preset identification information. By means of the audio interface switching instruction it can be determined to which audio interface the currently in use audio interface of the participant terminal needs to be switched.
In addition, the number of the first audio interfaces to be switched to may be one or more. That is, in the present invention, when switching the audio interface of a certain participant terminal, the audio interface in use can be switched to any one or more other unused audio interfaces.
When the conference terminal is switched to a plurality of audio interfaces, the conference terminal can use the plurality of audio interfaces to collect audio information, and multi-channel audio output of the conference terminal in a video conference is realized.
Step 503, the participating terminal identifies a second audio acquisition thread in operation and controls the second audio acquisition thread to stop operating;
a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface;
in order to distinguish the audio interface before switching from the audio interface after switching, in the embodiment of the present invention, the audio interface of the participating terminal that is acquiring audio before switching the audio interface is referred to as a second audio interface, and the audio interface to be switched is referred to as a first audio interface.
Wherein the number of the second audio interfaces can be multiple.
Then to determine which audio interface is being used by the participant terminal to capture audio, the audio capture threads running in the participant terminal may be identified, where the audio capture threads corresponding to different audio interfaces are different, and the audio capture thread corresponding to the second audio interface may be referred to herein as a second audio capture thread. Therefore, the running second audio acquisition thread can be controlled to stop running in the step, so that the purpose of no longer using the second audio interface corresponding to the second audio acquisition thread to acquire audio data is achieved.
The execution sequence of step 502 and step 503 is not limited in the present invention.
Step 504, the participant terminal starts a first audio acquisition thread according to the preset identification information;
wherein, the preset identification information includes but is not limited to one of the following: ID. Name, preset flag, etc.
It is mentioned above that each audio interface corresponds to an audio acquisition thread one-to-one, and in the embodiment of the present invention, the audio acquisition thread uniquely associated with the audio interface may be identified by using the preset identification information of the audio interface. Therefore, in this step, a first audio capturing thread may be started according to the preset identification information, for example, the audio capturing thread 1 is determined according to the ID of the first audio interface, so as to start the audio capturing thread 1.
Optionally, in an embodiment, when step 504 is executed, if the first audio interface of the participant terminal is connected to the corresponding first audio connector, the participant terminal may start a first audio acquisition thread according to the preset identification information.
In the foregoing, it is described that an audio interface needs to be used in cooperation with a corresponding audio connector to acquire audio through a certain audio interface, so in this embodiment, the participant terminal may further detect whether the first audio interface to be switched to is connected to the corresponding first audio connector, and if so, start a first audio acquisition thread corresponding to the first audio interface according to the preset identification information of the first audio interface.
On the contrary, if the first audio interface of the participant terminal is not connected with the corresponding first audio connector, the participant terminal user can be prompted to insert the first audio connector, so that the subsequent audio interface switching operation is completed.
Therefore, the first audio acquisition thread corresponding to the first audio interface is started according to the preset identification information of the first audio interface when the first audio interface to be switched of the terminal to be participated is detected to be connected with the corresponding first audio connector, so that the condition that the audio interface is failed to be switched can be avoided.
And 505, the participating terminal acquires audio information by adopting the first audio acquisition thread.
After the participant terminal starts the first audio acquisition thread, for example, the second audio interface is an HDMI interface, the HDMI interface is connected to a notebook computer, the first audio interface is a USB interface, and the USB interface is connected to a microphone. Before the above five steps of the embodiment of the present invention are performed, the participating terminal originally collects the audio data played by the notebook computer as the output audio of the participating terminal in the video conference. However, with the method of the embodiment of the present invention, when the participant terminal is in the video conference, the participant terminal may stop collecting the audio data from the notebook computer through the HDMI interface after receiving the audio interface switching instruction, and switch to collecting the audio data from the microphone through the USB interface, so that the audio data collected by the participant terminal from the microphone is used as the output audio of the participant terminal in the video conference.
Therefore, when the participant terminal is in the video conference, the participant terminal can acquire the preset identification information of the first audio interface to be switched to according to the received audio interface switching instruction, stop the second audio acquisition thread which is acquiring the audio, start the first audio acquisition thread corresponding to the preset identification information, and control the first audio acquisition thread to acquire the audio data, so that the switching from the second audio interface to the first audio interface of the participant terminal in the video conference is realized, and the first audio interface which needs to be switched to when the audio interface is switched can be dynamically changed according to the difference of the audio interface switching instruction, thereby improving the flexibility of audio interface switching and being capable of meeting the user requirements.
Optionally, in an embodiment, the video networking terminal further includes a control terminal.
The control terminal is also a video network terminal, but the control terminal is different from the participant terminal in that the control terminal does not participate in the video conference. Instead, the control terminal may control the video conference.
The controlled content includes but is not limited to the conference entering operation of the terminal of the video network, so that the terminal of the video network becomes a participant terminal;
the conference quitting operation is carried out on the participant terminals participating in the video conference, so that the participant terminals are recovered to be video networking terminals not participating in the video conference;
controlling the participant terminals to speak, for example, controlling the participant terminals 1, 2 and 3 to speak, and then outputting the audio data collected by the participant terminals 1, 2 and 3, so that the other participant terminals except the participant terminal receive the audio data;
controlling the participant terminal not to speak, for example, controlling the participant terminal 4 not to speak, if the audio interface of the participant terminal 4 collects audio, the collected audio data is not output to the video conference, and other participant terminals except the participant terminal 4 cannot receive the audio data;
and switching the audio interface used by the participating terminal.
Then, this embodiment focuses on the operation of the control terminal for switching the audio interface used by the participating terminal, in this embodiment, the control terminal is installed with the conference control software according to the embodiment of the present invention, and specifically, before step 101, the method according to the embodiment of the present invention may further include S601 to S603:
s601, the control terminal receives an audio interface switching request, wherein the audio interface switching request comprises target meeting participating terminal information and preset identification information of a first audio interface to be switched;
an administrator (i.e., a control terminal user) at the control terminal side can operate conference control software installed on the control terminal, so that the control terminal receives an audio interface switching request triggered by the administrator.
The audio interface switching request may include information about which participating terminal performs audio interface switching (i.e., target participating terminal information), and information about which audio interface the target participating terminal is currently using to switch to (i.e., preset identification information of the first audio interface).
The target participating terminal information may include, but is not limited to, name information, IP address information, ID information, and the like of the participating terminal, which may uniquely identify the participating terminal.
S602, the control terminal generates an audio interface switching instruction according to the audio interface switching request;
after receiving the audio interface switching request, the control terminal may generate an audio interface switching instruction according to preset identification information of the first audio interface in the audio interface switching request, where the audio interface switching instruction includes the preset identification information of the first audio interface.
The audio interface switching request is data which can be identified by the control terminal, the audio interface switching instruction is data which can be identified by each participating terminal, and the codes of the two data can be different.
S603, the control terminal responds to the audio interface switching request and sends the audio interface switching instruction to a target conference participating terminal corresponding to the target conference participating terminal information;
the control terminal can respond to an audio interface switching request triggered by an administrator to send the generated audio interface switching instruction to the target participating terminal corresponding to the target participating terminal information.
Then, on the basis of this embodiment, when step 101 is executed, it is embodied that the target participating terminal receives the audio interface switching instruction from the control terminal.
That is to say, the participant terminal in step 101 is the target participant terminal in this embodiment, and the audio interface switching instruction received by the participant terminal is from the control terminal, rather than the audio interface switching instruction triggered by the participant terminal user
Therefore, the method provided by the embodiment of the invention controls the switching of the audio interface of which participant terminal and the switching to which audio interface through the control terminal, compared with the method that each participant terminal controls the switching of the own audio interface, the method provided by the embodiment of the invention can avoid the disorder of the switching of the audio interface of each participant terminal, can realize the uniform control of the audio interface of each participant terminal, flexibly selects which audio interface or audio interfaces of which participant terminal to switch and which audio interface to switch to, and compared with the method that the audio interface to which audio interface is determined according to the priority of the audio interface, the method provided by the embodiment of the invention improves the switching flexibility of the audio interface.
Optionally, in an embodiment, before S601, the method according to an embodiment of the present invention may further include:
the control terminal acquires an audio interface list of each participating terminal in the plurality of participating terminals and the state of each audio interface in the audio interface list;
the control terminal can acquire the audio interfaces of the participating terminals for each participating terminal participating in the same video conference, so that an audio interface list is acquired for each participating terminal, and the audio interface list can comprise preset identification information of the audio interfaces.
In addition, the control terminal can also acquire the state of each audio interface of each participating terminal, wherein the state of each audio interface comprises an open state or a closed state;
the audio interface in the on state is that the participating terminal is running an audio acquisition thread corresponding to the audio interface, so as to acquire audio data;
the audio interface in the off state means that the participating terminal does not start the audio acquisition thread corresponding to the audio interface at present, and does not use the audio interface to acquire audio data.
The control terminal provides the audio interface list of each participating terminal and the state of each audio interface in the audio interface list to a control terminal user;
the control terminal can display the acquired audio interface list of each participating terminal and the state of each audio interface in each audio list on a screen in an interface mode, so that the audio interface list is provided for an administrator to view.
The administrator can know the state of each audio interface of each participant terminal by checking the interface, so that the administrator can control which participant terminal or terminals are switched with the audio interface, and the audio interface of the participant terminal is switched to which audio interface, thereby avoiding switching the audio interface which is originally in the open state to the open state again, and wasting operation resources.
Of course, the above-mentioned audio interface list of each participating terminal and the providing mode of the status information of each audio interface are not limited to the interface, and may also include graphics, audio, and the like, which is not limited by the present invention.
In addition, when the information is provided to the administrator, the audio interface list is provided to the administrator in association with the participating terminal to which the audio interface list belongs, and the state of each audio interface may also be provided to the administrator in association with the audio interface list, so that the administrator can know the association relationship between the participating terminal and the audio interface list, and the association relationship between the audio interface list and the state of each audio interface.
In this embodiment, when S601 is executed, the control terminal receives an audio interface switching request triggered by a user of the control terminal.
After the administrator knows the audio interface list of each participating terminal provided by the control terminal and the state of each audio interface in the audio interface list, the administrator can select which participating terminal to switch the audio interface, and select which audio interface in the on state that the participating terminal is using to switch to which audio interface in the off state originally.
Therefore, the control terminal may receive an audio interface switching request triggered by an administrator, where the audio interface switching request includes a target participant terminal selected by a user of the control terminal and preset identification information of a first audio interface selected from the audio interface list of the target participant terminal, where the first audio interface is in an off state.
Therefore, the control terminal of the embodiment of the invention obtains the audio interface list of each participating terminal in a plurality of participating terminals participating in the video conference and the state of each audio interface in each audio interface list and provides the audio interface list to the control terminal user, so that the control terminal user can conveniently and reasonably control the switching of the audio interfaces of the participating terminals according to the development condition of the video conference, the purpose of uniformly controlling the audio interfaces used by the participating terminals can be achieved, the audio interface switching of which participating terminal is flexibly selected and the audio interface to which the participating terminal is switched can be flexibly selected according to the requirements of the control terminal user, and the switching flexibility of the audio interface is improved.
Optionally, the video network further comprises a video network server, then after step 505, the method according to an embodiment of the present invention may further comprise:
if the participant terminal is in the speaking state, the participant terminal sends the audio information to the video networking server;
as described above, when the participant terminal is not in the speech state, the audio data collected by the audio collection thread corresponding to the audio interface in the open state of the participant terminal is not received by other participant terminals, and may be only buffered locally. Therefore, in this embodiment, if the participant terminal (i.e. the target participant terminal with the switched audio interface in the above embodiment) is in the speaking state, the participant terminal may send the audio information collected by the first audio collecting thread to the video network server.
Optionally, the video network server may distribute the audio data from the participant terminal to each of the other participant terminals in the same video conference as the participant terminal.
For example, the video conference includes a participant terminal 1, a participant terminal 2, and a participant terminal 3, for example, the target participant terminal is the participant terminal 1, and then the video networking server receives the audio data 1 collected by the microphone connected to the participant terminal 1 through the USB interface, and then the audio data 1 can be distributed to the participant terminal 2 and the participant terminal 3 in the video conference, so that the participant terminal 2 and the participant terminal 3 can both output the audio data 1, and the user at the participant terminal 1 is heard by the users at the other two participant terminals in the video conference through the words spoken by the microphones.
Therefore, the embodiment of the invention can switch the audio interface no matter whether the participant terminal switching the audio interface is in the speaking state or not, once the participant terminal is in the speaking state, the method of the embodiment of the invention can distribute the audio data collected by the switched audio interface of the participant terminal to the other participant terminal sides except the participant terminal in the video conference by means of the video networking server, so that users of other participant terminals can listen to the latest audio data collected by the audio interface switched by the participant terminal, and the video conference is conveniently and accurately executed.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a video networking system according to an embodiment of the present invention is shown, where the video networking system includes a video networking terminal, the video networking terminal includes a plurality of participant terminals 61, each participant terminal has a plurality of audio interfaces, and the participant terminal 61 includes:
a first receiving module 601, configured to receive an audio interface switching instruction, where the participating terminal is in a video conference;
a first obtaining module 602, configured to obtain, according to the audio interface switching instruction, preset identification information of a first audio interface to be switched to;
the control module 603 is configured to identify a second audio capturing thread that is running, and control the second audio capturing thread to stop running, where a second audio interface corresponding to the second audio capturing thread is different from the first audio interface;
a starting module 604, configured to start a first audio acquisition thread according to the preset identification information;
an acquisition module 605 configured to acquire audio information using the first audio acquisition thread.
Optionally, the video network terminal further includes a control terminal 62, and the control terminal 62 includes:
a second receiving module 606, configured to receive an audio interface switching request, where the audio interface switching request includes target conference participating terminal information and preset identification information of a first audio interface to be switched to;
a generating module 607, configured to generate an audio interface switching instruction according to the audio interface switching request, where the audio interface switching instruction includes preset identification information of the first audio interface;
a response module 608, configured to respond to the audio interface switching request, send the audio interface switching instruction to a target conference participating terminal corresponding to the target conference participating terminal information;
the first receiving module 601 is further configured to receive the audio interface switching instruction from the control terminal.
Optionally, the control terminal 62 further includes:
a second obtaining module 609, configured to obtain an audio interface list of each of the multiple participating terminals and a state of each audio interface in the audio interface list, where the state of an audio interface includes an open state or a closed state;
a providing module 610, configured to provide the audio interface list of each participating terminal and the state of each audio interface in the audio interface list to a control terminal user;
the second receiving module 606 is further configured to receive an audio interface switching request triggered by the control terminal user, where the audio interface switching request includes a target conference terminal selected by the control terminal user and preset identification information of a first audio interface selected in the audio interface list of the target conference terminal, where the first audio interface is in a closed state.
Optionally, the starting module 604 is further configured to start a first audio acquisition thread according to the preset identification information if the first audio interface of the participant terminal is connected to the corresponding first audio connector.
Optionally, the video networking system includes a video networking server 63, and the participant terminal 61 further includes:
a sending module 611, configured to send the audio information to the video networking server 63 by the participant terminal if the participant terminal is in a speaking state;
the video network server 63 is configured to distribute the audio data from the participant terminal to each of the other participant terminals in the same video conference as the participant terminal.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data processing method and the system of the video network provided by the invention are introduced in detail, and the principle and the implementation mode of the invention are explained by applying a specific example, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A data processing method of a video network, wherein the video network comprises video network terminals, the video network terminals comprise a plurality of participant terminals, each participant terminal has a plurality of audio interfaces, the audio interfaces have a plurality of types, the method comprises:
the conference participating terminal receives an audio interface switching instruction, wherein the conference participating terminal is in a video conference;
the conference participating terminal acquires preset identification information of the first audio interface to be switched according to the audio interface switching instruction;
the conference participating terminal identifies a running second audio acquisition thread and controls the second audio acquisition thread to stop running, wherein a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface;
the conference participating terminal starts a first audio acquisition thread according to the preset identification information;
and the conference participating terminal acquires audio information by adopting the first audio acquisition thread.
2. The method according to claim 1, wherein the video networking terminal further comprises a control terminal, and before the participating terminal receives the audio interface switching instruction, the method further comprises:
the control terminal receives an audio interface switching request, wherein the audio interface switching request comprises target meeting participating terminal information and preset identification information of a first audio interface to be switched;
the control terminal generates an audio interface switching instruction according to the audio interface switching request, wherein the audio interface switching instruction comprises preset identification information of the first audio interface;
the control terminal responds to the audio interface switching request and sends the audio interface switching instruction to a target conference participating terminal corresponding to the target conference participating terminal information;
the participating terminal receives the audio interface switching instruction and comprises the following steps:
and the target participating terminal receives the audio interface switching instruction from the control terminal.
3. The method of claim 2, wherein before the control terminal receives the audio interface switch request, the method further comprises:
the control terminal acquires an audio interface list of each participant terminal in the plurality of participant terminals and the state of each audio interface in the audio interface list, wherein the state of each audio interface comprises an open state or a closed state;
the control terminal provides the audio interface list of each participating terminal and the state of each audio interface in the audio interface list to a control terminal user;
the control terminal receives an audio interface switching request, and comprises:
the control terminal receives an audio interface switching request triggered by a control terminal user, wherein the audio interface switching request comprises a target participating terminal selected by the control terminal user and preset identification information of a first audio interface selected from the audio interface list of the target participating terminal, and the first audio interface is in a closed state.
4. The method according to claim 1, wherein the participant terminal starts a first audio capture thread according to the preset identification information, comprising:
and if the first audio interface of the participant terminal is connected with the corresponding first audio connector, the participant terminal starts a first audio acquisition thread according to the preset identification information.
5. The method of claim 1, wherein the video network comprises a video network server, and after the participant terminal collects audio information using the first audio collection thread, the method further comprises:
if the participant terminal is in the speaking state, the participant terminal sends the audio information to the video networking server;
and the video networking server distributes the audio data from the participant terminal to each other participant terminal in the same video conference with the participant terminal.
6. A video networking system, the video networking system comprising a video networking terminal, the video networking terminal comprising a plurality of participant terminals, each participant terminal having a plurality of audio interfaces, the audio interfaces having a plurality of types, the participant terminal comprising:
the first receiving module is used for receiving an audio interface switching instruction, wherein the participating terminal is in a video conference;
the first acquisition module is used for acquiring the preset identification information of the first audio interface to be switched according to the audio interface switching instruction;
the control module is used for identifying a second running audio acquisition thread and controlling the second audio acquisition thread to stop running, wherein a second audio interface corresponding to the second audio acquisition thread is different from the first audio interface;
the starting module is used for starting a first audio acquisition thread according to the preset identification information;
and the acquisition module is used for acquiring audio information by adopting the first audio acquisition thread.
7. The system of claim 6, wherein the video networking terminal further comprises a control terminal, the control terminal comprising:
the second receiving module is used for receiving an audio interface switching request, wherein the audio interface switching request comprises target meeting participating terminal information and preset identification information of a first audio interface to be switched;
the generating module is used for generating an audio interface switching instruction according to the audio interface switching request, wherein the audio interface switching instruction comprises preset identification information of the first audio interface;
the response module is used for responding to the audio interface switching request and sending the audio interface switching instruction to the target participating terminal corresponding to the target participating terminal information;
the first receiving module is further configured to receive the audio interface switching instruction from the control terminal.
8. The system of claim 7, wherein the control terminal further comprises:
the second acquisition module is used for acquiring an audio interface list of each participant terminal in the plurality of participant terminals and the state of each audio interface in the audio interface list, wherein the state of each audio interface comprises an open state or a closed state;
the providing module is used for providing the audio interface list of each participating terminal and the state of each audio interface in the audio interface list to a control terminal user;
the second receiving module is further configured to receive an audio interface switching request triggered by the control terminal user, where the audio interface switching request includes a target conference terminal selected by the control terminal user and preset identification information of a first audio interface selected in the audio interface list of the target conference terminal, and the first audio interface is in a closed state.
9. The system of claim 6,
the starting module is further configured to start a first audio acquisition thread according to the preset identification information if the first audio interface of the conference participating terminal is connected with the corresponding first audio connector.
10. The system of claim 6, wherein the video networking system further comprises a video networking server, and wherein the participant terminal further comprises:
the sending module is used for sending the audio information to the video networking server by the participant terminal if the participant terminal is in a speaking state;
and the video networking server is used for distributing the audio data from the participating terminals to each other participating terminal in the same video conference with the participating terminals.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the data processing of the video network according to any of claims 1 to 5 when executing the program.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of data processing of the video network according to any one of claims 1 to 5.
CN201811466861.3A 2018-12-03 2018-12-03 Data processing method of video network and video network system Active CN109743524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811466861.3A CN109743524B (en) 2018-12-03 2018-12-03 Data processing method of video network and video network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811466861.3A CN109743524B (en) 2018-12-03 2018-12-03 Data processing method of video network and video network system

Publications (2)

Publication Number Publication Date
CN109743524A CN109743524A (en) 2019-05-10
CN109743524B true CN109743524B (en) 2021-03-02

Family

ID=66358428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811466861.3A Active CN109743524B (en) 2018-12-03 2018-12-03 Data processing method of video network and video network system

Country Status (1)

Country Link
CN (1) CN109743524B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381284B (en) * 2019-06-21 2022-02-18 视联动力信息技术股份有限公司 Method, device, system, equipment and readable storage medium for switching conference
CN110958419B (en) * 2019-11-07 2022-02-18 视联动力信息技术股份有限公司 Video networking conference processing method and device, electronic equipment and storage medium
CN111107296B (en) * 2019-11-26 2022-12-23 视联动力信息技术股份有限公司 Audio data acquisition method and device, electronic equipment and readable storage medium
CN111147793B (en) * 2019-12-20 2023-04-07 视联动力信息技术股份有限公司 Method and system for switching speaking terminal, electronic equipment and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610324A (en) * 2008-06-18 2009-12-23 深圳华为通信技术有限公司 The method of prompting call progress state, conference control equipment and conference system
CN101505226B (en) * 2009-02-25 2011-07-27 中国联合网络通信集团有限公司 Multimedia communication interaction system and method
CN105791932B (en) * 2016-03-25 2019-07-16 青岛海信电器股份有限公司 A kind of method, apparatus and smart television switching audiovisual applications
CN107707728A (en) * 2017-07-25 2018-02-16 努比亚技术有限公司 A kind of audio transmission switching method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109743524A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN108574688B (en) Method and device for displaying participant information
CN109743524B (en) Data processing method of video network and video network system
CN108632558B (en) Video call method and device
CN110493554B (en) Method and system for switching speaking terminal
CN110049271B (en) Video networking conference information display method and device
CN108574820B (en) Method and device for controlling repeater
CN109547728B (en) Recorded broadcast source conference entering and conference recorded broadcast method and system
CN110536100B (en) Video networking conference recording method and system
CN109660816B (en) Information processing method and device
CN109120879B (en) Video conference processing method and system
CN110572607A (en) Video conference method, system and device and storage medium
CN110475090B (en) Conference control method and system
CN110049273B (en) Video networking-based conference recording method and transfer server
CN109040656B (en) Video conference processing method and system
CN111131754A (en) Control split screen method and device of conference management system
CN111131760B (en) Video recording method and device
CN110149305B (en) Video network-based multi-party audio and video playing method and transfer server
CN111641800A (en) Method and device for realizing conference
CN109286775B (en) Multi-person conference control method and system
CN110505433B (en) Data processing method and video networking video conference platform
CN109005378B (en) Video conference processing method and system
CN109587433B (en) Point adjusting method and point adjusting device
CN110769179B (en) Audio and video data stream processing method and system
CN109714316B (en) Audio mixing processing method of video network and video network system
CN110392275B (en) Sharing method and device for manuscript demonstration and video networking soft 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