CN112929607A - System and method for realizing Web interoperability of multi-source video stream - Google Patents

System and method for realizing Web interoperability of multi-source video stream Download PDF

Info

Publication number
CN112929607A
CN112929607A CN202110129421.4A CN202110129421A CN112929607A CN 112929607 A CN112929607 A CN 112929607A CN 202110129421 A CN202110129421 A CN 202110129421A CN 112929607 A CN112929607 A CN 112929607A
Authority
CN
China
Prior art keywords
video stream
target video
video
interoperability
different types
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110129421.4A
Other languages
Chinese (zh)
Inventor
姬中波
付军辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sany Heavy Industry Co Ltd
Original Assignee
Sany Heavy Industry 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 Sany Heavy Industry Co Ltd filed Critical Sany Heavy Industry Co Ltd
Priority to CN202110129421.4A priority Critical patent/CN112929607A/en
Publication of CN112929607A publication Critical patent/CN112929607A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a system and a method for realizing Web interoperability of a multi-source video stream, wherein the system comprises the following components: the system comprises an adaptation layer, a conversion layer and a client, wherein the adaptation layer is used for acquiring different types of video streams from different types of video equipment and storing basic description information of the different types of video streams into a metadata base; the conversion layer is used for receiving a target video equipment viewing instruction in a standard HTTP message format, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format; the client is used for displaying the converted target video stream. The invention can access real-time video stream or video data of different manufacturer equipment, provides an access interface of an HTTP protocol, and outputs video stream data in FLV and HLS formats which can be directly accessed and played on a client page.

Description

