Detailed design Instructions

Source: Internet
Author: User

Detailed design Instructions

Introduction to the purpose of writing

1.2 Background

Description

1. Name of the software system to be developed: Computer room charge system

2. Mandate of the project: Professor Mi Nue-jiang
Developer: Shaoyangyong
User and the computing center running the program system: Langfang Teachers College Information Center, the school of several letters

Defined

Not currently

Resources

List relevant references, such as:

1. "Langfang Normal University computer room charge system opinion"

2. Specification of requirements

3. "Summary Design Manual"

Structure of the program system

Lists the names, identifiers, and hierarchical relationships between each program in the program system, including each module and subroutine, with a series of charts.

Student Management (Normal) design notes

From the beginning of this chapter, the design considerations for each program in each level are given individually. The outline given below is specific to the general situation. For a specific module, especially a lower-level module or subroutine, many of its entries are often the same as the contents of the corresponding entries in the previous layer of the module to which it belongs, in which case it is simple to illustrate this point.

Program Description

The program is responsible for viewing and partially managing the student's situation. This procedure does not operate the account, that is to say the operator does not move money. Non-resident memory, can be heavy human. You can do this in this program as long as you log in to the system.

Function

Performance

Accuracy: The money is accurate to 0.5 yuan, the time is accurate to the minute, other numbers are accurate to the whole digit.

The loser.

Gives the characteristics of each entry, including the name, identity, type and format of the data, the valid range of data values, and how to enter it. Number and frequency, input media, source of input data, security and confidentiality conditions, etc.

Name

Identity

Data type

Valid range

Input mode

Card

Card_no

Char

10-digit number

Swipe input

Name

Name

Char

5 characters or less

Manual input

Class

Class

Char

4 characters

Manual input

Grade

Grade

Char

5 characters or less

Manual input

School Number

Stu_no

Char

10-digit number

Manual input

Gender

Sex

Char

A character

Manual input

Amount

Cash

Money

0~100

Manual input

Output items

Name

Identity

Data type

Valid range

Output Media

Card

Card_no

Char

10-digit number

No

Name

Name

Char

5 characters or less

No

Class

Class

Char

4 characters

No

Grade

Grade

Char

5 characters or less

No

School Number

Stu_no

Char

10-digit number

No

Gender

Sex

Char

A character

No

Amount

Cash

Money

0~100

No

Time

Time

Datetime

0~240 (min)

No

Frequency: On machine, down machine must output, other conditions according to user needs

Algorithm

Calculates the machine time according to the difference between the time of the machine and the time of the machine, converts it to half an hour according to the machine (minutes), and computes the amount used

Formula: on-Machine Amount = time * Unit Amount (time greater than 5 minutes)

Process logic

Use diagrams (such as flowcharts, decision tables, etc.) with the necessary instructions to represent the logical flow of the program.

Interface

In the form of a diagram to illustrate the program is subordinate to the previous layer module and subordinate to the program of the next layer of module, sub-program, indicating the parameter assignment and call mode, the program is directly related to the data structure (database, data text volume).

Storage allocation

User interface card number ID (card_id): string (unique identifier)

Study Number (STU_NO): string

Name (name): string

Class (Class): string

Grade (grade): string

Amount (Cash): Money type

Time: DateTime

3.10 Annotation Design

Describe the notes that are intended to be arranged in this program, such as:

1. At the beginning of the module, a note explaining the time the module was written, the author, and its basic functions

2. Comments added at each branch point indicate the conditions to be provided by the student on the machine

3. Describe the time variable and the cost variable, and indicate the time spent on the machine and the amount of money spent.

4. Note that the different circumstances of the students on the charge of charging different rules, point out the specific calculation method.

Restriction conditions

You must ensure that the program is properly connected to the server.

Test Plan

Carry on the student to the machine, the machine test, verifies the data accuracy. The information of the students on the machine and the amount of recharge are equally sure of the accuracy of the search.

Unresolved issues

Not currently

4 account Management (higher) design notes

4.1 Program Description

The program is responsible for the operation of the student's accounts, recharge, return card, as well as a student's account query and the operation of the System Operator records query, very memory-based, can be heavy. As long as the operator level above can be operated in this program.

4.2 Features

4.3 performance

Accuracy: The money is accurate to 0.5 yuan, the time is accurate to the minute, other numbers are accurate to the whole digit.

4.4 Loss of the person

Gives the characteristics of each entry, including the name, identity, type and format of the data, the valid range of data values, and how to enter it. Number and frequency, input media, source of input data, security and confidentiality conditions, etc.

Name

Identity

Data type

Valid range

Input mode

Card

Card_no

Char

10-digit number

Swipe input

Name

Name

Char

5 characters or less

Manual input

Class

Class

Char

4 characters

Manual input

Grade

Grade

Char

5 characters or less

Manual input

School Number

Stu_no

