[go: up one dir, main page]

CN107360399B - Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology - Google Patents

Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology Download PDF

Info

Publication number
CN107360399B
CN107360399B CN201710576231.0A CN201710576231A CN107360399B CN 107360399 B CN107360399 B CN 107360399B CN 201710576231 A CN201710576231 A CN 201710576231A CN 107360399 B CN107360399 B CN 107360399B
Authority
CN
China
Prior art keywords
video surveillance
service
video
video monitoring
proxy server
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
CN201710576231.0A
Other languages
Chinese (zh)
Other versions
CN107360399A (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.)
Dxy Technology Co Ltd
Guilin University of Electronic Technology
Original Assignee
Dxy Technology Co Ltd
Guilin University of Electronic Technology
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 Dxy Technology Co Ltd, Guilin University of Electronic Technology filed Critical Dxy Technology Co Ltd
Priority to CN201710576231.0A priority Critical patent/CN107360399B/en
Publication of CN107360399A publication Critical patent/CN107360399A/en
Application granted granted Critical
Publication of CN107360399B publication Critical patent/CN107360399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

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

Abstract

本发明公开了一种基于P2P技术的海量移动云视频监控服务发布及订阅方法,涉及远程网络视频监控技术领域,解决的技术问题是如何实现海量视频数据的存储转发及海量视频监控服务的高效管理,该方法包括以下步骤:(1)IP Camera视频监控服务发布端发布视频监控服务;(2)云架构流媒体服务平台转发并存储视频数据;(3)视频监控服务订阅端订阅视频监控服务;(4)事件代理服务器管理视频监控服务。采用本发明的技术方案实现了海量视频数据的存储转发和海量移动云视频监控服务的高效管理。

Figure 201710576231

The invention discloses a method for publishing and subscribing massive mobile cloud video surveillance services based on P2P technology, which relates to the technical field of remote network video surveillance, and solves the technical problem of how to realize the storage and forwarding of massive video data and the efficient management of massive video surveillance services. The method includes the following steps: (1) the publishing end of the IP Camera video surveillance service publishes the video surveillance service; (2) the cloud architecture streaming media service platform forwards and stores the video data; (3) the subscriber end of the video surveillance service subscribes to the video surveillance service; (4) The event proxy server manages the video surveillance service. The storage and forwarding of massive video data and the efficient management of massive mobile cloud video monitoring services are realized by adopting the technical scheme of the present invention.

Figure 201710576231