System and method for realizing Web interoperability of multi-source video stream
Technical Field
The invention relates to the technical field of computers, in particular to a system and a method for realizing Web interoperability of multi-source video streams.
Background
With the development of economic society, security monitoring cameras have increasingly and generally realized the comprehensive coverage to places such as cities, parks, key places and the like. Managing numerous video sensor data is a challenging task that must be fully performed as a modern security system to create a safer production and living environment for the public and individuals. The video sensing equipment is used for acquiring time-based continuous image data, so that states and changes of human beings and objects can be recognized, and managers can be helped to properly deal with the situations such as public security cases, safety events, natural disasters and traffic jams, and personal and property safety of citizens is protected.
However, in a multi-supplier environment, real-time Video streams and videos with different transmission protocols, different encoding modes and different packaging formats need to use different data access and play schemes, in order to solve the problem, an Open Network Video Interface Forum (ONVIF) standard, a Physical Security Interoperability Alliance (PSIA) standard, a Security Video surveillance networking system (GB/T28181) standard, and the like are successively released by standardization organizations in the international and domestic industries, although the communication ability between the equipments from different manufacturers is improved and the interoperation environment is primarily formed through the common interfaces, the system modules can communicate with each other, however, at the World Wide Web (Web for short) interoperability application level of the end user, the following disadvantages still exist:
although a matched software platform for accessing and visiting the multi-source video stream is developed in the security industry, a public interoperation protocol is not provided, and a plurality of barriers and limitations still exist on multi-source video stream shared visit among different platform systems.
Disclosure of Invention
The invention provides a system and a method for realizing Web interoperability of a multi-source video stream, which are used for solving the defect that the access of heterogeneous multi-source video streams is not changed in the prior art and realizing the sharing of the heterogeneous multi-source video streams among different equipment and different platforms.
The invention provides a system for realizing Web interoperability of a multi-source video stream, which comprises the following components: adaptation layer, translation layer and client, wherein:
the adaptation layer is used for acquiring different types of video streams from different types of video equipment and storing basic description information of the different types of video streams into a metadata base;
the conversion layer is used for receiving a target video equipment viewing instruction in a standard HTTP message format, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and the client is used for displaying the converted target video stream.
The system for realizing the Web interoperability of the multi-source video stream further comprises a proxy layer, wherein the proxy layer is used for receiving a viewing request of the client to the target video equipment, converting the viewing request into a target video equipment viewing instruction in the standard HTTP message format and sending the target video equipment viewing instruction in the standard HTTP message format to the conversion layer.
According to the system for realizing Web interoperability of the multiple source video streams, provided by the invention, the adaptation layer is used for acquiring different types of video streams from different types of video equipment and storing basic description information of the acquired video streams into a metadata base, and the system comprises the following steps:
acquiring different types of video streams from different types of video equipment through a check _ source function;
and storing the acquired basic description information of the video stream into a metadata base through a write _ db function.
According to the system for realizing the Web interoperability of the multi-source video stream, the translation layer is realized on the basis of the ffmpeg library.
According to the system for realizing the Web interoperability of the multi-source video stream, the proxy layer is realized on the basis of the libevent library and the libevhtp library.
According to the system for realizing the Web interoperability of the multi-source video stream, which is provided by the invention, the metadata base is a MySQL database.
According to the system for realizing the Web interoperability of the multi-source video stream, provided by the invention, the basic description information comprises a device serial number, a device type, a device position, a protocol type, a protocol port, a channel number, a media attribute and authentication information.
The invention also provides a method for realizing the Web interoperability of the multi-source video stream, which comprises the following steps:
acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
receiving a target video equipment viewing instruction in a standard HTTP message format through a conversion layer, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and displaying the converted target video stream through the client.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to realize the steps of the method for realizing the Web interoperability of the multi-source video stream.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for achieving Web interoperability of multiple source video streams as described in any one of the above.
The system and the method for realizing the Web interoperability of the multi-source video stream comprise an adaptation layer, a conversion layer, a metadata base and the like, run on a universal Linux server, can be accessed to real-time video streams or video data of different manufacturer equipment, provide an access interface of an HTTP protocol, and output video stream data in FLV and HLS formats which can be directly accessed and played on a client page.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be 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 it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is one of the structural diagrams of a system for Web interoperability of multiple source video streams provided by the present invention;
fig. 2 is a second schematic structural diagram of a system for implementing Web interoperability of multiple source video streams according to the present invention;
fig. 3 is a flowchart of a method for implementing Web interoperability of multiple source video streams according to the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious 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.
The embodiment of the present invention provides a system for Web interoperability of multiple source video streams, as shown in fig. 1, the system includes an adaptation layer 110, a translation layer 120, and a client 130, where:
specifically, in the embodiment of the present invention, one end of the adaptation layer is connected to the source-side video device, the other end of the adaptation layer is connected to the metadata database, the first end of the translation layer is connected to the source-side video device, the second end of the translation layer is connected to the metadata database, and the third end of the translation layer is connected to the client.
In the embodiment of the present invention, the adaptation layer is connected to the source end video device, the source end video device refers to video devices of different manufacturers and of the same type or different types, the video devices include, but are not limited to, cameras, video storage devices, cameras, mobile phones, and other devices capable of capturing or storing video, and the protocols followed by videos captured by monitoring cameras of different manufacturers are different, so that formats adopted by different video streams may also be different.
In many published standard versions, due to lack of enforcement effectiveness, the standards protocols of different vendors are executed to different degrees on different equipment products and in different use scenarios, and complete intercommunication and interoperation are not achieved in the equipment layers.
The adaptation layer 110 is configured to obtain different types of video streams from different types of video devices, and store basic description information of the different types of video streams in a metadata base;
specifically, in the embodiment of the present invention, the metadata base content is stored in the MySQL database management system, and other relational database systems may be used instead to implement the same function.
Due to the fact that access protocols of video monitoring equipment and storage equipment of different manufacturers are different, the adaptation layer mainly obtains video streams of various types of video equipment and storage equipment through different protocols, extracts basic description information of different types of video streams and stores the basic description information into the metadata base.
In the embodiment of the present invention, the basic description information is used to indicate vendor information, device information, and protocol information of the video stream, and may be specifically determined according to actual needs.
Specifically, in the embodiment of the present invention, the basic description information includes one or more of a device serial number, a device type, a device location, a protocol type, a protocol port, a channel number, a media attribute, and authentication information.
The embodiment of the invention realizes the analysis and the convergence of the heterogeneous multi-source video stream information through the adaptation layer and the metadata base.
The conversion layer 120 is configured to receive a target video device viewing instruction in a standard HTTP message format, obtain basic description information of a target video stream based on the metadata base, obtain the target video stream from the target video device, and convert the target video stream into a preset standard format;
specifically, in the embodiment of the present invention, the translation layer uses the ffmpeg library to complete the pulling, converting, and pushing of the source video stream, and may also use other streaming media conversion tools instead of the source video stream to implement the same function, but needs to have the capability of processing the abnormal details of the video conversion.
The conversion layer receives a target video device viewing instruction in a standard HTTP message format, the viewing instruction requesting viewing of video stream data captured or stored by the target video device, the target video device being one of the source video devices.
And the conversion layer finds the target video equipment from the source end video equipment according to the target video equipment viewing instruction in the standard HTTP message format, acquires the real-time video stream acquired by the target video equipment, and converts the real-time video stream into the video stream in the standard format which can be accessed and played on the client.
The target video device viewing instruction in the standard HTTP message format may be directly and manually input by a user, or may be obtained from other external devices, and the embodiment of the present invention is not specifically limited herein.
In the embodiment of the present invention, the standard format includes an FLV format, an M3U8 format, and the like.
The client 130 is configured to display the converted target video stream.
The client displays or plays the target video stream in the standard format, in the embodiment of the present invention, the client may be a Web page or other application terminal software, and the embodiment of the present invention is not specifically limited herein.
The system for realizing the Web interoperability of the multi-source video stream comprises an adaptation layer, a conversion layer, a metadata database and the like, is operated on a universal Linux server, can be accessed to real-time video streams or video data of different manufacturer equipment, provides an access interface of an HTTP protocol, and outputs video stream data in FLV and HLS formats which can be directly accessed and played on a client page.
As shown in fig. 2, on the basis of the foregoing embodiment, it is preferable that the video server further includes a proxy layer 105, and the proxy layer is configured to receive a viewing request of the client to the target video device, convert the viewing request into a target video device viewing instruction in the standard HTTP message format, and send the target video device viewing instruction in the standard HTTP message format to the conversion layer.
Specifically, the proxy layer provides asynchronous HTTP proxy services using libervent, libevhtp libraries, and other asynchronous HTTP servers may be used instead to implement the same functions.
Specifically, one end of the proxy layer is connected with the client, and the other end of the proxy layer is connected with the fourth end of the conversion layer.
The method comprises the steps that a user generates a viewing request for target video equipment at a client, an asynchronous HTTP proxy service and an access API are provided by a proxy layer, the viewing request from the client for the target video equipment is processed and converted into a target equipment viewing instruction in a standard HTTP message format, the proxy layer sends the target equipment viewing instruction in the standard HTTP message format to a conversion layer, so that the conversion layer finds the target video equipment from source-end video equipment according to the target equipment viewing instruction in the standard HTTP message format, collects and converts an implementation video stream into a standard video format to be displayed on the client.
The client accesses the multi-source video stream by initiating a standard HTTP request and dynamically scheduling and converting a process by proxy service, so that a heterogeneous private stream protocol format is converted into a public stream format with Web interoperability.
The Web client does not need to install additional plug-ins, and the system provided by the embodiment of the invention can realize the access and the playing of the multi-source video stream.
On the basis of the foregoing embodiment, preferably, the adaptation layer is configured to acquire different types of video streams from different types of video devices, and store basic description information of the acquired video streams in a metadata base, and includes:
acquiring different types of video streams from different types of video equipment through a check _ source function;
and storing the acquired basic description information of the video stream into a metadata base through a write _ db function.
In the embodiment of the invention, the proposed adaptation layer, the conversion layer and the proxy layer are all realized by C language, and the specific steps for establishing the adaptation layer are as follows:
the adaptation layer mainly requests and analyzes a specified video equipment access protocol to obtain a method for fetching the stream from the source end, and stores the information into a metadata base, thereby completing the adaptation processing of different source video streams.
The adaptation layer includes two main functions:
check _ source: and performing access detection on an input video stream source end to acquire information such as a video stream taking mode and the like.
write _ db: and writing information such as a source video streaming mode and the like into a metadata base.
On the basis of the above embodiments, preferably, the translation layer is implemented based on an ffmpeg library.
Specifically, in a single process, the iterative processing of pulling, converting and pushing of the multi-source video stream is realized based on the ffmpeg library.
(1) Pulling the video stream: and pulling the source video stream by analyzing and requesting the RTSP protocol information of different video stream sources acquired by the adaptation layer. In order to avoid the influence of network packet loss, parameters such as forced TCP transmission, 3-second timeout, 1-second delay and the like are adopted when the video stream is pulled. And obtaining the format information of the stream after pulling the video stream.
(2) Converting the video stream: reading and converting video stream frame data frame by frame, and writing the video stream frame data into a target format wrapper to complete the conversion of the video stream format. In this step, it is necessary to handle the time stamp abnormality such as no time stamp, non-monotonic increase in DTS, and larger DTS than PTS in the source video stream, and for this situation, the embodiment of the present invention adopts a policy of directly discarding the extremely abnormal frames after uniformly performing time stamp conversion.
(3) Pushing a video stream: and according to the stream format required by the client transmitted by the proxy layer, after the conversion processing of the video stream frame is completed, the video stream is pushed to the nginx proxy server for distribution through stream media protocols such as RTMP, HLS and the like.
On the basis of the above embodiments, preferably, the proxy layer is implemented based on a libervent library and a libevht library.
Specifically, an asynchronous HTTP service is constructed based on libervent and libevhtp libraries, and a series of HTTPPOST methods are provided, wherein the method comprises video stream registration, real-time video stream pulling, session state obtaining, video stream state obtaining, session closing, video stream closing and other APIs.
(1) First, the configuration information is loaded through the load _ config function, and the configuration information includes parameters such as a port of the monitoring agent service, a polling period, and an upper limit of video stream access.
(2) Then, setting request routes of different methods of the proxy service, binding a callback function, setting parameters such as the size of a request message packet, multithreading, keep-alive and the like, starting the proxy service at a specified monitoring port, and monitoring a request initiated by a client.
(3) And respectively finishing logic realization of APIs (application programming interfaces) such as video stream registration, real-time video stream pulling, session state acquisition, video stream state acquisition, session closing, video stream closing and the like in the request callback function.
Wherein: video stream registration needs to call an adaptation layer for specific execution; the video stream is pulled and needs to call a conversion layer to realize specifically; the proxy service creates a unique session identification (SessionID) for each client connection that requests success, the system calls the posix _ spawn function to start the video stream conversion sub-process and associates the SessionID with the corresponding conversion sub-process ID, and the proxy layer is responsible for maintaining these session state information.
(4) In order to ensure the safety of the video stream information, the proxy layer performs authentication and data access authority check on the request of the client. Only requests that pass the authentication check can successfully establish a session connection and access the video stream.
On the basis of the above embodiment, preferably, the metadata database is a MySQL database.
The relational database MySQL is used for storing different basic description information of the video stream, including a device serial number, a device type, a device position, a protocol type, a protocol port, a channel number, a media attribute, authentication information and the like, and is a basis for the conversion layer to access the multi-source video stream.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention disclosed in the present patent application should be covered within the scope of the present invention.
To sum up, the system for implementing the multi-source video stream Web interoperability provided by the embodiment of the present invention is simple in implementation and configuration, and can monitor and process a video stream request from a Web client only by accessing a multi-source heterogeneous video stream into the system, configuring and starting an agent layer service, and opening a corresponding port of a server, and has the following advantages:
(1) universality: the method is compatible with access of monitoring video acquisition and storage equipment of the main stream, and finally, standard FLV, M3U8 and other formats are output through RTMP and HLS protocols, so that access and playing of heterogeneous multi-source video streams at a Web end are greatly facilitated.
(2) Stability: MySQL, libervent, libevhttp, ffmpeg and the like which are depended by the method and the system are all application modules with high maturity and good stability; by adopting a modular design, the proxy service is loosely coupled with the task process, and the normal operation of the whole system is not influenced by the abnormality of a single task process; high concurrency processing is supported under the condition that the network bandwidth of the server allows.
(3) And (3) expandability: the adaptation layer can be expanded to allow access of more new device models; the system can be deployed by a single server and can also be conveniently distributed as required.
An embodiment of the present invention provides a method for implementing Web interoperability of multiple source video streams, as shown in fig. 3, where the method includes:
310, acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
320, receiving a target video device viewing instruction in a standard HTTP message format through a conversion layer, obtaining basic description information of a target video stream based on the metadata base, obtaining the target video stream from the target video device, and converting the target video stream into a preset standard format;
and 330, displaying the converted target video stream through the client.
This embodiment is a method embodiment corresponding to the system embodiment, and is consistent with the system embodiment, and please refer to the system embodiment for details, which is not described herein again.
An embodiment of the present invention provides an electronic device, as shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 can invoke logic instructions in the memory 430 to perform a method of implementing Web interoperability for multiple source video streams, the method comprising:
acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
receiving a target video equipment viewing instruction in a standard HTTP message format through a conversion layer, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and displaying the converted target video stream through the client.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing a method for implementing Web interoperability of multiple source video streams provided by the above methods, the method including:
acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
receiving a target video equipment viewing instruction in a standard HTTP message format through a conversion layer, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and displaying the converted target video stream through the client.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method for implementing Web interoperability of multiple source video streams provided above, the method comprising:
acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
receiving a target video equipment viewing instruction in a standard HTTP message format through a conversion layer, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and displaying the converted target video stream through the client.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A system for implementing Web interoperability of multiple source video streams, comprising: adaptation layer, translation layer and client, wherein:
the adaptation layer is used for acquiring different types of video streams from different types of video equipment and storing basic description information of the different types of video streams into a metadata base;
the conversion layer is used for receiving a target video equipment viewing instruction in a standard HTTP message format, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and the client is used for displaying the converted target video stream.
2. The system for implementing Web interoperability for multiple source video streams of claim 1, further comprising a proxy layer configured to receive a view request from the client to the target video device, convert the view request to a target video device view instruction in the standard HTTP message format, and send the target video device view instruction in the standard HTTP message format to the translation layer.
3. The system for implementing Web interoperability of multiple source video streams according to claim 1 or 2, wherein the adaptation layer is configured to obtain different types of video streams from different types of video devices and store the basic description information of the obtained video streams in a metadata base, and includes:
acquiring different types of video streams from different types of video equipment through a check _ source function;
and storing the acquired basic description information of the video stream into a metadata base through a write _ db function.
4. The system for implementing the Web interoperability for the multiple source video streams according to claim 1 or 2, wherein the translation layer is implemented based on an ffmpeg library.
5. The system for implementing Web interoperability of multiple source video streams according to claim 2, wherein the proxy layer is implemented based on libervent library and libevhtp library.
6. The system for realizing multi-source video stream Web interoperability according to claim 1 or 2, wherein the metadata database is a MySQL database.
7. The system for implementing Web interoperability of the multi-source video stream according to claim 1 or 2, wherein the base description information includes a device serial number, a device type, a device location, a protocol type, a protocol port, a channel number, a media attribute, and authentication information.
8. A method for realizing Web interoperability of a multi-source video stream is characterized by comprising the following steps:
acquiring different types of video streams from different types of video equipment through an adaptation layer, and storing basic description information of the different types of video streams into a metadata base;
receiving a target video equipment viewing instruction in a standard HTTP message format through a conversion layer, acquiring basic description information of a target video stream based on the metadata base, acquiring the target video stream from the target video equipment, and converting the target video stream into a preset standard format;
and displaying the converted target video stream through the client.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for Web interoperability of multiple source video streams as claimed in claim 8.
10. A non-transitory computer readable storage medium having stored thereon a computer program for implementing the steps of the method for Web interoperability of multiple source video streams according to claim 8 when the computer program is executed by a processor.
CN202110129421.4A 2021-01-29 2021-01-29 System and method for realizing Web interoperability of multi-source video stream Pending CN112929607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110129421.4A CN112929607A (en) 2021-01-29 2021-01-29 System and method for realizing Web interoperability of multi-source video stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110129421.4A CN112929607A (en) 2021-01-29 2021-01-29 System and method for realizing Web interoperability of multi-source video stream

