Design and implementation of intelligent Upper West pharmacy system software

Author
TangShengHai
Advisor
WangJianYu
School
Nanjing University of Technology and Engineering
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2014
Downloads
17
Citations
0

Request the full text

Abstract

At present most pharmacies are using the traditional way of storage for western medicine and processing prescription by manpower. Now the variety of western medicine becomes diverse. In such situation the traditional management shows weakness that medicine dispensing becomes harder and the efficiency of pharmacies lower. Fortunately, the system of automated pharmacies for western medicine which manages medicines with intensive slot can make up for the shortcomings. It can receive and handle prescriptions with automatic device efficiently. This thesis states the design and implementation of PC software of the system.Combined with user’s requirements, the PC software system is analyzed with DFD and divided into different function module, the overall flow is given. According to the software design requirements, the protocol of network communication and serial communication are designed, and the communication functions of software are realized. With the multithreading technology, Medicine Dispensing Pretreatment Module, Medicine Dispensing Module and Tonic Module are designed and implemented. At the same time, communication between different threads is designed and realized. Based on ant colony algorithm, the issue of path optimization is solved. The result of experiments shows that the algorithm can shorten the time of taking medicines efficiently. At last the management module of system is designed and realized, including main management module of system, parameters configuration module, run log module, debugging module of system and correction module of slot distance.This thesis gives the test of the software function by the method of black box testing. The result shows that the implementation satisfies the design requirements.

Table of contents

Abstract 3-4 Abstract 4-7 1 Introduction 7-11 1.1 research background and significance 7 1.2 domestic and foreign research status contents 7-9 1.3 topics 9-10 1.4 This paper is organized as 10-11 two intelligent pharmacy system design 11-18 2.1 Introduction to the mechanical structure 11-12 2.2 control system hardware design 12-15 2.2 .1 hair drug control system design 12-14 2.2.2 on drug control system design 14-15 2.3 overall system design 15-17 2.4 chapter Summary 17-18 3 software requirements analysis 18-24 3.1 data flow diagram outlines 18-19 3.2 system data flow analysis functional modules 19-20 3.3 system 20-22 3.4 workflow system 22-23 3.5 Summary design and implementation of 23-24 4 software system 24-57 4.1 network communication 24-29 4.1.1 Socket communications 24-25 4.1.2 TCP / IP communication theory 25 4.1.3 C / S communication mode 25-27 4.1.4 communication Interface working process 27-29 4.2 serial communication 29-37 4.2.1 serial communication implementation 29-30 4.2.2 serial class design 30-33 4.2.3 serial communication protocol 33-34 workflow 4.2.4 serial communication 34-37 4.3 system multithreaded design 37-45 4.3.1 Overview and realize multi-thread 37-38 4.3.2 hair drug pretreatment thread 38-39 4.3.3 and medicine and the drug thread 39-42 4.3.4 communication between threads 42-45 4.4 dispensary path optimization 45-53 4.4.1 TSP problem overview and model 45-46 Overview 4.4.2 ant colony algorithm 46 4.4.3 ant colony algorithm prototypes and processes 46-49 4.4.4 max - min ant colony algorithm 49-50 4.4.5 path optimization to achieve 50-53 4.5 system management module 53-56 4.5.1 system Manager main Module 53-54 4.5.2 parameter configuration module 54 4.5.3 running log module 54-55 4.5.4 system debugging module 55-56 4.5.5 slot distance correction module 56 <br / > 4.6 chapter Summary 56-57 5 software testing 57-63 5.1 software testing Overview 57-58 5.2 software functional testing 58-62 5.2.1 test environment to build 58-59 5.2.2 test case design 59-62 5.2.3 analysis of test results 62 5.3 chapter Summary 62-63 6 summary and Outlook 63-64 Thanks 64-65 reference literature 65-67

Related dissertations

  1. Radar Simulator System Research and Development
    WangWei ·Yangtze University ·2013 ·Master's thesis
  2. Research and Implementation of Smart Home Gateway Based on ZigBee
    ZhangYingHui ·Harbin Institute of Technology ·2013 ·Master's thesis
  3. Study on the Optimization of the Land Use Stucture in Daqing City
    XieLiQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  5. Research on Band Selection for Hyperspectral Imagery
    WeiFangJie ·Harbin Engineering University ·2013 ·Master's thesis
  6. Research on PLC remote monitoring technology based on Internet
    LiuWeiGang ·University of North ·2014 ·Master's thesis
  7. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis
  9. Development and design of intelligent residential area centralized control system
  10. Development of Simple Controller Device
    XuMing ·Dalian Polytechnic University ·2010 ·Master's thesis
  11. Development of Automatic Towel Hemming Machine Control System
    ZhaoXu ·Dalian Polytechnic University ·2012 ·Master's thesis
  12. PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
    LiuXin ·Hebei University of Technology ·2013 ·Master's thesis
  13. Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
  14. Research on Robot Teaching-box Based on an Embedded Computer
    WangLe ·Tianjin University ·2012 ·Master's thesis
  15. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  16. Optimization Analysis of Compact Storage and Retrieval System Picking Path Based on Ant Colony Algorithm
  17. Study on fresh agricultural products supply chain negotiation system based on Multi-Agent
    AiDan ·Yunnan University of Finance ·2013 ·Master's thesis
  18. Research and Application on the Hybrid Colony Algorithm
  19. A Research on Ant Colony Algorithm for Path Planning Problem
    TangYu ·Harbin Engineering University ·2013 ·Master's thesis
  20. Research on improved ant colony algorithm and its application
    ChengFei ·Jiangxi University of Technology ·2013 ·Master's thesis