CN109412886B - Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method - Google Patents

Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method Download PDF

Info

Publication number
CN109412886B
CN109412886B CN201811126069.3A CN201811126069A CN109412886B CN 109412886 B CN109412886 B CN 109412886B CN 201811126069 A CN201811126069 A CN 201811126069A CN 109412886 B CN109412886 B CN 109412886B
Authority
CN
China
Prior art keywords
audio
streaming media
media server
video acquisition
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
CN201811126069.3A
Other languages
Chinese (zh)
Other versions
CN109412886A (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.)
Anhui Kelang Electronic Technology Co.,Ltd.
Original Assignee
Beijing Wenxiang 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 Beijing Wenxiang Information Technology Co ltd filed Critical Beijing Wenxiang Information Technology Co ltd
Priority to CN201811126069.3A priority Critical patent/CN109412886B/en
Publication of CN109412886A publication Critical patent/CN109412886A/en
Application granted granted Critical
Publication of CN109412886B publication Critical patent/CN109412886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a distributed recorded broadcast system, a communication detection method and a recorded broadcast control method thereof, wherein the system comprises: the audio/video acquisition units are used for acquiring audio data and/or video image data; each streaming media server is respectively connected with at least two corresponding audio and video acquisition units and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with the streaming media server and carrying out data processing on audio data and/or video image data; the recording and broadcasting server is connected with the cloud service platform and records or broadcasts and stores the audio data and/or video image data processed by each streaming media server according to preset recording and broadcasting condition information. According to the invention, the heartbeat information is sent to each streaming media server through the cloud service platform, so that each streaming media server can quickly inquire the communication states of the plurality of audio and video acquisition units correspondingly connected with the streaming media server.