Publications (1)

Publication Number Publication Date
CN112929607A true CN112929607A (en) 2021-06-08

Family

ID=76168815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110129421.4A Pending CN112929607A (en) 2021-01-29 2021-01-29 System and method for realizing Web interoperability of multi-source video stream

Country Status (1)

Country Link
CN (1) CN112929607A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573150A (en) * 2021-07-02 2021-10-29 交控科技股份有限公司 Video stream processing method and device, electronic equipment and storage medium
CN114173200A (en) * 2021-12-06 2022-03-11 南京辰和软件有限公司 Video management pushing method and device based on private radio and television network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581699A (en) * 2013-11-04 2014-02-12 广州华工信元通信技术有限公司 Video playing method, streaming media server and streaming media playing system
CN104735407A (en) * 2015-04-02 2015-06-24 广西智询信息科技有限公司 Method for carrying out live playing of monitoring video on mobile terminal
CN106791931A (en) * 2017-01-05 2017-05-31 上海浦东软件园汇智软件发展有限公司 A kind of method and apparatus of data flow transcoding
CN108092995A (en) * 2018-01-12 2018-05-29 珠海市杰理科技股份有限公司 Streaming medium data processing method, device, computer equipment and storage medium
US20200128059A1 (en) * 2017-11-17 2020-04-23 Embrionix Design Inc. Standardized hot-pluggable transceiving unit providing a cloud gateway functionality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581699A (en) * 2013-11-04 2014-02-12 广州华工信元通信技术有限公司 Video playing method, streaming media server and streaming media playing system
CN104735407A (en) * 2015-04-02 2015-06-24 广西智询信息科技有限公司 Method for carrying out live playing of monitoring video on mobile terminal
CN106791931A (en) * 2017-01-05 2017-05-31 上海浦东软件园汇智软件发展有限公司 A kind of method and apparatus of data flow transcoding
US20200128059A1 (en) * 2017-11-17 2020-04-23 Embrionix Design Inc. Standardized hot-pluggable transceiving unit providing a cloud gateway functionality
CN108092995A (en) * 2018-01-12 2018-05-29 珠海市杰理科技股份有限公司 Streaming medium data processing method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573150A (en) * 2021-07-02 2021-10-29 交控科技股份有限公司 Video stream processing method and device, electronic equipment and storage medium
CN114173200A (en) * 2021-12-06 2022-03-11 南京辰和软件有限公司 Video management pushing method and device based on private radio and television network
CN114173200B (en) * 2021-12-06 2022-08-26 江苏省广电有线信息网络股份有限公司镇江分公司 Video management pushing method and device based on private radio and television network

