CN114157878A - Weather video data processing system - Google Patents

Weather video data processing system Download PDF

Info

Publication number
CN114157878A
CN114157878A CN202111394846.4A CN202111394846A CN114157878A CN 114157878 A CN114157878 A CN 114157878A CN 202111394846 A CN202111394846 A CN 202111394846A CN 114157878 A CN114157878 A CN 114157878A
Authority
CN
China
Prior art keywords
data
live broadcast
video
camera
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.)
Granted
Application number
CN202111394846.4A
Other languages
Chinese (zh)
Other versions
CN114157878B (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.)
Beijing Huafeng Innovation Network Technology Co ltd
Original Assignee
Beijing Huafeng Innovation Network Technology 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 Huafeng Innovation Network Technology Co ltd filed Critical Beijing Huafeng Innovation Network Technology Co ltd
Priority to CN202111394846.4A priority Critical patent/CN114157878B/en
Publication of CN114157878A publication Critical patent/CN114157878A/en
Application granted granted Critical
Publication of CN114157878B publication Critical patent/CN114157878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/21805Source of audio or video content, e.g. local disk arrays enabling multiple viewpoints, e.g. using a plurality of cameras
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • 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/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • 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/237Communication with additional data server
    • 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
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

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)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention relates to a weather video data processing system, which comprises: the system comprises a camera, meteorological equipment, a resource server, a picture server, a time delay video server, a live broadcast server, a scheduling and distributing server and a client. By the system, visual weather video data sources are added for users, various viewing modes of weather images and videos are provided, and a weather video customized live broadcast mode meeting the real-time viewing requirement is provided; by means of the system, the sensitivity and the response efficiency of individuals and organizations to various weather conditions can be improved.

Description

