2 resultados para mobile application

em Glasgow Theses Service


Relevância:

60.00% 60.00%

Publicador:

Resumo:

This thesis reports on an investigation of the feasibility and usefulness of incorporating dynamic management facilities for managing sensed context data in a distributed contextaware mobile application. The investigation focuses on reducing the work required to integrate new sensed context streams in an existing context aware architecture. Current architectures require integration work for new streams and new contexts that are encountered. This means of operation is acceptable for current fixed architectures. However, as systems become more mobile the number of discoverable streams increases. Without the ability to discover and use these new streams the functionality of any given device will be limited to the streams that it knows how to decode. The integration of new streams requires that the sensed context data be understood by the current application. If the new source provides data of a type that an application currently requires then the new source should be connected to the application without any prior knowledge of the new source. If the type is similar and can be converted then this stream too should be appropriated by the application. Such applications are based on portable devices (phones, PDAs) for semi-autonomous services that use data from sensors connected to the devices, plus data exchanged with other such devices and remote servers. Such applications must handle input from a variety of sensors, refining the data locally and managing its communication from the device in volatile and unpredictable network conditions. The choice to focus on locally connected sensory input allows for the introduction of privacy and access controls. This local control can determine how the information is communicated to others. This investigation focuses on the evaluation of three approaches to sensor data management. The first system is characterised by its static management based on the pre-pended metadata. This was the reference system. Developed for a mobile system, the data was processed based on the attached metadata. The code that performed the processing was static. The second system was developed to move away from the static processing and introduce a greater freedom of handling for the data stream, this resulted in a heavy weight approach. The approach focused on pushing the processing of the data into a number of networked nodes rather than the monolithic design of the previous system. By creating a separate communication channel for the metadata it is possible to be more flexible with the amount and type of data transmitted. The final system pulled the benefits of the other systems together. By providing a small management class that would load a separate handler based on the incoming data, Dynamism was maximised whilst maintaining ease of code understanding. The three systems were then compared to highlight their ability to dynamically manage new sensed context. The evaluation took two approaches, the first is a quantitative analysis of the code to understand the complexity of the relative three systems. This was done by evaluating what changes to the system were involved for the new context. The second approach takes a qualitative view of the work required by the software engineer to reconfigure the systems to provide support for a new data stream. The evaluation highlights the various scenarios in which the three systems are most suited. There is always a trade-o↵ in the development of a system. The three approaches highlight this fact. The creation of a statically bound system can be quick to develop but may need to be completely re-written if the requirements move too far. Alternatively a highly dynamic system may be able to cope with new requirements but the developer time to create such a system may be greater than the creation of several simpler systems.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

