CN111885502B - An early warning and traceability system and method for epidemic prevention and control that protects privacy - Google Patents
An early warning and traceability system and method for epidemic prevention and control that protects privacy Download PDFInfo
- Publication number
- CN111885502B CN111885502B CN202010594928.2A CN202010594928A CN111885502B CN 111885502 B CN111885502 B CN 111885502B CN 202010594928 A CN202010594928 A CN 202010594928A CN 111885502 B CN111885502 B CN 111885502B
- Authority
- CN
- China
- Prior art keywords
- information
- data
- patient
- risk
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000002265 prevention Effects 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims description 22
- 230000010354 integration Effects 0.000 claims abstract description 55
- 238000013500 data storage Methods 0.000 claims abstract description 30
- 238000013480 data collection Methods 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 15
- 239000000523 sample Substances 0.000 claims abstract 4
- 230000000694 effects Effects 0.000 claims description 33
- 208000015181 infectious disease Diseases 0.000 claims description 24
- 241000700605 Viruses Species 0.000 claims description 15
- 238000011534 incubation Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 8
- 230000001174 ascending effect Effects 0.000 claims description 6
- 238000004140 cleaning Methods 0.000 claims description 6
- 238000013479 data entry Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 6
- 230000009385 viral infection Effects 0.000 claims description 6
- 230000000007 visual effect Effects 0.000 claims description 6
- 238000004321 preservation Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 5
- 208000024891 symptom Diseases 0.000 description 5
- 201000010099 disease Diseases 0.000 description 4
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 4
- 230000006855 networking Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012502 risk assessment Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/80—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for detecting, monitoring or modelling epidemics or pandemics, e.g. flu
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Medical Informatics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Biomedical Technology (AREA)
- Pathology (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Alarm Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种保护隐私的疫情防控预警与追溯系统,包括数据采集与保存模块、信息整合模块、匿名信息公告模块、风险判别与处理模块。本发明使用WIFI Probe技术记录周围人员的设备MAC地址信息判断两个用户之间是否产生过接触,通过WIFI信号的强弱判断产生接触的距离信息,通过记录的时间戳差值判断接触时长。除此之外使用电子支付接口、乘车信息接口、定位信息等多源数据辅助风险判别,提升数据的可靠性。本发明将匿名推送患者的数据到其他用户的设备,利用其他用户设备的数据和患者数据分别对比判断是否与患者存在密切接触情况。存在被感染风险时向用户告警,风险较高时向疫情防控服务器上报,以供疾控中心进一步处理。
The invention discloses an early warning and traceability system for epidemic prevention and control that protects privacy, comprising a data collection and storage module, an information integration module, an anonymous information announcement module, and a risk discrimination and processing module. The invention uses the WIFI Probe technology to record the equipment MAC address information of surrounding persons to judge whether there is contact between two users, judges the contact distance information by the strength of the WIFI signal, and judges the contact duration by the recorded time stamp difference. In addition, multi-source data such as electronic payment interface, ride information interface, and positioning information are used to assist risk identification and improve the reliability of data. The present invention will anonymously push the patient's data to the equipment of other users, and use the data of the other user's equipment and the patient's data to respectively compare and judge whether there is close contact with the patient. When there is a risk of being infected, the user is alerted, and when the risk is high, it is reported to the epidemic prevention and control server for further processing by the CDC.
Description
技术领域technical field
本发明涉及病毒防控领域的患者密切接触人员追溯问题,使用患者的相关信息对疫情可能的传播范围进行分析,对密切接触者进行预警通知,信息上报,实现最小化以至于零感染的目标。The invention relates to the problem of tracing the close contacts of patients in the field of virus prevention and control, and uses the relevant information of the patients to analyze the possible spread of the epidemic, and to give early warning notices to close contacts, and to report the information, so as to achieve the goal of minimizing and even zero infection.
背景技术Background technique
对于传播能力、潜伏性较强,传播危害较大的病毒,切断其传染链是一个十分有效的防控方式。但是由于其潜伏期较长,并且潜伏期期间也有传播能力,患者通常是发病后才被隔离。从感染病毒到症状显现时间段内的接触者追溯通常依靠患者的口述信息,其中存在许多记忆不完整,描述遗漏问题,导致密切接触者难以发现。密切接触者通常在不知情的情况下被感染,未表现出症状前,在没做好隔离工作的情况下可能会感染更多人员。这种情况下疫情预警与追溯系统可以在患者表现症状并被收治后对相关密切接触人员预警,直接上报风险较高人员的基本信息,供疾控部门进一步处理。利用上述处理方式可以查找出病毒可能的传播链,及时控制可能的传播链,减少进一步的损失。Cutting off the chain of infection is a very effective way to prevent and control viruses with strong transmission ability, latent potential, and greater transmission harm. However, due to its long incubation period and the ability to transmit during the incubation period, patients are usually isolated after they become ill. Contact tracing during the period from infection to symptom onset usually relies on oral information from patients, many of which have incomplete memory and omission of descriptions, making it difficult to find close contacts. Close contacts are often unknowingly infected and may infect more people without isolation before showing symptoms. In this case, the epidemic early warning and traceability system can give an early warning to the relevant close contacts after the patient shows symptoms and is admitted for treatment, and directly reports the basic information of the high-risk person for further processing by the disease control department. The above processing methods can be used to find out the possible transmission chain of the virus, control the possible transmission chain in time, and reduce further losses.
目前手机等便携式WIFI设备的定位系统主要依靠三种方式:一是手机等便携式WIFI设备内的卫星定位天线接收GPS定位系统、北斗定位系统等定位系统的信号进行定位;二是利用手机等便携式WIFI设备接收的基站信号查询基站的位置信息实现定位;三是利用已知的WIFI信号的位置信息实现WIFI辅助定位(其原理与基站定位的原理类似),该方式是在WIFI信号位置已经共享的条件下进行的。这三种定位方式的定位精度:卫星定位精度>基站定位精度>WIFI辅助定位精度。同时这些定位通常存在10-20米的定位误差,并且卫星定位方式在地铁等地下设施中无法进行定位,设备的定位误差可能进一步增大,无法判断是否存在密切接触,用于疫情防控与追溯时难以获取较为精确的统计数据。At present, the positioning systems of portable WIFI devices such as mobile phones mainly rely on three methods: first, the satellite positioning antennas in portable WIFI devices such as mobile phones receive signals from positioning systems such as GPS positioning systems and Beidou positioning systems for positioning; the second is to use portable WIFI such as mobile phones. The base station signal received by the device queries the location information of the base station to achieve positioning; the third is to use the known location information of the WIFI signal to achieve WIFI-assisted positioning (the principle is similar to that of base station positioning), this method is based on the condition that the position of the WIFI signal has been shared carried out below. The positioning accuracy of these three positioning methods: satellite positioning accuracy > base station positioning accuracy > WIFI-assisted positioning accuracy. At the same time, these positioning usually have a positioning error of 10-20 meters, and the satellite positioning method cannot be used for positioning in underground facilities such as subways. The positioning error of the equipment may further increase, and it is impossible to judge whether there is close contact. It is used for epidemic prevention and control and traceability. It is difficult to obtain more accurate statistics.
WIFI的IEEE802.11协议集中包含ProbeRequest帧,使用该协议的WIFI设备会主动发送ProbeRequest帧,该ProbeRequest帧携带着设备的MAC地址,WIFI信号强度等信息。当WIFI网卡开启monitor模式后,可以监控信号可探测范围内的所有WIFI设备的MAC地址、WIFI信号强度等等信息。手机等便携式WIFI设备中的WIFI芯片开启monitor模式后可以记录周围所有WIFI设备的MAC地址信息,该地址信息可以唯一确定一个设备。此外还可以记录WIFI设备到本机的信号强度,通过这一参数可以获取较为精确的相对距离信息,判断是否存在近距离接触,通过信息记录的时间戳差值还可以计算接触时间。WIFI's IEEE802.11 protocol set contains ProbeRequest frame, WIFI device using this protocol will actively send ProbeRequest frame, the ProbeRequest frame carries the device's MAC address, WIFI signal strength and other information. When the WIFI network card turns on the monitor mode, it can monitor the MAC address, WIFI signal strength and other information of all WIFI devices within the detectable range of the signal. After the WIFI chip in a portable WIFI device such as a mobile phone turns on the monitor mode, it can record the MAC address information of all the surrounding WIFI devices, and the address information can uniquely identify a device. In addition, it can also record the signal strength from the WIFI device to the local machine. Through this parameter, more accurate relative distance information can be obtained to determine whether there is close contact. The contact time can also be calculated through the time stamp difference recorded by the information.
健康码技术在大数据的基础上将用者的病毒携带风险等级进行了分类,但是该技术并未实现疫情的追溯功能,并且还依赖于使用者的主动信息上报,存在一定的缺陷。The health code technology classifies the user's virus-carrying risk level on the basis of big data, but the technology does not realize the traceability function of the epidemic situation, and also relies on the user's active information reporting, which has certain defects.
发明内容SUMMARY OF THE INVENTION
本发明利用手机等便携式智能WIFI联网设备设计了一种疫情防控中的追溯与预警系统。如图2时序图所示,系统利用手机等便携式智能WIFI联网设备收集电子支付位置接口、乘车信息接口的信息,并且通过WIFIProbe技术记录附近人员的手机等便携式智能WIFI联网设备的MAC地址和信号强度,计算与附近人员的相对距离信息。通过手机等便携式智能WIFI联网设备的定位功能,包括但不限于卫星定位、基站定位、WIFI辅助定位等功能定位设备的绝对位置信息。若数据收集时间与当前时间差超过病毒的潜伏期,并且设备拥有者没有出现患病症状,则删除过期数据,并继续收集新的数据。若出现患病症状,则将设备中保存的活动轨迹信息以匿名方式上传到疫情防控服务器,并和患者主动上报的口述信息整合。疫情防控服务器向其余用户推送该信息,所有接收到该信息的设备对自身的数据进行比对,判断自身数据的绝对位置与患者数据的绝对位置是否有重合并且相对位置十分接近的情况。当出现这种情况时,则判断当前设备拥有者是密切接触者,对其进行告警通知。设备根据与患者的接触的密切程度(距离远近,时间长短)信息对设备拥有者感染可能性进行等级划分,如果感染风险较高,则自动向疾控部门上报基本信息,疾控部门可以进一步的进行诊断与评估,追溯所有高风险人群。The present invention designs a traceability and early warning system in epidemic prevention and control by using portable intelligent WIFI networking equipment such as mobile phones. As shown in the sequence diagram in Figure 2, the system uses mobile phones and other portable smart WIFI networking devices to collect information on the electronic payment location interface and ride information interface, and records the MAC addresses and signals of nearby people's mobile phones and other portable smart WIFI networking devices through WIFIProbe technology. Intensity, calculates relative distance information to nearby people. Through the positioning function of portable smart WIFI networking devices such as mobile phones, including but not limited to satellite positioning, base station positioning, WIFI-assisted positioning and other functions to locate the absolute position information of the device. If the difference between the data collection time and the current time exceeds the incubation period of the virus, and the device owner has no symptoms of illness, the expired data will be deleted and new data will continue to be collected. If symptoms of illness occur, the activity track information saved in the device will be uploaded anonymously to the epidemic prevention and control server, and integrated with the oral information actively reported by the patient. The epidemic prevention and control server pushes the information to other users, and all devices that receive the information compare their own data to determine whether the absolute position of their own data and the absolute position of the patient's data overlap and the relative positions are very close. When this happens, it is determined that the current device owner is a close contact, and an alarm notification is given. The device classifies the possibility of infection of the owner of the device according to the closeness of the contact with the patient (distance, length of time). Diagnose and evaluate and trace all high-risk populations.
本发明提出的一种疫情防控预警与追溯系统,包括:数据采集与存储模块、信息整合模块、匿名信息公告模块、风险判别与处理模块;An early warning and traceability system for epidemic prevention and control proposed by the present invention includes: a data collection and storage module, an information integration module, an anonymous information announcement module, and a risk discrimination and processing module;
所述数据采集与存储模块负责位置信息的收集与保存,其包括四个功能模块,分别是电子支付信息采集保存模块,乘车信息采集保存模块,信号强度信息采集保存模块,定位信息采集保存模块;The data collection and storage module is responsible for the collection and storage of location information, and includes four functional modules, namely, an electronic payment information collection and storage module, a ride information collection and storage module, a signal strength information collection and storage module, and a positioning information collection and storage module. ;
所述信息整合模块负责在用户被确诊病毒感染后将数据采集与保存模块的数据和患者的口述信息相整合,删除冗余信息;The information integration module is responsible for integrating the data of the data acquisition and storage module with the oral information of the patient after the user is diagnosed with virus infection, and deletes redundant information;
所述匿名信息公告模块负责对患者的数据进行清洗、可视化展示,然后向所有系统的使用者推送当前患者的匿名信息,包括患者的活动轨迹信息,设备的MAC地址信息;The anonymous information announcement module is responsible for cleaning and visualizing the patient's data, and then pushing the current patient's anonymous information to users of all systems, including the patient's activity track information and the device's MAC address information;
所述风险判别与处理模块负责接收患者信息的推送,将患者的设备MAC地址和轨迹信息与自身保存的接触者的设备MAC地址和轨迹信息比对,根据有无接触和接触距离、接触时长信息判断当前设备拥有者的被感染风险等级,如果存在被感染的可能性,就向设备拥有者发出告警信息;如果判断是密切接触人员,被感染风险极高时,设备自动向疫情防控服务器发送设备拥有者的基本信息。The risk discrimination and processing module is responsible for receiving the push of patient information, and compares the device MAC address and trajectory information of the patient with the device MAC address and trajectory information of the contacts saved by itself. Determine the infection risk level of the current device owner, and if there is a possibility of being infected, send an alarm message to the device owner; if it is determined to be in close contact with a person and the risk of being infected is extremely high, the device automatically sends a message to the epidemic prevention and control server Basic information about the device owner.
本发明所述信息整合模块将患者口述的记忆信息输入数据库,并通过接口转换成经纬度信息;将支付位置信息表、定位信息表和转化后的口述信息表的经度、纬度和时间列整合生成一张信息整合表。The information integration module of the present invention inputs the patient's oral memory information into the database, and converts it into longitude and latitude information through an interface; integrates the longitude, latitude and time columns of the payment location information table, the positioning information table and the converted oral information table to generate a Sheet of information integration.
本发明所述信息整合模块的功能除将数据采集与存储模块的信息上传之外,均运行于疫情防控服务器。The functions of the information integration module of the present invention are all run on the epidemic prevention and control server except for uploading the information of the data collection and storage modules.
本发明中,未感染的用户记录的所有数据加密保存在本地,保存时间超出病毒潜伏期的数据将被删除。In the present invention, all data recorded by uninfected users are encrypted and stored locally, and data whose storage time exceeds the virus incubation period will be deleted.
基于以上系统,本发明还提出了一种疫情防控预警与追溯方法,包括以下步骤:Based on the above system, the present invention also proposes an early warning and traceability method for epidemic prevention and control, comprising the following steps:
S1.采集数据并生成支付位置信息表、乘坐交通工具信息表、WIFIProbe探测信息表、定位信息表;定期检查各信息表的数据,若数据保存时长超过病毒的潜伏期时长,则删除相关数据条目;S1. Collect data and generate payment location information table, transportation information table, WIFIProbe detection information table, and positioning information table; regularly check the data of each information table, if the data storage time exceeds the incubation period of the virus, delete the relevant data entry;
S2.从患者录入的活动轨迹信息中提取关键信息生成记忆口述信息表,将其与支付位置信息表、乘坐交通工具信息表、MAC地址信息和定位信息表的信息一同上传至疫情防控服务器,整合生成一张信息整合表;S2. Extract key information from the activity track information entered by the patient to generate a memory oral information table, and upload it to the epidemic prevention and control server together with the information of the payment location information table, the transportation information table, the MAC address information and the positioning information table. Integrate to generate an information integration table;
S3.对信息整合表中的数据进行数据清洗,患者的信息整合表的经纬度和时间戳信息标注在地图上,进行可视化展示,然后将记忆口述信息表的活动轨迹展示在公告板;将患者的信息整合表、乘坐交通工具信息表和MAC地址信息表向除患者以外的用户推送;S3. Clean the data in the information integration table, mark the longitude, latitude and time stamp information of the patient's information integration table on the map for visual display, and then display the activity track of the memory oral information table on the bulletin board; The information integration table, the transportation information table and the MAC address information table are pushed to users other than patients;
S4.如果用户存在已经被感染的风险,则风险告警模块自动向该用户发出被感染风险告警;如果用户是密切接触者,已经被感染的风险为高风险,则风险上报模块自动向疫情防控服务器发送该用户的基本信息。S4. If the user is at risk of being infected, the risk warning module will automatically issue an infection risk warning to the user; if the user is a close contact and the risk of being infected is high, the risk reporting module will automatically report to the epidemic prevention and control The server sends the basic information of the user.
本发明中,所述步骤S1包括:In the present invention, the step S1 includes:
步骤S101.每隔固定时间,电子支付信息采集保存模块利用第三方支付平台的接口获取电子支付的信息,将电子订单的所在店铺的经度坐标和纬度坐标以及支付的时间保存到支付位置信息表;Step S101. Every fixed time, the electronic payment information collection and preservation module utilizes the interface of the third-party payment platform to obtain the information of electronic payment, and the longitude coordinates and latitude coordinates of the store where the electronic order is located and the time of payment are saved to the payment location information table;
步骤S102.每隔固定时间,乘车信息采集保存模块利用接口查询获取用户乘坐的车辆、车次、座位号信息,保存到乘坐交通工具信息表;Step S102. Every fixed time, the travel information collection and storage module uses the interface to query and obtain the vehicle, train number, and seat number information that the user rides, and save it into the travel vehicle information table;
步骤S103.使用WIFIProbe实时记录周围设备的MAC地址、信号强度信息与时间戳信息,保存到WIFIProbe探测信息表;Step S103. Use WIFIProbe to record the MAC address, signal strength information and time stamp information of surrounding devices in real time, and save them to the WIFIProbe detection information table;
步骤S104.使用卫星定位、基站定位、WIFI辅助定位方式获取设备的经纬度信息、时间戳信息,并且保存到定位信息表;Step S104. Use satellite positioning, base station positioning, and WIFI-assisted positioning to obtain longitude and latitude information and time stamp information of the device, and save it to the positioning information table;
步骤S105.定期检查数据库的每个表,利用当前时间减数据保存的时间得到数据保存的时长,如果数据保存时长超过病毒的潜伏期时长,则删除数据库中的相关数据条目。Step S105. Regularly check each table in the database, and subtract the data storage time from the current time to obtain the data storage duration. If the data storage duration exceeds the virus incubation period, delete the relevant data entry in the database.
本发明中,所述步骤S2包括:In the present invention, the step S2 includes:
S201.将数据采集与存储模块的信息包括支付位置信息表、乘坐交通工具信息表、MAC地址信息和定位信息表的信息分别上传到疫情防控服务器;S201. Upload the information of the data collection and storage module including the payment location information table, the transportation information table, the MAC address information and the positioning information table to the epidemic prevention and control server respectively;
S202.疾控中心督促患者手动录入活动轨迹信息,提取口述信息中的关键信息如活动时间、活动地点、密切接触人,得到记忆口述信息表,上传到疫情防控服务器;该服务器使用地图接口,将活动地点信息转换成经纬度坐标;S202. The CDC urges the patient to manually enter the activity track information, extract the key information in the oral information such as activity time, activity location, and close contacts, obtain a memorized oral information table, and upload it to the epidemic prevention and control server; the server uses the map interface, Convert event location information into latitude and longitude coordinates;
S203.将支付位置信息表、定位信息表和转化后的口述信息表的经度、纬度和时间列整合生成一张信息整合表,并删除部分冗余信息。S203. Integrate the longitude, latitude and time columns of the payment location information table, the positioning information table and the transformed oral information table to generate an information integration table, and delete some redundant information.
本发明中,所述步骤S3包括:In the present invention, the step S3 includes:
S301.以信息整合表中的时间戳信息为排序依据,将所有信息按时间升序排列,删除序列中离群值较大的经纬度坐标;然后使用Kmeans算法对信息整合表中的数据聚类,K值设置为信息整合表的数据项条数/n,n值是需要对数据数量缩放的倍数,n值越大,聚类后的数据点的数量越少;接着将聚类后的患者的信息整合表的经纬度和时间戳信息标注在地图上,进行可视化展示,然后将记忆口述信息表的活动轨迹展示在公告板;S301. Using the timestamp information in the information integration table as the sorting basis, arrange all the information in ascending order of time, and delete the latitude and longitude coordinates with larger outliers in the sequence; then use the Kmeans algorithm to cluster the data in the information integration table, K The value is set to the number of data items in the information integration table/n, and the n value is the multiple that needs to be scaled to the number of data. The larger the n value, the less the number of clustered data points; then the clustered patient information The latitude, longitude and timestamp information of the integrated table are marked on the map for visual display, and then the activity track of the memory oral information table is displayed on the bulletin board;
S302.将患者的未聚类的信息整合表、乘坐交通工具信息表和MAC地址信息表向除患者以外的所有使用该系统的用户推送。S302. Push the patient's unclustered information integration table, the transportation information table and the MAC address information table to all users who use the system except the patient.
本发明中,所述步骤S4包括:In the present invention, the step S4 includes:
S401.接收信息推送模块推送的患者的信息整合表、乘坐交通工具信息表和MAC地址信息,对每个信息表按照时间戳升序排序;S401. Receive the patient's information integration table, the vehicle information table and the MAC address information pushed by the information push module, and sort each information table in ascending order of timestamp;
S402.将患者的信息整合表与当前用户的信息整合表的相同时间范围内信息条目分组,每个组内使用Haversine公式计算两用户之间的球面距离:S402. Group the information items in the same time range of the patient's information integration table and the current user's information integration table, and use the Haversine formula to calculate the spherical distance between the two users in each group:
其中,和是两点的纬度值,λ1和λ2是两点的经度值,r是地球半径;如果患者和当前用户存在多个时间分组内距离小于一定的阈值则提升该用户的感染风险等级;in, and is the latitude value of two points, λ 1 and λ 2 are the longitude values of the two points, and r is the radius of the earth; if the distance between the patient and the current user in multiple time groups is less than a certain threshold, the user's infection risk level will be increased;
S403.将患者的乘坐交通工具信息表与当前用户的乘坐交通工具信息表进行比对,查找是否出现同乘一个班次的交通工具的情况,若出现且座位号距离较远,设置为低风险;若出现且座位号距离较近则设置为高风险;S403. Compare the patient's transportation information table with the current user's transportation information table to find out whether there is a situation of taking the same shift of transportation, and if it occurs and the seat number is far away, set it as a low risk; If it appears and the seat number is close, it is set as high risk;
S404.查询设备保存的MAC地址中是否存在患者的设备MAC地址,如果存在则利用信号强度将风险分为三个等级;再根据时间戳的差值信息判断存在密切接触的情况,时间戳的差值越大接触时间越长,如果存在密切接触的情况则将被感染风险等级设置为高风险;S404. Query whether the MAC address of the patient's device exists in the MAC address saved by the device, and if so, use the signal strength to divide the risk into three levels; and then judge that there is close contact according to the difference information of the time stamps. The larger the value, the longer the contact time. If there is close contact, the infection risk level will be set to high risk;
S405.如果设备拥有者存在已经被感染的风险,则风险告警模块自动向该拥有者发出被感染风险告警;S405. If the device owner has a risk of being infected, the risk alarm module automatically sends an infection risk alarm to the owner;
S406.如果设备拥有者是密切接触者,已经被感染的风险为高风险,则风险上报模块自动向疫情防控服务器发送该设备拥有者的基本信息。S406. If the device owner is a close contact and the risk of being infected is high, the risk reporting module automatically sends the basic information of the device owner to the epidemic prevention and control server.
本发明使用多源数据作为风险评定因素,将乘车信息与电子支付信息接入,利用第三方平台的地址信息,将其转换成轨迹信息,进一步辅助轨迹判定。除了利用传统的定位方式如卫星定位、基站定位、WIFI辅助定位确定绝对位置,实现轨迹比对外,本发明还使用了WIFIProbe技术记录周围人员的设备MAC地址与WIFI信号强度信息。该技术只需保持设备的WIFI为开启状态,不需要连接即可记录其他设备的MAC地址与信号强度,可以在较小范围内确定两个持有设备的人是否进行过近距离接触,从而实现较为准确的密切接触统计。The invention uses multi-source data as a risk assessment factor, accesses ride information and electronic payment information, and uses the address information of a third-party platform to convert it into trajectory information to further assist trajectory determination. In addition to using traditional positioning methods such as satellite positioning, base station positioning, and WIFI-assisted positioning to determine the absolute position and achieve track comparison, the present invention also uses the WIFIProbe technology to record the equipment MAC addresses and WIFI signal strength information of surrounding personnel. This technology only needs to keep the WIFI of the device turned on, and can record the MAC address and signal strength of other devices without connection. More accurate close contact statistics.
本发明相比于已有的利用大数据的疫情辅助防控方式如健康码等有以下创新:Compared with the existing epidemic prevention and control methods using big data, such as health codes, the present invention has the following innovations:
本发明使用多源数据进行风险评估、风险告警、风险上报,具有更高的可靠性、准确性。The present invention uses multi-source data for risk assessment, risk warning and risk reporting, and has higher reliability and accuracy.
本发明使用WIFIProbe技术记录周围人员的设备MAC地址信息判断两个用户之间是否产生过接触,通过WIFI信号的强弱判断产生接触的距离信息。仅收集周围用户的设备MAC地址信息和WIFI信号强度并不会泄露周围用户的信息,并且该信息仅保存在用户本机,保存一段时间(病毒的潜伏期),即使设备被黑客攻击也不会造成数据信息的大规模的泄露。此外还利用了多源数据,增强了系统的可靠性与准确性。The invention uses the WIFIProbe technology to record the equipment MAC address information of the surrounding people to judge whether there is contact between the two users, and judges the distance information of the contact through the strength of the WIFI signal. Only collecting the device MAC address information and WIFI signal strength of surrounding users will not reveal the information of surrounding users, and the information is only stored in the user's computer for a period of time (the incubation period of the virus), even if the device is hacked, it will not cause any damage. Large-scale leakage of data information. In addition, multi-source data is utilized to enhance the reliability and accuracy of the system.
附图说明Description of drawings
图1保护隐私的疫情防控与追溯系统模块图。Figure 1. Module diagram of the epidemic prevention and control and traceability system that protects privacy.
图2保护隐私的疫情防控与追溯系统时序图。Figure 2 Sequence diagram of the epidemic prevention and control and traceability system that protects privacy.
图3保护隐私的疫情防控与追溯系统活动图。Figure 3 Activity diagram of the epidemic prevention and control and traceability system to protect privacy.
图4支付位置信息表。Figure 4 Payment location information table.
图5乘坐交通工具信息表。FIG. 5 takes the transportation information table.
图6WIFIProbe探测信息表。Figure 6 WIFIProbe detection information table.
图7定位信息表。Fig. 7 Positioning information table.
图8记忆口述信息表。Figure 8 Memory dictation information table.
图9信号强度与风险等级转换表。Figure 9. Conversion table of signal strength and risk level.
具体实施方式Detailed ways
结合以下具体实施例和附图,对发明作进一步的详细说明。实施本发明的过程、条件、实验方法等,除以下专门提及的内容之外,均为本领域的普遍知识和公知常识,本发明没有特别限制内容。The invention will be further described in detail with reference to the following specific embodiments and accompanying drawings. Except for the content specifically mentioned below, the process, conditions, experimental methods, etc. for implementing the present invention are all common knowledge and common knowledge in the field, and the present invention is not particularly limited.
本发明是一个疫情防控追溯系统,分成四大模块,如图1所示,包括:The present invention is an epidemic prevention and control traceability system, which is divided into four modules, as shown in Figure 1, including:
S1.数据采集与存储模块。数据采集与存储模块主要负责位置信息的收集与保存,包括四个功能模块,分别是电子支付信息采集保存模块、乘车信息采集保存模块、WIFIProbe信息包括设备的MAC地址、信号强度信息采集保存模块,卫星定位、基站定位、WIFI辅助定位信息采集保存模块。S1. Data acquisition and storage module. The data collection and storage module is mainly responsible for the collection and storage of location information, including four functional modules, namely the electronic payment information collection and storage module, the ride information collection and storage module, and the WIFIProbe information including the device's MAC address and signal strength information collection and storage module , Satellite positioning, base station positioning, WIFI-assisted positioning information collection and storage module.
其步骤如下:The steps are as follows:
步骤S101.每隔固定时间,电子支付信息采集保存模块利用第三方支付平台的接口获取电子支付的地点信息并保存到本地数据库。Step S101. Every fixed time, the electronic payment information collection and storage module uses the interface of the third-party payment platform to obtain the location information of the electronic payment and save it to the local database.
步骤S102.每隔固定时间,乘车信息采集保存模块利用接口查询获取乘坐的车辆,车次,乘车时间信息保存到本地数据库。Step S102. Every fixed time, the travel information collection and storage module uses the interface to query and obtain the information about the vehicle, the number of trains, and the travel time, and save the information to the local database.
步骤S103.使用WIFIProbe实时记录周围设备的MAC地址、信号强度信息与时间戳信息,保存到本地数据库。Step S103. Use WIFIProbe to record the MAC address, signal strength information and time stamp information of surrounding devices in real time, and save them to a local database.
步骤S104.使用卫星定位、基站定位、WIFI辅助定位等定位方式获取设备的位置信息和时间戳信息,并且保存到本地数据库。Step S104. Use positioning methods such as satellite positioning, base station positioning, WIFI-assisted positioning, etc. to obtain the position information and time stamp information of the device, and save them to a local database.
步骤S105.定期检查数据库的每个表,利用当前时间减数据保存的时间得到数据保存的时长,如果数据保存时长超过病毒的潜伏期时长,则删除数据库中的相关数据条目。Step S105. Regularly check each table in the database, and subtract the data storage time from the current time to obtain the data storage duration. If the data storage duration exceeds the virus incubation period, delete the relevant data entry in the database.
S2.信息整合模块。信息整合模块负责在用户被确诊病毒感染后将数据采集与保存模块的数据和患者的口述信息相整合,删除冗余信息。首先将患者口述的记忆信息输入数据库,然后通过接口转换成经纬度信息。然后将支付位置信息表、定位信息表和转化后的口述信息表的经度、纬度和时间列整合生成一张信息整合表。S2. Information integration module. The information integration module is responsible for integrating the data of the data collection and storage module with the oral information of the patient after the user is diagnosed with virus infection, and deletes redundant information. First, the patient's oral memory information is input into the database, and then converted into latitude and longitude information through the interface. Then, the longitude, latitude and time columns of the payment location information table, the positioning information table and the converted oral information table are integrated to generate an information integration table.
其步骤如下:The steps are as follows:
S201.数据采集与存储模块的信息上传到疫情防控服务器。S201. Upload the information of the data collection and storage module to the epidemic prevention and control server.
S202.疾控中心督促患者手动录入活动轨迹信息,提取口述信息中的关键信息如活动时间、活动地点、密切接触人,得到如图8所示的记忆口述信息表,上传到疫情防控服务器。该服务器使用地图接口,将活动地点信息转换成经纬度坐标。S202. The CDC urges the patient to manually enter the activity track information, extracts key information in the oral information such as activity time, activity location, and close contacts, obtains the memory oral information table as shown in Figure 8, and uploads it to the epidemic prevention and control server. The server uses a map interface to convert event location information into latitude and longitude coordinates.
S203.将口述提取信息与数据采集模块的信息相整合,删除部分冗余信息,然后传输到匿名信息公告模块。S203. Integrate the oral extraction information with the information of the data collection module, delete some redundant information, and then transmit it to the anonymous information announcement module.
S3.匿名信息公告模块。匿名信息公告模块负责处理信息整合模块的信息,对数据进行清洗、可视化展示、向所有系统的使用者推送当前患者的匿名信息,包括位置信息,设备的MAC地址信息等等。S3. Anonymous information announcement module. The anonymous information announcement module is responsible for processing the information of the information integration module, cleaning the data, displaying it visually, and pushing the anonymous information of the current patient to the users of all systems, including the location information, the MAC address information of the device, and so on.
其步骤如下:The steps are as follows:
S301.接收信息整合模块的信息,进行数据清洗与处理,将患者的活动轨迹标记在地图上,进行可视化展示。S301. Receive information from the information integration module, perform data cleaning and processing, and mark the patient's activity track on a map for visual display.
S302.将患者的设备MAC地址信息、活动轨迹信息向所有系统的使用者推送。S302. Push the patient's device MAC address information and activity track information to users of all systems.
S4.风险判别与处理模块。该模块负责接收患者信息的推送,将患者的设备MAC地址和轨迹信息与自身保存的接触者的设备MAC地址和轨迹信息比对,根据有无接触和接触距离、接触时长等信息判断当前设备拥有者的被感染风险等级,如果存在被感染的可能性,就向设备拥有者发出告警信息,使其尽早隔离,减少可能的传播风险。如果判断是密切接触人员,被感染风险极高时,设备自动疫情防控服务器发送设备拥有者的基本信息,使疾控中心能尽早对其检测与诊断,切断病毒传播。S4. Risk identification and processing module. This module is responsible for receiving the push of patient information, compares the MAC address and trajectory information of the patient's device with the device MAC address and trajectory information of the contacts saved by itself, and judges whether the current device has contact based on the presence or absence of contact, contact distance, contact duration and other information. If there is a possibility of being infected, a warning message will be sent to the owner of the device to isolate it as soon as possible to reduce the possible risk of transmission. If it is judged that the person is in close contact and the risk of being infected is extremely high, the automatic epidemic prevention and control server of the equipment sends the basic information of the equipment owner, so that the CDC can detect and diagnose them as soon as possible, and cut off the spread of the virus.
其步骤如下:The steps are as follows:
S401.接收信息推送模块推送的患者的设备MAC地址信息以及活动轨迹信息,并对本设备轨迹信息和患者的轨迹信息聚类处理,降低计算复杂度。S401. Receive the patient's device MAC address information and activity track information pushed by the information push module, and perform clustering processing on the device's track information and the patient's track information to reduce computational complexity.
S402.查询设备保存的MAC地址中是否存在患者的设备MAC地址,如果存在则提升该设备所有者的被感染风险等级。再利用根据信号强度记录的距离和时间戳的差值信息判断存在密切接触的情况,如果存在密切接触的情况则将被感染风险等级设置未最高。S402. Query whether the MAC address of the patient's device exists in the MAC address saved by the device, and if so, increase the infection risk level of the owner of the device. Then, the difference information between the distance and the time stamp recorded according to the signal strength is used to determine the situation of close contact. If there is a situation of close contact, the infection risk level is set to be lower than the highest.
S403.计算患者与该设备拥有者的轨迹聚类,计算聚类后的轨迹距离和相似度。若出现相同时间距离较近或轨迹相似度较高的情况,将设备拥有者的被感染风险等级提升。S403. Calculate the trajectory clustering between the patient and the device owner, and calculate the distance and similarity of the trajectory after the clustering. If the same time distance is close or the trajectory similarity is high, the infection risk level of the device owner will be increased.
S404.如果设备拥有者存在已经被感染的风险,则风险告警模块自动向该拥有者发出被感染风险告警。S404. If the device owner has a risk of being infected, the risk alarm module automatically sends an infection risk alarm to the owner.
S405.如果设备拥有者是密切接触者,已经被感染的风险等级较高,则风险上报模块自动疫情防控服务器发送该设备拥有者的基本信息,以供疾控部门快速掌控密切接触者信息。S405. If the device owner is a close contact and has a high risk of being infected, the risk reporting module's automatic epidemic prevention and control server sends the basic information of the device owner, so that the disease control department can quickly control the close contact information.
本发明设计了一种利用手机等支持WIFI便携式设备记录信息,实现疫情发生后的感染者密切接触人员追溯与告警系统,它具备以下特点:The present invention designs a system that uses mobile phones and other portable devices supporting WIFI to record information, and realizes the traceability and alarm system for the close contacts of infected persons after the outbreak of the epidemic. It has the following characteristics:
本发明所利用的信息,包括轨迹信息、乘车信息、电子支付信息、WIFI设备的MAC地址与信号强度等等信息通常仅保留在自身的设备中,只有在确诊病毒感染后,才对信息进行匿名共享帮助查找密切接触者,可以保证用户的隐私安全。The information used in the present invention, including track information, ride information, electronic payment information, MAC address and signal strength of WIFI equipment, etc., is usually only kept in its own equipment, and only after the virus infection is diagnosed, the information is processed. Anonymous sharing helps find close contacts and can ensure user privacy.
实施例Example
本发明公开了一种疫情预警追溯系统,该系统利用便携式WIFI设备收集与个人活动轨迹有关的信息,当用户确诊病毒感染后,将个人活动轨迹、唯一标识等信息共享,实现所有用户的设备自动判断自身是否与患者产生密切接触,如果可能被感染的风险较高,就自动向疾控部门上报信息,实现疫情防控中的密切接触者追溯。The invention discloses an epidemic early warning and traceability system. The system uses portable WIFI devices to collect information related to personal activity trajectories. When a user is diagnosed with virus infection, the personal activity trajectory, unique identification and other information are shared, so as to realize automatic device automatic detection of all users. Determine whether you have close contact with the patient. If the risk of being infected is high, it will automatically report the information to the disease control department to realize the traceability of close contacts in epidemic prevention and control.
为了清晰的描述疫情预警追溯系统,本发明提供了该系统的模块图如图1,时序图如图2和活动图如图3。其中,模块图描述了系统的功能模块划分,时序图描述了系统的执行过程的顺序信息。在活动图中,本发明将系统的对象分成四种,病毒感染用户、普通用户、医疗机构和疫情防控服务器。病毒感染用户和普通用户的主要活动是信息采集与保存。病毒感染用户被诊断感染后,整合口述信息、轨迹与设备MAC地址信息并上传到疫情防控服务器。疫情防控服务器对患者信息公告与可视化展示后向其余普通用户推送患者的轨迹与MAC地址信息。普通用户设备将患者信息与自己的设备保存信息对比,进行风险判别,存在风险时进行风险告警,如果风险较高,则向疫情防控服务器风险上报,疫情防控服务器通知疫情防控人员对其进行进一步处理,例如进行检测或进行医疗诊断。In order to clearly describe the epidemic early warning and traceability system, the present invention provides a module diagram of the system as shown in Figure 1, a sequence diagram as shown in Figure 2 and an activity diagram as shown in Figure 3. Among them, the module diagram describes the functional module division of the system, and the sequence diagram describes the sequence information of the execution process of the system. In the activity diagram, the present invention divides the objects of the system into four types, virus-infected users, ordinary users, medical institutions, and epidemic prevention and control servers. The main activities of virus-infected users and ordinary users are information collection and storage. After a virus-infected user is diagnosed with infection, the oral information, trajectory and device MAC address information are integrated and uploaded to the epidemic prevention and control server. After the epidemic prevention and control server announces and visualizes the patient information, it pushes the patient's trajectory and MAC address information to other ordinary users. Ordinary user equipment compares the patient information with the information stored in its own equipment, makes risk identification, and issues a risk warning when there is a risk. For further processing, such as testing or medical diagnosis.
系统的具体实施方式如下:The specific implementation of the system is as follows:
S1.数据采集与存储模块是用户设备端模块,该模块分别利用电子支付信息采集保存模块、乘车信息采集保存模块、WIFIProbe信息(包括设备的MAC地址,信号强度信息)采集保存模块,卫星定位、基站定位、WIFI辅助定位信息采集保存模块记录用户的活动轨迹信息。S1. The data collection and storage module is a user equipment end module, which uses the electronic payment information collection and storage module, the ride information collection and storage module, the WIFIProbe information (including the device's MAC address, signal strength information) collection and storage module, and satellite positioning. , Base station positioning, WIFI auxiliary positioning information collection and storage module to record the user's activity track information.
其步骤如下:The steps are as follows:
步骤S101.每隔固定时间,电子支付信息采集保存模块利用第三方支付平台的接口获取电子支付的信息,将电子订单的所在店铺的经度坐标和纬度坐标以及支付的时间保存到如图4所示的本地数据库的支付位置信息表。Step S101. Every fixed time, the electronic payment information collection and preservation module utilizes the interface of the third-party payment platform to obtain the information of electronic payment, and saves the longitude coordinates and latitude coordinates of the store where the electronic order is located and the time of payment as shown in Figure 4. The payment location information table of the local database.
步骤S102.每隔固定时间,乘车信息采集保存模块利用接口查询获取用户乘坐的车辆、车次、座位号信息,保存到如图5所示的本地数据库的乘坐交通工具信息表。Step S102. Every fixed time, the travel information collection and storage module uses the interface to query and obtain the vehicle, train number, and seat number information of the user, and save it to the travel information table of the local database as shown in FIG. 5 .
步骤S103.使用WIFIProbe实时记录周围设备的MAC地址、信号强度信息与时间戳信息,保存到如图6所示的本地数据库WIFIProbe探测信息表。Step S103. Use the WIFIProbe to record the MAC addresses, signal strength information and timestamp information of the surrounding devices in real time, and save them to the local database WIFIProbe detection information table as shown in FIG. 6 .
步骤S104.使用卫星定位、基站定位、WIFI辅助定位等定位方式获取设备的经纬度信息、时间戳信息,并且保存到如图7所示的本地数据库定位信息表。Step S104. Use positioning methods such as satellite positioning, base station positioning, and WIFI-assisted positioning to obtain the latitude and longitude information and timestamp information of the device, and save it to the local database positioning information table as shown in FIG. 7 .
步骤S105.定期检查本地数据库的每个表,利用当前时间减数据保存的时间得到数据保存的时长,如果数据保存时长超过病毒的潜伏期时长,则删除数据库中的相关数据条目。Step S105. Regularly check each table of the local database, subtract the data storage time from the current time to obtain the data storage duration, and delete the relevant data entry in the database if the data storage duration exceeds the virus incubation period.
S2.信息整合模块负责在用户被确诊病毒感染后将数据采集与保存模块的数据和患者的口述信息相整合,删除冗余信息。首先将患者口述的记忆信息输入数据库,然后通过接口转换成经纬度信息。然后将支付位置信息表、定位信息表和转化后的口述信息表的经度、纬度和时间列整合生成一张信息整合表。该模块的功能除将数据采集与存储模块的信息上传之外,都运行于疫情防控服务器。S2. The information integration module is responsible for integrating the data of the data collection and storage module with the oral information of the patient after the user is diagnosed with virus infection, and deletes redundant information. First, the patient's oral memory information is input into the database, and then converted into latitude and longitude information through the interface. Then, the longitude, latitude and time columns of the payment location information table, the positioning information table and the converted oral information table are integrated to generate an information integration table. The functions of this module run on the epidemic prevention and control server, except for uploading the information of the data collection and storage modules.
其步骤如下:The steps are as follows:
S201.将数据采集与存储模块的信息包括支付位置信息表、乘坐交通工具信息表、MAC地址信息和定位信息表的信息分别上传到疫情防控服务器。S201. Upload the information of the data collection and storage module including the payment location information table, the transportation information table, the MAC address information and the positioning information table to the epidemic prevention and control server respectively.
S202.疾控中心督促患者手动录入活动轨迹信息,提取口述信息中的关键信息如活动时间、活动地点、密切接触人,得到如图8所示的记忆口述信息表,上传到疫情防控服务器。该服务器使用地图接口,将活动地点信息转换成经纬度坐标。S202. The CDC urges the patient to manually enter the activity track information, extracts key information in the oral information such as activity time, activity location, and close contacts, obtains the memory oral information table as shown in Figure 8, and uploads it to the epidemic prevention and control server. The server uses a map interface to convert event location information into latitude and longitude coordinates.
S203.将支付位置信息表、定位信息表和转化后的口述信息表的经度、纬度和时间列整合生成一张信息整合表(该表与定位信息表格式相同,包含经度列、纬度列、时间戳列),并删除部分冗余信息。S203. Integrate the longitude, latitude and time columns of the payment location information table, the positioning information table and the converted oral information table to generate an information integration table (this table has the same format as the positioning information table, including longitude column, latitude column, time Stamp column), and delete some redundant information.
S3.匿名信息公告模块是疫情防控服务器的功能模块,负责对患者的数据进行清洗、可视化展示,然后向所有系统的使用者推送当前患者的匿名信息,包括患者的活动轨迹信息,设备的MAC地址信息等等。S3. The anonymous information announcement module is a functional module of the epidemic prevention and control server, which is responsible for cleaning and visualizing the patient's data, and then pushing the current patient's anonymous information to all users of the system, including the patient's activity track information, and the MAC of the device. address information, etc.
其步骤如下:The steps are as follows:
S301.接收信息整合模块的处理后的信息(包括信息整合表、乘坐交通工具信息表和WIFIProbe探测信息表),对信息整合表中的数据进行数据清洗。以信息整合表中的时间戳信息为排序依据,将所有信息按时间升序排列,删除序列中离群值较大的经纬度坐标。然后使用Kmeans算法对信息整合表中的数据聚类,K值设置为信息整合表的数据项条数/n,n值是需要对数据数量缩放的倍数,n值越大,聚类后的数据点的数量越少。接着将聚类后的患者的信息整合表的经纬度和时间戳信息标注在地图应用上,进行可视化展示,然后将记忆口述信息表的活动轨迹文字信息展示在平台公告板。S301. Receive the processed information of the information integration module (including the information integration table, the vehicle information table and the WIFIProbe detection information table), and perform data cleaning on the data in the information integration table. Take the timestamp information in the information integration table as the sorting basis, arrange all the information in ascending order of time, and delete the latitude and longitude coordinates with large outliers in the sequence. Then use the Kmeans algorithm to cluster the data in the information integration table. The K value is set to the number of data items in the information integration table/n, and the n value is the multiple that needs to be scaled to the number of data. The larger the n value, the more clustered data. The number of points is less. Then, the latitude, longitude and timestamp information of the clustered patient information integration table are marked on the map application for visual display, and then the text information of the activity track of the memory oral information table is displayed on the platform bulletin board.
S302.将患者的信息整合表(未聚类)、乘坐交通工具信息表和MAC地址信息表向除患者以外的所有使用该系统的用户推送。S302. Push the patient's information integration table (not clustered), the transportation information table and the MAC address information table to all users who use the system except the patient.
S4.风险判别与处理模块是用户设备端的模块。该模块负责接收患者信息的推送,将患者的设备MAC地址和轨迹信息与自身保存的接触者的设备MAC地址和轨迹信息比对,根据有无接触和接触时的距离和接触时间长度等信息判断当前设备拥有者的被感染风险等级,如果存在被感染的可能性,就向设备拥有者发出告警信息,使其尽早隔离,减少可能的传播风险。如果判断是密切接触人员,被感染风险极高时,设备自动向疫情防控服务器发送设备拥有者的基本信息,使疾控中心能尽早对其检测与诊断,切断病毒传播。S4. The risk discrimination and processing module is a module on the user equipment side. This module is responsible for receiving the push of patient information, comparing the device MAC address and trajectory information of the patient with the device MAC address and trajectory information of the contacts saved by itself, and judging based on the presence or absence of contact, the distance and the length of the contact time. The current infection risk level of the device owner. If there is a possibility of being infected, an alarm message is sent to the device owner, so that they can be isolated as soon as possible to reduce the possible spread risk. If it is judged that the person is in close contact and the risk of being infected is extremely high, the device automatically sends the basic information of the device owner to the epidemic prevention and control server, so that the CDC can detect and diagnose it as soon as possible and cut off the spread of the virus.
其步骤如下:The steps are as follows:
S401.接收信息推送模块推送的患者的信息整合表、乘坐交通工具信息表和MAC地址信息,对每个信息表按照时间戳升序排序。S401. Receive the patient's information integration table, the vehicle information table and the MAC address information pushed by the information push module, and sort each information table in ascending order of timestamp.
S402.将患者的信息整合表与当前用户的信息整合表的相同时间范围内信息条目分组,每个组内使用Haversine公式计算两用户之间定位的球面距离。S402. Group the information items in the same time range of the patient's information integration table and the current user's information integration table, and use the Haversine formula to calculate the spherical distance positioned between the two users in each group.
其中和是两点的纬度值,λ1和λ2是两点的经度值,r是地球半径。如果患者和当前用户存在多个时间分组内距离小于一定的阈值(如10米)则提升该用户的感染风险等级。in and is the latitude value of the two points, λ 1 and λ 2 are the longitude values of the two points, and r is the radius of the earth. If the distance between the patient and the current user in multiple time groups is less than a certain threshold (for example, 10 meters), the infection risk level of the user is increased.
S403.将患者的乘坐交通工具信息表与当前用户的乘坐交通工具信息表进行比对,查找是否出现同乘一个班次的交通工具的情况,若出现且座位号距离较远,设置为低风险;若出现且座位号距离较近则设置为高风险。S403. Compare the patient's transportation information table with the current user's transportation information table to find out whether there is a situation of taking the same shift of transportation, and if it occurs and the seat number is far away, set it as a low risk; If it appears and the seat number is close, it is set as high risk.
S404.查询设备保存的MAC地址中是否存在患者的设备MAC地址,如果存在则利用信号强度将风险分为如图9信号强度与风险等级转换表所示的三个等级。再根据时间戳的差值信息判断存在密切接触的情况,时间戳的差值越大接触时间越长,如果存在密切接触的情况则将被感染风险等级设置为高风险。S404. Query whether the MAC address of the patient's device exists in the MAC address saved by the device, and if so, use the signal strength to divide the risk into three levels as shown in the conversion table of signal strength and risk level in FIG. 9 . Then, according to the difference information of the time stamps, it is judged that there is close contact. The greater the difference between the time stamps, the longer the contact time. If there is close contact, the infection risk level is set to high risk.
S405.如果设备拥有者存在已经被感染的风险,则风险告警模块自动向该拥有者发出被感染风险告警。S405. If the device owner has a risk of being infected, the risk alarm module automatically sends an infection risk alarm to the owner.
S406.如果设备拥有者是密切接触者,已经被感染的风险为高风险,则风险上报模块自动向疫情防控服务器发送该设备拥有者的基本信息,以供疾控部门快速掌控密切接触者信息。S406. If the device owner is a close contact and the risk of infection is high, the risk reporting module will automatically send the basic information of the device owner to the epidemic prevention and control server, so that the disease control department can quickly control the close contact information .
本发明公开了一种保护隐私的疫情防控预警与追溯系统,包括数据采集与保存模块、信息整合模块、匿名信息公告模块、风险判别与处理模块。本发明使用WIFIProbe技术记录周围人员的设备MAC地址信息判断两个用户之间是否产生过接触,通过WIFI信号的强弱判断产生接触的距离信息,通过记录的时间戳差值判断接触时长。除此之外使用电子支付接口、乘车信息接口、定位信息等多源数据辅助风险判别,提升数据的可靠性。本发明将匿名推送患者的数据到其他用户的设备,利用其他用户设备的数据和患者数据分别对比判断是否与患者存在密切接触情况。存在被感染风险时向用户告警,风险较高时向疫情防控服务器上报,以供疾控中心进一步处理。The invention discloses an early warning and traceability system for epidemic prevention and control that protects privacy, comprising a data collection and storage module, an information integration module, an anonymous information announcement module, and a risk discrimination and processing module. The invention uses the WIFIProbe technology to record the device MAC address information of the surrounding people to judge whether there is contact between two users, judges the contact distance information by the strength of the WIFI signal, and judges the contact duration by the recorded time stamp difference. In addition, multi-source data such as electronic payment interface, ride information interface, and positioning information are used to assist risk identification and improve the reliability of data. The present invention will anonymously push the patient's data to the equipment of other users, and use the data of the other user's equipment and the patient's data to compare and judge whether there is close contact with the patient. When there is a risk of being infected, the user is alerted, and when the risk is high, it is reported to the epidemic prevention and control server for further processing by the CDC.
本发明的保护内容不局限于以上实施例。在不背离发明构思的精神和范围下,本领域技术人员能够想到的变化和优点都被包括在本发明中,并且以所附的权利要求书为保护范围。The protection content of the present invention is not limited to the above embodiments. Variations and advantages that can occur to those skilled in the art without departing from the spirit and scope of the inventive concept are included in the present invention, and the appended claims are the scope of protection.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010594928.2A CN111885502B (en) | 2020-06-28 | 2020-06-28 | An early warning and traceability system and method for epidemic prevention and control that protects privacy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010594928.2A CN111885502B (en) | 2020-06-28 | 2020-06-28 | An early warning and traceability system and method for epidemic prevention and control that protects privacy |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111885502A CN111885502A (en) | 2020-11-03 |
CN111885502B true CN111885502B (en) | 2021-07-27 |
Family
ID=73157050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010594928.2A Active CN111885502B (en) | 2020-06-28 | 2020-06-28 | An early warning and traceability system and method for epidemic prevention and control that protects privacy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111885502B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112566036B (en) * | 2020-11-17 | 2021-10-15 | 大连理工大学 | A low-power wide-area network and blockchain-based approach to epidemic close contact tracing |
CN112669978B (en) * | 2020-11-23 | 2022-03-04 | 广州大学 | Epidemic infection risk assessment method |
CN112117012B (en) * | 2020-11-23 | 2021-03-23 | 北京软通智慧城市科技有限公司 | Epidemic prevention supervision method, device, equipment and medium |
CN112601182A (en) * | 2020-12-07 | 2021-04-02 | 北京理工大学珠海学院 | Epidemic prevention traceability method based on WIFI probe |
CN114611860A (en) * | 2020-12-09 | 2022-06-10 | 华为技术有限公司 | An epidemic prevention and control method, electronic device, application server and system |
CN112509699A (en) * | 2020-12-28 | 2021-03-16 | 医渡云(北京)技术有限公司 | Health identification code generation method and device, storage medium and electronic equipment |
CN112735602A (en) * | 2021-01-07 | 2021-04-30 | 南方科技大学 | Block chain risk value management method and device, electronic equipment and storage medium |
CN113159706A (en) * | 2021-03-11 | 2021-07-23 | 北京联创新天科技有限公司 | Enterprise big data information management system |
CN113132912B (en) * | 2021-04-12 | 2022-11-29 | 东南大学 | Double tracing method and system for infectious disease close contact based on human-ground digital portrait |
CN113420959A (en) * | 2021-05-31 | 2021-09-21 | 国网浙江省电力有限公司建设分公司 | Power grid infrastructure and rework complex production assessment method based on fuzzy analytic hierarchy process |
CN113298411B (en) * | 2021-06-10 | 2023-10-31 | 南京航空航天大学 | Supervision methods and devices for user epidemic prevention safety levels |
US11940283B2 (en) | 2021-08-12 | 2024-03-26 | Toyota Motor North America, Inc. | Vehicle matching systems and methods for matching a user with a vehicle |
CN114121298A (en) * | 2021-10-08 | 2022-03-01 | 宁波城市职业技术学院 | Epidemic situation flow regulation method and auxiliary system based on WiFi |
CN114222248A (en) * | 2021-11-10 | 2022-03-22 | 北京紫清智慧科技有限公司 | Method and system for early warning based on terminal |
CN114420306A (en) * | 2022-01-21 | 2022-04-29 | 腾讯烟台新工科研究院 | Infectious disease close contact person tracking system and method |
CN114842980B (en) * | 2022-04-14 | 2023-07-25 | 浙江大学 | WiFi (wireless fidelity) matching-based contact tracking pre-screening method for infectious disease susceptible people |
CN114485677B (en) * | 2022-04-14 | 2022-06-24 | 中国民用航空总局第二研究所 | Visual range coverage analysis method for civil aviation navigation equipment with variable height by combining flight track |
CN115379002A (en) * | 2022-08-03 | 2022-11-22 | 展讯通信(天津)有限公司 | Information reporting method and device |
CN115410720A (en) * | 2022-10-31 | 2022-11-29 | 广东泳华科技有限公司 | Clustered infectious disease epidemic situation early warning method based on confirmed patient trajectory characteristics |
CN117456698A (en) * | 2023-09-18 | 2024-01-26 | 武汉工程大学 | An air proximity warning method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111027525A (en) * | 2020-03-09 | 2020-04-17 | 中国民用航空总局第二研究所 | Method, device and system for tracking potentially infected persons in public places during the epidemic |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110959181A (en) * | 2017-07-28 | 2020-04-03 | 皇家飞利浦有限公司 | Monitoring direct and indirect transmission of infections in healthcare facilities using real-time localization systems |
US20190096532A1 (en) * | 2017-09-26 | 2019-03-28 | Sickweather, Llc | Method and system for tracking illness |
CN111261302B (en) * | 2020-02-26 | 2024-04-19 | 汤一平 | Epidemic virus field visualization method and system based on space-time trajectory data |
CN111383771B (en) * | 2020-02-26 | 2023-12-22 | 汤一平 | Prevention and control system based on epidemic disease virus field |
CN111341463B (en) * | 2020-03-17 | 2023-08-15 | 腾讯科技(深圳)有限公司 | Epidemic situation investigation method, device, computer equipment and storage medium |
-
2020
- 2020-06-28 CN CN202010594928.2A patent/CN111885502B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111027525A (en) * | 2020-03-09 | 2020-04-17 | 中国民用航空总局第二研究所 | Method, device and system for tracking potentially infected persons in public places during the epidemic |
Also Published As
Publication number | Publication date |
---|---|
CN111885502A (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111885502B (en) | An early warning and traceability system and method for epidemic prevention and control that protects privacy | |
Yu et al. | Using cell phone location to assess misclassification errors in air pollution exposure estimation | |
EP1994514B1 (en) | Method and apparatus to provide outbreak notification based on historical location data | |
US9141762B2 (en) | System and method for analyzing and controlling epidemics | |
CN114153343B (en) | Health code display method and electronic equipment | |
CN111627549A (en) | Auxiliary system for infectious disease investigation | |
JP2015072612A (en) | Early stage condition grasping method and device | |
CN111461677A (en) | Method, device, terminal and storage medium for managing personnel in epidemic situation period | |
US10475326B2 (en) | System and method for tracking interaction between monitored population and unmonitored population | |
US20220285036A1 (en) | Systems and methods for intelligent and privacy-centric contact tracing | |
JP2011070248A (en) | Infectious patient action history collection/analysis system | |
CN112566036B (en) | A low-power wide-area network and blockchain-based approach to epidemic close contact tracing | |
CN113132680A (en) | Method, apparatus, device and medium for preventing person from missing | |
CN110926655A (en) | Epidemic situation monitoring method and system based on wearable body temperature sensor | |
KR101864222B1 (en) | system and method for pedestrian traffic big data analysis | |
CN111627565A (en) | Early warning system and method for infectious epidemic danger source | |
Prociow et al. | Towards personalised ambient monitoring of mental health via mobile technologies | |
CN116509382A (en) | Human body activity intelligent detection method and health monitoring system based on millimeter wave radar | |
CN212118127U (en) | An epidemic prevention and control system for detecting and tracking human body temperature | |
CN113161003B (en) | System and method for tracking and registering activity track and contact of infectious disease patient | |
CN118230382B (en) | Petrochemical enterprise multidimensional personnel location show management system | |
CN102306350A (en) | Intelligent city internet of things system | |
JP5515837B2 (en) | Impact analysis support device, method, and program | |
Chen et al. | The application framework of big data technology during the COVID-19 pandemic in China | |
CN113365216B (en) | Tracking early warning method, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |