Today, we will make a summary design for the project. The summary Design refers to converting the obtained project requirements into the software structure and data structure. There are many templates for the summary design on the Internet, which are very detailed, however, because it is too detailed and too much content needs to be written, it is too much work to write a detailed summary design, it may take several days to complete a brief design that requires dozens of pages based on the Standard newspaper volume, however, this open-source project of WID focuses on the implementation of software functions, so the detailed outline design is not implemented. Here we will implement a brief version of the outline design.
I. Requirements
(1) Functional Requirements
1>. Able to collect essays in the blog garden by simulating spider;
2>. Able to collect Essays of specified users;
3>. Able to collect essays on the homepage/excellent/candidates;
4>. Able to collect users' essays in the recommendation blog;
5>. There is a certain filtering mechanism for collection. The filtering requirements are as follows:
①. Collect only the essays published within a certain period of time;
②. Can collect data based on input keywords;
③. Filters out unnecessary essays based on input;
④. Do not collect essays with too short content;
6>. The related information of the author must be retained;
7>. Collect related logs.
(2). collection quality regulations
1>. Able to collect complete essays;
2>. Retain the essay format as full as possible;
(3). Running Environment
Can run on Windows/Linux systems.
Ii. Software Module Design
:
Iii. Relationship between requirements and modules
As shown in the table:
|
Ui Module |
Collection Module |
Analysis Module |
Declaration Module |
Save Module |
Filter Module |
Configuration Management |
Initialization |
Requirement 1 |
|
√ |
|
|
|
|
|
|
Requirement 2 |
|
√ |
|
|
|
|
|
|
Requirement 3 |
|
√ |
|
|
|
|
|
|
Requirement 4 |
|
√ |
|
|
|
|
|
|
Requirement 5 |
|
|
|
|
|
√ |
|
|
Requirement 6 |
|
|
|
√ |
|
|
|
|
Requirement 7 |
|
|
|
|
√ |
|
|
|
The designed modules meet functional requirements.
Iv. project file organization
For the organization of project files ,:
FinishedAfter the outline design, the detailed design of each module will be described in the next article.
Today, I have completed my three additional plans every day.The latest development of the cnblogsfan open-source project, WID will insist on completing the development of this project in the free time every day.
GitHub address: https://github.com/mrwid/CnblogsFan
--------------------
WID, 2012.10.09
Next article: open-source> step-by-step implementation of cnblogs blog collection tools> detailed design
previous article : open-source> step-by-step implementation of cnblogs blog collection tools> analysis of project requirements