CN111246169A - Video pushing method - Google Patents

Video pushing method Download PDF

Info

Publication number
CN111246169A
CN111246169A CN202010051727.8A CN202010051727A CN111246169A CN 111246169 A CN111246169 A CN 111246169A CN 202010051727 A CN202010051727 A CN 202010051727A CN 111246169 A CN111246169 A CN 111246169A
Authority
CN
China
Prior art keywords
video
message
stream
center platform
gateway
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
CN202010051727.8A
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.)
Beijing Taiji Lianrui Technology Development Co Ltd
Original Assignee
Beijing Taiji Lianrui Technology Development 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 Taiji Lianrui Technology Development Co Ltd filed Critical Beijing Taiji Lianrui Technology Development Co Ltd
Priority to CN202010051727.8A priority Critical patent/CN111246169A/en
Publication of CN111246169A publication Critical patent/CN111246169A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video pushing method which comprises a playing platform end, a message middleware end, a video plug-flow service end, a video center platform, a streaming media server and a video acquisition end.

Description

Video pushing method
Technical Field
The invention relates to the technical field of streaming media, in particular to a video pushing method.
Background
The streaming media refers to a media format played on the Internet in a streaming transmission mode, and is also called streaming media, which means that a merchant uses a video transmission server to send out programs as data packets, transmits the data packets to a network, and can acquire and process the data packets by each terminal for watching.
There are several general solutions available: 1. taking Haikang as an example, live broadcasting of a camera can be carried out through a platform customized by Haikang, and the defects are that the platform is high in cost, source codes are not provided, a hard disk video recorder is required to be arranged on a camera device, a public network address and a special line are required, and the cost is very high and is difficult to bear by common users; 2. the public video cloud service platform is novel, and the method is seen as the Haikang fluorite cloud at present, and has the defect that the delay is 5 to 10 seconds; and the above two methods can not realize self-control video stream; 3. separately integrating various households sdk, such as Haekang, Dahua sdk, pushing video streams to a streaming media server using FFmpeg; the method is commonly used by companies with research and development capabilities, and although live broadcast implementation schemes are different, the general ideas are consistent, and video streams are acquired and then pushed to a streaming media server for distribution; however, this method requires a company to have a strong capability of developing streaming media, and requires a bottom layer such as C language developer and an application layer implementing person, so that the development cost is high and is not favorable for expansion, and such integration may result in no general communication protocol and is not favorable for three-party expansion.
Disclosure of Invention
In order to solve the technical problems, the technical scheme provided by the invention is as follows: a video push method is characterized by comprising a playing platform end, a message middleware end, a video gateway, a video center platform, a streaming media server and a video acquisition end, wherein the specific contents comprise the following steps:
(1) collecting a monitoring video stream by using a video collecting end consisting of a plurality of monitoring cameras or a hard disk video recorder, and converting the video stream into an analog video signal;
(2) a video gateway is connected with a plurality of cameras or hard disk video recorders, receives analog video signals transmitted by the cameras or the hard disk video recorders, and converts the analog video signals into network video signals;
(3) the video center platform releases queue information to the information middleware end;
(4) the video gateway takes the queue message which accords with the rule from the message middleware end and carries out different processing according to the corresponding command in the message;
(5) the video gateway pulls the video stream from the video acquisition end and pushes the video stream to the streaming media server according to the received stream pushing command;
(6) and the video center platform generates url according to the rule of the streaming media server, so that the playing platform end plays the video.
As an improvement, the video gateway performs unified processing on the monitoring video stream acquired by the video acquisition end, and completes the plug-flow, screenshot and cloud control operation of the video stream.
As an improvement, the message middleware end is built by utilizing an open source project activemq and receives a standard json data format.
As an improvement, when the video center platform is under control, the queue message initiating the play request is issued and extracted according to a first-in first-out principle;
when cloud control is performed on a certain camera, the operation is executed in a sequential execution mode;
when the manual operation is performed, the token is transmitted to be used as a differentiation, and important operations are preferentially performed.
As an improvement, the streaming media server is a self-built streaming media server or an Ali cloud live broadcast server or a Tencent cloud live broadcast server.
As an improvement, the video center platforms can be multiple, and each video center platform corresponds to a message session containing queue messages.
As an improvement, a cache management end is arranged in the video center platform and used for storing the played video.
As an improvement, the video center platform and the video gateway acquire or send messages in the same message session.
After adopting the structure, the invention has the following advantages: the method is mainly used for video monitoring, the video stream of the camera of the remote hard disk video recorder is played on the central platform or the mobile terminal, and cloud control or screenshot can be performed by the central platform or the mobile terminal.
Drawings
Fig. 1 is a schematic diagram of a video push method according to the present invention.
Detailed Description
With reference to the accompanying drawings, a video push method comprises a playing platform end, a message middleware end, a video gateway, a video center platform, a streaming media server and a video acquisition end, and comprises the following specific contents:
(1) collecting a monitoring video stream by using a video collecting end consisting of a plurality of monitoring cameras or a hard disk video recorder, and converting the video stream into an analog video signal;
(2) a video gateway is connected with a plurality of cameras or hard disk video recorders, receives analog video signals transmitted by the cameras or the hard disk video recorders, and converts the analog video signals into network video signals;
(3) the video center platform releases queue information to the information middleware end;
(4) the video gateway takes the queue message which accords with the rule from the message middleware end and carries out different processing according to the corresponding command in the message;
(5) the video gateway pulls the video stream from the video acquisition end and pushes the video stream to the streaming media server according to the received stream pushing command;
(6) and the video center platform generates url according to the rule of the streaming media server, so that the playing platform end plays the video.
As a preferred embodiment of this embodiment, the video gateway performs unified processing on the monitoring video stream acquired by the video acquisition end, and completes stream pushing, screenshot, and cloud control operations of the video stream.
The video plug-flow service end integrates SDKs of manufacturers, ensures plug-flow performance during concurrency by using the technology of a thread pool, can ensure concurrency of 64 paths of flows under the condition of bandwidth allowance, has good processing in the aspect of equipment compatibility, SDK of each manufacturer has different protocols on camera control, and can be set by the video plug-flow service end so that external services are consistent protocols.
As a preferred embodiment of this embodiment, the message middleware end is built by using an open source project activemq, receives a standard json data format, and the video center platform and the video plug flow server end acquire or send a message in the same message session, and can determine which operation is performed to which end through a protocol.
As a preferred embodiment of this embodiment, the operation message queue has a certain service logic, and when the operation message queue is controlled by the video center platform, the queue message initiating the play request is published and extracted according to a first-in first-out principle;
when cloud control is performed on a certain camera, the operation is executed in a sequential execution mode;
when the manual operation is performed, the token is transmitted to be used as a differentiation, and important operations are preferentially performed.
As a preferred embodiment of this embodiment, the streaming media server is a self-built streaming media server or an airy cloud live server, a Tencent cloud live server, and other various cloud servers on the market. At present, cloud service is a common practice, and the service of a manufacturer with the lowest delay and the most appropriate price can be searched to be used as a substitute for a self-built streaming media server, so that the equipment maintenance cost is saved, and the problem risk of a streaming media server end is reduced.
As a preferred embodiment of this embodiment, there may be a plurality of video center platforms, and each video center platform corresponds to a message session containing queue messages.
As a preferred embodiment of this embodiment, a cache management end is disposed in the video center platform and is used for storing the played video, so that the same video does not start multiple video streams, the time for pushing streams and pulling streams is saved, and the video is directly obtained from the streaming media server, so that when a certain path of video has been played, the second-to-second opening of the video can be realized when another person watches the video again.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A video push method is characterized by comprising a playing platform end, a message middleware end, a video gateway, a video center platform, a streaming media server and a video acquisition end, wherein the specific contents comprise the following steps:
(1) collecting a monitoring video stream by using a video collecting end consisting of a plurality of monitoring cameras or a hard disk video recorder, and converting the video stream into an analog video signal;
(2) a video gateway is connected with a plurality of cameras or hard disk video recorders, receives analog video signals transmitted by the cameras or the hard disk video recorders, and converts the analog video signals into network video signals;
(3) the video center platform releases queue information to the information middleware end;
(4) the video gateway takes the queue message which accords with the rule from the message middleware end and carries out different processing according to the corresponding command in the message;
(5) the video gateway pulls the video stream from the video acquisition end and pushes the video stream to the streaming media server according to the received stream pushing command;
(6) and the video center platform generates url according to the rule of the streaming media server, so that the playing platform end plays the video.
2. The video pushing method according to claim 1, wherein the video gateway performs unified processing on the monitoring video stream collected by the video collection end, and completes the operations of pushing stream, screenshot and cloud control of the video stream.
3. The video pushing method according to claim 1, wherein the message middleware end is built by using an open source project activemq, and receives a standard json data format.
4. The video push method according to claim 1, wherein when under control of a video center platform, the queue message initiating the play request is published and extracted according to a first-in first-out principle;
when cloud control is performed on a certain camera, the operation is executed in a sequential execution mode;
when the manual operation is performed, the token is transmitted to be used as a differentiation, and important operations are preferentially performed.
5. The video pushing method according to claim 1, wherein the streaming server is a self-built streaming server or an airy cloud live server or a Tencent cloud live server.
6. The method of claim 1, wherein the number of the video center platforms is multiple, and each video center platform corresponds to a message session containing a queue message.
7. The video pushing method according to claim 1, wherein a cache management end is provided in the video center platform for storing the played video.
8. The video pushing method according to claim 6, wherein the video center platform and the video gateway obtain or send the message in the same message session.
CN202010051727.8A 2020-01-17 2020-01-17 Video pushing method Pending CN111246169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010051727.8A CN111246169A (en) 2020-01-17 2020-01-17 Video pushing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010051727.8A CN111246169A (en) 2020-01-17 2020-01-17 Video pushing method