Weather video data processing system
Technical Field
The invention relates to the technical field of data processing, in particular to a weather video data processing system.
Background
People have a single way of acquiring weather or weather information conventionally, and generally obtain a group of simple weather digital and character prompts by inquiring a weather station, so that visual feeling cannot be brought to people. The meteorological monitoring of a meteorological monitoring organization for some specific environments (such as geological disaster areas, high-altitude areas, unmanned areas, original forests and the like) is only to pre-embed some digital sensors to continuously acquire meteorological and weather information locally, and the processing mode cannot provide more intuitive visual information for the organization.
Disclosure of Invention
The object of the present invention is to provide a weather video data processing system, which is to solve the drawbacks of the prior art, and comprises: the system comprises a camera, meteorological equipment, a resource server, a picture server, a time delay video server, a live broadcast server, a scheduling and distributing server and a client. Through the system, not only are intuitive weather video data sources increased for users, but also various viewing modes of weather images and videos are provided, and a weather video customized live broadcast mode meeting the real-time viewing requirement is provided; by means of the system, the sensitivity and the response efficiency of individuals and organizations to various weather conditions can be improved.
To achieve the above object, an embodiment of the present invention provides a weather video data processing system, where the system includes: the system comprises a camera, meteorological equipment, a resource server, a picture server, a delay video server, a live broadcast server, a scheduling and distributing server and a client;
the camera is connected with the resource server; the camera is used for shooting a 360-degree panoramic weather image to generate weather video data; regularly pushing a weather video data group consisting of the weather video data and the corresponding initial shooting time to the resource server;
the meteorological equipment is connected with the resource server; the meteorological equipment is used for acquiring real-time meteorological information to generate meteorological data; a meteorological data group consisting of the meteorological data and the corresponding information acquisition time is regularly pushed to the resource server;
the resource server is respectively connected with the picture server, the delayed video server, the live broadcast server and the scheduling and distributing server; the resource server is used for establishing an association relationship for each camera and the corresponding position information thereof, establishing an association relationship for each meteorological device and the corresponding position information thereof, and establishing a camera live broadcast state recording list to manage the live broadcast state of each camera; the resource server is also used for setting and processing a live broadcast state recording list of the camera when receiving a live broadcast camera setting instruction sent by the live broadcast server; the resource server is further used for storing the weather video data group according to the corresponding relation between the weather video data group and the camera when the weather video data group is received, respectively pushing the weather video data group to the picture server and the time-delay video server, and pushing the weather video data group to the live broadcast server when the live broadcast state of the corresponding camera is a live broadcast state; the resource server is also used for storing the meteorological data set according to the corresponding relation between the meteorological data set and the meteorological equipment when the meteorological data set is received; the resource server is also used for carrying out corresponding query feedback processing when receiving a resource query instruction sent by any server connected with the resource server;
the picture server is connected with the scheduling and distributing server; the picture server comprises a long-term image pool and a short-term image pool; the picture server is used for carrying out image production processing when the weather video data set is received; the picture server is also used for carrying out image query feedback processing when receiving an image acquisition task instruction sent by the scheduling and distributing server;
the time-delay video server is connected with the scheduling and distributing server; the time-delay video server is used for initializing a local video index recording file and initializing a corresponding weather video queue for each camera; the time-delay video server is also used for pressing the weather video data group into the corresponding weather video queue when receiving the weather video data group; the delayed video server is also used for performing delayed video conversion and index record importing processing according to each weather video queue; the delayed video server is also used for performing delayed video query feedback processing when receiving a delayed video check task instruction sent by the scheduling and distributing server;
the live broadcast server is connected with the scheduling and distributing server; the live broadcast server is used for initializing a local camera live broadcast task recording file; the live broadcast server is also used for carrying out live broadcast camera setting instruction distribution and camera live broadcast task record adding processing when receiving a live broadcast customized task instruction sent by the scheduling and distributing server; the live broadcast server is also used for carrying out live broadcast task management on the camera live broadcast task recording file and initializing a corresponding live broadcast video queue for each camera which has opened a camera live broadcast task; the live broadcast server is also used for carrying out live broadcast video caching processing according to the live broadcast task recording file of the camera when the weather video data group is received; the live broadcast server is also used for performing live broadcast data feedback processing when receiving a live broadcast viewing task instruction sent by the scheduling and distributing server;
the dispatching and distributing server is connected with the client; the scheduling and distributing server is used for providing a uniform API instruction set for different types of clients, generating corresponding task instructions according to the API interface instructions received from the clients to perform task scheduling processing on each server in the system, and performing data distribution processing on task processing feedback data to the clients;
the client comprises a desktop application type client, an H5 format WAP application type client and a browser WEB application type client.
Preferably, the meteorological data comprises temperature, relative humidity, air pressure, ultraviolet intensity, wind direction, wind speed and precipitation information;
the position information corresponding to the camera and the position information corresponding to the meteorological equipment comprise administrative position information, longitude and latitude position information and place name information, the administrative position information comprises country, province, city (region) and urban area information, and the longitude and latitude position information comprises longitude and latitude information;
the camera live broadcast state recording list comprises a plurality of camera live broadcast state records; the camera live broadcast state record comprises camera position data, camera identification data, camera live broadcast state data and camera live broadcast time period data; the live broadcast state data of the cameras recorded by the live broadcast state of each camera is initialized to be in a non-live broadcast state, and the live broadcast time period data of the cameras is initialized to be null;
the video index record file comprises a plurality of video index records; the video index record comprises delayed video position data, delayed video meteorological data, delayed video initial shooting time data, delayed video camera identification data and delayed video storage path data;
the camera live broadcast task recording file comprises a plurality of camera live broadcast task records; the camera live broadcast task record comprises live broadcast camera position data, live broadcast camera identification data, live broadcast task type data and live broadcast task time period data; the live task type data includes a long-term type and a one-time type.
Preferably, the resource server is specifically configured to, when managing the live broadcast state, acquire a current system time to generate a first system time; polling the live camera state records in the live camera state record list, and recording the live camera state records which are polled currently as current records; when the currently recorded live camera state data is in a non-live state and the live camera period data is not empty, judging whether the first system time meets the live camera period data or not, and if so, setting the live camera state data to be in a live state; when the currently recorded live camera state data is in a live broadcast state, judging whether the first system time is later than the live camera period data, if so, setting the live camera state data to be in a non-live broadcast state and emptying the live camera period data.
Preferably, the resource server is specifically configured to extract a first camera identification parameter and a live broadcast time period parameter from the live broadcast camera setting instruction when the live broadcast state recording list of the camera is set and processed; and in the camera live broadcast state recording list, setting the camera live broadcast time period data of the camera live broadcast state record, matched with the first camera identification parameter, as the live broadcast time period parameter.
Preferably, the picture server is specifically configured to, during the image production processing, perform frame-by-frame image extraction processing on the weather video data of the weather video data set to generate a plurality of first frame image data; calculating the absolute time corresponding to each first frame of image data by taking the initial shooting time of the weather video data set as initial time and the relative time of each frame of image in the weather video data set as displacement time, and recording the absolute time as first frame time data; acquiring camera identification information of the camera corresponding to the weather video data group from the resource server to generate first frame camera identification data; acquiring the position information of the camera corresponding to the weather video data group from the resource server to generate first frame position data; and generating a first frame of weather data from the weather data of the weather data set obtained from the resource server matching the first frame of location data and the first frame of time data; a first frame image data set is formed by the first frame position data, the first frame camera identification data, the first frame meteorological data, the first frame image data and the first frame time data; if the first frame time data meet a preset long storage time point, storing the first frame image data group into the long image pool and the short image pool at the same time; if the first frame time data does not meet the long-term storage time point, only storing the first frame image data group into the short-term image pool;
the picture server is further configured to delete the first frame image data group in which the first frame time data exceeds a set storage period in the short-term image pool at regular intervals.
Preferably, the image server is specifically configured to extract an image position parameter and an image time period parameter from the image acquisition task instruction during the image query feedback processing; dividing the image time period parameters according to the set storage period of the short-term image pool to obtain short-term time period data and long-term time period data; in the short-term image pool, extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the short-term time section data to form a recent frame image data group set in sequence; extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the long time section data in the long image pool to form a long frame image data group set in sequence; fusing the long-term frame image data set and the short-term frame image data set according to the time sequence to obtain a first frame image data set; polling each first frame image data in the first frame image data group set, and performing image information superposition processing on the current first frame image data by using the first frame meteorological data corresponding to the current first frame image data in the polling to generate corresponding first frame meteorological superposition image data; sequencing all the obtained first frame weather superposition image data according to time sequence to generate a first image sequence; and sending the first image sequence back to the scheduling distribution server.
Preferably, the delayed video server is specifically configured to extract the weather video data set with the earliest time from the weather video queue as a current weather video data set when the delayed video conversion and index record import processing is performed; obtaining the position information of the camera corresponding to the current weather video data group from the resource server as the time-delay video position data; taking the initial shooting time of the current weather video data set as the initial shooting time data of the delayed video; and obtaining the weather data of the weather data set matched with the delayed video position data and the delayed video initial shooting time data from the resource server as the delayed video weather data; acquiring the camera identification information of the camera corresponding to the current weather video data group from the resource server as the delayed video camera identification data; performing key frame image extraction processing on the weather video data of the current weather video data set according to a preset key frame extraction principle to obtain a key frame image data sequence; performing video conversion on the key frame image data sequence to generate corresponding time-delay video data; storing the delayed video data, and taking the storage position of the delayed video data as the delayed video storage path data; the delayed video position data, the delayed video meteorological data, the delayed video initial shooting time data, the delayed video camera identification data and the delayed video storage path data form the video index record and are added to the video index record file; and after the addition is completed, removing the current weather video data group from the weather video queue.
Preferably, the delayed video server is specifically configured to extract a delayed video viewing mode parameter, a delayed video viewing position parameter, a viewing end system time point parameter, and a playback time point parameter from the delayed video viewing task instruction during the delayed video query feedback processing;
if the delayed video viewing mode parameter is in a non-playback mode, setting a delayed video viewing time parameter as a viewing end system time point parameter-a preset time difference threshold, and if the delayed video viewing mode parameter is in a playback mode, setting a delayed video viewing time parameter as a playback time point parameter;
recording the video index record in which the delayed video position data is matched with the delayed video viewing position parameter and the delayed video initial shooting time data is matched with the delayed video viewing time parameter in the video index record file as a first video index record; if the first video index record is not empty, reading storage data corresponding to the delayed video storage path data of the first video index record as current delayed video data and sending the current delayed video data back to the scheduling distribution server; and if the first video index record is empty, recording the video index record in which the delayed video position data is matched with the delayed video viewing position parameter and the delayed video initial shooting time data is closest to the current system time in the video index record file as a second video index record, and reading the storage data corresponding to the delayed video storage path data of the second video index record as the current delayed video data to be sent back to the scheduling distribution server.
Preferably, the live broadcast server is specifically configured to extract a live broadcast customized camera identification parameter, a live broadcast customized mode parameter, and a live broadcast customized time period parameter from the live broadcast customized task instruction when the live broadcast camera setting instruction is distributed and the camera live broadcast task record is added; taking the live broadcast customized camera identification parameter as a first camera identification parameter, taking the live broadcast customized time period parameter as a live broadcast time period parameter, and forming a live broadcast camera setting instruction by the first camera identification parameter and the live broadcast time period parameter to distribute to the resource server; acquiring position information of the camera corresponding to the live broadcast customized camera identification parameter from the resource server as live broadcast camera position data, taking the live broadcast customized camera identification parameter as live broadcast camera identification data, taking the live broadcast customized mode parameter as live broadcast task type data, and taking the live broadcast customized time period parameter as live broadcast task time period data, so as to form a new camera live broadcast task record; and adding the new live camera task record to the live camera task record file.
Preferably, the live broadcast server is specifically configured to acquire a current system time to generate a second system time when the live broadcast task is managed; polling the live camera task record of the live camera task record file, and recording the live camera task record which is polled currently as a current live task record;
when the second system time is earlier than the live broadcast task time period data recorded by the current live broadcast task, judging whether the corresponding live broadcast video queue is initialized or not, and if so, deleting the corresponding live broadcast video queue;
when the second system time meets the live broadcast task time interval data of the current live broadcast task record, judging whether the corresponding live broadcast video queue is initialized, if not, initializing one live broadcast video queue corresponding to the current live broadcast task record;
deleting the live broadcast video queue corresponding to the current live broadcast task record when the second system time is later than the live broadcast task time period data of the current live broadcast task record; identifying the live broadcast task type data recorded by the current live broadcast task; if the live broadcast task type data is a one-time type, deleting the current live broadcast task record from the camera live broadcast task record file; if the live broadcast task type data is of a long-term type, in a fixed interval time period before the start time specified by the live broadcast task time period data recorded by the current live broadcast task, the live broadcast camera identification data recorded by the current live broadcast task is taken as the first camera identification parameter, and the live broadcast camera setting instruction taking the live broadcast task time period data recorded by the current live broadcast task as the live broadcast time period parameter is sent to the resource server at one time.
Preferably, the live broadcast server is specifically configured to record the received weather video data group as a current data group when the live broadcast video is cached; acquiring current system time to generate third system time; acquiring camera identification information of the camera corresponding to the current data group from the resource server as current camera identification data; recording the live camera task record of which the live camera identification data is matched with the current camera identification data in the live camera task record file as a current camera live task record; if the current camera live broadcast task record is not empty, judging whether the third system time meets the live broadcast task time interval data recorded by the current camera live broadcast task, and if so, pressing the current data set into the live broadcast video queue corresponding to the current camera identification data for caching.
Preferably, the live broadcast server is specifically configured to extract live broadcast viewing camera identification parameters from the live broadcast viewing task instruction during the live broadcast data feedback processing; acquiring the current system time to generate a fourth system time; recording the live camera task record in which the live camera identification data is matched with the live viewing camera identification parameters in the live camera task record file as a current task record; and when the fourth system time meets the live broadcast task time period data of the current task record, extracting the weather video data of each weather video data group from the live broadcast video queue corresponding to the current task record according to the chronological order, and continuously pushing the weather video data to the scheduling and distributing server.
Preferably, when distributing the video data to the client, the scheduling and distributing server provides two video stream pushing channels: a video stream pushing channel based on a real-time message transfer protocol RTMP, and a video stream pushing channel based on an HTTP adaptive code rate streaming media transfer protocol HLS.
The embodiment of the invention provides a weather video data processing system, which comprises: the system comprises a camera, meteorological equipment, a resource server, a picture server, a time delay video server, a live broadcast server, a scheduling and distributing server and a client. The system shoots a weather environment through the camera to generate visual weather video, continuously collects weather information through weather equipment to generate auxiliary weather data, combines the weather data and the weather video through the resource server, the picture server, the delay video server, the live broadcast server and the scheduling distribution server to form an image, a delay video and a live broadcast video, and pushes the image, the delay video and the live broadcast video to the client according to the requirements of the client. Through the system, not only are intuitive weather video data sources increased for users, but also various viewing modes of weather images and videos are provided, and a weather video customized live broadcast mode meeting the real-time viewing requirement is provided; by means of the system, the sensitivity and the response efficiency of individuals and organizations to various weather conditions can be improved.
Drawings
Fig. 1 is a schematic structural diagram of a weather video data processing system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a weather video data processing system according to an embodiment of the present invention, as shown in fig. 1, the system includes: the system comprises a camera 11, a meteorological device 12, a resource server 13, a picture server 14, a delayed video server 15, a live broadcast server 16, a scheduling distribution server 17 and a client 18.
Camera 11
The camera 11 is connected with a resource server 13; the camera 11 is used for shooting a 360-degree panoramic weather image to generate weather video data; and periodically pushes a weather video data group consisting of weather video data and the corresponding initial shooting time to the resource server 13.
Here, the camera 11 is specifically a camera supporting 360 ° panoramic high-definition shooting; the camera 11 has self-cleaning capability; and is connected with the resource server 13 through 4G/5G/WIFI or wired connection.
In a specific implementation manner provided by the embodiment of the present invention, the camera 11 may set the automatic self-cleaning mode information locally; if the self-cleaning mode information is the first mode, the camera 11 shoots a specified environment after self-cleaning each time and takes the obtained image as a self-cleaning reference image, then shoots the same environment regularly as a self-cleaning comparison image, uses the self-cleaning reference image to compare the definition of the self-cleaning reference image after obtaining the self-cleaning comparison image each time, and if the definition of the current self-cleaning comparison image is reduced to be below a preset value, the camera 11 automatically starts lens self-cleaning processing; if the self-cleaning mode information is the second mode, the camera 11 automatically and periodically starts the lens self-cleaning process at the designated time according to the self-cleaning frequency setting information and the self-cleaning time setting information preset locally.
(II) Meteorological device 12
The meteorological equipment 12 is connected with the resource server 13; the meteorological equipment 12 is used for collecting real-time meteorological information to generate meteorological data; and periodically pushes a meteorological data group consisting of meteorological data and information acquisition time corresponding to the meteorological data to the resource server 13;
wherein the meteorological data comprises temperature, relative humidity, air pressure, ultraviolet intensity, wind direction, wind speed and precipitation information.
Here, the meteorological device 12 is composed of a plurality of meteorological information collecting sensors or collecting modules, each of which is responsible for collecting one or more meteorological information (temperature, relative humidity, air pressure, ultraviolet intensity, wind direction, wind speed, and precipitation amount information); the meteorological equipment 12 is connected with the resource server 13 through 4G/5G/WIFI or wired connection.
(III) resource Server 13
The resource server 13 is respectively connected with the picture server 14, the delayed video server 15, the live broadcast server 16 and the scheduling distribution server 17; the resource server 13 is configured to establish an association relationship for each camera 11 and the corresponding location information thereof, establish an association relationship for each meteorological device 12 and the corresponding location information thereof, and establish a camera live broadcast state recording list to perform live broadcast state management on each camera 11; the resource server 13 is further configured to perform a camera live broadcast state recording list setting process when receiving a live broadcast camera setting instruction sent by the live broadcast server 16; the resource server 13 is further configured to store the weather video data group according to a corresponding relationship between the weather video data group and the camera 11 when the weather video data group is received, respectively push the weather video data group to the picture server 14 and the delayed video server 15, and push the weather video data group to the live broadcast server 16 when the live broadcast state of the corresponding camera 11 is a live broadcast state; the resource server 13 is further configured to store the meteorological data set according to the corresponding relationship between the meteorological data set and the meteorological device 12 when the meteorological data set is received; the resource server 13 is further configured to perform corresponding query feedback processing when receiving a resource query instruction sent by any server connected to the resource server;
the position information corresponding to the camera 11 and the position information corresponding to the meteorological device 12 both include administrative position information, place name information, and longitude and latitude position information, the administrative position information includes information of country, province, city (region), and urban area, and the longitude and latitude position information includes longitude and latitude information;
the camera live broadcast state recording list comprises a plurality of camera live broadcast state records; the camera live broadcast state record comprises camera position data, camera identification data, camera live broadcast state data and camera live broadcast time period data; the camera live broadcast state data comprises a non-live broadcast state and a live broadcast state; the live camera state data recorded by the live camera state is initialized to be in a non-live state, and the live camera period data is initialized to be empty.
Here, the resource server 13 of the embodiment of the present invention has the following 5 main functions: the system comprises an original resource storage function, a live broadcast camera management function, a picture/delayed video production data pushing function, a live broadcast video data pushing function and an original resource query function.
1) Raw resource storage function
The resource server 13 of the embodiment of the present invention establishes an association relationship for each camera 11 and its corresponding location information, and establishes an association relationship for each meteorological device 12 and its corresponding location information; when the weather video data set is received, storing the weather video data set according to the corresponding relation between the weather video data set and the camera 11; and upon receipt of the meteorological data set, stores it in correspondence with the meteorological device 12. That is, the weather video data/weather data with time information uploaded by each camera 11/weather device 12 is stored as an original resource according to the corresponding relationship with the position information (country, province, city, downtown, place name, longitude, latitude).
2) Live broadcast camera management function
The resource server 13 of the embodiment of the present invention creates a camera live broadcast state recording list to manage the live broadcast state of each camera 11; and performs a camera live broadcast state recording list setting process upon receiving a live broadcast camera setting instruction sent by the live broadcast server 16.
In another specific implementation manner provided in the embodiment of the present invention, the resource server 13 is specifically configured to extract a first camera identification parameter and a live broadcast time period parameter from a live broadcast camera setting instruction when setting and processing a camera live broadcast state recording list; and setting the camera live broadcast time period data recorded by the camera live broadcast state with the camera identification data matched with the first camera identification parameter as a live broadcast time period parameter in a camera live broadcast state recording list.
In another specific implementation manner provided in the embodiment of the present invention, the resource server 13 is specifically configured to, during live broadcast state management, obtain current system time to generate first system time; polling the live broadcast state records of the cameras in the live broadcast state record list of the cameras, and recording the live broadcast state records of the currently polled cameras as current records; when the currently recorded live camera state data is in a non-live state and the live camera period data is not empty, judging whether first system time meets the live camera period data or not, and if yes, setting the live camera state data to be in a live state; when the currently recorded live camera state data is in a live broadcast state, judging whether the first system time is later than the live camera period data, if so, setting the live camera state data to be in a non-live broadcast state and emptying the live camera period data.
3) Picture/time-lapse video production data push function
When receiving the weather video data set, the resource server 13 of the embodiment of the present invention pushes the weather video data set to the picture server 14 and the delayed video server 15, respectively; that is, the received weather video data is automatically pushed to the picture server 14 and the delayed video server 15 so that both of them automatically perform the historical picture production and the historical video production.
4) Live video data pushing function
When receiving a weather video data group, the resource server 13 of the embodiment of the present invention pushes the live broadcast state of the corresponding camera 11 to the live broadcast server 16 when the live broadcast state is a live broadcast state; namely, with reference to the live camera status record list, the weather video data group uploaded by the live camera 11 is automatically pushed to the live broadcast server 16 for the production and forwarding of the live broadcast video in real time.
In another specific implementation manner provided in the embodiment of the present invention, the resource server 13 is specifically configured to, when receiving the weather video data set, obtain, from the stored original resource information, camera identification information corresponding to the current weather video data set as a current camera identification; extracting the live broadcast state data of the camera recorded by the live broadcast state of the camera, wherein the live broadcast state data of the camera is recorded in a live broadcast state recording list of the camera, and the camera identification data is matched with the current camera identification; and if the current live broadcast state data is in a live broadcast state, pushing the current weather video data group to the live broadcast server 16.
5) Original resource query function
When receiving a resource query instruction sent by any server connected with the resource server 13 of the embodiment of the present invention, the resource server performs corresponding query feedback processing; that is, when receiving a resource query instruction sent by the picture server 14, the delayed video server 15, the live broadcast server 16 or the scheduling distribution server 17 connected thereto, querying out corresponding resource data from the stored original resource and feeding back the resource data.
In another specific implementation manner provided in the embodiment of the present invention, the resource server 13 is specifically configured to provide a set of resource query instruction patterns and corresponding mode parameters for the picture server 14, the delayed video server 15, the live broadcast server 16, and the scheduling distribution server 17 connected thereto, where the resource query instruction patterns at least include:
a location device query mode, which requires querying the identification information of one or more corresponding cameras 11/meteorological devices 12 according to a specified location, wherein the corresponding mode parameters comprise a device type parameter and a location parameter, and the device type parameter comprises a camera type and a meteorological device type;
a location data query mode, which requires querying one or more corresponding weather video arrays/weather data arrays according to a specified location, wherein the corresponding mode parameters comprise equipment type parameters and location parameters, and the equipment type parameters comprise a camera type and a weather equipment type;
a position time data query mode, wherein the mode requires querying one or more corresponding weather video arrays/meteorological data arrays according to a specified position + time, the corresponding mode parameters comprise an equipment type parameter, a position parameter and a time parameter, and the equipment type parameter comprises a camera type and a meteorological equipment type;
a data position query mode, wherein the mode requires querying corresponding position information according to a specified weather video array/meteorological data set, the corresponding mode parameters comprise data type parameters and data identification parameters, the data type parameters comprise a weather video data type and a meteorological data type, and the data identification parameters are the unique identification information of the corresponding weather video array/meteorological data set;
a data equipment query mode, wherein the mode requires querying corresponding camera identification/meteorological equipment identification information according to a specified weather video array/meteorological data set, the corresponding mode parameters comprise data type parameters and data identification parameters, the data type parameters comprise weather video data types and meteorological data types, and the data identification parameters are the unique identification information of the corresponding weather video array/meteorological data set;
any server can package the resource query instruction to send to the resource server 13 through the resource query instruction mode and the corresponding mode parameter format, and the resource server 13 extracts the resource query instruction mode from the received resource query instruction to identify;
if the resource query instruction mode is specifically the location device query mode, according to the device type parameter and the location parameter of the mode parameter, the identification information of all the cameras 11 or the meteorological devices 12 corresponding to the location parameter is searched and returned as query feedback data;
if the resource query instruction mode is specifically the location data query mode, according to the device type parameter and the location parameter of the mode parameter, searching all weather video arrays or weather data arrays of the cameras 11 or the weather devices 12 corresponding to the location parameter as query feedback data to return;
if the resource query instruction mode is specifically the location time data query mode, further searching all the weather video arrays or the weather data arrays meeting the time parameters from the weather video array set or the weather data array set of all the cameras 11 or the weather equipment 12 corresponding to the location parameters as query feedback data to return according to the equipment type parameter, the location parameter and the time parameter of the mode parameter;
if the resource query instruction mode is specifically the data position query mode, searching position information corresponding to a weather video array or a meteorological data array corresponding to the data identification parameter as query feedback data to return according to the data type parameter and the data identification parameter of the mode parameter;
if the resource query instruction mode is specifically the data device query mode, according to the data type parameter and the data identification parameter of the mode parameter, the device identification information of the camera 11 or the meteorological device 12 corresponding to the weather video array or the meteorological data array corresponding to the data identification parameter is searched and returned as query feedback data.
(IV) Picture Server 14
The picture server 14 is connected with the scheduling distribution server 17; picture server 14 includes a long-term image pool and a short-term image pool; the picture server 14 is used for performing image production processing when receiving the weather video data set; the picture server 14 is further configured to perform image query feedback processing when receiving an image acquisition task instruction sent by the scheduling and distributing server 17; the picture server 14 is also configured to perform image video production processing upon receiving a frame image video conversion task instruction sent by the scheduling distribution server 17.
Here, the picture server 14 of the embodiment of the present invention has the following 4 main functions: the system comprises a frame image data set production function, a long-term and short-term image storage function, a weather image query function and a weather image video conversion function.
1) Frame image data set production function
When receiving the weather video data set, the picture server 14 of the embodiment of the present invention performs image production processing; namely, the weather video data set pushed by the resource server 13 is used as production resource to perform image production processing, during the processing, the frame image extraction is performed on the weather video data of the weather video data set, and obtains the camera identification information and the position information of the frame image according to the corresponding relation between the weather video data set and the camera and the position, and calculating the time information of each frame of image according to the initial shooting time of the weather video data set and the relative displacement time between each frame of image and the video, and acquiring weather information of the corresponding position at the corresponding time based on the position and time information of each frame of image, and forming an image production result, namely a frame image data set by the frame image, the image time and the image weather information for storage, wherein each frame image data set comprises one frame of image and the corresponding position, camera identification, time and weather information thereof.
In another specific implementation manner provided in the embodiment of the present invention, the picture server 14 is specifically configured to, during image production processing, perform frame-by-frame image extraction processing on weather video data in a weather video data set to generate a plurality of first frame image data; calculating the absolute time corresponding to each first frame of image data by taking the initial shooting time of the weather video data set as the initial time and the relative time of each frame of image in the weather video data set as the displacement time, and recording the absolute time as first frame time data; acquiring camera identification information of a camera 11 corresponding to the weather video data group from a resource server 13 to generate first frame camera identification data; obtaining the position information of the camera 11 corresponding to the weather video data set from the resource server 13 to generate first frame position data; and generates a first frame of weather data from the weather data of the weather data set obtained from the resource server 13 matching the first frame of position data and the first frame of time data; a first frame image data group is formed by first frame position data, first frame camera identification data, first frame meteorological data, first frame image data and first frame time data; if the first frame time data meets the preset long storage time point, storing the first frame image data group into a long image pool and a short image pool at the same time; and if the first frame time data does not meet the long-term storage time point, only storing the first frame image data group into the short-term image pool. Here, the point of permanent storage time is conventionally set to one or more specific points of time, such as 5, 8, 12, 18 points per day.
2) Long-term and short-term image storage function
The picture server 14 of the embodiment of the present invention divides the product storage space into a long-term image pool and a short-term image pool for saving the storage space; the frame image data set in the permanent image pool is permanently stored, and the time information meets the requirement of a permanent storage time point, namely the frame image data set generated by each camera at a specified time point every day is stored in the permanent image pool; removing the frame image data group regularly according to a preset storage period of the data in the short-term image pool, wherein the conventional condition of the set storage period is 30 days; after each group of frame image data sets is obtained, the picture server 14 sends the group of frame image data sets to the short-term image pool for storage, and simultaneously judges whether the time information of the group of frame image data sets meets the preset long-term storage time point requirement, and if the time information of the group of frame image data sets meets the preset long-term storage time point requirement, the group of frame image data sets is sent to the long-term image pool for permanent storage.
In another specific implementation manner provided by the embodiment of the present invention, the picture server 14 is further configured to delete the first frame image data group in which the first frame time data exceeds the set storage period in the short-term image pool periodically.
3) Weather image query function
The picture server 14 of the embodiment of the present invention will respond to the image acquisition task instruction sent by the scheduling distribution server 17 to perform image query feedback processing; during processing, extracting image position parameters and image time period parameters from the image acquisition task instruction; and then dividing the image time period parameters according to the set storage period of the short-term image pool, specifically: if the image time period parameters are all in the set storage period, the short-term time period data is equal to the image time period parameters and the long-term time period data is empty, if the image time period parameters are all out of the set storage period, the short-term time period data is empty and the long-term time period data is equal to the image time period parameters, if the image time period parameters are partially in the set storage period, the set storage period is used as a boundary, the time period which is in line with the set storage period in the image time period parameters is set as the short-term time period data, and the time period which is not in line with the set storage period in the image time period parameters is set as the long-term time period data; then extracting corresponding short-term and long-term frame image data group sets from the short-term image pool and the long-term image pool respectively based on the divided short-term time segment data, long-term time segment data and image position parameters, and fusing the short-term and long-term frame image data group sets; and after fusion, overlaying weather information corresponding to each frame of image to obtain weather images with weather information, namely weather overlaid images, and finally sending back the weather overlaid image sequence as a query result. The weather image and the corresponding weather information are simultaneously provided on the image generated by the weather image inquiry function.
In another specific implementation manner provided in the embodiment of the present invention, the image server 14 is specifically configured to extract an image position parameter and an image time period parameter from the image acquisition task instruction during the image query feedback processing; dividing image time period parameters according to a set storage period of the short-term image pool to obtain short-term time period data and long-term time period data; in the short-term image pool, extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the short-term time section data to form a recent frame image data group set in sequence; in the long-term image pool, extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the long-term time section data to form a long-term frame image data group set in sequence; fusing the long-term frame image data set and the short-term frame image data set according to the time sequence to obtain a first frame image data set; polling each first frame image data in the first frame image data group set, and performing image information superposition processing on the current first frame image data by using the first frame meteorological data corresponding to the current first frame image data in the polling to generate corresponding first frame meteorological superposition image data; sequencing all the obtained first frame weather superposition image data according to time sequence to generate a first image sequence; and sends the first image sequence back to the dispatch delivery server 17.
4) Weather image video conversion function
The picture server 14 of the embodiment of the present invention also performs image video production processing in response to the image video conversion task instruction sent by the scheduling distribution server 17; actually, a frame image data set matched with the camera identification parameter and the start time parameter in the instruction is obtained from the local short-term image pool, the matched frame image data set is cut according to a set specified number to obtain a frame image data set with a compressed length, the frame image data set with the compressed length is subjected to weather image conversion by adopting the weather superimposed image generation mode to obtain a weather superimposed image sequence, and the weather superimposed image sequence is subjected to video conversion to finally obtain corresponding image video data to be sent back to the distribution server 17. Here, the specified number for cropping the frame image data group set is specifically determined by the video length defined by the system, and for example, if the video length is 10 seconds and 5 frames per second are set, the specified number is 10 × 5 or 50. When the image video data generated by the weather image video conversion function is played, the weather image and the corresponding weather information can be watched on the video playing interface at the same time.
In another specific implementation manner provided in the embodiment of the present invention, the picture server 14 is specifically configured to extract the second camera identification parameter and the start time parameter from the image-to-video conversion task instruction during the image-to-video production process; in the short-term image pool, extracting all first frame image data groups of which the first frame camera identification data are matched with the second camera identification parameters and the first frame time data are not earlier than the initial time parameters to form a second frame image data group set in sequence; when the second frame image data group set is not empty, extracting a specified number of first frame image data groups with the earliest time from the second frame image data group set to form a third frame image data group set; polling each first frame image data in the third frame image data group set, and performing image information superposition processing on the current first frame image data by using the first frame meteorological data corresponding to the current first frame image data in the polling to generate corresponding second frame meteorological superposition image data; sequencing all the obtained second frame weather superposition image data according to time sequence to generate a second image sequence; the second image sequence is subjected to video conversion processing to generate first image video data, and the first image video data is sent back to the scheduling distribution server 17.
(V) time-lapse video server 15
The delay video server 15 is connected with the dispatching and distributing server 17; the delayed video server 15 is configured to initialize a local video index recording file and initialize a corresponding weather video queue for each camera 11; the delayed video server 15 is further configured to, when receiving the weather video data set, press the weather video data set into the corresponding weather video queue; the delayed video server 15 is further configured to perform delayed video conversion and index record importing processing according to each weather video queue; the delayed video server 15 is further configured to perform delayed video query feedback processing when receiving a delayed video view task instruction sent by the scheduling distribution server 17;
wherein the video index record file comprises a plurality of video index records; the video index record comprises delayed video position data, delayed video meteorological data, delayed video initial shooting time data, delayed video camera identification data and delayed video storage path data; the delayed video storage path data is specifically storage path information for storing corresponding delayed video data.
Here, the delayed video server 15 according to the embodiment of the present invention has the following 3 main functions: the system comprises a weather video receiving and caching function, a delayed video production function and a delayed video query feedback function.
1) Weather video receiving and caching function
The delayed video server 15 of the embodiment of the present invention initializes a corresponding weather video queue for each camera 11, and presses a weather video data group into the corresponding weather video queue when receiving the weather video data group; that is, the weather video queue is used as a buffer space, and an asynchronous data processing mechanism is provided for the delayed video production task of each camera 11.
2) Delayed video production function
The delayed video server 15 according to the embodiment of the present invention is configured to initialize a local video index recording file, and perform delayed video conversion and index record importing processing according to each weather video queue. Here, creating a video index record file is actually a total list summarizing all completed delayed video production task records; when each delayed video production task is processed, the delayed video server 15 continuously extracts the weather video data group with the earliest time from each weather video queue according to the first-in first-out principle to perform delayed video conversion to obtain delayed video data and store the delayed video data, obtains the corresponding position, weather and camera identification information from the resource server 13, combines the initial shooting time information and the storage path information of the delayed video server to form a video index record capable of reflecting the current delayed video production task information, and adds the video index record to a video index record file.
In another specific implementation manner provided in the embodiment of the present invention, the delayed video server 15 is specifically configured to extract a weather video data set with the earliest time from the weather video queue as a current weather video data set when performing delayed video conversion and index record importing processing; obtaining the position information of the camera 11 corresponding to the current weather video data set from the resource server 13 as time-delay video position data; taking the initial shooting time of the current weather video data set as the initial shooting time data of the delayed video; acquiring meteorological data of a meteorological data set matched with the delayed video position data and the delayed video initial shooting time data from the resource server 13 as delayed video meteorological data; acquiring camera identification information of a camera 11 corresponding to the current weather video data set from the resource server 13 as delayed video camera identification data; performing key frame image extraction processing on the weather video data of the current weather video data set according to a preset key frame extraction principle to obtain a key frame image data sequence; performing video conversion on the key frame image data sequence to generate corresponding time delay video data; storing the delayed video data, and taking the storage position of the delayed video data as delayed video storage path data; the video index record is composed of delayed video position data, delayed video meteorological data, delayed video initial shooting time data, delayed video camera identification data and delayed video storage path data and is added to a video index record file; and after the addition is completed, removing the current weather video data group from the weather video queue.
Here, according to a preset key frame extraction principle, the method performs key frame image extraction processing on the weather video data of the current weather video data set, specifically comprising: dividing weather video data into a plurality of sections of unit time videos according to a preset unit time length, and extracting a key frame in each unit time video to obtain a key frame image data sequence; the key frame extraction principle is the criterion for identifying the key frame in the unit time video, and may be an odd frame, an even frame, an intermediate frame, a start frame or an end frame in the unit time video, or may be set separately according to the specific implementation parameters of the system.
In order to prevent the loss of the cache data, the delayed video server 15 allocates an initial space with a large capacity to the weather video queue corresponding to each camera 11, and also allocates a pair of upper and lower limit space ratio thresholds to each weather video queue, where the pair of thresholds may be a general value or may be customized according to each weather video queue; when the delayed video conversion and the index record import processing are performed, the delayed video server 15 further calculates a ratio of a current used space to a current total space of each weather video queue in real time to obtain a real-time space ratio, increments the space of the current weather video queue according to a preset single item increment capacity if the real-time space ratio is greater than or equal to an upper limit space ratio threshold, and decrements the space of the current weather video queue according to a preset single item decrement capacity if the real-time space ratio is less than or equal to a lower limit space ratio threshold.
3) Delayed video query feedback function
When receiving a delayed video viewing task instruction sent by a scheduling and distributing server 17, a delayed video server 15 of the embodiment of the invention performs delayed video query feedback processing; that is, based on the instruction-based delayed video viewing mode parameter, the delayed video viewing position parameter, the viewing end system time point parameter and the playback time point parameter, the corresponding delayed video storage path data is called from the video index recording file, and the corresponding delayed video data is read according to the delayed video storage path data and returned. Here, the delayed video viewing mode parameter includes both a non-playback mode and a playback mode.
In another specific implementation manner provided in the embodiment of the present invention, the delayed video server 15 is specifically configured to extract a delayed video viewing mode parameter, a delayed video viewing position parameter, a viewing end system time point parameter, and a playback time point parameter from the delayed video viewing task instruction during the delayed video query feedback processing;
if the delayed video viewing mode parameter is in a non-playback mode, setting a delayed video viewing time parameter as a viewing end system time point parameter-preset time difference threshold, and if the delayed video viewing mode parameter is in a playback mode, setting the delayed video viewing time parameter as a playback time point parameter;
recording a video index record, in which delayed video position data are matched with delayed video viewing position parameters and delayed video initial shooting time data are matched with delayed video viewing time parameters, in a video index record file as a first video index record; if the first video index record is not empty, reading storage data corresponding to the delayed video storage path data of the first video index record as current delayed video data and sending the current delayed video data back to the scheduling distribution server 17; and if the first video index record is empty, recording a video index record in which the delayed video position data is matched with the delayed video viewing position parameter and the delayed video initial shooting time data is closest to the current system time as a second video index record, and reading storage data corresponding to the delayed video storage path data of the second video index record as current delayed video data to send back to the scheduling and distributing server 17.
Here, when the delayed video viewing mode parameter is the non-playback mode, a time point of a fixed delay position before the specified time is extracted as the delayed video viewing time parameter, where the fixed delay position is determined by a preset time difference threshold, for example: the time-delay video viewing mode parameter is a non-playback mode, the preset time difference threshold value is 15 seconds, the viewing end system time point parameter is 2021-1-110: 30, and then the time-delay video viewing time parameter is 2021-1-110: 15; when the delayed video viewing mode parameter is the playback mode, directly using the playback time point parameter as the delayed video viewing time parameter, for example: the delayed video viewing mode parameter is a playback mode, the playback time point parameter is 2021-1-110: 30, and the delayed video viewing time parameter is 2021-1-110: 30;
in addition, when the corresponding video index record is searched in the video index record file according to the delayed video viewing position parameter and the delayed video viewing time parameter, if the first video index record is not an empty description video index record file, the video index record meeting the delayed video viewing position parameter and the delayed video viewing time parameter exists, and then the corresponding delayed video can be read out according to the delayed video storage path data in the record to be sent back; however, if the first video index record is empty, it indicates that there is no video index record satisfying the delayed video viewing position parameter and the delayed video viewing time parameter in the video index record file, and at this time, in the embodiment of the present invention, the video index record with the latest time in one or more video index records matching the delayed video viewing position parameter in the video index record file is used as a matching record by default, and the corresponding delayed video is read out according to the delayed video storage path data of the matching record and sent back.
(VI) live Server 16
The live broadcast server 16 is connected with the scheduling distribution server 17; the live broadcast server 16 is used for initializing a local camera live broadcast task recording file; the live broadcast server 16 is further configured to perform live broadcast camera setting instruction distribution and camera live broadcast task record addition processing when receiving a live broadcast customized task instruction sent by the scheduling distribution server 17; the live broadcast server 16 is further configured to perform live broadcast task management on the camera live broadcast task recording file, and initialize a corresponding live broadcast video queue for each camera 11 that has opened the camera live broadcast task; the live broadcast server 16 is further configured to perform live broadcast video caching processing according to the camera live broadcast task recording file when receiving the weather video data set; the live broadcast server 16 is further configured to perform live broadcast data feedback processing when receiving a live broadcast viewing task instruction sent by the scheduling distribution server 17;
the camera live broadcast task recording file comprises a plurality of camera live broadcast task records; the camera live broadcast task record comprises live broadcast camera position data, live broadcast camera identification data, live broadcast task type data and live broadcast task time interval data; the live task type data includes a long-term type and a one-time type.
Here, the live server 16 of the embodiment of the present invention has the following 3 main functions: the system comprises a live broadcast task setting and managing function, a weather video receiving and caching function and a live broadcast data pushing function.
1) Setting and management function of live broadcast task
The delayed video server 15 of the embodiment of the invention initializes the local camera live broadcast task recording file; when receiving a live broadcast customized task instruction sent by the scheduling and distribution server 17, performing live broadcast camera setting instruction distribution and camera live broadcast task record adding processing; and performing live broadcast task management on the camera live broadcast task recording file, and initializing a corresponding live broadcast video queue for each camera 11 which has opened the camera live broadcast task.
In another specific implementation manner provided in the embodiment of the present invention, the live broadcast server 16 is specifically configured to extract a live broadcast customized camera identification parameter, a live broadcast customized mode parameter, and a live broadcast customized time period parameter from the live broadcast customized task instruction when the live broadcast camera setting instruction is distributed and the camera live broadcast task record is added; the live broadcast customized camera identification parameter is used as a first camera identification parameter, the live broadcast customized time period parameter is used as a live broadcast time period parameter, and a live broadcast camera setting instruction is formed by the first camera identification parameter and the live broadcast time period parameter and is distributed to the resource server 13; acquiring position information of a camera 11 corresponding to the live broadcast customized camera identification parameters from a resource server 13 as live broadcast camera position data, using the live broadcast customized camera identification parameters as live broadcast camera identification data, using the live broadcast customized mode parameters as live broadcast task type data, and using the live broadcast customized time period parameters as live broadcast task time period data, thereby forming new camera live broadcast task records; and adding the new live camera task record to the live camera task record file.
In another specific implementation manner provided in the embodiment of the present invention, the live broadcast server 16 is specifically configured to obtain the current system time to generate the second system time during live broadcast task management; polling the live camera task record of the live camera task record file, and recording the live camera task record which is polled currently as a current live task record;
when the second system time is earlier than the live broadcast task time interval data recorded by the current live broadcast task, judging whether a corresponding live broadcast video queue is initialized or not, and if so, deleting the corresponding live broadcast video queue;
when the second system time meets the live broadcast task time interval data recorded by the current live broadcast task, judging whether a corresponding live broadcast video queue is initialized, and if not, initializing a live broadcast video queue corresponding to the current live broadcast task record;
when the second system time is later than the live broadcast task time interval data recorded by the current live broadcast task, deleting a live broadcast video queue corresponding to the current live broadcast task record; identifying the live broadcast task type data recorded by the current live broadcast task; if the live broadcast task type data is a one-time type, deleting the current live broadcast task record from a camera live broadcast task record file; if the live broadcast task type data is a long-term type, in a fixed interval time period before the start time specified by the live broadcast task time period data recorded by the current live broadcast task, a live broadcast camera setting instruction which takes the live broadcast camera identification data recorded by the current live broadcast task as a first camera identification parameter and the live broadcast task time period data recorded by the current live broadcast task as a live broadcast time period parameter is sent to the resource server 13 at one time.
Here, in order to improve the utilization rate of the cache space, the live broadcast server 16 only regards the camera 11 that has customized the live broadcast task and the current time reaches the customized live broadcast time interval as a camera that has opened the live broadcast task of the camera, and initializes the live broadcast video queue only for this type of camera. Therefore, when the live broadcast task management is performed, the live broadcast server 16 deletes the live broadcast video queue if the current time does not reach the customized live broadcast time interval but the live broadcast video queue is opened by mistake, initializes the live broadcast video queue if the current time reaches the customized live broadcast time interval but the live broadcast video queue is not created, and deletes the live broadcast video queue if the current time passes the customized live broadcast time interval.
In addition, since the long-term type and the one-time type can be set in the live broadcasting task recording file of the camera, the long-term type means that live broadcasting is performed every day or every specified date or every specified number of days, the data of the live broadcasting task time period corresponding to the type does not contain date information, and the one-time type means that live broadcasting is performed in a specified time period of the specified date and the data of the live broadcasting task time period corresponding to the type contains date information. The record of the live camera status record list on the resource server 13 does not include information like live task type data, and the resource server 13 is managed in a manner that time interval information of live camera status record which is already finished with live broadcast is emptied after each live broadcast is finished. Then, in order to ensure that the long-term type live broadcast task can be executed smoothly each time, it is necessary to reset the time period information recorded in the live broadcast status of the camera on the resource server 13 before each subsequent live broadcast after the first execution. Therefore, when the live broadcast task management is performed, the live broadcast server 16 sends a live broadcast camera setting instruction to the resource server 13 in a fixed interval time period before each live broadcast, that is, before the start time specified by the live broadcast task time period data, when the record indicating that the live broadcast task type data is of the long-term type, so that the corresponding camera live broadcast state record can be set in time. Here, the fixed interval time period may be within half an hour before the start time specified by the live task time period data, or may be set separately according to the detailed system implementation rules.
2) Weather video receiving and caching function
The live broadcast server 16 of the embodiment of the present invention is further configured to perform live broadcast video caching processing according to the camera live broadcast task recording file when receiving the weather video data group; namely, the live video queue is used as a buffer space, and a live data buffer processing mechanism is provided for each camera 11 which has opened a live task of the camera.
In another specific implementation manner provided in the embodiment of the present invention, the live broadcast server 16 is specifically configured to record the received weather video data set as a current data set when the live broadcast video is cached; acquiring current system time to generate third system time; acquiring the camera identification information of the camera 11 corresponding to the current data group from the resource server 13 as the current camera identification data; recording a camera live broadcast task record with live broadcast camera identification data matched with the current camera identification data in a camera live broadcast task record file as a current camera live broadcast task record; and if the current live broadcast task record of the camera is not empty, judging whether the third system time meets the live broadcast task time interval data recorded by the current live broadcast task of the camera, and if so, pressing the current data set into a live broadcast video queue corresponding to the identification data of the current camera for caching.
It should be noted that, to prevent data overflow, the live broadcast server 16 has a space limit for each live broadcast video queue, that is, the live broadcast server 16 will allocate a space upper limit threshold for each live broadcast video queue, and the threshold may be a general value or may be customized according to each queue; during the live video caching process, the live server 16 also performs real-time statistics on the total data capacity of the current live video queue before pressing the current data group into the live video queue corresponding to the current camera identification data for caching, and deletes the cached data with the earliest time, that is, the weather video data group, from the current live video queue according to a first-in first-out principle if the total data capacity is equal to a spatial upper limit threshold.
3) Push function for caching live broadcast data
The live broadcast server 16 of the embodiment of the present invention is further configured to perform live broadcast data feedback processing when receiving a live broadcast viewing task instruction sent by the scheduling distribution server 17.
In another specific implementation manner provided by the embodiment of the present invention, the live broadcast server 16 is specifically configured to extract live broadcast viewing camera identification parameters from the live broadcast viewing task instruction during live broadcast data feedback processing; acquiring the current system time to generate a fourth system time; recording the live broadcast task record of the camera, in which live broadcast camera identification data is matched with live broadcast viewing camera identification parameters, as a current task record; and when the fourth system time meets the live broadcast task time interval data of the current task record, extracting the weather video data of each weather video data group from the live broadcast video queue corresponding to the current task record according to the chronological order, and continuously pushing the weather video data to the scheduling and distributing server.
(VII) scheduling distribution Server 17, client 18
The dispatching and distributing server 17 is connected with the client 18; the scheduling and distributing server 17 is configured to provide a uniform API instruction set to the different types of clients 18, generate a corresponding task instruction according to the API instruction received from the client 18, perform task scheduling processing on each server in the system, and perform data distribution processing on the task processing feedback data to the client 18; the API instruction set at least comprises a weather mesh list API instruction, a mesh weather image viewing API instruction, a mesh video backtracking API instruction and a mesh live broadcast API instruction.
The clients 18 include a desktop application type client 18, an H5 format WAP application type client 18, and a browser WEB application type client 18; the client 18 is used for providing a weather mesh query function, a mesh position weather image viewing function, a mesh position weather video backtracking function and a mesh position weather video live broadcasting function for a user.
In another specific implementation manner provided in the embodiment of the present invention, when the scheduling distribution server 17 distributes video data to the client 18, two video stream push channels are provided: a video Streaming push channel based on Real Time Messaging Protocol (RTMP), and a video Streaming push channel based on HTTP adaptive bitrate Streaming Protocol (HTTP Live Streaming, HLS).
In another specific implementation manner provided in the embodiment of the present invention, the scheduling distribution server 17 generates a corresponding live broadcast customized task instruction through setting by a system operator, and sends the instruction to the live broadcast server 16 to complete live broadcast configuration.
In another specific implementation manner provided in the embodiment of the present invention, the client 18 is configured to generate a corresponding weather mesh list API instruction to send to the scheduling distribution server 17 when receiving a weather mesh list viewing instruction input by a user through an operation of the weather mesh query function; the scheduling and distributing server 17 generates one or more resource query instructions according to the weather mesh list API instruction, sends the one or more resource query instructions to the resource server 13, constructs a complete weather mesh list according to the corresponding relation between the cameras in the data set returned by the resource server 13 and the positions, and returns the complete weather mesh list to the client 18; the client 18 displays the weather mesh list by using a preset weather mesh network display template; the weather mesh list comprises a plurality of weather mesh positions, and each weather mesh position at least corresponds to one camera.
In another specific implementation manner provided by the embodiment of the present invention, the client 18 is configured to generate a corresponding mesh weather image viewing API instruction to send to the scheduling distribution server 17 when receiving a mesh weather image viewing instruction input by a user through an operation of the mesh position weather image viewing function; the scheduling and distributing server 17 extracts position and time information from the mesh weather image viewing API instruction to form an image acquisition task instruction, sends the image acquisition task instruction to the picture server 14, stores the image acquisition task instruction after receiving a weather superposition image sequence returned by the picture server 14, generates an HTTPS protocol address for image distribution based on the storage position, and sends the HTTPS protocol address back to the client 18; the client 18 downloads the weather overlay image sequence from the HTTPS protocol address and displays it using a preset mesh image display template.
In another specific implementation manner provided in the embodiment of the present invention, the client 18 is configured to generate a corresponding mesh video backtracking API instruction and send the mesh video backtracking API instruction to the scheduling distribution server 17 when receiving a mesh video backtracking instruction input by a user through a mesh position weather video backtracking function; the dispatch distribution server 17 extracts a backtracking mode parameter, a mesh position parameter, a client time point parameter and a backtracking time point parameter from the mesh video backtracking API instruction, and further forms a delayed video check task instruction to be sent to the delayed video server 15, sends the returned delayed video data to the RTMP channel and the HLS channel for video stream push processing, and obtains a playback RTMP protocol address and a playback HLS protocol address from the two channels, respectively, and sends the two protocol addresses back to the client 18; the client 18 selects one of the two protocol addresses to perform video stream downloading processing based on the local protocol support range, and plays the video stream by using a preset video stream player.
In another specific implementation manner provided in the embodiment of the present invention, the client 18 is configured to generate a corresponding mesh live broadcast API instruction to send to the scheduling distribution server 17 when receiving a mesh live broadcast instruction input by a user through an operation of a mesh position weather video live broadcast function; the scheduling distribution server 17 extracts live broadcast position parameters from the mesh live broadcast API instruction, acquires corresponding camera identification information from the resource server 13 according to the live broadcast position parameters, forms a live broadcast checking task instruction by the acquired camera identification information, sends the live broadcast checking task instruction to the live broadcast server 16, sends weather video data continuously pushed back by the live broadcast server 16 to an RTMP channel and an HLS channel for video stream pushing processing, respectively acquires live broadcast RTMP protocol addresses and live broadcast HLS protocol addresses from the two channels, and sends the two protocol addresses back to the client 18; the client 18 selects one of the two protocol addresses to perform video stream downloading processing based on the local protocol support range, and plays the video stream by using a preset video stream player.
The embodiment of the invention provides a weather video data processing system, which comprises: the system comprises a camera, meteorological equipment, a resource server, a picture server, a time delay video server, a live broadcast server, a scheduling and distributing server and a client. Through the system, not only are intuitive weather video data sources increased for users, but also various viewing modes of weather images and videos are provided, and a weather video customized live broadcast mode meeting the real-time viewing requirement is provided; by means of the system, the sensitivity and the response efficiency of individuals and organizations to various weather conditions can be improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (13)