Description

Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology
Technical Field
The invention relates to the technical field of remote network video monitoring, in particular to a method for publishing and subscribing massive mobile cloud video monitoring services based on a P2P technology.
Background
The internet has achieved tremendous growth both in scale and in technology, and accordingly, the growth of video surveillance has produced a qualitative leap. With the continuous increase of internet bandwidth and the massive deployment of IP cameras, remote network video monitoring with a streaming media server as a core appears. With the large-scale deployment of the remote network video monitoring system, the realization of the storage and the forwarding of mass video data, the efficient management of mass video monitoring services and the flexible access at any time and any place have very important significance.
A huge remote network video monitoring system is often built in batches and across areas, an existing video monitoring system can only manage a part of IP cameras, the IP cameras deployed in different batches and areas are often self-organized, and unified planning and coordination are difficult to perform. For video monitoring services provided by massive IP cameras, the traditional streaming media server is difficult to efficiently manage, and users cannot flexibly access the video monitoring services. This problem is not significant when there are only a small number of IP cameras. However, as the number of IP Camera deployments and the number of user accesses increase, the problems of inflexibility and lack of active subscription capability become increasingly prominent. Meanwhile, for video data generated by a mass video monitoring service, the traditional remote network video monitoring system is difficult to process.
Disclosure of Invention
Aiming at the defects of the prior art, the invention solves the technical problem of how to realize the storage and the forwarding of mass video data and the efficient management of mass video monitoring service.
In order to solve the technical problems, the technical scheme provided by the invention is a method for publishing and subscribing massive mobile cloud video monitoring services based on a P2P technology, which comprises the following steps:
(1) the IP Camera video monitoring service publishing terminal publishes a video monitoring service, the operation process comprises the steps that the IP Camera collects real-time videos and sends real-time video data to a cloud architecture streaming media service platform to generate advertisements of the video monitoring service, indexes of the advertisements are generated through a shared resource distributed index algorithm, and indexes of the advertisements of the video monitoring service are published to an event proxy server;
preferably, the operational procedure is as follows:
1) and the IP Camera video monitoring service issuing end logs in the cloud architecture streaming media service platform to obtain a Token returned by the streaming media service platform, and the Token is used for verifying the video data uploading authority.
2) And the IP Camera video monitoring service publisher joins the peer-to-peer group created by the event proxy server.
3) The IP Camera video monitoring service issuing end collects original real-time video, and carries out H.264 coding compression on the collected original video data, so that the volume of the video data is reduced to reduce the network bandwidth occupation.
4) The IP Camera video monitoring service issuing end carries out uploading authority verification through the Token obtained by the process 1), and after the verification is passed, the video data after the coding compression is uploaded to the cloud architecture streaming media service platform.
5) The IP Camera video monitoring service issuing end generates a video monitoring service advertisement (XML document) according to the monitoring position, resolution, frame rate, code stream of the video monitoring service, RTSP address of the video monitoring service and other self attributes.
6) The IP Camera video monitoring service publisher generates the index of the advertisement in the flow 5) by a shared resource distributed index algorithm.
7) The IP Camera video monitoring service publishing terminal publishes the video monitoring service advertisement index generated in the flow 6) to the event proxy server.
(2) The cloud architecture streaming media service platform forwards and stores video data, and the operation process comprises the steps that the cloud architecture streaming media service platform receives real-time video data acquired from an IP Camera, stores the video data in a cloud, can respond to a request of a video monitoring service subscription end, and forwards the video monitoring data to the required video monitoring service subscription end;
preferably, the operational procedure is as follows:
1) and the cloud architecture streaming media service platform carries out authority verification on the IP Camera video monitoring service publishing terminal and the video monitoring service subscribing terminal.
2) The cloud architecture streaming media service platform receives the real-time video data from the IP Camera, and stores and forwards the real-time video data.
3) The cloud-architecture streaming media service platform responds to the request of the video monitoring service subscriber and forwards the specified video monitoring data to the required subscriber.
(3) The video monitoring service subscription end subscribes a video monitoring service, the operation flow comprises that the subscription end provides a subscription request to an event proxy server, obtains advertisements of the video monitoring service from a service publishing end according to the video monitoring service advertisements obtained from the event proxy server, analyzes the advertisements to obtain addresses of the video monitoring service, and obtains video monitoring data from a cloud architecture streaming media service platform according to the addresses.
Preferably, the operational procedure is as follows:
1) and the video monitoring service subscriber logs in the streaming media service platform and acquires a Token returned by the streaming media service platform.
2) The video monitoring service subscriber terminal joins the peer-to-peer group constructed by the event proxy server.
3) The video monitoring service subscriber end uses attributes of the video monitoring service such as monitoring position, resolution ratio and the like as search conditions, and provides a subscription request to the event proxy server.
4) And the video monitoring service subscriber receives the video monitoring service advertisement index returned from the event proxy server and acquires the service advertisement from the IP Camera video monitoring service publisher according to the index.
5) The video monitoring service subscriber analyzes the service advertisement obtained in the process 4) to obtain the address of the video monitoring service, the authority verification is carried out through the Token obtained in the process 1), and if the authority verification is passed, video monitoring data are requested to the streaming media service platform according to the video monitoring service address analyzed by the service advertisement. And the video monitoring service address analyzed by the advertisement requests video monitoring data from the streaming media service platform.
(4) The event proxy server manages the video monitoring service, and the operation flow comprises the steps that the event proxy server creates a peer group, waits for the addition of an IP Camera video monitoring service publisher and a video monitoring service subscriber, and constructs a P2P network. Then, the event proxy server stores the video monitoring service advertisement index published by the IP Camera and matches the video monitoring service subscription request provided by the video monitoring service subscriber.
Preferably, the operational procedure is as follows:
1) the event proxy server creates a peer group, waits for an IP Camera video monitoring service publisher and a video monitoring service subscriber to join the peer group, and constructs a P2P network.
2) The event proxy server stores the video surveillance service advertisement index published by the IP Camera video surveillance service publisher.
3) And the event proxy server matches the subscription request provided by the video monitoring service subscriber, and returns the service advertisement index to the subscriber if the video monitoring service advertisement index meeting the subscription request locally exists in the event proxy server. If the event proxy server cannot find the video monitoring service advertisement index meeting the subscription request locally, the subscription request of the subscriber end is forwarded to other event proxy servers in the P2P network, and the subscription request is matched by the other event proxy servers.
By adopting the technical scheme of the invention, the following beneficial effects can be achieved:
1. the method and the system realize the high-efficiency management of the massive video monitoring services, and can dynamically increase the number of event proxy servers along with the increase of the number of the video monitoring services.
2. The streaming media service platform of the cloud architecture realizes storage and forwarding of mass video data.
3. By adopting the mobile cloud computing technology, a user can access the video monitoring service of the cloud terminal through the Android mobile device at any time and any place.
Drawings
Fig. 1 is a P2P-based architecture diagram of a mass mobile cloud video monitoring service publishing and subscribing system;
FIG. 2 is a P2P network architecture diagram constructed for event broker services;
FIG. 3 is an interaction diagram of video surveillance service publishing and subscription;
FIG. 4 is a flow chart of the present invention.
Detailed Description
Fig. 1 shows that a P2P-based massive mobile cloud video monitoring service publishing and subscribing system architecture comprises:
(1) IP Camera video monitoring service distributor: the video monitoring service provider mainly collects, codes and uploads real-time video data and issues an index of the video monitoring service advertisement provided by the provider to the event proxy server.
(2) The video monitoring service subscriber: the video monitoring service subscriber mainly subscribes the video monitoring service advertisement, obtains the service advertisement from an IP Camera video monitoring service publishing terminal through an advertisement index returned by the event proxy server, and requests the video monitoring data from the cloud architecture streaming media service platform according to the address analyzed by the video monitoring service advertisement.
(3) The cloud architecture streaming media service platform comprises: the video monitoring server is a relay of video monitoring server data and is mainly responsible for storing and forwarding massive video data.
(4) The event proxy server: the method is the core of the whole system and is mainly responsible for creating peer-to-peer groups, constructing a P2P network and matching subscription requests of video monitoring service subscribers.
Fig. 2 shows a P2P network architecture constructed by the event broker service, the P2P network adopts a star structure, and all peers (IP Camera video monitoring service publisher and video monitoring service subscriber) in the peer group are connected with the event broker server. And the IP Camera video monitoring service publishing terminal publishes the index of the video monitoring service advertisement to the event proxy server. The video monitoring service subscription end initiates a subscription request to the event proxy server, after the subscription request is replied, the video monitoring service advertisement is obtained according to the connection between the obtained video monitoring service advertisement index and the corresponding publishing end, and the advertisement can be directly obtained between two peer-to-peer points without passing through the event proxy server.
Fig. 3 shows an interaction principle of video surveillance service publishing and subscribing, which is a core part of the system and includes:
video Surveillance Service Producer (Video Surveillance Service Producer): also called as video monitoring service publisher, is responsible for publishing video monitoring service to an event agent, and is a main behavior entity in the publishing and subscribing interactive mode.
Video Surveillance Service Consumer (Video Surveillance Service Consumer): also called video surveillance service subscribers, describe their interests to the event broker. The event broker reliably transmits the matched video surveillance service to the subscribers in an "ad" fashion.
Event (Event): in the publish and subscribe interaction mode, any information transfer and system state change can be referred to as an event, for example, a video monitoring service producer publishes an advertisement of a video monitoring service in a system can be referred to as an event.
Event Broker (Event Broker): which may also be referred to as an Event notification service (Event NotificationService). The event broker associates the video surveillance producer with the video surveillance consumer, and is responsible for storing the video surveillance service (advertisement of the service), performing matching between the video surveillance service and the subscription request, and also being able to deliver non-matching subscription requests to other event brokers. The video monitoring service producer and the video monitoring service consumer do not depend on the event agent in space and time, and absolute connection does not exist between the video monitoring service producer and the video monitoring service consumer.
The producer of the video surveillance service and the consumer of the video surveillance service are associated through an intermediate event broker. A producer of the video monitoring service publishes the video monitoring service owned by the producer to an event agent in a service advertisement mode, and the event agent stores the advertisement of the service in a local cache. The consumer of the video monitoring service provides a subscription request to the event agent, the event agent inquires the video monitoring service advertisement in the local cache, and returns the video monitoring service advertisement according with the request to the consumer of the video monitoring service. If the corresponding advertisement is not found in the event agent local cache, the subscription request is forwarded to other event agents in the P2P network, the request is spread to the whole network until a video monitoring service conforming to the subscription request is found, or a match failure is returned to the consumer.
After obtaining the required video monitoring service advertisement, the consumer of the video monitoring service analyzes the RTSP address of the video monitoring, requests the video stream of the corresponding video monitoring from the streaming media server through the RTSP address, and watches the video monitoring through the operations of RTP decapsulation, decoding and the like after obtaining the video stream.
Fig. 4 shows a process of the present invention, and a method for publishing and subscribing a massive mobile cloud video monitoring service based on a P2P technology includes the following steps:
(1) the IP Camera video monitoring service publishing terminal publishes a video monitoring service, the operation process comprises the steps that the IP Camera collects real-time videos and sends real-time video data to a cloud architecture streaming media service platform to generate advertisements of the video monitoring service, indexes of the advertisements are generated through a shared resource distributed index algorithm, and indexes of the advertisements of the video monitoring service are published to an event proxy server;
preferably, the operational procedure is as follows:
1) and the IP Camera video monitoring service issuing end logs in the cloud architecture streaming media service platform to obtain a Token returned by the streaming media service platform, and the Token is used for verifying the video data uploading authority.
2) And the IP Camera video monitoring service publisher joins the peer-to-peer group created by the event proxy server.
3) The IP Camera video monitoring service issuing end collects original real-time video, and carries out H.264 coding compression on the collected original video data, so that the volume of the video data is reduced to reduce the network bandwidth occupation.
4) The IP Camera video monitoring service issuing end carries out uploading authority verification through the Token obtained by the process 1), and after the verification is passed, the video data after the coding compression is uploaded to the cloud architecture streaming media service platform.
5) The IP Camera video monitoring service issuing end generates a video monitoring service advertisement (XML document) according to the monitoring position, resolution, frame rate, code stream of the video monitoring service, RTSP address of the video monitoring service and other self attributes.
6) The IP Camera video monitoring service publisher generates the index of the advertisement in the flow 5) by a shared resource distributed index algorithm.
7) The IP Camera video monitoring service publishing terminal publishes the video monitoring service advertisement index generated in the flow 6) to the event proxy server.
(2) The cloud architecture streaming media service platform forwards and stores video data, and the operation process comprises the steps that the cloud architecture streaming media service platform receives real-time video data acquired from an IP Camera, stores the video data in a cloud, can respond to a request of a video monitoring service subscription end, and forwards the video monitoring data to the required video monitoring service subscription end;
preferably, the operational procedure is as follows:
1) and the cloud architecture streaming media service platform carries out authority verification on the IP Camera video monitoring service publishing terminal and the video monitoring service subscribing terminal.
2) The cloud architecture streaming media service platform receives the real-time video data from the IP Camera, and stores and forwards the real-time video data.
3) The cloud-architecture streaming media service platform responds to the request of the video monitoring service subscriber and forwards the specified video monitoring data to the required subscriber.
(3) The video monitoring service subscription end subscribes a video monitoring service, the operation flow comprises that the subscription end provides a subscription request to an event proxy server, obtains advertisements of the video monitoring service from a service publishing end according to the video monitoring service advertisements obtained from the event proxy server, analyzes the advertisements to obtain addresses of the video monitoring service, and obtains video monitoring data from a cloud architecture streaming media service platform according to the addresses.
Preferably, the operational procedure is as follows:
1) and the video monitoring service subscriber logs in the streaming media service platform and acquires a Token returned by the streaming media service platform.
2) The video monitoring service subscriber terminal joins the peer-to-peer group constructed by the event proxy server.
3) The video monitoring service subscriber end uses attributes of the video monitoring service such as monitoring position, resolution ratio and the like as search conditions, and provides a subscription request to the event proxy server.
4) And the video monitoring service subscriber receives the video monitoring service advertisement index returned from the event proxy server and acquires the service advertisement from the IP Camera video monitoring service publisher according to the index.
5) The video monitoring service subscriber analyzes the service advertisement obtained in the process 4) to obtain the address of the video monitoring service, the authority verification is carried out through the Token obtained in the process 1), and if the authority verification is passed, video monitoring data are requested to the streaming media service platform according to the video monitoring service address analyzed by the service advertisement. And the video monitoring service address analyzed by the advertisement requests video monitoring data from the streaming media service platform.
(4) The event proxy server manages the video monitoring service, and the operation flow comprises the steps that the event proxy server creates a peer group, waits for the addition of an IP Camera video monitoring service publisher and a video monitoring service subscriber, and constructs a P2P network. Then, the event proxy server stores the video monitoring service advertisement index published by the IP Camera and matches the video monitoring service subscription request provided by the video monitoring service subscriber.
Preferably, the operational procedure is as follows:
1) the event proxy server creates a peer group, waits for an IP Camera video monitoring service publisher and a video monitoring service subscriber to join the peer group, and constructs a P2P network.
2) The event proxy server stores the video surveillance service advertisement index published by the IP Camera video surveillance service publisher.
3) And the event proxy server matches the subscription request provided by the video monitoring service subscriber, and returns the service advertisement index to the subscriber if the video monitoring service advertisement index meeting the subscription request locally exists in the event proxy server. If the event proxy server cannot find the video monitoring service advertisement index meeting the subscription request locally, the subscription request of the subscriber end is forwarded to other event proxy servers in the P2P network, and the subscription request is matched by the other event proxy servers.
By adopting the technical scheme of the invention, the storage and forwarding of the mass video data and the high-efficiency management of the mass video high-efficiency monitoring service are realized.
The technical solutions of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and these embodiments are within the scope of the invention.