Publications (1)

Publication Number Publication Date
CN111246169A true CN111246169A (en) 2020-06-05

Family

ID=70864222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010051727.8A Pending CN111246169A (en) 2020-01-17 2020-01-17 Video pushing method

Country Status (1)

Country Link
CN (1) CN111246169A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038169A (en) * 2021-05-24 2021-06-25 天津所托瑞安汽车科技有限公司 Video stream pushing method and system
CN113873200A (en) * 2021-09-26 2021-12-31 珠海研果科技有限公司 Image identification method and system
CN115002081A (en) * 2022-05-30 2022-09-02 重庆紫光华山智安科技有限公司 Media stream transmission method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616311A (en) * 2009-07-31 2009-12-30 杭州华三通信技术有限公司 A kind of video frequency monitoring method and video monitoring server
CN101668198A (en) * 2009-09-16 2010-03-10 深圳市同洲电子股份有限公司 Method for pushing video and data content to realize local ordering and system
US20120084214A1 (en) * 2010-10-05 2012-04-05 Accenture Global Services Limited Electronic Process-Driven Collaboration System
CN104639906A (en) * 2015-02-03 2015-05-20 广西智询信息科技有限公司 Monitoring video pushing method
CN108881202A (en) * 2018-06-08 2018-11-23 北京联合众为科技发展有限公司 A kind of video monitoring system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616311A (en) * 2009-07-31 2009-12-30 杭州华三通信技术有限公司 A kind of video frequency monitoring method and video monitoring server
CN101668198A (en) * 2009-09-16 2010-03-10 深圳市同洲电子股份有限公司 Method for pushing video and data content to realize local ordering and system
US20120084214A1 (en) * 2010-10-05 2012-04-05 Accenture Global Services Limited Electronic Process-Driven Collaboration System
CN104639906A (en) * 2015-02-03 2015-05-20 广西智询信息科技有限公司 Monitoring video pushing method
CN108881202A (en) * 2018-06-08 2018-11-23 北京联合众为科技发展有限公司 A kind of video monitoring system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038169A (en) * 2021-05-24 2021-06-25 天津所托瑞安汽车科技有限公司 Video stream pushing method and system
CN113873200A (en) * 2021-09-26 2021-12-31 珠海研果科技有限公司 Image identification method and system
CN113873200B (en) * 2021-09-26 2024-02-02 珠海研果科技有限公司 Image identification method and system
CN115002081A (en) * 2022-05-30 2022-09-02 重庆紫光华山智安科技有限公司 Media stream transmission method and related device
CN115002081B (en) * 2022-05-30 2023-12-26 重庆紫光华山智安科技有限公司 Media stream transmission method and related device

