Research and implementation of the prison personnel Monitoring system based on Flex

Source: Internet
Author: User

1 Introduction

In prisons, where prisoners are free in prison or in the process of organizing prisoners out of work, if the lack of effective supervision measures, it is easy for the inmates to take advantage of the machine to escape the scope of supervision. In order to be able to track prisoners in prison effectively and improve the efficiency of monitoring, the intelligent personnel monitoring system emerges. By allowing inmates to wear special auxiliary machines, supervisors use hand-held readers to read the signals sent by the secondary machine, so that they can monitor the current state of the machine, and directly or through the relay station and the main control stations to communicate, monitor the system to obtain information and processing data timely feedback to the regulators. The system effectively reduces the supervisors ' work intensity and improves the supervision efficiency.

The traditional BS architecture of the Monitoring System client processing data is not strong, the server side relies on a large, and real-time monitoring needs between the client and server to pass the data frequently, and the server also to the display of the page returned to the client, which will increase the burden of the server. In view of this problem the system takes the flex as the performance layer, not only enhances the client processing data, displays the data the ability, simultaneously the server side and the client passes only the data but does not have the traditional page, the interface layout change completely by the client execution processing.

The Flex platform uses object-oriented programming language ACTIONSCRIPT3, unlike the current popular browser programming language JAVASCRIPT,ACTIONSCRIPT3 is more powerful, in fact, it is more like C # and java[1 from the syntactic structure. Therefore, RIA applications based on Flex can create flexible and powerful business logic. Most of the business logic of traditional web-based applications relies on server-side strongly typed languages, such as java,c#, while Flex-based Web applications can transfer the relevant business logic to client processing, greatly reducing the burden on the server. Flex interface design and layout using Mxml,mxml is based on XML declarative label language, can easily and quickly build their own interface layout and interface behavior, and can bind data to the relevant Mxml control, if the data content changes will be dynamically updated in the interface, No need for any page refresh action.

ACTIONSCRIPT3 has built-in XML operation classes that support E4X (ECMAScript for XML), so it is easier and more flexible and efficient to process XML data within a client program. By e4x, we can process XML data faster than other client programming languages, such as JavaScript. In addition, strong support for XML also makes the interaction between client and server-side more direct and faster.

Flex provides three data access components that interact with the server, namely HTTP (rest-style) services, WebService, and RemoteObject, which can be flexible and powerful depending on the server's different technology applications using different access components.

2 system Structure

In this paper, the Flex framework is used as the performance layer and data interaction engine to make full use of its client computing power and client caching ability, thus alleviating the burden of the server, reducing the response time and the amount of data transmitted. On this basis, a B/s structure of the prison personnel Monitoring system was constructed. Figure 1 depicts the architecture of the system. The system adopts the architecture of performance layer, business logic layer, data layer and serial communication layer, which realizes loose coupling between layer and layer.

Figure 1 System structure

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.