The forensic toxicologist faces challenges in the detection of drugs and poisons in biological samples due to transformations which occur both during life and after death. For example, changes can result from drug metabolism during life or from the use of formalin solution for post mortem embalming purposes. The former requires the identification of drug metabolites and the latter the identification of chemical reaction products in order to know which substances had been administered. The work described in this thesis was aimed at providing ways of tackling these challenges and was divided into two parts. Part 1 investigated the use of in vitro drug metabolism by human liver microsomes (HLM) to obtain information on drug metabolites and Part 2 investigated the chemical reactions of drugs and a carbamate pesticide with formalin solution and formalin-blood. The initial aim of part I was to develop an in vitro metabolism method using HLM, based on a literature review of previous studies of this type. MDMA was chosen as a model compound to develop the HLM method because its metabolism was known and standards of its metabolites were commercially available. In addition, a sensitive and selective method was developed for the identification and quantitation of hydrophilic phase I drug metabolites using LC/MS/MS with a conventional reverse-phase (C18) column. In order to obtain suitable retention factors for polar drug metabolites on this column, acetyl derivatives were evaluated for converting the metabolites to more lipophilic compounds and an optimal separation system was developed. Acetate derivatives were found to be stable in the HPLC mobile phase and to provide good chromatographic separation of the target analytes. In vitro metabolism of MDMA and, subsequently, of other drugs involved incubation of 4 µg drug substance in pH 7.4 buffer with an NADPH generating system (NGS) at 37oC for 90 min with addition of more NGS after 30 min. The reaction was stopped at 90 min by the addition of acetonitrile before extraction of the metabolites. Acetate derivatives of MDMA metabolites were identified by LC/MS/MS using multiple reaction monitoring (MRM). Three phase I metabolites (both major and minor metabolites) of MDMA were detected in HLM samples. 3,4-dihydroxy-methamphetamine and 4-hydroxy-3-methoxymethamphetamine were found to be major metabolites of MDMA whereas 3,4-methylenedioxyamphetamine was found to be a minor metabolite. Subsequently, ten MDMA positive urines were analysed to compare the metabolite patterns with those produced by HLM. An LC/MS method for MDMA and its metabolites in urine samples was developed and validated. The method demonstrated good linearity, accuracy and precision and insignificant matrix effects, with limits of quantitation of 0.025 µg/ml. Moreover, derivatives of MDMA and its metabolites were quantified in all 10 positive human urine samples. The urine metabolite pattern was found to be similar to that from HLM. The second aim of Part 1 was to use the HLM system to study the metabolism of some new psychoactive substances, whose misuse worldwide has necessitated the development of analytical methods for these drugs in biological specimens. Methylone and butylone were selected as representative cathinones and para-methoxyamphetamine (PMA) was chosen as a representative ring-substituted amphetamine, because of the involvement of these drugs in recent drug-related deaths, because of a relative lack of information on their metabolism, and because reference standards of their metabolites were not commercially available. An LC/MS/MS method for the analysis of methylone, butylone, PMA and their metabolites was developed. Three phase I metabolites of methylone and butylone were detected in HLM samples. Ketone reduction to β-OH metabolites and demethylenation to dihydroxy-metabolites were found to be major phase I metabolic pathways of butylone and methylone whereas N-demethylation to nor-methylone and nor-butylone were found to be minor pathways. Also, demethylation to para-hydroxyamphetamine was found to be a major phase I metabolic pathway of PMA whereas β-hydroxylation to β-OH-PMA was found to be a minor pathway. Formaldehyde is used for embalming, to reduce decomposition and preserve cadavers, especially in tropical countries such as Thailand. Drugs present in the body can be exposed to formaldehyde resulting in decreasing concentrations of the original compounds and production of new substances. The aim of part II of the study was to evaluate the in vitro reactions of formaldehyde with selected drug groups including amphetamines (amphetamine, methamphetamine and MDMA), benzodiazepines (alprazolam and diazepam), opiates (morphine, hydromorphone, codeine and hydrocodone) and with a carbamate insecticide (carbosulfan). The study would identify degradation products to serve as markers for the parent compounds when these were no longer detectable. Drugs standards were spiked in 10% formalin solution and 10% formalin blood. Water and whole blood without formalin were used for controls. Samples were analysed by LC/MS/MS at different times from the start, over periods of up to 30 days. Amphetamine, methamphetamine and MDMA were found to rapidly convert to methamphetamine, DMA and MDDMA respectively, in both formalin solution and formalin blood, confirming the Eschweiler-Clarke reaction between amine-containing compounds and formaldehyde. Alprazolam was found to be unstable whereas diazepam was found to be stable in both formalin solution and water. Both were found to hydrolyse in formalin solution and to give open-ring alprazolam and open-ring diazepam. Other alprazolam conversion products attached to paraformaldehyde were detected in both formalin solution and formalin blood. Morphine and codeine were found to be more stable than hydromorphone and hydrocodone in formalin solution. Conversion products of hydromorphone and hydrocodone attached to paraformaldehyde were tentatively identified in formalin solution. Moreover, hydrocodone and hydromorphone rapidly decreased within 24 h in formalin blood and could not be detected after 7 days. Carbosulfan was found to be unstable in formalin solution and was rapidly hydrolysed within 24 h, whereas in water it was stable up to 48 h. Carbofuran was the major degradation product, plus smaller amounts of other products, 3-ketocarbofuran and 3-hydrocarbofuran. By contrast, carbosulfan slowly hydrolysed in formalin-blood and was still detected after 15 days. It was concluded that HLM provide a useful tool for human drug metabolism studies when ethical considerations preclude their controlled administration to humans. The use of chemical derivatisation for hydrophilic compounds such as polar drug metabolites for analysis by LC/MS/MS with a conventional C18 column is effective and inexpensive, and suitable for routine use in the identification and quantitation of drugs and their metabolites. The detection of parent drugs and their metabolites or conversion and decomposition products is potentially very useful for the interpretation of cases in forensic toxicology, especially when the original compounds cannot be observed.