Claims (4)

1.一种基于P2P技术的海量移动云视频监控服务发布及订阅方法,包括以下步骤:1. A method for publishing and subscribing to massive mobile cloud video surveillance services based on P2P technology, comprising the following steps: (1)IP Camera视频监控服务发布端发布视频监控服务,操作流程包括IP Camera采集实时视频并将实时视频数据发送到云架构流媒体服务平台,生成该视频监控服务的广告,通过共享资源分布式索引算法生成该广告的索引,发布视频监控服务广告的索引到事件代理服务器;(1) The IP Camera video monitoring service publishing end publishes the video monitoring service. The operation process includes the IP Camera collecting real-time video and sending the real-time video data to the cloud-based streaming media service platform to generate advertisements for the video monitoring service, which are distributed through shared resources. The indexing algorithm generates the index of the advertisement, and publishes the index of the video surveillance service advertisement to the event proxy server; (2)云架构流媒体服务平台转发并存储视频数据,操作流程包括云架构流媒体服务平台接收来自IP Camera采集的实时视频数据,并将视频数据存储到云存储,能够响应视频监控服务订阅端的请求,将视频监控数据转发给所需的视频监控服务订阅端;(2) The cloud-architecture streaming media service platform forwards and stores video data. The operation process includes the cloud-architecture streaming media service platform receiving real-time video data collected from IP Cameras, and storing the video data in cloud storage, which can respond to the video surveillance service subscriber's request. Request, forward the video surveillance data to the desired video surveillance service subscriber; (3)视频监控服务订阅端订阅视频监控服务,操作流程包括订阅端向事件代理服务器提出自己的订阅请求,根据从事件代理服务器获取的视频监控服务广告索引向服务发布端获取视频监控服务的广告,解析广告获得视频监控服务的地址,根据该地址从云架构流媒体服务平台获取视频监控数据;(3) The video surveillance service subscriber subscribes to the video surveillance service. The operation process includes that the subscriber submits its own subscription request to the event proxy server, and obtains the video surveillance service advertisement from the service publisher according to the video surveillance service advertisement index obtained from the event proxy server. , parse the advertisement to obtain the address of the video surveillance service, and obtain the video surveillance data from the cloud architecture streaming media service platform according to the address; (4)事件代理服务器管理视频监控服务,操作流程包括事件代理服务器创建对等组,等待IP Camera视频监控服务发布端与视频监控服务订阅端的加入,构建P2P网络;然后,事件代理服务器存储IP Camera所发布的视频监控服务广告索引,并对视频监控服务订阅端所提出的视频监控服务订阅请求进行匹配;(4) The event proxy server manages the video surveillance service. The operation process includes the event proxy server creating a peer group, waiting for the IP Camera video surveillance service publisher and the video surveillance service subscriber to join, and building a P2P network; then, the event proxy server stores the IP Camera. The published video surveillance service advertisement index, and match the video surveillance service subscription request made by the video surveillance service subscriber; 其特征在于:在步骤(1)中,操作流程如下:It is characterized in that: in step (1), the operation process is as follows: 1)IP Camera视频监控服务发布端登录到云架构流媒体服务平台,获得流媒体服务平台返回的Token令牌,该令牌将用于视频数据上传权限验证;1) The IP Camera video surveillance service publisher logs in to the cloud architecture streaming media service platform, and obtains the Token returned by the streaming media service platform, which will be used for video data upload permission verification; 2)IP Camera视频监控服务发布端加入事件代理服务器创建的对等组;2) The publisher of the IP Camera video surveillance service joins the peer group created by the event proxy server; 3)IP Camera视频监控服务发布端采集原始的实时视频,并对采集的原始视频数据进行H.264编码压缩,减小视频数据的体积以降低网络带宽占用;3) The publishing end of IP Camera video surveillance service collects original real-time video, and performs H.264 encoding and compression on the collected original video data to reduce the volume of video data and reduce network bandwidth usage; 4)IP Camera视频监控服务发布端通过流程1)得到的Token令牌进行上传权限验证,验证通过后,将编码压缩后的视频数据上传到云架构流媒体服务平台;4) The IP Camera video surveillance service publishing end verifies the upload authority through the Token token obtained in the process 1). After the verification is passed, the encoded and compressed video data is uploaded to the cloud architecture streaming media service platform; 5)IP Camera视频监控服务发布端根据该视频监控服务的监控位置、分辨率、帧率、码流以及视频监控服务RTSP地址自身属性来生成视频监控服务广告;5) The IP Camera video surveillance service publishing end generates video surveillance service advertisements according to the monitoring location, resolution, frame rate, code stream and the properties of the video surveillance service RTSP address itself; 6)IP Camera视频监控服务发布端通过共享资源分布式索引算法生成流程5)中广告的索引;6) The publishing end of the IP Camera video surveillance service generates the index of the advertisement in the process 5) through the shared resource distributed indexing algorithm; 7)IP Camera视频监控服务发布端将流程6)中生成的视频监控服务广告索引发布至事件代理服务器。7) The IP Camera video surveillance service publishing end publishes the video surveillance service advertisement index generated in the process 6) to the event proxy server. 2.根据权利要求1所述的基于P2P技术的海量移动云视频监控服务发布及订阅方法,其特征在于:在步骤(2)中,操作流程如下:2. The method for publishing and subscribing to massive mobile cloud video surveillance services based on P2P technology according to claim 1, characterized in that: in step (2), the operation process is as follows: 1)云架构流媒体服务平台对IP Camera视频监控服务发布端和视频监控服务订阅端进行权限验证;1) The cloud architecture streaming media service platform performs permission verification on the IP Camera video surveillance service publisher and video surveillance service subscriber; 2)云架构流媒体服务平台接收来自IP Camera的实时视频数据,对其进行存储与转发;2) The cloud architecture streaming media service platform receives the real-time video data from the IP Camera, and stores and forwards it; 3)云架构流媒体服务平台对视频监控服务订阅端的请求进行响应,将指定的视频监控数据转发给所需的订阅端。3) The cloud architecture streaming media service platform responds to the request of the video surveillance service subscriber, and forwards the specified video surveillance data to the required subscriber. 3.根据权利要求1或2所述的基于P2P技术的海量移动云视频监控服务发布及订阅方法,其特征在于:在步骤(3)中,操作流程如下:3. The method for publishing and subscribing to massive mobile cloud video surveillance services based on P2P technology according to claim 1 or 2, characterized in that: in step (3), the operation process is as follows: 1)视频监控服务订阅端登录到流媒体服务平台,并获取流媒体服务平台向返回的Token令牌;1) The video surveillance service subscriber logs in to the streaming media service platform, and obtains the Token returned by the streaming media service platform; 2)视频监控服务订阅端加入由事件代理服务器构建的对等组;2) The video surveillance service subscriber joins the peer-to-peer group constructed by the event proxy server; 3)视频监控服务订阅端以监控位置、分辨率视频监控服务的属性为搜索条件,向事件代理服务器提出订阅请求;3) The video surveillance service subscriber uses the monitoring location and resolution properties of the video surveillance service as search conditions, and submits a subscription request to the event proxy server; 4)视频监控服务订阅端接收从事件代理服务器返回的视频监控服务广告索引,并根据该索引向IP Camera视频监控服务发布端获取服务广告;4) The video surveillance service subscriber receives the video surveillance service advertisement index returned from the event proxy server, and obtains the service advertisement from the IP Camera video surveillance service publisher according to the index; 5)视频监控服务订阅端解析流程4)中获得的服务广告得到视频监控服务的地址,通过流程1)中得到的Token令牌进行权限验证,验证通过则根据服务广告解析出的视频监控服务地址向流媒体服务平台请求视频监控数据。5) The video surveillance service subscriber parsing process 4) The service advertisement obtained in the process 4) obtains the address of the video surveillance service, and the Token token obtained in the process 1) is used for authorization verification. Request video surveillance data from the streaming media service platform. 4.根据权利要求1或2所述的基于P2P技术的海量移动云视频监控服务发布及订阅方法,其特征在于:在步骤(4)中,操作流程如下:4. The method for publishing and subscribing massive mobile cloud video surveillance services based on P2P technology according to claim 1 or 2, characterized in that: in step (4), the operation process is as follows: 1)事件代理服务器创建对等组,等待IP Camera视频监控服务发布端以及视频监控服务订阅端加入对等组,构建P2P网络;1) The event proxy server creates a peer group and waits for the IP Camera video surveillance service publisher and video surveillance service subscriber to join the peer group to build a P2P network; 2)事件代理服务器存储由IP Camera视频监控服务发布端发布的视频监控服务广告索引;2) The event proxy server stores the video surveillance service advertisement index published by the IP Camera video surveillance service publisher; 3)事件代理服务器对视频监控服务订阅端提出的订阅请求进行匹配,如果事件代理服务器本地存在符合订阅请求的视频监控服务广告索引,则将该服务广告索引返回给订阅端;如果事件代理服务器在本地无法找到满足订阅请求的视频监控服务广告索引,则将该订阅端的订阅请求转发至P2P网络中的其他事件代理服务器,由其他的事件代理服务器对该订阅请求进行匹配。3) The event proxy server matches the subscription request made by the video surveillance service subscriber. If the event proxy server has a local video surveillance service advertisement index that meets the subscription request, it returns the service advertisement index to the subscriber; If the video surveillance service advertisement index that satisfies the subscription request cannot be found locally, the subscription request of the subscriber is forwarded to other event proxy servers in the P2P network, and the subscription request is matched by other event proxy servers.
CN201710576231.0A 2017-07-14 2017-07-14 Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology Active CN107360399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710576231.0A CN107360399B (en) 2017-07-14 2017-07-14 Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710576231.0A CN107360399B (en) 2017-07-14 2017-07-14 Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology

