Browsing by Author "Ranasinghe, A.N."
Now showing 1 - 2 of 2
- Results Per Page
- Sort Options
Item Dynamic Human Workflow handling by PL/SQL.(Faculty of Computing and Technology, University of Kelaniya, Sri Lanka., 2017) Ranasinghe, A.N.; Dasanayaka, D.M.N.K.Human task assignment is a predominant operation in organizational problem-solving process which can rapidly change from situation to situation. Current workflow handling systems are lessadaptable and less-customizable regardless of whether the workflows are manual or automated. This study introduces a series of algorithms written in SQL to handle human task workflows by executing XML based objects. The given solution consists of entity objects which can either be a single person or a group of people. The two types of entity objects were connected to each other by the relationships. The relationships from one entity to another entity will hold the actions that the first entity can perform. Based on the action taken by one entity will decide the proceeding path of the workflow. These entity objects consist with a property called status which can be true, false, or null which represents whether it is available for the execution or not. SQL scripts were developed to handle the workflow components written in XML format which will provide a better opportunity to gather information of each entity and relationship objects through Graphical User Interfaces. As the first step of the SQL script, it will convert the XML data into a SQL table format which provide a better way to handle the information gathered. Backward Process is used whenever a component is being executed, previous components from that level will be checked for status values and it will set status false whenever finds a component without any status value. This process will prevent the execution of unwanted branches of the workflow and speedup the execution process because only the components with true or null as the status value will be considered in the execution time. Reset Workflow is used to reset status values of the objects from directed object onwards when the path of the workflow directs to a previous level of the workflow. It will make sure that previously taken actions will not effect on the next execution cycle. Execute an Action method will handle the actions taken corresponding to a certain object. It will decide the proceeding path of the workflow hierarchy according the action taken. Then it invokes the “execute next component” method to move along in the selected path. Execute next component method will check all the other objects related to the object which used to invoke the method. It will execute all the logical operations based on the action taken by an entity in order to decide the proceeding path of the workflow. Method given in the study was tested by integrating to an existing system where it showed the capability of executing complex workflows accurately. Contrary to manual workflow engine, this architecture is efficient and effective in business process as it can increase the performance of organizational workflow allocation. Instead of using a separate application, this solution can be integrated with an existing system since it is very adaptable and customizable. Approach to handle scheduled tasks can be identified as a major future aspect for the study where the performance can also be improved in future.Item Eliminating the storage wastage of CCTV cameras by motion detection(Faculty of Graduate Studies, University of Kelaniya, 2015) Ranasinghe, A.N.; Liyanage, S.R.Despite the ever increasing capacity of data storage mediums, there is a wider appeal for studies on efficient storage management to avoid the wastage of capacity due to unwanted data volumes. In line with the demand for research on capacity optimization, this study focuses on the efficient use of storage space by avoiding unwanted data with respect to the storage management in Closed-circuit television (CCTV) camera systems. Therefore, deviating from the common high end hardware solutions such as sensors, study introduces a software solution to store the video only when a motion occurs. Comparison of video frames using image processing is used as the basic method to identify motion. The grayscale version of the each frame and the calculated absolute difference between the video frame and base image are used to identify the motion. A threshold filter is employed to eliminate the unnecessary effects due to noise. The value chosen for the threshold is dependent on the noisiness of the environment as it affects the sensitivity. The threshold value can be optimized statistically using a cost function based on the errors. In this study, a threshold values between 10 and 15 were found to be suitable for the laboratory environment which is considered as low noise indoor environment. Finally, an edge filter can be applied to identify the moving object in the video. The study has utilized the advantages of gradual update (blending the base image with current video frame in a lower rate than actual changing rate of the current frame) of base image rather than using a static image to compare with the live image. In a commercial perspective, this study focuses on a mechanism that can be used to transfer the live feed of CCTV cameras at a very high speed to an Android mobile phone which is connected to the same network. According to the test results, the solution proposed in this study saves about 50% of storage space of CCTV cameras in an environment with limited motions while providing a very fast live streaming of the video footage. This would be an ideal storage solution for domestic CCTV camera systems which generally deal with limited motions.