Similar Documents

Publication Publication Date Title
ES2659346T3 (en) Video Intermediary Server for Video Surveillance
US9762665B2 (en) Information processing and content transmission for multi-display
CN106411915B (en) Embedded equipment for multimedia capture
US7904580B2 (en) Digital media player exposing operational state data
US10609426B2 (en) Method and system for playing back recorded video
CN112929607A (en) System and method for realizing Web interoperability of multi-source video stream
KR101794005B1 (en) Error detection system for network camera
EP3217671A1 (en) Secure real-time healthcare information streaming
KR20140118014A (en) Method for authenticating client
CN112799891B (en) iOS device testing method, device, system, storage medium and computer device
CN107770564B (en) Method and device for remotely acquiring audio and video data
CN114071242A (en) Video playing method, video pushing device and electronic equipment
CN108881817A (en) A kind of methods, devices and systems that data are synchronous
CN112583898A (en) Business process arranging method and device and readable medium
US20160094603A1 (en) Audio and video sharing method and system
CN114173087A (en) Video data acquisition and processing method, edge gateway and storage medium
CN114900662A (en) Method, system, device and medium for determining video stream transmission quality information
CN111782876A (en) Data processing method, device and system and storage medium
US20190007656A1 (en) Sending network camera video streams to active screens
CN115802007A (en) Monitoring system control method and device based on RTSP (real time streaming protocol) and readable storage medium
WO2015180293A1 (en) Cloud desktop monitoring method and apparatus
CN112672091B (en) Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment
WO2016177257A1 (en) Data sharing method and device
CN107396071B (en) A kind of video monitoring method and system
CN116708389B (en) Multi-terminal monitoring method, terminal equipment and readable storage medium for online examination

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210608