Hai Kang wei video surveillance Equipment Web View System (i) overview

Source: Internet
Author: User

Digression:

Why do you want to talk about the digression before you start? Mainly in order to be afraid of someone misunderstanding, think here to write is a video stream processing article. In fact, several articles in this series May and video streaming processing of half a dime relationship is not, directed to video technology reader, may let you down. The main technologies involved in this series are probably. NET socket processing, C # Writing ActiveX Plug-ins, a small amount of threading, and calls to unmanaged C + + libraries.

On the other hand, this series of articles is a comprehensive small project, no complex functions, no rigorous project management process, but there is a general process of technical exploration. OK, this is the end of the digression, here is the point.

Requirements Description:

A period of time ago, the company brothers Department to put forward the demand, hope to be able to share some of the company's public areas of surveillance video to staff to view, this thing finally landed on my body. Through a variety of contacts to understand the requirements of the implementation of the two constraints.

Network condition: The staff uses the network segment and the Monitoring device the network segment is the different network segment, has the physical isolation, cannot directly access. This problem is easier to solve, migrate the network segment where the device can be resolved.

Device limitations: Haikang's surveillance camera supports up to 6 clients at the same time, unable to meet existing requirements. This is more difficult to make, contact manufacturers, manufacturers said not to provide this piece of service, need to solve their own. This attitude, I will hehe.

Program Ideas:

This is the situation, there is no other way, can only develop to solve these problems. In fact, think of the problem is not much trouble, data as long as the collection of everything on the server easy to fix. Along this preliminary line of thought, in the Hai Kang official website under a bunch of SDK, you don't say, the thing is quite complete, what method all provide ready-made. What video capture, device settings, video playback these have ready-made interface can be used directly. More let me surprise is that the SDK actually also provides C # and Java version of the demo, well, see these front contact customer service to touch the nails will not be assured, may customer service mm that day lovelorn, the mood is not good perhaps.

Back to the point, since there are these to the power of the SDK should build a prototype to verify the video data through the service to the client this idea is correct, the specific implementation of the next will elaborate, here on the short, prototype verification success. Explain the idea is very correct, the next step is the specific development work, in the prototype based on a step-by-step refactoring, the last one from the video device to read video data forwarded to the client system is done.

After further stress testing found that performance can not meet the demand, requirements can meet the company's use of nearly thousands of people, concurrent requirements are very high, and the video server must be processed in a timely manner all data to the client forward, otherwise the client will appear jump frame, cotton problem. Solving the stress problem starts with two aspects:

Further refactoring optimizes existing code to improve performance.

Design distributed deployment.

Finally the last on-line system, the deployment scenario as shown:

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/net/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.