当前位置:网站首页>15001. System design scheme
15001. System design scheme
2022-07-23 16:31:00 【xhome516】
List of articles
1 System log scheme
1.1 background
In order to better control the products after mass production , Conduct product use scenarios 、 Life cycle 、 Troubleshooting 、 Return to the factory for maintenance and big data analysis , We need to build a system log system for our own products .
1.2 Product needs
According to different system requirements , Define what needs to be recorded in the system log .
| system log | Log description | Log format | Allocate space | remarks |
|---|---|---|---|---|
| The total running time of the system | The whole life cycle | Hours + minute | – | Record the working hours of products in the whole life cycle , Analyze the service life of the product under different scenarios in combination with temperature |
| Power on times of the system | The whole life cycle | frequency | – | Record the power on times of the product in the whole life cycle |
| On off event | The whole life cycle | frequency | – | Record the time of the event |
| Temperature of key components | The whole life cycle | Record according to the temperature gear :[-40, 0), [0, 20), [20, 50),[50, 85] | – | By analyzing the temperature of key components , Analyze the influence of temperature on the service life of products |
| Statistics of external operation instructions | Record recent xx Article can be | – | – | During product operation , Generate any exceptions , Through backtracking instructions , Get the running status of the product at that time |
| The system prints logs | Key parameters print after startup , Turn it on LOGO, frequency , Time | – | – | product bug Debugging is convenient for positioning |
1.3 Implementation scheme
| Storage location | Advantages and disadvantages | Failure risk | Solution | remarks |
|---|---|---|---|---|
| DDR | The space is large 、 Fast reading and writing | Power loss | – | – |
| Flash | The space is large 、 Fast reading and writing 、 Don't lose power 、 Erasure life 10w Level | Risk of power loss when writing or erasing | The hardware slows down , Dual backup storage , Cross write | – |
| eeprom | Small space 、 Fast reading and writing 、 Don't lose power 、 Erasure life is millions of levels | Risk of power failure when writing | Backup battery slow down ; use ADC To detect the operation when the power down voltage is lower than a certain value EEPROM; use CMP+ and CMP- To compare voltage interruptions , Then operate EEPROM. | – |
In the absence of hardware as an auxiliary power down solution , This power failure problem cannot be completely solved from the perspective of software , use flash Cross backup write comparison , It can reduce the risk value of power failure when erasing .
1.4 Technology path
1.zlog The log comes with month, day, hour, minute and second https://blog.csdn.net/weixin_28673511/article/details/1231161452.syslog The system has its own log system Month day hour minute second
边栏推荐
- LeetCode之等式方程的可满足性
- [in simple terms] from self information to entropy, from relative entropy to cross entropy, nn Crossentropyloss, cross entropy loss function and softmax, multi label classification
- High cost performance, high anti-interference touch IC that meets a variety of keys: vk3606d, vk3610i, vk3618i have high power voltage rejection ratio
- Éléments de base de la validation des haricots - 04
- Unity Metaverse(一)、Ready Player Me & Blender 自定义你的Avatar虚拟人
- Go language learning - Review package, interface, file operation
- How to choose fluorescent dyes in laser confocal
- pytest接口自动化测试框架 | pytest常用运行参数
- nport串口服务器原理,MOXA串口服务器NPORT-5130详细配置
- GO语言学习——复习包、接口、文件操作
猜你喜欢

Flutter | 给 ListView 添加表头表尾最简单的方式

大端模式和小端模式的记忆方法

JS filter / replace sensitive characters

Dark horse programmer - interface test - four day learning interface test - third day - advanced usage of postman, export and import of Newman case set, common assertions, assertion JSON data, working

Go 接口:深入内部原理

JSP之自定义jstl标签

7、 Logic of JMeter sending request

Éléments de base de la validation des haricots - 04

FPGA HLS multiplier (pipeline vs. ordinary simulation)

Oracle中实现删除指定查询条件的所有数据
随机推荐
Differences between LRU and LFU elimination strategies in redis
Cover - computer knowledge guide
15001.系统设计方案
Purpose of wsastartup function
JSP之自定义jstl标签
pytest接口自动化测试框架 | pytest常用运行参数
PgSQL mistakenly deletes PG_ Wal file, service startup failed
GO语言学习——复习包、接口、文件操作
pgsql误删除pg_wal文件后,服务启动失败
Backup and restore of database
vulnstack红日-4
Oralce中实现将指定列的指定内容替换为想要的内容
Esp8266 nodemcu flash file system (spiffs)
Unity Metaverse(一)、Ready Player Me & Blender 自定义你的Avatar虚拟人
Bean Validation起源篇----01
946. Verify stack sequence ●● & sword finger offer 31. stack push in and pop-up sequence ●●
Transparent proxy server architecture of squid proxy service
Software detailed design template
[suctf 2018]multisql (MySQL precompiled)
20220722挨揍记录