WIFI Positioning Software Design Manual(WIFI室内定位软件设计说明书)
作为在CSDN上发的第一篇,稍微介绍一下吧,这个是我在小学期做的一个拿到了A(满分)的项目,是利用wifi信号的强弱进行室内的定位,这个是当时写的一个软件设计说明书,比较详细,大家可以通过目录来看想看的内容
然后这里是算法讲解视频:
这个是当时去实验的视频:
添加链接描述
文章目录
- WIFI Positioning Software Design Manual(WIFI室内定位软件设计说明书)
-
- 1.Abstract(摘要)
- 2.Preface(引言)
- 3.Design Plan (开发计划)
- 4.Feasibility Analysis (可行性分析)
- 5. Requirements Analysis (需求分析)
- 6. Outline design (概要设计)
- 7. Detailed design and implementation (详细设计与实现)
- Mission record (任务记录)
Software Designed by group 1,2020-0712
1.Abstract(摘要)
Application scenario: This product takes the 3rd floor of Yifu as an example, and faces the campus network coverage area to find corresponding locations.
Product features: precise navigation and positioning in the building, recommended hot search, recommended location, evaluation.
Target users: school teachers and students, administrative staff, school workers, outside school staff
应用场景:本产品以逸夫3层为例,面向校园网覆盖区域,查找相应地点。
产品特色:楼内精准导航定位,推荐热搜,推荐地点,评价。
目标用户:在校师生,行政人员,校工,校外人员
2.Preface(引言)
2.1 Project research background and significance(项目研究背景及意义)
Product positioning: This product is a modern, functional app that provides users with services such as indoor map display, indoor destination navigation, location detailed information query, fault reminder, and absence judgment in class.
Product features: The product has a beautiful interface and is easy to use. In addition to the basic positioning and navigation and information query functions, it also provides users with special services such as fault reminders and class registration to meet the needs of users.
User needs: There are many classrooms and other places in the teaching building, and the information in the classroom is unknown. Students need an app that can quickly navigate to the destination and obtain detailed classroom information to save time and achieve results; for teachers, provide teachers with judgment students The service of whether to attend class or leave the classroom halfway, to meet the teacher’s need to obtain student information.
产品定位:该产品是面向广大学生、教师,可为用户提供室内地图展示、室内目的地导航、地点详细信息查询、故障提醒、课上缺席判断等服务的一款现代型、功能型app。
产品特色:该产品界面美观、使用方便,除了基础的定位导航、信息查询功能外,还为用户提供故障提醒、上课签到等特色服务,满足用户多方面需求。
用户需求:教学楼内教室等地点较多,且教室内信息未知,学生需要一款可快速导航去目的地和获取教室详细信息的app以节约时间、达到效果;面向老师,为老师提供判断学生是否上课、中途离开教室的服务,满足老师的获取学生信息需求。
2.2 Related products and comparison(相关产品以及对比)
- Compared with software for social environment(e.g. DaZhongDianPing)
与面向社会环境的软件相比(例如:大众点评)
Element recommend part is similar to them, the app will recommend the elements nearby according to user’s position. And the elements here include things like “CAFE” “Classroom” “Computer Room”.
But because of school environment, it does not have that much kinds of element.
But our advantage (or distinguishing feature) is our app faces to Campus.
元素推荐部分与此类似,应用程序将根据用户的位置推荐附近的元素。 这里的元素包括“ CAFE”,“教室”,“计算机室”之类的东西。
但是由于学校环境的原因,它没有太多种类的元素。
但是我们的优势(独特功能)是我们的应用程序面向大学校园。
- Compared with software for school environment(e.g. JiaoDaMoHe)
与面向学校环境的软件相比(例如:交大魔盒)
Compare to this app, our advantages are:
First, it does not has positioning function, our app add the positioning function. And functions based on positioning such as nearby elements recommend.
相比这个程序,我们的优势是:
首先,它没有定位功能,我们的应用程序添加了定位功能。 并推荐基于定位的功能,例如附近的元素。
2.3 Value Of the project and Innovation (项目价值及创新)
Today’s university campuses are often very large, and every teaching building is like a labyrinth. If it is not a student of this school or a student who does not come to a place often, it may get lost. In addition, there is no specific location information on campus on the positioning software used by the public (such as Amap), let alone detailed information such as classrooms in the building, so our campus-based wifi positioning system based on campus network is Will play a vital role.
Plus some additional features, such as nearby recommendations, I can choose to go to the nearest study room, computer room. Or, if you are in a hurry, you can find the nearest toilet (this is very important). Or sign in the classroom, the attendance of this university classroom will be much more convenient.
现在的大学校园往往面积往往非常大,每个教学楼里都如迷宫一般,如果不是本校学生或者是不经常来某地的同学可能会迷路。再加上大众使用的定位软件(如高德地图)上是没有校园内具体地点信息的,更别说楼内教室等详细信息了,所以我们这款面向校园的基于校园网的wifi定位系统就会起到至关重要的作用。
再加上一些附加功能,比如附近推荐,我可以选择去到最近的自习室,计算机房。或者,有的时候着急,可以找到最近的厕所(这个很重要哦 )。或者说课堂签到,这个大学课堂的考勤就会方便很多。
3.Design Plan (开发计划)
Time schedule
- 1. Requirement analysis
- 2. basic UI design
- 3. UI beautify
- 4. UI design(coding)
- 5. Client and Server(network)
- 6. DataBase
- 7. Position
- 8. Element recommend
- 9. Information query
- 10. Feedback
- 11. Check Presence
- 12. MalFunction Remind
- 13. PPT
- 14. Document
In short | Meaning |
---|---|
R-A | Requirements Analysis |
D-D | Demo Design |
B-F | Basic Function |
E-P | Extra Part |
END | end of the task(including the file and ppt) |
Basic functions
- UI design
- User system
- Position
- Network
Extra functions
- Element recommend
- Location information query
- Feedbacks
- Malfunction remind
- Check presenece in class
- UI beautify
Distribute
Work | Manager | Task Explain |
---|---|---|
Requirement analysis | LiuJiaXu | |
Basic UI design | Liujiaxu | using modao |
UI beautify | Liujiaxu | coding |
UI design(coding) | Liujiaxu | coding |
Client and Server(network) | Zhangfu | |
Position | ZQK | |
Element recommend | huanglin | 附近4个不同TAG类ROOM |
Information query | helanlan | 输入房间ID,返回information |
Feedback | LiuJiaXu | 房间页面,评论区 |
Check Presence | ZQK | |
MalFunction Remind | Hemaoxin | 获取当前位置p0,向服务器发送新位置 |
PPT | huanglin | |
Document | ZQK |
Information:
1.id
2.name
3.TAG: ROOM=CAFE? CLASSROOM? WC? COMPUTER ROOM?
4.PICTURE
5.FEEDBACKS
Manager is the man who manage the corresponding part, not the one who is going to write the whole code, but the one who is going to be the leader to lead the team to complete the task.
4.Feasibility Analysis (可行性分析)
4.1 Market feasibility analysis (市场可行性分析)
- As the indoor space for people’s activities becomes larger and more complex, points of interest (POI) become more and more abundant. Demand for positioning and guiding services for large indoor activity venues such as shopping malls, airports, and teaching buildings is increasing. It is this demand that has brought huge market opportunities for the indoor positioning system (IPS). The indoor positioning of this project is based on the wifi signal strength. The improved KNN algorithm has high positioning accuracy and is mainly targeted at the student group. It has strong pertinence, more detailed application development, and better user experience. Therefore, the project is bound to open up a market.
随着人们活动的室内空间越来越庞大和复杂,兴趣点(POI)越来越丰富。商城,机场,教学楼等大型室内活动场所的定位和引导服务需求日趋强烈。正是这种需求,为室内定位系统(IPS,Indoor Positioning System)带来了巨大的市场机会。本项目的室内定位基于wifi信号强度进行定位,改良后的KNN算法定位精度高,且主要面向学生群体,针对性强,应用拓展更为细致,用户体验更佳。因此,该项目势必能开拓出一片市场。
4.2 Technical feasibility analysis (技术可行性分析)
- The indoor positioning system is different from the outdoor GPS positioning. The indoor positioning requires higher precision, and the positioning accuracy error is allowed within 1.5meters. By collecting WiFi signal strength, using KNN algorithm (K-NearestNeighbor algorithm), multi-directional comparison of signal strength in the database, you can accurately know the current indoor location. Therefore, technically, the project is completely feasible.
室内定位系统不同于室外的GPS定位,室内定位对精度的要求更高,定位精确度误差允许范围在1.5米之内。通过采集WiFi信号强度,使用KNN算法(K-NearestNeighbor algorithm),多方位比对数据库中的信号强度,便可精确获知当前的室内定位。因此,在技术上,该项目是完全可行的。
5. Requirements Analysis (需求分析)
5.1 Functional requirements (功能性需求)
5.1.1 Functional block diagram (功能模块结构图)
digraph hierarchy {
nodesep=1.0 // Increases the separation between nodes
node [color=Red,fontname=Courier,shape=box] // All nodes will this shape and colour
edge [color=Purple, style=dashed] // All the lines look like this
WIFIPositioning->{Extra_Part}
Extra_Part->{Element_Recommend InformationQuery Malfunction_Remind FeedBack}
}
5.1.2 Core function module description (核心功能模块描述)
- Basic functions
- UI design
- User system
- Position
- Network
- Extra functions
-
Element recommend
Regarding element recommend, the system will recommend some elements near the user, such as cafes, shops, study rooms, computer rooms, etc.
关于元素推荐,系统将推荐用户附近的一些元素,例如咖啡馆,商店,书房,计算机室等。 -
Location information query
For location information query, we provide a series of location information query for each classroom, teaching building, cafe, etc. Location information includes location information and navigation route, pictures of the place (uploaded by the user or brought by the system), comments on the place Wait.
对于位置信息查询,我们为每个教室,教学楼,咖啡馆等提供一系列位置信息查询。位置信息包括位置信息和导航路线,该地点的图片(由用户上传或由系统带来),评论 在这个地方等等。 -
Feedbacks
User feedback on the location, for example, the classroom is sunny and the room is dim, or there is no outlet or outlet in a classroom. Drinks in this cafe are very good, but the boss has a bad service attitude.
In order to give users more opportunities for reference and vomiting.
用户对位置的反馈,例如,教室晴朗,房间昏暗,或者教室中没有插座。 这家咖啡馆的饮料很好,但老板的服务态度很差。
为了给用户更多的参考和吐槽机会。 -
Malfunction remind
Failure repair, this function can provide better repair service for teachers and students in the school. After clicking to report the current location, the system will automatically read the current location (as long as it is within the coverage of the campus network), and notify the nearby staff to deal with it.
故障修复,此功能可以为学校的师生提供更好的修复服务。 单击以报告当前位置后,系统将自动读取当前位置(只要它在校园网络的范围内),并通知附近的员工进行处理。 -
Check presenece in class
The classroom sign-in system can be considered for docking with the school student management information system to achieve classroom attendance. The system can record when and where the student stays, how long he stays, after importing the student schedule and real-time leave, we can use this to record whether the student is late, leaving early, or absent from class
可以考虑将教室登录系统与学校学生管理信息系统对接以实现教室出勤。 该系统可以记录学生的时间和地点,停留的时间,导入学生的日程安排和实时休假后,我们可以使用它来记录学生是否迟到,早退或缺课
5.2 Non-functional requirements (非功能性需求)
-
performance requirements:
Response time: divided into daily interaction class, daily query class. The daily interaction has the system to