A kind of scenic spot flow medium live system
Technical field
The present invention relates to smart travel fields, and in particular, to a kind of scenic spot flow medium live system.
Background technique
With the extensive construction of smart travel, major scenic spot widespread deployment video monitoring product, to grasp scenic spot in time
Various states.In " internet+tourism " epoch, more stringent requirements are proposed to tourism by people, it is desirable to can pass through multiple network
These video datas of channel access provide foundation for the tour plan of oneself;Wish more high-quality by showing to user in scenic spot
With in due course scenic spot video data, scenic spot is preferably publicized;Tourism management departments also wish through different network mode energy and
When, accurately monitor the in due course state at scenic spot.But traditional video surveillance technology is unable to satisfy from various platforms, respectively
The access request of kind network channel, various access terminals.
Traditional monitoring scenic spot, monitoring information have scenic spot grasp, and other users or platform can not obtain, and lead to tourist and prison
Pipe personnel can not obtain the real time information at scenic spot, cause the real-time of monitoring scenic spot poor.
In conclusion present inventor has found above-mentioned technology extremely during realizing the present application technical solution
It has the following technical problems less:
In the prior art, existing monitoring scenic spot there are monitoring data can not Real-Time Sharing, lead to tourist and supervision department
Divide the technical issues of can not obtaining real-time scenic spot information.
Summary of the invention
The present invention provides a kind of scenic spot flow medium live system, solve existing monitoring scenic spot there are monitoring data without
Method Real-Time Sharing leads to tourist and supervises the technical issues of part can not obtain real-time scenic spot information, realizes system design
Rationally, user can obtain the technical effect of real-time monitoring scenic spot information by live broadcast system.
In order to solve the above technical problems, this application provides a kind of scenic spot flow medium live system, the system comprises:
Acquisition unit, the acquisition unit are used for the Intranet where monitoring scenic spot and dispose RTSP recording service, grab from Intranet
Real time monitoring information is taken to record a video;
Converting unit, the converting unit are used to obtain the rtsp protocol streams of monitoring, hls protocol streams are converted to, with the side TS
Formula is stored in local, and is encapsulated as M3U8 format;
Uploading unit, the uploading unit upload to live streaming platform for will be stored in local information;
Platform is broadcast live, the live streaming platform is used to provide user's monitoring scenic spot information according to user right.
Wherein, this system first with acquisition unit acquisition scenic spot video monitoring information, then using converting unit into
Row conversion, is stored after conversion, is uploaded the information of storage by uploading unit, and user obtains scape by live streaming platform
The real time monitoring information in area.
On the basis of increasing income streaming media service, design, exploitation, deployment RTSP recording service.RTSP video recording actively obtains
Data flow is recorded, and video file deposits in local, and is generated an access path and be used for playing back videos;It provides simultaneously real-time
Direct broadcast function.This system is the inconvenience exclusively for monitoring system access platform and a solution proposed, is based on numerous
Server and the monitoring that is associated based on and operation steady in a long-term and realize.The it is proposed of this service is very big
The independence for improving monitoring, make its hardware and software platform, accessed by way of http protocol.There is the branch of streaming media service
Support, to applications provide one quickly, stablize, easily service while be also third party exploitation bring greatly just
Benefit not only increases development efficiency, also as save development cost, reduces the threshold of Stream Media Application.
RTSP live streaming: the real-time in order to improve Streaming Media, fluency and stability when live streaming are obtained in server and are supervised
The RTSP protocol streams of control simultaneously switch to HLS protocol stream, and local is stored in a manner of TS and is encapsulated as M3U8 format, and local only storage is most
New a few minutes (can according to require to be configured), outer net carries out video recording by the address URL that the recording service disposed generates and broadcasts
It puts.The continual timing of server carries out Streaming Media maintenance.
Concrete mode:
Intranet disposes RTSP recording service where monitoring, records a video from Intranet crawl real time monitoring.Outer net is avoided to grab
Network flow is occupied when stream.
The rtsp protocol streams for obtaining monitoring, are switched to hls protocol streams in server, local are stored in a manner of TS, and encapsulate
It is local only to store newest one section of video recording for M3U8 format.
Further, the system also includes:
Judging unit, the judging unit are used to judge uploading unit or be broadcast live the working condition of platform;
Processing unit, the processing unit are used to judge that uploading unit or live streaming platform are in busy work when judging unit
When making state, then scenic spot feature information extraction is carried out to being stored in local information;
Generation unit, the generation unit are used for the scenic spot characteristic information based on extraction, generate scenic spot real-time text information,
And the text information of generation is uploaded to live streaming platform by uploading unit.
Wherein, when uploading unit or live streaming platform are in busy working condition, if uploading speed is lower than standard speed,
Or live streaming platform number is above standard number, live streaming speed is lower than pre-set velocity etc., and at this moment processing unit carries out monitoring video
Processing, extracts data volume relative to the lesser scenic spot characteristic information of video flowing, and generates data volume based on scenic spot characteristic information
Smaller text information, and text information is uploaded to live streaming platform, user judges scape by the way that the text information of platform is broadcast live
The real time monitoring situation in area can be avoided upload and live streaming such as the real-time domestic visitors at the text importing scenic spot in this way
The video of big data quantity reduces the demand to network speed, convenient for the acquisition live information of user rapidly and efficiently.
Further, it to local information progress scenic spot feature information extraction is stored in, specifically includes:
Scenic spot video monitoring information is handled, the face information in image is obtained;
Scenic spot video monitoring information is handled, tourist's translational speed information in image is obtained;
Thermal imaging processing is carried out to scenic spot video monitoring information, obtains unit in scenic spot's area visitor density information.
Wherein, corresponding tourist's quantity information can be obtained by face information, it can by tourist's translational speed information
Obtain corresponding scenic spot congestion information, wherein by comparison monitoring image preset time period before and after tourist moving distance and when
Between, it can be obtained the translational speed information of tourist;The thermal imaging of corresponding scenic spot tourist can be obtained by thermal imaging processing, so
It is compared afterwards according to thermal imaging area and scenic spot image area, can be obtained unit in scenic spot's area visitor density information
Further, the generation unit is used for based on face information, tourist's translational speed information, the trip of unit in scenic spot's area
Objective density information generates real-time scenic spot tourist quantity text information.
Further, the system also includes recommendation unit, the recommendation unit is used to be based on real-time scenic spot tourist quantity
Text information is that tourist recommends to be suitable for tourist attractions.
Further, the recommendation unit specifically includes:
Generation module, the generation module are used to generate the real-time tourist in scenic spot based on real-time scenic spot tourist quantity text information
Quantity;
Computing unit, the computing unit are used to preset reception of visitor quantity information, Weather information, traffic letter based on scenic spot
Breath, date information, calculating scenic spot in real time is suitable for receiving tourist's quantity information;
Judgment module, the judgment module for being suitable for receiving tourist's quantity and the real-time tourist's quantity in scenic spot for scenic spot in real time
It is compared, whether judge scenic spot is suitable for playing;
Recommending module, the suitable scenic spot information played that the propulsion die is used to judge judgment module are flat in live streaming
User is pushed in platform.
Wherein, it can be suitable for the scenic spot played with recommended user using recommendation unit, avoid the tourism that flocks together of blindness, improve trip
Swim quality.
Further, the calculation of the computing unit are as follows:
M=S*P*Q*R, wherein M is that scenic spot is suitable for receiving tourist's quantity information in real time;S is that reception of visitor number is preset at scenic spot
Measure information;The P=1.2 when weather is fine day, the P=1 when weather is the cloudy day, the P=0.7 when weather is rainy or snow;Work as friendship
When communication breath is congestion, Q=0.5, when traffic information is smooth, Q=1;When for Mon-Fri, R=1, when for weekend
When R=1.2.
Wherein, if the default reception tourist quantity at certain scenic spot is 10,000 people, when being cloudy, traffic congestion, when weekend, scenic spot
It is suitable in real time receiving ten thousand people of tourist's quantity information M=0.6.
One or more technical solution provided by the present application, has at least the following technical effects or advantages:
Firstly, realizing system design rationally, user can obtain the skill of real-time monitoring scenic spot information by live broadcast system
Art effect.
Further, monitoring information can be converted into text information, can be kept away in this way in network busy
Exempt to upload and letter is broadcast live convenient for the acquisition of user rapidly and efficiently in the video of live streaming big data quantity, demand of the reduction to network speed
Breath.
Further, reception of visitor quantity information, Weather information, traffic information, date information can be preset according to scenic spot,
Calculating scenic spot in real time is suitable for receiving tourist's quantity information, and recommend to be suitable for the scenic spot played to tourist, ensures traveling quality.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application
Point, do not constitute the restriction to the embodiment of the present invention;
Fig. 1 is the composition schematic diagram of scenic spot flow medium live system in the application.
Specific embodiment
The present invention provides a kind of scenic spot flow medium live system, solve existing monitoring scenic spot there are monitoring data without
Method Real-Time Sharing leads to tourist and supervises the technical issues of part can not obtain real-time scenic spot information, realizes system design
Rationally, user can obtain the technical effect of real-time monitoring scenic spot information by live broadcast system.
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the case where not conflicting mutually, the application's
Feature in embodiment and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
Implemented with being different from the other modes being described herein in range using other, therefore, protection scope of the present invention is not by under
The limitation of specific embodiment disclosed in face.
This application provides a kind of scenic spot flow medium live system, the system comprises:
Acquisition unit, the acquisition unit are used for the Intranet where monitoring scenic spot and dispose RTSP recording service, grab from Intranet
Real time monitoring information is taken to record a video;
Converting unit, the converting unit are used to obtain the rtsp protocol streams of monitoring, hls protocol streams are converted to, with the side TS
Formula is stored in local, and is encapsulated as M3U8 format;
Uploading unit, the uploading unit upload to live streaming platform for will be stored in local information;
Platform is broadcast live, the live streaming platform is used to provide user's monitoring scenic spot information according to user right.
Wherein, this system first with acquisition unit acquisition scenic spot video monitoring information, then using converting unit into
Row conversion, is stored after conversion, is uploaded the information of storage by uploading unit, and user obtains scape by live streaming platform
The real time monitoring information in area.
On the basis of increasing income streaming media service, design, exploitation, deployment RTSP recording service.RTSP video recording actively obtains
Data flow is recorded, and video file deposits in local, and is generated an access path and be used for playing back videos;It provides simultaneously real-time
Direct broadcast function.This system is the inconvenience exclusively for monitoring system access platform and a solution proposed, is based on numerous
Server and the monitoring that is associated based on and operation steady in a long-term and realize.The it is proposed of this service is very big
The independence for improving monitoring, make its hardware and software platform, accessed by way of http protocol.There is the branch of streaming media service
Support, to applications provide one quickly, stablize, easily service while be also third party exploitation bring greatly just
Benefit not only increases development efficiency, also as save development cost, reduces the threshold of Stream Media Application.
RTSP live streaming: the real-time in order to improve Streaming Media, fluency and stability when live streaming are obtained in server and are supervised
The RTSP protocol streams of control simultaneously switch to HLS protocol stream, and local is stored in a manner of TS and is encapsulated as M3U8 format, and local only storage is most
New a few minutes (can according to require to be configured), outer net carries out video recording by the address URL that the recording service disposed generates and broadcasts
It puts.The continual timing of server carries out Streaming Media maintenance.
Concrete mode:
Intranet disposes RTSP recording service where monitoring, records a video from Intranet crawl real time monitoring.Outer net is avoided to grab
Network flow is occupied when stream.
The rtsp protocol streams for obtaining monitoring, are switched to hls protocol streams in server, local are stored in a manner of TS, and encapsulate
It is local only to store newest one section of video recording for M3U8 format.
Further, the system also includes:
Judging unit, the judging unit are used to judge uploading unit or be broadcast live the working condition of platform;
Processing unit, the processing unit are used to judge that uploading unit or live streaming platform are in busy work when judging unit
When making state, then scenic spot feature information extraction is carried out to being stored in local information;
Generation unit, the generation unit are used for the scenic spot characteristic information based on extraction, generate scenic spot real-time text information,
And the text information of generation is uploaded to live streaming platform by uploading unit.
Wherein, when uploading unit or live streaming platform are in busy working condition, if uploading speed is lower than standard speed,
Or live streaming platform number is above standard number, live streaming speed is lower than pre-set velocity etc., and at this moment processing unit carries out monitoring video
Processing, extracts data volume relative to the lesser scenic spot characteristic information of video flowing, and generates data volume based on scenic spot characteristic information
Smaller text information, and text information is uploaded to live streaming platform, user judges scape by the way that the text information of platform is broadcast live
The real time monitoring situation in area can be avoided upload and live streaming such as the real-time domestic visitors at the text importing scenic spot in this way
The video of big data quantity reduces the demand to network speed, convenient for the acquisition live information of user rapidly and efficiently.
Further, it to local information progress scenic spot feature information extraction is stored in, specifically includes:
Scenic spot video monitoring information is handled, the face information in image is obtained;
Scenic spot video monitoring information is handled, tourist's translational speed information in image is obtained;
Thermal imaging processing is carried out to scenic spot video monitoring information, obtains unit in scenic spot's area visitor density information.
Wherein, corresponding tourist's quantity information can be obtained by face information, it can by tourist's translational speed information
Obtain corresponding scenic spot congestion information, wherein by comparison monitoring image preset time period before and after tourist moving distance and when
Between, it can be obtained the translational speed information of tourist;The thermal imaging of corresponding scenic spot tourist can be obtained by thermal imaging processing, so
It is compared afterwards according to thermal imaging area and scenic spot image area, can be obtained unit in scenic spot's area visitor density information
Further, the generation unit is used for based on face information, tourist's translational speed information, the trip of unit in scenic spot's area
Objective density information generates real-time scenic spot tourist quantity text information.
Further, the system also includes recommendation unit, the recommendation unit is used to be based on real-time scenic spot tourist quantity
Text information is that tourist recommends to be suitable for tourist attractions.
Further, the recommendation unit specifically includes:
Generation module, the generation module are used to generate the real-time tourist in scenic spot based on real-time scenic spot tourist quantity text information
Quantity;
Computing unit, the computing unit are used to preset reception of visitor quantity information, Weather information, traffic letter based on scenic spot
Breath, date information, calculating scenic spot in real time is suitable for receiving tourist's quantity information;
Judgment module, the judgment module for being suitable for receiving tourist's quantity and the real-time tourist's quantity in scenic spot for scenic spot in real time
It is compared, whether judge scenic spot is suitable for playing;
Recommending module, the suitable scenic spot information played that the propulsion die is used to judge judgment module are flat in live streaming
User is pushed in platform.
Wherein, it can be suitable for the scenic spot played with recommended user using recommendation unit, avoid the tourism that flocks together of blindness, improve trip
Swim quality.
Further, the calculation of the computing unit are as follows:
M=S*P*Q*R, wherein M is that scenic spot is suitable for receiving tourist's quantity information in real time;S is that reception of visitor number is preset at scenic spot
Measure information;The P=1.2 when weather is fine day, the P=1 when weather is the cloudy day, the P=0.7 when weather is rainy or snow;Work as friendship
When communication breath is congestion, Q=0.5, when traffic information is smooth, Q=1;When for Mon-Fri, R=1, when for weekend
When R=1.2.
Wherein, if the default reception tourist quantity at certain scenic spot is 10,000 people, when being cloudy, traffic congestion, when weekend, scenic spot
It is suitable in real time receiving ten thousand people of tourist's quantity information M=0.6.
The application establishes tourist attraction live broadcast system, and the video data at scenic spot is acquired and carries out that data are converted into can
With the Streaming Media played out in various platforms, delay forwarding is provided, to provide from the requirements for access of various internet channels
The scenic spot stream medium data direct broadcast service of authorization.
One or more technical solution provided by the present application, has at least the following technical effects or advantages:
Firstly, realizing system design rationally, user can obtain the skill of real-time monitoring scenic spot information by live broadcast system
Art effect.
Further, monitoring information can be converted into text information, can be kept away in this way in network busy
Exempt to upload and letter is broadcast live convenient for the acquisition of user rapidly and efficiently in the video of live streaming big data quantity, demand of the reduction to network speed
Breath.
Further, reception of visitor quantity information, Weather information, traffic information, date information can be preset according to scenic spot,
Calculating scenic spot in real time is suitable for receiving tourist's quantity information, and recommend to be suitable for the scenic spot played to tourist, ensures traveling quality.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.