Similar Documents

Publication Publication Date Title
CN111246169A (en) Video pushing method
CN102263959B (en) Direct broadcast transfer method and system
CN108881202A (en) A kind of video monitoring system and method
CN111225222A (en) Video stream playing method, device and system based on screen data of RTMP (real time Messaging protocol)
CN112752115B (en) Live broadcast data transmission method, device, equipment and medium
CN102170582B (en) Quality of service (QoS)-based audio and video quality of experience evaluation platform and evaluation method
CN110740386B (en) Live broadcast switching method and device and storage medium
CN109299013A (en) A kind of automatic test approach and device
CN111182322B (en) Director control method and device, electronic equipment and storage medium
CN112616065B (en) Screen image initiating method, device and system and readable storage medium
US20140059121A1 (en) Program Switching Method, Apparatus, and Media Server
CN113973214A (en) Video stream format conversion method, device and storage medium
CN113676750A (en) Stream media server cluster management system
CN110113558B (en) Data processing method, device, system and computer readable storage medium
CN102368721A (en) Performance testing system and method for MS (Media Server) clustered system
CN114679604A (en) Resource processing method and device
CN113542906A (en) RTSP video-based webpage plug-in-free playing method
CN111447407B (en) Method and device for transmitting monitoring resources
KR20120086311A (en) Test managing device and method for testing interactivity aspects for compliance with the brazilian digital tv standard
CN111629277A (en) Video data transmission method, device and computer readable storage medium
CN103297666B (en) The method, apparatus and system of video monitoring are realized based on universal plug and play
CN115209106A (en) Full-video IP video signal scheduling and directing system based on NDI and use method thereof
CN114598428A (en) Redundancy flow pushing method based on SRT protocol
CN101193105A (en) A media stream transmission/switching method
CN107920187B (en) Data exchange method and equipment for media-integrated studio

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

Application publication date: 20200605

RJ01 Rejection of invention patent application after publication