A kind of scenic spot flow medium live system
Technical field
A kind of the present invention relates to smart travel field, in particular it relates to scenic spot flow medium live system.
Background technology
With the extensive construction of smart travel, each big scenic spot widespread deployment video monitoring product, to grasp scenic spot in time
Various states." the Internet+tourism " epoch, people put forward higher requirement to tourism, it is desirable to can pass through multiple network
Channel access these video datas, the tour plan for oneself provide foundation;Wish by showing more high-quality to user at scenic spot
With in good time scenic spot video data, scenic spot is preferably publicized;Tourism management departments also be intended to by different network mode energy and
When, accurately monitor the in good time state at scenic spot.But, traditional video surveillance technology cannot meet and come from various platforms, each
Plant network channel, the access request of various access terminals.
Traditional monitoring scenic spot, monitoring information have scenic spot to grasp, and other users or platform cannot be obtained, and cause visitor and prison
Pipe personnel cannot obtain the real time information at scenic spot, cause the real-time of monitoring scenic spot poor.
In sum, present inventor has found above-mentioned technology extremely during the present application technical scheme is realized
There is following technical problem less:
In the prior art, existing monitoring scenic spot exist monitoring data cannot Real-Time Sharing, cause visitor and supervision department
Divide the technical problem that cannot obtain real-time scenic spot information.
The content of the invention
The invention provides a kind of scenic spot flow medium live system, solve existing monitoring scenic spot exist monitoring data without
Method Real-Time Sharing, causes visitor and supervision part obtain the technical problem of real-time scenic spot information, realizes system design
Rationally, user is obtained in that the technique effect of real-time monitoring scenic spot information by live broadcast system.
For solving above-mentioned technical problem, this application provides a kind of scenic spot flow medium live system, the system includes:
Collecting unit, the collecting unit are grabbed from Intranet for disposing RTSP recording services in monitoring scenic spot place Intranet
During treating excess syndrome, monitoring information is recorded a video;
Converting unit, the converting unit are used for obtaining the rtsp protocol streams of monitoring, are converted to hls protocol streams, with TS side
Formula is stored in locally, and is encapsulated as M3U8 forms;
Uploading unit, the uploading unit upload to live platform for will be stored in local information;
Live platform, the live platform is for according to user right offer user's monitoring scenic spot information.
Wherein, the system gathers the video monitoring information at scenic spot first with collecting unit, is then entered using converting unit
Row conversion, is stored after conversion, uploads the information of storage by uploading unit, and user obtains scape by live platform
The monitor in real time information in area.
On the basis of streaming media service of increasing income, design, exploitation, deployment RTSP recording services.RTSP video recording active obtainings
Data flow is recorded, and video file is deposited in locally, and produces an access path for playing back videos;There is provided simultaneously real-time
Direct broadcast function.The system is a solution of the inconvenience exclusively for monitoring system access platform and proposition, is based on numerous
Server and associated monitoring based on, and operation steady in a long-term and realize.The proposition of this service is very big
The independence for improving monitoring so as to hardware and software platform, conducted interviews by way of http protocol.There is propping up for streaming media service
Support, applications are provided one it is quick, stable, also bring greatly just for third party's exploitation while easily service
Profit, not only increases development efficiency, also a saving development cost, reduces the threshold of Stream Media Application.
RTSP is live:In order to improve the real-time of Streaming Media, the fluency and stability when live is obtained in server and is supervised
The RTSP protocol streams of control simultaneously switch to HLS protocol stream, are stored in local in TS modes and are encapsulated as M3U8 forms, and local only storage is most
New a few minutes (can be configured as requested), outer net carry out video recording by the URL addresses that the recording service disposed is generated and broadcast
Put.The continual timing of server carries out Streaming Media maintenance.
Concrete mode:
In monitoring place Intranet deployment RTSP recording services, recorded a video from Intranet crawl monitor in real time.Outer net is avoided to grab
Network traffics are taken during stream.
The rtsp protocol streams of monitoring are obtained, is switched to hls protocol streams in server, is stored in locally in TS modes, and is encapsulated
For M3U8 forms, newest one section video recording is locally only stored.
Further, the system also includes:
Judging unit, the judging unit are used for judging the working condition of uploading unit or live platform;
Processing unit, when judging unit, the processing unit is for judging that uploading unit or live platform are in busy work
When making state, then scenic spot feature information extraction is carried out to being stored in local information;
Signal generating unit, the signal generating unit generate scenic spot real-time text information for the scenic spot characteristic information based on extraction,
And the Word message of generation is uploaded to into live platform by uploading unit.
Wherein, when uploading unit or live platform are in busy working condition, such as uploading speed is less than standard speed,
Or live platform number is above standard number, less than pre-set velocity etc., at this moment processing unit is carried out live speed to monitoring video
Process, data volume is extracted relative to the less scenic spot characteristic information of video flowing, and data volume is generated based on scenic spot characteristic information
Less Word message, and Word message is uploaded to into live platform, user judges scape by the Word message of live platform
The real-time domestic visitors of the monitor in real time situation in area, such as the text importing scenic spot, can avoid uploading and live in this way
The video of big data quantity, reduces the demand to network speed, is easy to user's acquisition live information rapidly and efficiently.
Further, scenic spot feature information extraction is carried out to being stored in local information, specifically include:
Scenic spot video monitoring information is processed, the face information in image is obtained;
Scenic spot video monitoring information is processed, the visitor's translational speed information in image is obtained;
Thermal imaging process is carried out to scenic spot video monitoring information, obtains unit in scenic spot's area visitor density information.
Wherein, corresponding visitor's quantity information is obtained in that by face information, can by visitor's translational speed information
Obtain corresponding scenic spot congestion information, wherein by contrast before and after monitoring image preset time period the displacement of visitor and when
Between, you can obtain the translational speed information of visitor;The thermal imaging for being obtained in that corresponding scenic spot visitor is processed by thermal imaging, so
Contrasted with scenic spot image area according to thermal imaging area afterwards, you can obtain unit in scenic spot's area visitor density information
Further, the signal generating unit is used for based on face information, visitor's translational speed information, unit in scenic spot's area trip
Objective density information, generates real-time scenic spot visitor quantity Word message.
Further, the system also includes recommendation unit, and the recommendation unit is used for based on real-time scenic spot visitor quantity
Word message is that visitor recommends suitable tourist attractions.
Further, the recommendation unit is specifically included:
Generation module, the generation module are used for generating the real-time visitor in scenic spot based on real-time scenic spot visitor quantity Word message
Quantity;
Computing unit, the computing unit are used for based on the default reception of visitor quantity information in scenic spot, Weather information, traffic letter
Breath, date and time information, calculate scenic spot and suitably receive visitor's quantity information in real time;
Judge module, the judge module is for scenic spot suitably to be received visitor's quantity and the real-time visitor's quantity in scenic spot in real time
It is compared, whether suitably playing for scenic spot is judged;
Recommending module, the propulsion die are used for will determine that the scenic spot information suitably played that module is judged is put down live
User is pushed in platform.
Wherein, the scenic spot that can be suitably played with recommended user using recommendation unit, it is to avoid the tourism that flocks together of blindness, improves trip
Trip quality.
Further, the calculation of the computing unit is:
M=S*P*Q*R, wherein, M is that visitor's quantity information is suitably received at scenic spot in real time;S is the default reception of visitor number in scenic spot
Amount 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 for raining or avenging;Work as friendship
When communication breath is congestion, Q=0.5, when transport information is smooth, Q=1;When for Mon-Fri when, R=1, when for weekend
When R=1.2.
Wherein, if the default reception visitor quantity at certain scenic spot is 10,000 people, when for cloudy, traffic congestion, during weekend, scenic spot
Visitor quantity information M=0.6 ten thousand people is received in real time suitably.
One or more technical schemes that the application is provided, at least have the following technical effect that or advantage:
First, realize system design rationally, user is obtained in that the skill of real-time monitoring scenic spot information by live broadcast system
Art effect.
Further, monitoring information can be converted to into Word message in network busy, can be kept away in this way
Exempt to upload the video with live big data quantity, reduce the demand to network speed, be easy to the live letter of user's acquisition rapidly and efficiently
Breath.
Further, reception of visitor quantity information, Weather information, transport information, date and time information can be preset according to scenic spot,
Calculate scenic spot and suitably receive visitor's quantity information, and the scenic spot for recommending suitably to play to visitor in real time, ensure traveling quality.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding the embodiment of the present invention, constitutes 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 invention provides a kind of scenic spot flow medium live system, solve existing monitoring scenic spot exist monitoring data without
Method Real-Time Sharing, causes visitor and supervision part obtain the technical problem of real-time scenic spot information, realizes system design
Rationally, user is obtained in that the technique effect of real-time monitoring scenic spot information by live broadcast system.
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real
Apply mode to be further described in detail the present invention.It should be noted that in the case where mutually not conflicting, the application's
Feature in embodiment and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
With the other modes in the range of being different from being described herein using other implementing, therefore, protection scope of the present invention is not received down
The restriction of specific embodiment disclosed in face.
This application provides a kind of scenic spot flow medium live system, the system includes:
Collecting unit, the collecting unit are grabbed from Intranet for disposing RTSP recording services in monitoring scenic spot place Intranet
During treating excess syndrome, monitoring information is recorded a video;
Converting unit, the converting unit are used for obtaining the rtsp protocol streams of monitoring, are converted to hls protocol streams, with TS side
Formula is stored in locally, and is encapsulated as M3U8 forms;
Uploading unit, the uploading unit upload to live platform for will be stored in local information;
Live platform, the live platform is for according to user right offer user's monitoring scenic spot information.
Wherein, the system gathers the video monitoring information at scenic spot first with collecting unit, is then entered using converting unit
Row conversion, is stored after conversion, uploads the information of storage by uploading unit, and user obtains scape by live platform
The monitor in real time information in area.
On the basis of streaming media service of increasing income, design, exploitation, deployment RTSP recording services.RTSP video recording active obtainings
Data flow is recorded, and video file is deposited in locally, and produces an access path for playing back videos;There is provided simultaneously real-time
Direct broadcast function.The system is a solution of the inconvenience exclusively for monitoring system access platform and proposition, is based on numerous
Server and associated monitoring based on, and operation steady in a long-term and realize.The proposition of this service is very big
The independence for improving monitoring so as to hardware and software platform, conducted interviews by way of http protocol.There is propping up for streaming media service
Support, applications are provided one it is quick, stable, also bring greatly just for third party's exploitation while easily service
Profit, not only increases development efficiency, also a saving development cost, reduces the threshold of Stream Media Application.
RTSP is live:In order to improve the real-time of Streaming Media, the fluency and stability when live is obtained in server and is supervised
The RTSP protocol streams of control simultaneously switch to HLS protocol stream, are stored in local in TS modes and are encapsulated as M3U8 forms, and local only storage is most
New a few minutes (can be configured as requested), outer net carry out video recording by the URL addresses that the recording service disposed is generated and broadcast
Put.The continual timing of server carries out Streaming Media maintenance.
Concrete mode:
In monitoring place Intranet deployment RTSP recording services, recorded a video from Intranet crawl monitor in real time.Outer net is avoided to grab
Network traffics are taken during stream.
The rtsp protocol streams of monitoring are obtained, is switched to hls protocol streams in server, is stored in locally in TS modes, and is encapsulated
For M3U8 forms, newest one section video recording is locally only stored.
Further, the system also includes:
Judging unit, the judging unit are used for judging the working condition of uploading unit or live platform;
Processing unit, when judging unit, the processing unit is for judging that uploading unit or live platform are in busy work
When making state, then scenic spot feature information extraction is carried out to being stored in local information;
Signal generating unit, the signal generating unit generate scenic spot real-time text information for the scenic spot characteristic information based on extraction,
And the Word message of generation is uploaded to into live platform by uploading unit.
Wherein, when uploading unit or live platform are in busy working condition, such as uploading speed is less than standard speed,
Or live platform number is above standard number, less than pre-set velocity etc., at this moment processing unit is carried out live speed to monitoring video
Process, data volume is extracted relative to the less scenic spot characteristic information of video flowing, and data volume is generated based on scenic spot characteristic information
Less Word message, and Word message is uploaded to into live platform, user judges scape by the Word message of live platform
The real-time domestic visitors of the monitor in real time situation in area, such as the text importing scenic spot, can avoid uploading and live in this way
The video of big data quantity, reduces the demand to network speed, is easy to user's acquisition live information rapidly and efficiently.
Further, scenic spot feature information extraction is carried out to being stored in local information, specifically include:
Scenic spot video monitoring information is processed, the face information in image is obtained;
Scenic spot video monitoring information is processed, the visitor's translational speed information in image is obtained;
Thermal imaging process is carried out to scenic spot video monitoring information, obtains unit in scenic spot's area visitor density information.
Wherein, corresponding visitor's quantity information is obtained in that by face information, can by visitor's translational speed information
Obtain corresponding scenic spot congestion information, wherein by contrast before and after monitoring image preset time period the displacement of visitor and when
Between, you can obtain the translational speed information of visitor;The thermal imaging for being obtained in that corresponding scenic spot visitor is processed by thermal imaging, so
Contrasted with scenic spot image area according to thermal imaging area afterwards, you can obtain unit in scenic spot's area visitor density information
Further, the signal generating unit is used for based on face information, visitor's translational speed information, unit in scenic spot's area trip
Objective density information, generates real-time scenic spot visitor quantity Word message.
Further, the system also includes recommendation unit, and the recommendation unit is used for based on real-time scenic spot visitor quantity
Word message is that visitor recommends suitable tourist attractions.
Further, the recommendation unit is specifically included:
Generation module, the generation module are used for generating the real-time visitor in scenic spot based on real-time scenic spot visitor quantity Word message
Quantity;
Computing unit, the computing unit are used for based on the default reception of visitor quantity information in scenic spot, Weather information, traffic letter
Breath, date and time information, calculate scenic spot and suitably receive visitor's quantity information in real time;
Judge module, the judge module is for scenic spot suitably to be received visitor's quantity and the real-time visitor's quantity in scenic spot in real time
It is compared, whether suitably playing for scenic spot is judged;
Recommending module, the propulsion die are used for will determine that the scenic spot information suitably played that module is judged is put down live
User is pushed in platform.
Wherein, the scenic spot that can be suitably played with recommended user using recommendation unit, it is to avoid the tourism that flocks together of blindness, improves trip
Trip quality.
Further, the calculation of the computing unit is:
M=S*P*Q*R, wherein, M is that visitor's quantity information is suitably received at scenic spot in real time;S is the default reception of visitor number in scenic spot
Amount 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 for raining or avenging;Work as friendship
When communication breath is congestion, Q=0.5, when transport information is smooth, Q=1;When for Mon-Fri when, R=1, when for weekend
When R=1.2.
Wherein, if the default reception visitor quantity at certain scenic spot is 10,000 people, when for cloudy, traffic congestion, during weekend, scenic spot
Visitor quantity information M=0.6 ten thousand people is received in real time suitably.
The application sets up tourist attraction live broadcast system, and being acquired and carry out that data are converted into the video data at scenic spot can
With the Streaming Media played out in various platforms, there is provided time delay is forwarded, for coming from the requirements for access of various internet channels, there is provided
The scenic spot stream medium data direct broadcast service of mandate.
One or more technical schemes that the application is provided, at least have the following technical effect that or advantage:
First, realize system design rationally, user is obtained in that the skill of real-time monitoring scenic spot information by live broadcast system
Art effect.
Further, monitoring information can be converted to into Word message in network busy, can be kept away in this way
Exempt to upload the video with live big data quantity, reduce the demand to network speed, be easy to the live letter of user's acquisition rapidly and efficiently
Breath.
Further, reception of visitor quantity information, Weather information, transport information, date and time information can be preset according to scenic spot,
Calculate scenic spot and suitably receive visitor's quantity information, and the scenic spot for recommending suitably to play to visitor in real time, ensure traveling quality.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into the had altered of the scope of the invention and change.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.