1. A weather video data processing system, the system comprising: the system comprises a camera, meteorological equipment, a resource server, a picture server, a delay video server, a live broadcast server, a scheduling and distributing server and a client;
the camera is connected with the resource server; the camera is used for shooting a 360-degree panoramic weather image to generate weather video data; regularly pushing a weather video data group consisting of the weather video data and the corresponding initial shooting time to the resource server;
the meteorological equipment is connected with the resource server; the meteorological equipment is used for acquiring real-time meteorological information to generate meteorological data; a meteorological data group consisting of the meteorological data and the corresponding information acquisition time is regularly pushed to the resource server;
the resource server is respectively connected with the picture server, the delayed video server, the live broadcast server and the scheduling and distributing server; the resource server is used for establishing an association relationship for each camera and the corresponding position information thereof, establishing an association relationship for each meteorological device and the corresponding position information thereof, and establishing a camera live broadcast state recording list to manage the live broadcast state of each camera; the resource server is also used for setting and processing a live broadcast state recording list of the camera when receiving a live broadcast camera setting instruction sent by the live broadcast server; the resource server is further used for storing the weather video data group according to the corresponding relation between the weather video data group and the camera when the weather video data group is received, respectively pushing the weather video data group to the picture server and the time-delay video server, and pushing the weather video data group to the live broadcast server when the live broadcast state of the corresponding camera is a live broadcast state; the resource server is also used for storing the meteorological data set according to the corresponding relation between the meteorological data set and the meteorological equipment when the meteorological data set is received; the resource server is also used for carrying out corresponding query feedback processing when receiving a resource query instruction sent by any server connected with the resource server;
the picture server is connected with the scheduling and distributing server; the picture server comprises a long-term image pool and a short-term image pool; the picture server is used for carrying out image production processing when the weather video data set is received; the picture server is also used for carrying out image query feedback processing when receiving an image acquisition task instruction sent by the scheduling and distributing server;
the time-delay video server is connected with the scheduling and distributing server; the time-delay video server is used for initializing a local video index recording file and initializing a corresponding weather video queue for each camera; the time-delay video server is also used for pressing the weather video data group into the corresponding weather video queue when receiving the weather video data group; the delayed video server is also used for performing delayed video conversion and index record importing processing according to each weather video queue; the delayed video server is also used for performing delayed video query feedback processing when receiving a delayed video check task instruction sent by the scheduling and distributing server;
the live broadcast server is connected with the scheduling and distributing server; the live broadcast server is used for initializing a local camera live broadcast task recording file; the live broadcast server is also used for carrying out live broadcast camera setting instruction distribution and camera live broadcast task record adding processing when receiving a live broadcast customized task instruction sent by the scheduling and distributing server; the live broadcast server is also used for carrying out live broadcast task management on the camera live broadcast task recording file and initializing a corresponding live broadcast video queue for each camera which has opened a camera live broadcast task; the live broadcast server is also used for carrying out live broadcast video caching processing according to the live broadcast task recording file of the camera when the weather video data group is received; the live broadcast server is also used for performing live broadcast data feedback processing when receiving a live broadcast viewing task instruction sent by the scheduling and distributing server;
the dispatching and distributing server is connected with the client; the scheduling and distributing server is used for providing a uniform API instruction set for different types of clients, generating corresponding task instructions according to the API interface instructions received from the clients to perform task scheduling processing on each server in the system, and performing data distribution processing on task processing feedback data to the clients;
the client comprises a desktop application type client, an H5 format WAP application type client and a browser WEB application type client.
2. Weather video data processing system according to claim 1,
the meteorological data comprises temperature, relative humidity, air pressure, ultraviolet intensity, wind direction, wind speed and precipitation information;
the position information corresponding to the camera and the position information corresponding to the meteorological equipment comprise administrative position information, longitude and latitude position information and place name information, the administrative position information comprises country, province, city (region) and urban area information, and the longitude and latitude position information comprises longitude and latitude information;
the camera live broadcast state recording list comprises a plurality of camera live broadcast state records; the camera live broadcast state record comprises camera position data, camera identification data, camera live broadcast state data and camera live broadcast time period data; the live broadcast state data of the cameras recorded by the live broadcast state of each camera is initialized to be in a non-live broadcast state, and the live broadcast time period data of the cameras is initialized to be null;
the video index record file comprises a plurality of video index records; the video index record comprises delayed video position data, delayed video meteorological data, delayed video initial shooting time data, delayed video camera identification data and delayed video storage path data;
the camera live broadcast task recording file comprises a plurality of camera live broadcast task records; the camera live broadcast task record comprises live broadcast camera position data, live broadcast camera identification data, live broadcast task type data and live broadcast task time period data; the live task type data includes a long-term type and a one-time type.
3. Weather video data processing system according to claim 2,
the resource server is specifically used for acquiring current system time to generate first system time when the live broadcast state is managed; polling the live camera state records in the live camera state record list, and recording the live camera state records which are polled currently as current records; when the currently recorded live camera state data is in a non-live state and the live camera period data is not empty, judging whether the first system time meets the live camera period data or not, and if so, setting the live camera state data to be in a live state; when the currently recorded live camera state data is in a live broadcast state, judging whether the first system time is later than the live camera period data, if so, setting the live camera state data to be in a non-live broadcast state and emptying the live camera period data.
4. Weather video data processing system according to claim 2,
the resource server is specifically configured to extract a first camera identification parameter and a live broadcast time period parameter from the live broadcast camera setting instruction when the live broadcast state recording list of the camera is set and processed; and in the camera live broadcast state recording list, setting the camera live broadcast time period data of the camera live broadcast state record, matched with the first camera identification parameter, as the live broadcast time period parameter.
5. Weather video data processing system according to claim 1,
the picture server is specifically configured to, during the image production processing, perform frame-by-frame image extraction processing on the weather video data of the weather video data set to generate a plurality of first frame image data; calculating the absolute time corresponding to each first frame of image data by taking the initial shooting time of the weather video data set as initial time and the relative time of each frame of image in the weather video data set as displacement time, and recording the absolute time as first frame time data; acquiring camera identification information of the camera corresponding to the weather video data group from the resource server to generate first frame camera identification data; acquiring the position information of the camera corresponding to the weather video data group from the resource server to generate first frame position data; and generating a first frame of weather data from the weather data of the weather data set obtained from the resource server matching the first frame of location data and the first frame of time data; a first frame image data set is formed by the first frame position data, the first frame camera identification data, the first frame meteorological data, the first frame image data and the first frame time data; if the first frame time data meet a preset long storage time point, storing the first frame image data group into the long image pool and the short image pool at the same time; if the first frame time data does not meet the long-term storage time point, only storing the first frame image data group into the short-term image pool;
the picture server is further configured to delete the first frame image data group in which the first frame time data exceeds a set storage period in the short-term image pool at regular intervals.
6. Weather video data processing system according to claim 1,
the picture server is specifically used for extracting image position parameters and image time period parameters from the image acquisition task instruction during the image query feedback processing; dividing the image time period parameters according to the set storage period of the short-term image pool to obtain short-term time period data and long-term time period data; in the short-term image pool, extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the short-term time section data to form a recent frame image data group set in sequence; extracting all first frame image data groups of which the first frame position data are matched with the image position parameters and the first frame time data meet the long time section data in the long image pool to form a long frame image data group set in sequence; fusing the long-term frame image data set and the short-term frame image data set according to the time sequence to obtain a first frame image data set; polling each first frame image data in the first frame image data group set, and performing image information superposition processing on the current first frame image data by using the first frame meteorological data corresponding to the current first frame image data in the polling to generate corresponding first frame meteorological superposition image data; sequencing all the obtained first frame weather superposition image data according to time sequence to generate a first image sequence; and sending the first image sequence back to the scheduling distribution server.
7. Weather video data processing system according to claim 2,
the delayed video server is specifically configured to extract the weather video data group with the earliest time from the weather video queue as a current weather video data group when the delayed video conversion and index record import processing is performed; obtaining the position information of the camera corresponding to the current weather video data group from the resource server as the time-delay video position data; taking the initial shooting time of the current weather video data set as the initial shooting time data of the delayed video; and obtaining the weather data of the weather data set matched with the delayed video position data and the delayed video initial shooting time data from the resource server as the delayed video weather data; acquiring the camera identification information of the camera corresponding to the current weather video data group from the resource server as the delayed video camera identification data; performing key frame image extraction processing on the weather video data of the current weather video data set according to a preset key frame extraction principle to obtain a key frame image data sequence; performing video conversion on the key frame image data sequence to generate corresponding time-delay video data; storing the delayed video data, and taking the storage position of the delayed video data as the delayed video storage path data; the delayed video position data, the delayed video meteorological data, the delayed video initial shooting time data, the delayed video camera identification data and the delayed video storage path data form the video index record and are added to the video index record file; and after the addition is completed, removing the current weather video data group from the weather video queue.
8. Weather video data processing system according to claim 2,
the delayed video server is specifically configured to extract a delayed video viewing mode parameter, a delayed video viewing position parameter, a viewing end system time point parameter and a playback time point parameter from the delayed video viewing task instruction during the delayed video query feedback processing;
if the delayed video viewing mode parameter is in a non-playback mode, setting a delayed video viewing time parameter as a viewing end system time point parameter-a preset time difference threshold, and if the delayed video viewing mode parameter is in a playback mode, setting a delayed video viewing time parameter as a playback time point parameter;
recording the video index record in which the delayed video position data is matched with the delayed video viewing position parameter and the delayed video initial shooting time data is matched with the delayed video viewing time parameter in the video index record file as a first video index record; if the first video index record is not empty, reading storage data corresponding to the delayed video storage path data of the first video index record as current delayed video data and sending the current delayed video data back to the scheduling distribution server; and if the first video index record is empty, recording the video index record in which the delayed video position data is matched with the delayed video viewing position parameter and the delayed video initial shooting time data is closest to the current system time in the video index record file as a second video index record, and reading the storage data corresponding to the delayed video storage path data of the second video index record as the current delayed video data to be sent back to the scheduling distribution server.
9. Weather video data processing system according to claim 2,
the live broadcast server is specifically used for extracting live broadcast customized camera identification parameters, live broadcast customized mode parameters and live broadcast customized time period parameters from the live broadcast customized task instruction when the live broadcast camera setting instruction is distributed and the camera live broadcast task record is added; taking the live broadcast customized camera identification parameter as a first camera identification parameter, taking the live broadcast customized time period parameter as a live broadcast time period parameter, and forming a live broadcast camera setting instruction by the first camera identification parameter and the live broadcast time period parameter to distribute to the resource server; acquiring position information of the camera corresponding to the live broadcast customized camera identification parameter from the resource server as live broadcast camera position data, taking the live broadcast customized camera identification parameter as live broadcast camera identification data, taking the live broadcast customized mode parameter as live broadcast task type data, and taking the live broadcast customized time period parameter as live broadcast task time period data, so as to form a new camera live broadcast task record; and adding the new live camera task record to the live camera task record file.
10. Weather video data processing system according to claim 2,
the live broadcast server is specifically used for acquiring current system time and generating second system time when the live broadcast task is managed; polling the live camera task record of the live camera task record file, and recording the live camera task record which is polled currently as a current live task record;
when the second system time is earlier than the live broadcast task time period data recorded by the current live broadcast task, judging whether the corresponding live broadcast video queue is initialized or not, and if so, deleting the corresponding live broadcast video queue;
when the second system time meets the live broadcast task time interval data of the current live broadcast task record, judging whether the corresponding live broadcast video queue is initialized, if not, initializing one live broadcast video queue corresponding to the current live broadcast task record;
deleting the live broadcast video queue corresponding to the current live broadcast task record when the second system time is later than the live broadcast task time period data of the current live broadcast task record; identifying the live broadcast task type data recorded by the current live broadcast task; if the live broadcast task type data is a one-time type, deleting the current live broadcast task record from the camera live broadcast task record file; if the live broadcast task type data is of a long-term type, in a fixed interval time period before the start time specified by the live broadcast task time period data recorded by the current live broadcast task, the live broadcast camera identification data recorded by the current live broadcast task is taken as the first camera identification parameter, and the live broadcast camera setting instruction taking the live broadcast task time period data recorded by the current live broadcast task as the live broadcast time period parameter is sent to the resource server at one time.
11. Weather video data processing system according to claim 2,
the live broadcast server is specifically configured to mark the received weather video data group as a current data group when the live broadcast video is cached; acquiring current system time to generate third system time; acquiring camera identification information of the camera corresponding to the current data group from the resource server as current camera identification data; recording the live camera task record of which the live camera identification data is matched with the current camera identification data in the live camera task record file as a current camera live task record; if the current camera live broadcast task record is not empty, judging whether the third system time meets the live broadcast task time interval data recorded by the current camera live broadcast task, and if so, pressing the current data set into the live broadcast video queue corresponding to the current camera identification data for caching.
12. Weather video data processing system according to claim 2,
the live broadcast server is specifically configured to extract live broadcast viewing camera identification parameters from the live broadcast viewing task instruction during the live broadcast data feedback processing; acquiring the current system time to generate a fourth system time; recording the live camera task record in which the live camera identification data is matched with the live viewing camera identification parameters in the live camera task record file as a current task record; and when the fourth system time meets the live broadcast task time period data of the current task record, extracting the weather video data of each weather video data group from the live broadcast video queue corresponding to the current task record according to the chronological order, and continuously pushing the weather video data to the scheduling and distributing server.
13. Weather video data processing system according to claim 1,
when the dispatching and distributing server distributes the video data to the client, two video stream pushing channels are provided: a video stream pushing channel based on a real-time message transfer protocol RTMP, and a video stream pushing channel based on an HTTP adaptive code rate streaming media transfer protocol HLS.
CN202111394846.4A 2021-11-23 2021-11-23 Weather video data processing system Active CN114157878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111394846.4A CN114157878B (en) 2021-11-23 2021-11-23 Weather video data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111394846.4A CN114157878B (en) 2021-11-23 2021-11-23 Weather video data processing system