Char

10-digit number

Manual input

Gender

Sex

Char

A character

Manual input

Amount

Cash

Money

0~100

Manual input

User

User_name

Char

5 characters

Manual input

Time

Time

Datetime

——

Manual/System input

Date

Date

Datetime

——

Manual/System input

4.5 Output Items

Name

Identity

Data type

Valid range

Output Media

Card

Card_no

Char

10-digit number

No

Name

Name

Char

5 characters or less

No

Class

Class

Char

4 characters

No

Grade

Grade

Char

5 characters or less

No

School Number

Stu_no

Char

10-digit number

No

Gender

Sex

Char

A character

No

Amount

Cash

Money

0~100

No

User

User_name

Char

5 characters

No

Date

Date

Datetime

——

No

Time

Time

Datetime

0~240 (min)

No

Frequency: Output as needed when the user needs to query

4.6 Algorithm

Not currently

4.7 Process Logic

Use diagrams (such as flowcharts, decision tables, etc.) with the necessary instructions to represent the logical flow of the program.

4.8 interface

In the form of a diagram to illustrate the program is subordinate to the previous layer module and subordinate to the program of the next layer of module, sub-program, indicating the parameter assignment and call mode, the program is directly related to the data structure (database, data text volume).

4.9 Storage Allocation

Internal data: Database adodc1.connectionstring: Database connection string

User interface card number ID (card_id): string (unique identifier)

Study Number (STU_NO): string

Name (name): string

Class (Class): string

Grade (grade): string

Amount (Cash): Money type

Time: DateTime

User: String

Date: datetime

4.10 Annotation Design

Describe the notes that are intended to be arranged in this program, such as:

1. Before the module, note the start date of the program, the functions to be implemented, and the list of authors

2. Comment on each branch point description information query conditions

3. Brief description of time variables and cost variables

4.11 Conditions of limitation

You must ensure that the program is properly connected to the server.

4.12 Test Plan

Carry on the student to the machine, the machine test, verifies the data accuracy. The information of the students on the machine and the amount of recharge are equally sure of the accuracy of the search. Verify the accuracy of the operator's work records.

4.13 Unresolved issues

Not currently

5 System Management (highest) design notes

From the beginning of this chapter, the design considerations for each program in each level are given individually. The outline given below is specific to the general situation. For a specific module, especially a lower-level module or subroutine, many of its entries are often the same as the contents of the corresponding entries in the previous layer of the module to which it belongs, in which case it is simple to illustrate this point.

5.1 Program Description

The program is mainly responsible for the system settings, operators of the view, management, as well as the verification of the accounts. Only the highest level of operation personnel can enter this module, the system, personnel, accounts for query, management. At the same time responsible for printing reports to the superior to report.

5.2 Features

5.3 Performance

Accuracy: The money is accurate to 0.5 yuan, the time is accurate to the minute, other numbers are accurate to the whole digit.

5.4 Loss of the person

Gives the characteristics of each entry, including the name, identity, type and format of the data, the valid range of data values, and how to enter it. Number and frequency, input media, source of input data, security and confidentiality conditions, etc.

Name

Identity

Data type

Valid range

Input mode

User name

User_name

Char

5 characters

Manual input

5.5 Output Items

Name

Identity

Data type

Valid range

Output Media

Card

Card_no

Char

10-digit number

No

Name

Name

Char

5 characters or less

No

Class

Class

Char

4 characters

No

Grade

Grade

Char

5 characters or less

No

School Number

Stu_no

Char

10-digit number

No

Gender

Sex

Char

A character

No

Amount

Cash

Money

0~100

No

Time

Time

Datetime

0~240 (min)

No

Frequency: Checkout time output, print the report when part of the data output.

5.6 Algorithm

The record is recorded each time the checkout is made by adjusting the last record.

5.7 Process Logic

Use diagrams (such as flowcharts, decision tables, etc.) with the necessary instructions to represent the logical flow of the program.

5.8 interface

In the form of a diagram to illustrate the program is subordinate to the previous layer module and subordinate to the program of the next layer of module, sub-program, indicating the parameter assignment and call mode, the program is directly related to the data structure (database, data text volume).

5.9 Storage Allocation

Internal data: Database adodc1.connectionstring: Database connection string

User interface User name (USER_NAME): string (unique identifier)

Amount (Cash): Money

Time:
Date: datetime

5.10 Annotation Design

Describe the notes that are intended to be arranged in this program, such as:

1. At the beginning of the module, a note explaining the time the module was written, the author, and its basic functions

2. Comments added at each branch point indicate the conditions for querying the operator

5.11 Conditions of limitation

You must ensure that the program is properly connected to the server.

5.12 Test Plan

Checkout to verify the accuracy of the data. Test report printing to ensure that printing and checkout and money match.

5.13 Unresolved issues

Not currently

Detailed design Instructions

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.