[Introduction to Soft Engineering ③] Experiment Report 1 (requirements analysis and modeling, overall structure design, detailed design, and testing of the laboratory equipment management system)

Requirement Analysis and Modeling of Experiment 1 Laboratory Equipment Management System

1. Purpose of experiment

   1. Determine what the project will do and its practicability, and complete the establishment of the logical function model of the system on this basis.

   2. Different requirements analysis techniques can be used to complete the requirements analysis process of the project, and the logical function model of the system, data dictionary and specifications are given.

 2. Experimental tasks

   Familiar with the business process of the system project, draw the system data flow diagram, function analysis diagram, write the data dictionary, data processing description and software system flow diagram (new system model) according to the existing information, and complete the system requirement specification.

3. Project name

  Laboratory equipment management system

   Project users:

4. System introduction

A university needs to make statistics and update the usage of laboratory equipment every academic year.

in:

(1) Scrap the completely damaged experimental equipment, and record the relevant information in detail.

(2) For serious problems (faults) that need to be repaired in time, and record the repair date, equipment name, serial number, repair manufacturer, repair cost, responsible person, etc.

(3) For equipment that is urgently needed but currently lacking in the laboratory, it needs to be sent to the superior leader in the form of an "application form" for approval to purchase. After the new equipment is purchased, the equipment registration (including category, equipment name, serial number, model, specification, unit price, quantity, purchase date, manufacturer, shelf life and handler, etc.) should be carried out immediately, and the content of the application form should be updated at the same time.

(4) Make statistics and inquiries on the existing equipment and its repair and scrapping at any time, and it is required to be able to inquire according to conditions such as category and time period.

5. Technical Requirements and Restrictions

   (1) All work is done by specialized personnel, and other people are not allowed to use it arbitrarily.

(2) When registering each piece of equipment in the warehouse, the system will add an automatic serial number according to the category to form the equipment number; when the equipment is scrapped, the corresponding equipment record must be revised in time, and the leader must approve it.

(3) The data storage of this system includes at least: equipment records, repair records, scrap records, and application purchase records.

(4) The input items of this system include at least: new equipment information, repair information, application purchase information, and specific query statistics requirements.

(5) The output items of this system include at least: equipment purchase application form, repair/scrap equipment fund statistics form.

6. Data flow diagram of laboratory equipment management system

 

 

 

7. Data dictionary

1. Dataflow entry

(1) Login information

    Input: Device Administrator

    Output: Authentication 1

    Description: Login information = username + password + login authority

(2) Query information

    Input: Query operation of equipment by legitimate personnel

    Output: device information table

    Description: query information = device name/model/category/purchase date

(3) Maintenance information

    Input: information about the equipment to be repaired

    Output: Information identifying repaired equipment

    Description: Maintenance information = equipment name + repair date + repair manufacturer + repair fee + responsible person

  (4) New equipment

    Input: Information for new equipment purchased

    Output: Records identifying new equipment purchased

    Description: New equipment = category + equipment name + model + specification + unit price + quantity, etc.

(5) Scrap equipment

    Input: Information about the equipment to be scrapped

    Output: scrapped equipment records

    Description: scrapped equipment = category + equipment name + model, etc.

(6) Review information

    Input: Review 3

    Output: superior leadership

    Description: audit information = end-of-life equipment information / new equipment purchase records

2. Processing items

    Identity verification 1, statistical query 2.1, maintenance 2.2, purchase 2.3, scrap 2.4, production report 3.1, audit 3.2

3. File entry

(1) Login form

    Input: Authentication 1

    Output: Authentication 1

    Data structure: username + password + login authority

(2) Basic equipment information table

    Input: Statistics Query 2.1

    Data structure: category + device name + model + specification, etc.