Publications (2)

Publication Number Publication Date
CN114157878A true CN114157878A (en) 2022-03-08
CN114157878B CN114157878B (en) 2024-01-26

Family

ID=80457113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111394846.4A Active CN114157878B (en) 2021-11-23 2021-11-23 Weather video data processing system

Country Status (1)

Country Link
CN (1) CN114157878B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114599002A (en) * 2022-05-09 2022-06-07 广东省气象公共服务中心(广东气象影视宣传中心) Daily weather personalized service automatic pushing method based on 5G message

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020181739A1 (en) * 2001-06-04 2002-12-05 Massachusetts Institute Of Technology Video system for monitoring and reporting weather conditions
US6961061B1 (en) * 2002-04-19 2005-11-01 Weather Central, Inc. Forecast weather video presentation system and method
CN201146517Y (en) * 2008-01-17 2008-11-05 山东省气象信息中心 Chinese meteorology channel on-web living broadcast apparatus based on DVB-S
CN201608823U (en) * 2009-09-23 2010-10-13 福建省泉州市气象局 Video switching system of weather information
CN110555378A (en) * 2019-07-29 2019-12-10 咪咕文化科技有限公司 Live video-based weather prediction method and system and weather prediction device
CN212572747U (en) * 2020-05-29 2021-02-19 北京依派伟业数码科技有限公司 Intelligent weather phenomenon video observation system
CN112804537A (en) * 2020-08-10 2021-05-14 成都中科大旗软件股份有限公司 Multi-functional intelligent live broadcast system in scenic spot
CN113315990A (en) * 2021-05-29 2021-08-27 南阳理工学院 Scenic spot weather live broadcast platform system and method based on SAAS mode

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020181739A1 (en) * 2001-06-04 2002-12-05 Massachusetts Institute Of Technology Video system for monitoring and reporting weather conditions
US6961061B1 (en) * 2002-04-19 2005-11-01 Weather Central, Inc. Forecast weather video presentation system and method
CN201146517Y (en) * 2008-01-17 2008-11-05 山东省气象信息中心 Chinese meteorology channel on-web living broadcast apparatus based on DVB-S
CN201608823U (en) * 2009-09-23 2010-10-13 福建省泉州市气象局 Video switching system of weather information
CN110555378A (en) * 2019-07-29 2019-12-10 咪咕文化科技有限公司 Live video-based weather prediction method and system and weather prediction device
CN212572747U (en) * 2020-05-29 2021-02-19 北京依派伟业数码科技有限公司 Intelligent weather phenomenon video observation system
CN112804537A (en) * 2020-08-10 2021-05-14 成都中科大旗软件股份有限公司 Multi-functional intelligent live broadcast system in scenic spot
CN113315990A (en) * 2021-05-29 2021-08-27 南阳理工学院 Scenic spot weather live broadcast platform system and method based on SAAS mode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114599002A (en) * 2022-05-09 2022-06-07 广东省气象公共服务中心(广东气象影视宣传中心) Daily weather personalized service automatic pushing method based on 5G message
CN114599002B (en) * 2022-05-09 2022-07-26 广东省气象公共服务中心(广东气象影视宣传中心) Daily weather personalized service automatic pushing method based on 5G message

