Video Switching via Task Identifier for Error-Free Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In video monitoring systems, abnormal situations require immediate video switching, but existing methods often result in unknown errors due to abrupt stopping of the currently played video, leading to potential disruptions and errors.
Innovation Solution
A video switching method that receives a switching instruction, determines the display device for the new video, checks if the current device is playing a video, and if so, stops the current video using a task identifier before sending the new video for playback, ensuring a smooth transition and avoiding errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the video switching method directly sends the new video image to the TV wall for playing, then the response speed is improved, but the system reliability deteriorates due to unknown errors caused by abnormally stopping the currently played video
Solution Approach 1:
The system performs preliminary actions by checking whether the display device is currently playing a video before switching, and if so, obtains the task identifier and sends a release resource instruction to normally close the current video. This preliminary preparation ensures that the video switching process completes successfully without causing system errors, resolving the contradiction between fast response and system reliability.
2Productivity
If the currently played video is abnormally stopped to switch to the new video, then the video switching efficiency is improved, but the loss of information occurs due to unknown errors and potential disruptions
Solution Approach 1:
The system implements feedback by checking whether the display device is currently playing a video before switching, and if so, obtaining the task identifier of the currently played video and sending a release resource instruction to normally close it. This feedback mechanism ensures that video switching is performed smoothly without causing unknown errors or information loss, resolving the contradiction between switching efficiency and information preservation.
Data Source
AI summary
Disclosed is a video switching method, a device, and a video patrol system. The method comprises: receiving a video switching instruction to determine a display device corresponding to a to-be-played video; determining whether there is a currently played video in the determined display device; if so, determining a task identifier corresponding to the currently played video; closing the currently played video according to the task identifier; and sending the video to be played to the display device for playing. When the video played in the display device needs to be switched, the task identifier corresponding to the currently played video in the display device is determined first, and the video is closed according to the task identifier. Then, the to-be-played video is sent to the display device for playing. This shows that the currently played video is normally shutdown, thereby avoiding an unknown error caused by abnormal closing of the video.