Publications (2)

Publication Number Publication Date
CN107360399A CN107360399A (en) 2017-11-17
CN107360399B true CN107360399B (en) 2020-04-10

Family

ID=60292563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710576231.0A Active CN107360399B (en) 2017-07-14 2017-07-14 Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology

Country Status (1)

Country Link
CN (1) CN107360399B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019100364A1 (en) * 2017-11-27 2019-05-31 天彩电子(深圳)有限公司 Dynamic resource allocation method in cloud video platform
CN108540555A (en) * 2018-04-13 2018-09-14 上海小蚁科技有限公司 Video distribution system and method, storage medium, server
CN110971628B (en) * 2018-09-29 2022-04-01 杭州阿启视科技有限公司 Cloud video data acquisition method
CN112203063B (en) * 2020-12-06 2021-03-30 北京贝思科技术有限公司 Distributed implementation method and system for video networking and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997623A (en) * 2014-05-06 2014-08-20 四川长虹电器股份有限公司 Video monitoring method based on P2P technology
CN104935878A (en) * 2015-05-19 2015-09-23 华南理工大学 Large-scale network video monitoring hotspot information distribution system and distribution method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003056B2 (en) * 2006-07-11 2015-04-07 Napo Enterprises, Llc Maintaining a minimum level of real time media recommendations in the absence of online friends

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997623A (en) * 2014-05-06 2014-08-20 四川长虹电器股份有限公司 Video monitoring method based on P2P technology
CN104935878A (en) * 2015-05-19 2015-09-23 华南理工大学 Large-scale network video monitoring hotspot information distribution system and distribution method thereof