Description

Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method
Technical Field
The invention relates to the technical field of recorded broadcast, in particular to a distributed recorded broadcast system, a communication detection method and a recorded broadcast control method thereof.
Background
With the development of teaching equipment, the intelligent teaching recording and playing system replaces the traditional manual recording mode, only a camera is required to be installed at a specific position in a classroom, the recording and playing of information such as audio and video of speech of teachers and students in a classroom scene are realized through computer control and an image recognition tracking technology, and the recorded video can be played in real time through a network. When video recording is performed on a teaching scene, if video recording is performed on a plurality of classrooms at the same time, several to dozens or even hundreds of audio devices or video devices need to be distributed and arranged, and the audio devices or the video devices are managed, so that distributed recording of video teaching is realized.
The conventional recording and broadcasting system generally establishes association with a recording and broadcasting host through a plurality of decoders, a plurality of audio and video devices and a plurality of network switching devices, then the recording and broadcasting host is used as a central node to carry out centralized management and control on the data information of each device, because each device is only responsible for inputting and outputting data information, and the recording and broadcasting host is also only responsible for recording or controlling videos according to the received data information, because the data information managed by the recording and broadcasting host is too large and the bearing capacity is limited, the current state of each device cannot be considered, therefore, if the communication failure occurs in the equipment associated with the recording and broadcasting host, the recording and broadcasting host can not record the video continuously and needs the maintenance personnel to troubleshoot the failure one by one, therefore, the traditional recording system performs centralized management, and cannot find the communication fault information of each device in time.
Disclosure of Invention
Therefore, the technical problem to be solved by the embodiments of the present invention is to overcome the problem that in the recording and broadcasting system in the prior art, since the carrying capacity of the recording and broadcasting host is limited, communication fault information of each device cannot be found in time because the recording and broadcasting host performs centralized management on a plurality of devices.
Therefore, the embodiment of the invention provides the following technical scheme:
the embodiment of the invention provides a distributed recording and broadcasting system, which comprises:
the audio/video acquisition units are used for acquiring audio data and/or video image data;
each streaming media server is respectively connected with the at least two audio and video acquisition units corresponding to the streaming media server and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with the streaming media server and carrying out data processing on the audio data and/or the video image data;
the cloud service platform is respectively connected with each streaming media server and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with each streaming media server by sending heartbeat information to each streaming media server, sending preset recording condition information to the audio and video acquisition units which are in normal communication and in a to-be-operated state, and switching and connecting the audio and video acquisition units with communication faults to another streaming media server;
and the recording and broadcasting server is connected with the cloud service platform and records, broadcasts and stores the audio data and/or the video image data processed by each streaming media server according to the preset recording and broadcasting condition information.
Optionally, each streaming media server further includes:
the camera shooting device is used for acquiring the video image data;
the audio equipment is used for acquiring the audio data;
the audio and video power amplifier is respectively connected with the camera equipment and the audio equipment and is used for amplifying the video image data and the audio data;
and the audio and video encoder is connected with the audio and video power amplifier and is used for synthesizing the video image data and the audio data.
Optionally, the preset recording and playing condition is a website to be connected, a communication protocol and a nameplate of the camera device or the audio device.
The embodiment of the invention provides a communication detection method of a distributed recording and broadcasting system, which is used for a cloud service platform in the distributed recording and broadcasting system and comprises the following steps:
sending heartbeat information to each streaming media server so that each streaming media server inquires the equipment states of at least two audio and video acquisition units correspondingly connected with the streaming media server;
receiving a status data packet returned by each streaming media server;
acquiring the communication states of the at least two audio and video acquisition units correspondingly connected with each streaming media server according to the state data packet;
and switching and connecting the audio and video acquisition unit with the communication fault to another streaming media server according to the communication state.
Optionally, the communication status is displayed by an indicator light.
The embodiment of the invention provides a recording and broadcasting control method, which is used for the cloud service platform in the distributed recording and broadcasting system and comprises the following steps:
sending heartbeat information to each streaming media server so that each streaming media server inquires the equipment states of at least two audio and video acquisition units correspondingly connected with the streaming media server;
receiving a status data packet returned by each streaming media server;
acquiring the communication state and the working state of the at least two audio/video acquisition units correspondingly connected with each streaming media server according to the equipment data packet;
according to the communication state and the working state, sending preset recording and broadcasting condition information to the audio and video acquisition unit which is in a normal communication state and in a to-be-operated state;
and controlling the audio and video acquisition unit to acquire audio data and/or video image data according to the preset recording and playing condition information.
Optionally, the step of controlling the audio/video capture unit to capture audio data and/or video image data further includes:
controlling a streaming media server correspondingly connected with the audio and video acquisition unit to perform data processing on audio data and/or video image data;
and controlling a recording and broadcasting server to record, broadcast or store and backup the audio data and/or the video image data processed by the streaming media server.
The embodiment of the invention provides a method for detecting equipment state, which is used for a streaming media server in a distributed recording and broadcasting system and comprises the following steps:
receiving heartbeat information sent by the cloud service platform;
inquiring the equipment states of at least two audio and video acquisition units correspondingly connected with the heartbeat information according to the heartbeat information;
and generating a state data packet according to the equipment state and sending the state data packet to a cloud service platform.
Embodiments of the present invention provide a storage medium having stored thereon computer instructions that, when executed by a processor, perform the method steps described herein.
The technical scheme of the embodiment of the invention has the following advantages:
the invention provides a distributed recorded broadcast system, a communication detection method thereof and a recorded broadcast control method, wherein the system comprises: the audio/video acquisition units are used for acquiring audio data and/or video image data; each streaming media server is respectively connected with at least two corresponding audio and video acquisition units and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with the streaming media server and carrying out data processing on audio data and/or video image data; the recording and broadcasting server is connected with the cloud service platform and records or broadcasts and stores the audio data and/or video image data processed by each streaming media server according to preset recording and broadcasting condition information. According to the invention, the heartbeat information is sent to each streaming media server through the cloud service platform, so that each streaming media server can quickly inquire the communication states of the plurality of audio and video acquisition units correspondingly connected with the streaming media server.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a first block diagram of a distributed recording and broadcasting system according to an embodiment of the present invention;
fig. 2 is a block diagram of a structure of an audio/video acquisition unit of a distributed recording and playing system according to an embodiment of the present invention;
fig. 3 is a second structural block diagram of the distributed recording and broadcasting system according to the embodiment of the present invention;
fig. 4 is a structural block diagram of preset recording and broadcasting conditions of an audio and video acquisition unit of the distributed recording and broadcasting system according to the embodiment of the present invention;
fig. 5 is a flowchart of a communication detection method of a distributed recording and broadcasting system according to an embodiment of the present invention;
FIG. 6 is a flowchart of a recording and playing control method according to an embodiment of the present invention;
fig. 7 is a flowchart of a method for detecting a device status according to an embodiment of the present invention.
Reference numerals:
11-a first audio/video acquisition unit; 12-two audio and video acquisition units;
21-a first streaming media server; 22-a second streaming media server;
3-a cloud service platform; 4-recording and broadcasting server;
111-a first image capture device; 112-a second camera device;
113-a first audio device; 114-a second audio device;
115-an audio-video power amplifier; 116-audio video coder.
Detailed Description
The technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the embodiments of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the embodiments of the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have specific orientations, be configured in specific orientations, and operate, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the embodiments of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
An embodiment of the present invention provides a distributed recording and broadcasting system, as shown in fig. 1, including: the system comprises two audio and video acquisition units 11 and 12, two streaming media servers 21 and 22, a cloud service platform 3 and a recording and broadcasting server 4, wherein the two audio and video acquisition units 11 and 12, the two streaming media servers 21 and 22, the cloud service platform 3 and the recording and broadcasting server 4 in fig. 1 are distributed, the two audio and video acquisition units 11 and 12 are respectively a first audio and video acquisition unit 11 and a second audio and video acquisition unit 12, and the two streaming media servers 21 and 22 are respectively a first streaming media server 21 and a second streaming media server 22. Wherein the content of the first and second substances,
the first audio/video acquisition unit 11 and the second audio/video acquisition unit 12 are respectively used for acquiring audio data and/or video image data. Here, the first audio/video capture unit 11 and the second audio/video capture unit 12 each further include: the device comprises a first camera device 111, a first audio device 113, an audio/video power amplifier 115 and an audio/video encoder 116, wherein the first camera device 111 is used for collecting video image data, the first audio device 113 is used for collecting audio data, the audio/video power amplifier 115 is respectively connected with the first camera device 111 and the first audio device 113, and the audio/video encoder 116 is connected with the audio/video power amplifier 115 and is used for synthesizing the audio data and the video image data. As another alternative, the first audio/video capturing unit 11 or the second audio/video capturing unit 12 in this embodiment may further include, as shown in fig. 2, a first camera device 111, a second camera device 112, a first audio device 113, a second audio device 114, an audio/video amplifier 115, and an audio/video encoder 116, respectively, and of course, may further include a plurality of camera devices or a plurality of audio devices. In fig. 2, for example: the first camera device 111 is used for collecting high-definition video images of students in a classroom, the second camera device 112 is used for collecting high-definition video images of teachers and multimedia courseware images used by teachers in the classroom, the first audio device 113 can be a DSP noise reduction pickup device and is used for collecting and loading all sounds such as speeches of students in the classroom or sounds emitted by multimedia courseware in the first camera device 111, the second audio device 114 can be a leading-clip microphone used by teachers and is used for collecting sound information of the teachers in the lectures, after all sounds are collected by the first audio device 113 and the second audio device 114 and after all video images are collected by the first camera device 111 and the second camera device 112, the sounds are amplified through an audio and video amplifier 115 and finally output after audio and video data synthesis processing is carried out through an audio and video encoder 116, the first audio/video acquisition unit 11 may further include a switch, and the switch is connected to each device in an exchange manner. In fig. 3, the distributed recording and playing system in this embodiment further includes N audio/video acquisition units arranged in parallel, which are respectively a first audio/video acquisition unit 11, a second audio/video acquisition unit 12, a third audio/video acquisition unit 13, and an nth audio/video acquisition unit, where the N audio/video acquisition units are respectively connected to each of the streaming media servers corresponding to the N audio/video acquisition units, and in fig. 3, the distributed recording and playing system further includes N streaming media servers, and each of the streaming media servers is respectively connected to N audio/video acquisition units arranged in parallel. In fig. 3, each audio/video capture unit also includes a plurality of devices, and a detailed schematic diagram thereof is as shown in fig. 2. The first audio/video acquisition unit 11 in this embodiment may be considered as a classroom No. 1, the second audio/video acquisition unit 12 may be considered as a classroom No. 2, and the N audio/video acquisition units in this embodiment may represent classroom No. 3, classroom No. 4, classroom No. 5, and classroom No. 6, which is … … N, and each of the classrooms No. 1 to No. N has multiple devices, so that this embodiment may simultaneously acquire audio/video for tens or hundreds of classrooms, and then connect the devices included in each audio/video acquisition unit to one streaming media server.
Each of the first streaming media server 21 and the second streaming media server 22 is respectively connected to at least two corresponding audio/video acquisition units, where the connection is usually performed according to a streaming media communication protocol, and the streaming media protocol is usually mms/rtsp/rtmp, and the first streaming media server 21 and the second streaming media server 22 are respectively used for querying device states of the at least two audio/video acquisition units correspondingly connected thereto and performing data processing on audio data and/or video image data. The device state generally comprises the working state and the communication state of the device, and the data processing mainly synthesizes the audio and video data acquired by the audio and video acquisition unit to ensure that a high-definition video image can be generated.
The cloud service platform 3 is respectively connected with each streaming media server, and is used for sending heartbeat information to each streaming media server so that each streaming media server queries the equipment states of at least two audio and video acquisition units correspondingly connected with the streaming media server, sending preset recording and broadcasting condition information to the audio and video acquisition units which are in normal communication and waiting to operate, and switching and connecting the audio and video acquisition unit with a communication fault to another streaming media server. The cloud service platform 3 is equivalent to a main controller of the distributed recording and playing system in this embodiment, and manages a plurality of streaming media servers and audio/video acquisition units connected to the cloud service platform at the same time, the plurality of streaming media servers are equivalent to slave servers or sub-servers of the cloud service platform 3, the cloud service platform 3 can access the streaming media servers connected to the cloud service platform at any time, and the detection of the device state of the audio/video acquisition units connected to the streaming media servers is realized through a master-slave polling communication mode. For example: the cloud service platform 3 sends heartbeat information to a plurality of streaming media servers according to preset time, the cloud service platform 3 can establish a communication relation through the heartbeat information, each streaming media server receives the heartbeat information sent by the cloud service platform 3, starts to inquire the equipment state of an audio and video acquisition unit connected with the streaming media server, judges whether the communication state between the audio and video acquisition unit and the streaming media server correspondingly connected with the audio and video acquisition unit is normal or not according to the equipment state, and switches and connects the audio and video acquisition unit to another streaming media server if the communication state between the audio and video acquisition unit and the streaming media server correspondingly connected with the audio and video acquisition unit is abnormal. In fig. 1 or fig. 3, if a communication failure occurs in a communication state between the first audio/video acquisition unit 11 and the first streaming media server 21, the first audio/video acquisition unit 11 is switched and connected to the second streaming media server 22, because the communication connection between the audio/video acquisition unit and the streaming media server is established by using a local area network through a communication protocol, the audio/video acquisition unit with the communication failure can be switched to another streaming media server arbitrarily according to the communication protocol. The preset recording and playing conditions are the website to be connected, the communication protocol and the nameplate of the camera device or the audio device, as shown in fig. 4.
In this embodiment, the cloud service platform 3 broadcasts heartbeat information to the streaming media server connected to the cloud service platform, so that the streaming media server can quickly query whether the communication state of each device in the audio/video acquisition unit correspondingly connected to the streaming media server is normal, and the audio/video acquisition unit in abnormal communication is switched to another streaming media server, so that the cloud service platform 3 can be ensured to be always in a smooth state in the process of centrally recording the audio/video, the quality of the cloud recorded and broadcasted video is improved, and the interest of a video viewer is further enhanced.
And the recording and broadcasting server 4 is connected with the cloud service platform 3, and records or broadcasts the audio data and/or the video image data processed by each streaming media server according to the preset recording and broadcasting condition information, and stores and backups the audio data and/or the video image data. The recording and broadcasting server 4 is mainly responsible for recording management and live broadcast management of audio and video data, and records or broadcasts audio and video data according to preset recording and broadcasting conditions sent by the cloud service platform 3 after the audio and video data and/or video image data are processed by the streaming media server, and sends the recorded audio and video data to the outside through the local area network so that a viewer can watch on-site recording and broadcasting, and the recording and broadcasting server 4 can also store and backup the recorded audio and video data for subsequent watching and use.
The distributed recording and broadcasting system in the embodiment is mainly applied to school, can be applied to enterprises of course, records audio and video data in school to assist teaching, enables students to enjoy joy brought by intelligent education, enhances the learning enthusiasm of students, can carry out commercial propaganda in enterprises, is beneficial to consumers to know enterprise products through recording and broadcasting propaganda of audio and video data information, and further improves the economic benefit of enterprises.
As another alternative embodiment, the distributed recording and broadcasting system in this embodiment may further include a three-tone video acquisition unit and a three-stream media server, which are respectively distributed with the cloud service platform 3 and the recording and broadcasting server 4, and as another alternative embodiment, the distributed recording and broadcasting system in this embodiment may further include four audio and video acquisition units and four-stream media servers, which are respectively distributed with the cloud service platform 3 and the recording and broadcasting server 4. The specific working principle of the plurality of audio/video acquisition units and the plurality of streaming media servers is the same as that shown in fig. 3. The method comprises the steps of establishing association between a plurality of audio and video acquisition units and corresponding streaming media servers, then managing the streaming media servers by using the cloud service platform 3, and realizing communication detection on each audio and video acquisition unit, namely realizing recording and broadcasting fluency on different audio and video acquisition units, expanding the carrying capacity of video recording and broadcasting, and avoiding the defect that the traditional centralized recording and broadcasting system cannot timely perform communication detection on each device due to limited carrying capacity.
Example 2
The embodiment of the present invention provides a communication detection method for a distributed recording and broadcasting system, which is used for a cloud service platform in the distributed recording and broadcasting system in embodiment 1, and as shown in fig. 5, the method includes:
and S51, sending heartbeat information to each streaming media server so that each streaming media server can inquire the equipment states of at least two audio/video acquisition units correspondingly connected with the streaming media server. The heartbeat information is used for carrying out communication detection with each streaming media server, each streaming media server is awakened through the heartbeat information, and after the streaming media server is awakened, the streaming media server starts to inquire the equipment state of the audio and video acquisition unit correspondingly connected with the streaming media server. For example: the streaming media server is a classroom No. 1, and the classroom No. 1 is provided with two camera devices, two audio devices, an audio and video encoder and an audio and video power amplifier, wherein the devices are managed by the streaming media server, and a communication protocol is established between the devices and the streaming media server, so that the streaming media server can rapidly acquire the device state of each device through inquiry, and the device state comprises a working state and a communication state.
And S52, receiving the status data packet returned by each streaming media server. The heartbeat information can also be regarded as detection request information, when each streaming media server finishes detection, the data of the equipment state is packaged, the packaged state data packet is sent to each streaming media server, and each streaming media server receives the state data packet.
And S53, acquiring the communication states of at least two audio/video acquisition units correspondingly connected with each streaming media server according to the state data packet. For example: the state data packet comprises the connection state of each device in the audio and video acquisition unit and the streaming media server, and when the state of one device is not related to the streaming media server, the communication state is in an abnormal communication state, otherwise, the communication state belongs to a normal communication state. The communication state is displayed by an indicator light, for example, the indicator light displays red to indicate abnormal communication state, and the indicator light displays green to indicate normal communication state.
And S54, switching and connecting the audio/video acquisition unit with the communication fault to another streaming media server according to the communication state. The audio and video acquisition unit in the abnormal communication state is switched and connected to another streaming media server so that the communication connection is smooth, and the audio and video acquisition unit and the streaming media server are associated through a communication protocol, so that the communication switching can be carried out at any time.
The communication detection method of the distributed recording and broadcasting system in the embodiment can quickly detect the communication state of each device in each audio and video acquisition unit and timely switch and connect the audio and video acquisition unit with communication failure, thereby ensuring the fluency of audio and video recording and broadcasting.
Example 3
An embodiment of the present invention provides a recording and playing control method, which is used for a cloud service platform in a distributed recording and playing system in embodiment 1, and as shown in fig. 6, the method includes:
and S61, sending heartbeat information to each streaming media server so that each streaming media server can inquire the equipment state of the audio and video acquisition unit correspondingly connected with the streaming media server. The heartbeat information is used for carrying out communication detection with each streaming media server, each streaming media server is awakened through the heartbeat information department, and after the streaming media server is awakened, the streaming media server starts to inquire the equipment state of the audio and video acquisition unit correspondingly connected with the streaming media server. For example: the streaming media server is a No. 1 classroom, the No. 1 classroom is provided with two camera devices, two audio devices, an audio and video encoder and an audio and video power amplifier, the devices are managed by the streaming media server, and a communication protocol is established between the devices and the streaming media server, so that the streaming media server can quickly acquire the device state of each device through inquiry, and the device state comprises an operation state and a communication state.
And S62, receiving the status data packet returned by each streaming media server. The heartbeat information can also be regarded as detection request information, when each streaming media server finishes detection, the data of the equipment state is packaged, the packaged state data packet is sent to each streaming media server, and each streaming media server receives the state data packet.
And S63, acquiring the communication state and the working state of at least two audio/video acquisition units correspondingly connected with each streaming media server according to the equipment data packet. The working state here includes an operating state indicating that the device is currently in use and a standby state indicating that the device is currently in a standby state and ready to be used at any time.
And S64, sending preset recording and broadcasting condition information to the audio and video acquisition unit which is in normal communication and in a to-be-operated state according to the communication state and the working state. The distributed recording and broadcasting system comprises dozens of even hundreds of audio and video acquisition units, and in order to ensure that the idle audio and video acquisition units are fully used, preset recording and broadcasting condition information is sent to the audio and video acquisition units which are in normal communication and in a to-be-operated state, so that the audio and video acquisition units can acquire audio and video data according to the preset recording and broadcasting condition information, and balance distribution of resources is ensured.
And S65, controlling the audio and video acquisition unit to acquire audio data and/or video image data according to the preset recording and playing condition information. The audio and video acquisition unit controls the audio and video acquisition unit to acquire audio and video data according to the communication protocol, the website to be connected and the nameplate information sent by the cloud service platform.
After the step S65 of controlling the audio/video capture unit to capture audio data and/or video image data, the method further includes:
and S66, controlling the streaming media server correspondingly connected with the audio and video acquisition unit to perform data processing on the audio data and/or the video image data. The data processing mainly comprises the step of carrying out multi-path synthesis on the audio and video data acquired by the plurality of audio and video acquisition units so as to output high-definition video images.
And S67, controlling the recording and playing server to record or play and store the audio data and/or video image data processed by the backup streaming media server. And the recorded audio and video data can be externally sent through a local area network so that a viewer can watch the on-site recorded broadcast, and the recorded audio and video data can be stored and backed up by the recording and broadcasting server for subsequent watching and use.
According to the recorded broadcast control method in the embodiment, after communication detection is completed, the preset recorded broadcast conditions are sent to the audio and video acquisition units which are in normal communication and in the to-be-operated state, so that the unused audio and video acquisition units in the to-be-operated state are fully utilized, and the beneficial effect of balanced resource distribution can be achieved.
Example 4
An embodiment of the present invention provides a method for detecting an equipment state, where the method is used for a streaming media server in a distributed recording and playing system in embodiment 1, and as shown in fig. 7, the method includes:
and S71, receiving heartbeat information sent by the cloud service platform. The streaming media server waits to be awakened by heartbeat information sent by the cloud service platform, so that the heartbeat information sent by the cloud service platform needs to be received.
And S72, inquiring the device states of at least two audio/video acquisition units correspondingly connected with the heartbeat information according to the heartbeat information. The device state herein mainly includes an operating state and a communication state, and the operating state mainly includes a to-be-operated state and an operated state.
And S73, generating a state data packet according to the equipment state and sending the state data packet to the cloud service platform. And packaging the acquired equipment state to generate a state data packet, so that the state data packet can be conveniently sent to a remote cloud service platform.
According to the method for detecting the equipment state, the equipment state of the audio and video acquisition unit connected with the streaming media server can be inquired at any time according to the heartbeat information sent by the cloud service platform, so that whether each streaming media server is in a normal communication state or not and whether each streaming media server is fully utilized or not can be found in time.
Example 5
Embodiments of the present invention provide a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of embodiment 2 or 3 or 4. The storage medium is also stored with heartbeat information, status data packet information, communication status information, working status information, audio and video data information and the like.
The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard disk (Hard disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (9)

1. A distributed recording and broadcasting system, comprising:
the audio/video acquisition units are used for acquiring audio data and/or video image data;
each streaming media server is respectively connected with the at least two audio and video acquisition units corresponding to the streaming media server and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with the streaming media server and carrying out data processing on the audio data and/or the video image data;
the cloud service platform is respectively connected with each streaming media server and is used for inquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with each streaming media server by sending heartbeat information to each streaming media server, wherein the equipment states comprise a communication state and a working state, sending preset recording and playing condition information to the audio and video acquisition units in which the communication states are normal and the working states are in a to-be-operated state, and switching and connecting the audio and video acquisition units in which the communication states are failed to another streaming media server;
and the recording and broadcasting server is connected with the cloud service platform and records, broadcasts and stores the audio data and/or the video image data processed by each streaming media server according to the preset recording and broadcasting condition information.
2. The distributed recording and broadcasting system according to claim 1, wherein each of the audio/video acquisition units further comprises:
the camera shooting device is used for acquiring the video image data;
the audio equipment is used for acquiring the audio data;
the audio and video power amplifier is respectively connected with the camera equipment and the audio equipment and is used for amplifying the video image data and the audio data;
and the audio and video encoder is connected with the audio and video power amplifier and is used for synthesizing the video image data and the audio data.
3. The distributed recording and broadcasting system according to claim 2, wherein the preset recording and broadcasting condition information is a website to be connected, a communication protocol and a nameplate of the camera apparatus or the audio apparatus.
4. A communication detection method of a distributed recording and broadcasting system, which is used for a cloud service platform in the distributed recording and broadcasting system according to any one of claims 1 to 3, and comprises:
sending heartbeat information to each streaming media server so that each streaming media server inquires the equipment states of at least two audio and video acquisition units correspondingly connected with the streaming media server;
receiving a status data packet returned by each streaming media server;
acquiring the communication states of the at least two audio and video acquisition units correspondingly connected with each streaming media server according to the state data packet;
and switching and connecting the audio and video acquisition unit with the communication fault to another streaming media server according to the communication state.
5. The communication detection method according to claim 4, wherein the communication status is displayed by an indicator lamp.
6. A recording and broadcasting control method for the cloud service platform in the distributed recording and broadcasting system according to any one of claims 1 to 3, comprising:
sending heartbeat information to each streaming media server so that each streaming media server inquires the equipment states of at least two audio and video acquisition units correspondingly connected with the streaming media server;
receiving the device data packet returned by each streaming media server;
acquiring the equipment states of the at least two audio and video acquisition units correspondingly connected with each streaming media server according to the equipment data packet, wherein the equipment states comprise a working state and a communication state;
according to the equipment state, sending preset recording and broadcasting condition information to the audio and video acquisition unit in which the communication state is normal and the working state is in a to-be-operated state;
and controlling the audio and video acquisition unit to acquire audio data and/or video image data according to the preset recording and playing condition information.
7. The recorded broadcast control method of claim 6, wherein the step of controlling the audio/video acquisition unit to acquire audio data and/or video image data further comprises:
controlling a streaming media server correspondingly connected with the audio and video acquisition unit to perform data processing on audio data and/or video image data;
and controlling a recording and playing server to record or play and store the audio data and/or the video image data processed by the streaming media server.
8. A method for detecting device status, which is used for the streaming media server in the distributed recording and playing system according to any one of claims 1-3, and comprises:
receiving heartbeat information sent by the cloud service platform;
inquiring the equipment states of at least two audio and video acquisition units correspondingly connected with the heartbeat information according to the heartbeat information;
and generating a state data packet according to the equipment state and sending the state data packet to a cloud service platform.
9. A storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the communication detection method of any one of claims 4 to 5, or the steps of the recording control method of any one of claims 6 to 7, or the steps of the device status detection method of claim 8.
CN201811126069.3A 2018-09-26 2018-09-26 Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method Active CN109412886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811126069.3A CN109412886B (en) 2018-09-26 2018-09-26 Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811126069.3A CN109412886B (en) 2018-09-26 2018-09-26 Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method

Publications (2)

Publication Number Publication Date
CN109412886A CN109412886A (en) 2019-03-01
CN109412886B true CN109412886B (en) 2020-05-05

Family

ID=65466328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811126069.3A Active CN109412886B (en) 2018-09-26 2018-09-26 Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method

Country Status (1)

Country Link
CN (1) CN109412886B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489934A (en) * 2020-08-24 2021-10-08 青岛海信电子产业控股股份有限公司 Intelligent housekeeper server, system and screen remote interaction method
CN114121026A (en) * 2020-08-25 2022-03-01 华为技术有限公司 Recording method and device
CN113259700A (en) * 2021-05-17 2021-08-13 青岛海信移动通信技术股份有限公司 Management device, server, video storage method and system
CN113660510A (en) * 2021-08-19 2021-11-16 杭州时趣信息技术有限公司 Video processing cloud manufacturer configuration method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060068445A (en) * 2004-12-16 2006-06-21 삼성전자주식회사 Dynamic qos mapping apparatus and method using hybrid monitoring in digital home services
CN103177615A (en) * 2013-03-26 2013-06-26 北京新学道教育科技有限公司 Cloud-computing-technology-based recording and broadcasting system and method
CN104519310A (en) * 2013-09-29 2015-04-15 深圳锐取信息技术股份有限公司 Remote program director control system
CN105429791A (en) * 2015-11-03 2016-03-23 国网技术学院 Distributed service state detection device and method
CN106209921A (en) * 2016-09-26 2016-12-07 周世平 A kind of IP Camera and application process thereof
CN106781770A (en) * 2016-12-28 2017-05-31 航天海鹰光电信息技术(天津)有限公司 A kind of normalization interaction recording and broadcasting system
CN108347621A (en) * 2018-01-12 2018-07-31 中国农业大学 A kind of network direct broadcasting data processing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060068445A (en) * 2004-12-16 2006-06-21 삼성전자주식회사 Dynamic qos mapping apparatus and method using hybrid monitoring in digital home services
CN103177615A (en) * 2013-03-26 2013-06-26 北京新学道教育科技有限公司 Cloud-computing-technology-based recording and broadcasting system and method
CN104519310A (en) * 2013-09-29 2015-04-15 深圳锐取信息技术股份有限公司 Remote program director control system
CN105429791A (en) * 2015-11-03 2016-03-23 国网技术学院 Distributed service state detection device and method
CN106209921A (en) * 2016-09-26 2016-12-07 周世平 A kind of IP Camera and application process thereof
CN106781770A (en) * 2016-12-28 2017-05-31 航天海鹰光电信息技术(天津)有限公司 A kind of normalization interaction recording and broadcasting system
CN108347621A (en) * 2018-01-12 2018-07-31 中国农业大学 A kind of network direct broadcasting data processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云录播教室建设方案;北京文香信息科技有限公司;《百度文库》;20180327;全文 *

Also Published As

Publication number Publication date
CN109412886A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109412886B (en) Distributed recording and broadcasting system, communication detection method thereof and recording and broadcasting control method
CN203118262U (en) Operation teaching system adopted in hospitals
WO2016124101A1 (en) Information display method, apparatus and system
US9367617B2 (en) Surveillance system with direct database server storage
CN205336429U (en) Hospital's remote medical consultation with specialists and teaching system
CN111627271A (en) Synchronous classroom system and management platform thereof
CN104639905B (en) A kind of wireless video monitoring method thereof suitable in iOS system live broadcast of mobile terminal
CN104519397A (en) Audio and video screen-projection playing method, set-top box and terminal device
CN102209230A (en) Video conference system with main venue control module
CN103428556A (en) Method and system for multi-screen interaction
CN111277844A (en) Live broadcasting system and equipment for teaching
CN207115790U (en) A kind of English-Assisted Instruction system
CN103561106A (en) System and method for remote teaching and remote meeting
TW201333903A (en) Cloud-end broadcast interactive teaching system and its method
CN110933350A (en) Electronic cloud mirror recording and broadcasting system, method and device
CN102779539A (en) Universal transcoding system and universal transcoding method of video
US10721500B2 (en) Systems and methods for live multimedia information collection, presentation, and standardization
CN210466804U (en) Remote interactive education system
CN205486925U (en) Information -based video teaching system
CN207869152U (en) A kind of multimedia messages distributed interactive system
CN211479351U (en) Synchronous classroom system
CN212341910U (en) Education patrol management and control system based on multimedia and portrait recognition technology
KR101473970B1 (en) The remote tuning broadcasting device monitored in real time and broadcasting system
KR20150141113A (en) The remote tuning broadcasting device monitored in real time and broadcasting system of earthquake-proof
KR20150141112A (en) The remote tuning broadcasting device monitored in real time and broadcasting system of earthquake-proof

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

Effective date of registration: 20210126

Address after: 247100 building A1, science and Technology Incubation Park, Jiangnan industrial concentration zone, Chizhou City, Anhui Province

Patentee after: Anhui Kelang Electronic Technology Co.,Ltd.

Address before: 100176 11th floor, block B, AVIC Plaza, 15 ronghua South Road, economic and Technological Development Zone, Daxing District, Beijing

Patentee before: BEIJING WENXIANG INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right