(3) Maintenance record sheet

    Input: Statistics Query 2.1, Maintenance 2.2

    Output: Statistics Query 2.1

    Data structure: equipment name + repair date + repair manufacturer + repair fee + responsible person, etc.

  (4) New equipment table

    Input: Statistics Query 2.1 Purchase 2.2

    Output: Statistics Query 2.1

    Data structure: category + device name + model + specification + unit price + quantity + manufacturer + buyer, etc.

  (5) Scrap Record Form

    Input: Scrapping 2.4, Statistical Inquiry 2.1, Production Report 3.1

    Output: statistical query 2.1, production report 3.1

    Data structure: category + device name + model, etc.

(6) Application form

    Input: Statistical Inquiry 2.1, Production Report 3.1

    Output: Statistics Query 2.1, Production Report 3.1, Purchase 2.3

    Data structure: device name + model + specification + quantity + person in charge

   

  

 Experiment 2 Overall structure design of laboratory equipment management system

1. Purpose of experiment

    On the basis of Experiment 1, the establishment of the system architecture and the detailed design of the system are completed, and the corresponding system design instructions are given.

2. Experimental tasks

    Carefully analyze the results of Experiment 1, give a reasonable system structure, draw a system structure diagram, and divide the system's components reasonably, and finally give the design instructions of each part of the system.

3. Experimental content and requirements

    1. Experiment content and requirements:

(1) Use the data flow-oriented design method (textbook P48-P52) to derive the system structure diagram from the data flow diagram of the demand analysis, optimize it, and draw the system software structure diagram.

(2) Select a module to describe its program flow chart.

(3) Understand the use and characteristics of NS diagram, PAD diagram, decision table and decision tree.

(4) Select a module to design the input and output interface, the output design mainly refers to the printout, and the input design mainly refers to the form design of the data entry interface.

(5) You can choose any database such as ACCESS, SQL SERVER, etc. to design the storage file format (database structure design).

4. The software structure block hierarchy diagram of the laboratory equipment management system

  

5. Software structure diagram of laboratory equipment management system

 

Experiment 3 Detailed Design of Laboratory Equipment Management System

1. Part of the program flow chart of the laboratory equipment management system

Senior leadership operation module                          

  Device administrator operation module                   

 

 

system function operation module

2. Interface design

hardware interface  

Considering the requirements such as the backup of large amounts of data, it is necessary to maintain the interface with the tape drive and CD recorder, which is relatively easy to achieve. 

 software interface

Here, the interface between software and operating system, database management system, and data exchange between LAN and Internet software are mainly considered. Considering that document processing may require more commonly used office software. For example, Microsoft's office series, so try to realize the automatic conversion of data formats between them.

Experiment 4 Test of laboratory equipment management system

1. Purpose of experiment

On the basis of Experiment 3, choose a module to code and complete related tests

  1. Learn about the taxonomy of software testing methodologies, which include:
  1. white box testing
  2. black box testing
  3. static test
  4. Dynamic Testing
  1. Learn about test types
  1. unit test
  2. Integration Testing
  3. confirmation test
  4. black box testing
  5. white box testing
  6. function test
  7. alpha test
  8. beta test
  • Experimental task

Correctly use software testing techniques and methods, complete system unit testing, comprehensive testing, confirmation testing, and system testing methods, master the design methods of test cases, and give test reports.

  • Experimental content and requirements

1. Improve the program block diagram designed by the system, choose a programming language, select the appropriate module, complete the source program writing and unit testing, simulate the running data, and complete the test report, etc.

2. Be able to correctly use the process and method of software testing, combined with the selected project, review and consolidate the knowledge related to testing in software engineering, and improve the practical ability of software testing. Familiar with the methods of unit testing, comprehensive testing, confirmation testing, and system testing, and master the design and implementation methods of test cases. Establish correct software testing ideas, cultivate the ability to analyze and solve problems, and improve the ability to query information and write written documents.

  • experiment record

  Test plan: use the black box method to design the basic test plan, in the black box method test plan, use the equivalent division technology.

  Modules tested:

  (1) User login module

    (2) Equipment query module

  (3) Scrap record query module

  (4) Maintenance record query module

  (5) Maintenance record update module

  (6) Purchase equipment application module

     (7) Exit the system module

Software Test Results

 

 

 

Guess you like

Origin blog.csdn.net/weixin_51538341/article/details/128505458