Also Published As

Publication number Publication date
CN107360399A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
Kesavan et al. An investigation on adaptive HTTP media streaming Quality-of-Experience (QoE) and agility using cloud media services
JP5341186B2 (en) Proxy function
CN101854338B (en) Subscriber equipment and its subscription management method, real-time communication method and system
CN107360399B (en) Mass mobile cloud video monitoring service publishing and subscribing method based on P2P technology
EP2588977B1 (en) Systems and methods for storing digital content
US9112939B2 (en) Cloud-based video delivery
CN113163162B (en) Service providing method based on video cloud and video cloud system
CN111901230B (en) Internet of things gateway and system supporting equipment access verification and equipment access verification method
CN105681827B (en) Poster generation method, system and related device for live channel
Kumar et al. Cloud‐based video streaming services: Trends, challenges, and opportunities
CN104660891A (en) Method and apparatus in a motion video capturing system
CN104168453A (en) A method for implementing a video surveillance streaming media application system
CN101764831A (en) Method and system for sharing stream media data, and stream media node
WO2011000289A1 (en) Method, system and proxy node for peer-to-peer (p2p) streaming media data distribution
CN106817587B (en) Video stream generation/sharing method, system, terminal device and server cluster
JP2013257798A (en) Data collection system and data collection method
CN102938775A (en) Issuing method, system and client of video microblog
Chung et al. Design and implementation of light-weight smart home gateway for Social Web of Things
JP2013516854A (en) Edge content distribution device and content distribution network for IPTV system
CN102542858B (en) Course playing method and system
CN102547474A (en) System and method for realizing video monitoring by fusion of extended extensible markup language (XML)-based messaging and presence protocol (XMPP) and routing table maintenance protocol (RMTP)
CN109618187B (en) Method and device for acquiring video data
CN110392020A (en) Method and system for transmitting streaming media resources
Pan et al. OJUMP: Optimization for joint unicast‐multicast panoramic VR live streaming system
Geng et al. Enhancing crowd-sourced video sharing through P2P-assisted HTTP video streaming

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