Also Published As

Publication number Publication date
CN114157878B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN101489116B (en) Video network system and video data management method
CN111083515B (en) Method, device and system for processing live broadcast content
JP5885793B2 (en) Video processing method and apparatus
CN108632676B (en) Image display method, image display device, storage medium and electronic device
CN111405222B (en) Video alarm method, video alarm system and alarm picture acquisition method
CN109451326A (en) A kind of methods of exhibiting, device, server and the storage medium of main broadcaster's information
US10070175B2 (en) Method and system for synchronizing usage information between device and server
CN114157878B (en) Weather video data processing system
CN112752113B (en) Method and device for determining abnormal factors of live broadcast server
WO2021093653A1 (en) Security method, apparatus and system easy to access by user
CN113301397A (en) CDN-based audio and video transmission, playing and delay detection method and device
US10033930B2 (en) Method of reducing a video file size for surveillance
CN112468776A (en) Video monitoring processing method and device, storage medium and electronic device
CN1937539A (en) Device and method for automatically obtaining information relating to the audiences of programs transmitted by a communication network
CN115114236A (en) Management system and management method for photos and/or videos
CN111954010A (en) Panoramic real-time rebroadcasting system and method based on window platform in 5G environment
CN112291606A (en) Advertisement monitoring method, advertisement monitoring device and computer readable storage medium
CN210836132U (en) Customer data analysis and pushing system based on face recognition technology
CN112954374A (en) Video data processing method and device, electronic equipment and storage medium
KR100940503B1 (en) System and Method for real-time relay motion picture and user created content
CN112422907A (en) Image processing method, device and system
CN111107388A (en) Method, device, system, equipment and storage medium for processing live broadcast content
CN112948627A (en) Alarm video generation method, display method and device
JPH09154097A (en) Video processor
CN115098726B (en) Video data processing method and system

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