1.微服务架构 springcloud
[Spring Cloud 中文](https://www.springcloud.cc/)
[springcloud 全家桶](https://spring.io/projects/spring-cloud)
[spring security](https://docs.spring.io/spring-security/site/docs/current/reference/html5/#preface)
2.后台开发框架 springboot
[springboot 教程](https://docs.spring.io/spring-boot/docs/2.0.0.M3/reference/htmlsingle/)
[springboot 快速构建](https://start.spring.io/)
[application.properties 配置](https://docs.spring.io/spring-boot/docs/2.0.0.M3/reference/htmlsingle/#common-application-properties-security)
[springboot demo](https://github.com/spring-projects/spring-boot/tree/v2.0.0.M3/spring-boot-samples/)
3.数据库
[MySql 教程](https://www.runoob.com/mysql/mysql-tutorial.html)
[Redis 教程](https://www.runoob.com/redis/redis-tutorial.html)
4.组件
mybatis
[mybatis 介绍/教程](https://mybatis.org/mybatis-3/zh/index.html)
分布式配置中心apollo
[分布式配置中心--阿波罗](https://github.com/ctripcorp/apollo/wiki/Apollo%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%BF%83%E4%BB%8B%E7%BB%8D)
其他常用组件:
JSONObject com.alibaba:fastjson
分页排序查询 com.github.pagehelper
5.其他
[jenkins](https://www.jenkins.io/zh/doc/)
6.笔记
#正则匹配IPv4
String regex = "((25[0-5])|(2[0-4]\\d)|(1\\d{2})|(([1-9]\\d?)))\\." +
"((25[0-5])|(2[0-4]\\d)|(1\\d{2})|(([1-9]\\d?)))\\."+
"((25[0-5])|(2[0-4]\\d)|(1\\d{2})|(([1-9]\\d?)))\\."+
"((25[0-5])|(2[0-4]\\d)|(1\\d{2})|(([1-9]\\d?)))";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(serverName);
if(!matcher.find()){
continue;
}
String siteName = serverName.replace(matcher.group(0), "").replace("-", "");
#字典键值遍历
server.forEach((k2,v2) -> {
if(k2.equals("deviceCount")){
serverCountSet.set(cIndex, serverCountSet.get(cIndex) + Integer.valueOf(v2.toString()));
}
});