```plantuml
@startuml
state "上传中" as upload
[*] -> upload : request
upload -> [*] : [fail]
state "验证中" as valiate
upload -> valiate 
state "生成中" as generate
valiate -> generate :[内容合理]
valiate -> [*] : [内容不合理]
state "已生成" as generated
generate -> generated :生成完成
generate --> [*] :生成失败
state "已保存" as saved
generated -> saved :保存成功
saved -> [*] 
@enduml
```