CN113365216B - Tracking early warning method, system and equipment - Google Patents

Tracking early warning method, system and equipment Download PDF

Info

Publication number
CN113365216B
CN113365216B CN202110417219.1A CN202110417219A CN113365216B CN 113365216 B CN113365216 B CN 113365216B CN 202110417219 A CN202110417219 A CN 202110417219A CN 113365216 B CN113365216 B CN 113365216B
Authority
CN
China
Prior art keywords
terminal
contact
contact person
information
contacter
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
Application number
CN202110417219.1A
Other languages
Chinese (zh)
Other versions
CN113365216A (en
Inventor
刘军发
彭磊
郑爱兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yiteng Technology Co ltd
Original Assignee
Hangzhou Yiteng Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Yiteng Technology Co ltd filed Critical Hangzhou Yiteng Technology Co ltd
Priority to CN202110417219.1A priority Critical patent/CN113365216B/en
Publication of CN113365216A publication Critical patent/CN113365216A/en
Application granted granted Critical
Publication of CN113365216B publication Critical patent/CN113365216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/10Machine learning using kernel methods, e.g. support vector machines [SVM]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/80ICT 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/71Hardware identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Epidemiology (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Primary Health Care (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pathology (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a tracking early warning method, a system and equipment, wherein the system comprises the following steps: the terminal has a positioning function, can load map data through the background server, takes the terminal as the center, and takes the maximum distance between the terminal and the contact person terminal as the radius to display a display area; the terminal receives terminal data of all the contacts in the display area; monitoring the relative distance between the terminal and the contact person terminal in real time; the calculation of the relative distance is based on mac and rss i of the terminal and the contact terminal; acquiring the contact duration of the terminal and the contact terminal based on mac, rss i and timestamps of the terminal and the contact terminal; the background server can establish wireless connection with the terminal and the contact person terminal and is used for returning absolute position information to the terminal and the contact person terminal; and sending early warning information to the terminal in real time. This scheme only through commonly used intelligent terminal, can realize in the multiclass place contacter pursuit and early warning, need not to deploy other auxiliary assembly, low cost.

Description

Tracking early warning method, system and equipment
Technical Field
The invention relates to the field of information tracing and tracing, in particular to an information processing and warning method, an information processing and warning system and equipment for tracing and early warning specific personnel.
Background
The close contact refers to a person who has close contact with a case with high infectivity but has not taken effective preventive measures. The method is an important link for effectively controlling epidemic situations for tracking and isolating the plants.
For many years, it has not been sufficient to merely track closely exposed persons in the actual control of highly contagious epidemics, and in fact, persons who have been exposed to infectious disease patients are at risk of infection. The people who have contacted with the infectious disease patient are the contacts, and in the epidemic situation protection against the virus or the disease with extremely high infectivity, the people who have contacted with the infectious disease patient are tracked by the contacts, so that the contacts in the latent disease period are prevented from becoming the infection source to expand the disease transmission, and the method is an important epidemic prevention means. The contact person tracking can screen potential infected people who are close to the diagnosed infected person and give early warning in time. However, the traditional method for tracking the contacter is mainly used for interviewing the infected person, and through the inquiry mode, the accurate recording of the past information is difficult to achieve, and for the opportunistic contacters, such as buying goods together in a store, the tracking is difficult; moreover, the crowd tracing cost is extremely high, a large amount of manpower and material resources are consumed, and the tracing period is very long. How to solve the difficulties by technical means is an urgent need of epidemic prevention work in various emergency states.
Disclosure of Invention
In view of this, embodiments of the present invention provide a tracking and early warning method and system, which can perform contact judgment in all indoor and outdoor scenes in epidemic situation prevention and control, including scenes in which the existing positioning technologies such as subways, shopping malls, counters and the like cannot be applied, so as to achieve the purposes of tracking the travel track of a contact person, knowing the health information of the contact person, sending early warning information, and achieving self-prevention and control.
In order to achieve the purpose, the invention specifically provides the following technical scheme:
in one aspect, the present invention provides a tracking early warning method, including:
s1, starting a terminal positioning function; registering, wherein the registered data has uniqueness in a database;
s2, loading map data and displaying the position of the terminal on a map;
s3, the background server returns the absolute position information of each contact person terminal, marks the absolute position information in map data, takes the terminal as the center, takes the maximum distance between the terminal and the contact person terminal as the radius, and displays a display area;
s4, the terminal receives terminal data of all contacters in the display area, the contacters distinguish the close contacters from the common contacters according to social distances of the close contacters and the common contacters established by an epidemic situation prevention and control scheme, and whether the holders of the contacter terminals have diagnosed or suspected infected persons is judged; if yes, executing S5, otherwise executing S3;
s5, sending early warning information to a terminal in real time, and displaying the notification of the accurate diagnostician in the display area on the same day;
s6, monitoring the relative distance between the terminal and the contact person terminal in real time; the calculation of the relative distance is based on mac and rssi of the terminal and the contacter terminal;
s7, acquiring contact duration of the terminal and the contacter terminal based on mac, rssi and timestamps of the terminal and the contacter terminal, and uploading the contact duration and the relative distance to a background server by the terminal;
s8, judging whether the terminal holder is a confirmed or suspected person, if so, uploading confirmed information on the terminal, and sending a notice to a contact person terminal contacted with the terminal by the background server based on the confirmed information uploaded by the terminal; the diagnosis confirming information at least comprises diagnosis confirming time; if not, executing S3.
Preferably, in S4, the terminal may further perform:
s401, monitoring the contact data state, including position track display, position point information display, contact person terminal detail display and contact person query;
the position trajectory display includes: displaying the arrival place of the terminal on the same day, and displaying different health states of the holder of the contact person terminal in different display modes;
the location point information display includes: when the mobile terminal moves to any position point on the map, displaying the number information of all the contact person terminals of the position point;
the contact terminal detail display includes: clicking the information of the number of the contact person terminals, and displaying an information list, wherein the information list comprises contact duration, contact level and information capable of uniquely representing the contact person terminals;
the contact query includes: according to the holder state of the contact terminal, the contact record in a certain time range is inquired.
Preferably, the contact person query further includes:
judging whether the contact time of the terminal and each contacter terminal reaches a preset window period, if so, clearing contact records exceeding the window period and information related to the contacter terminal, wherein the information related to the contacter terminal comprises contacter information, a contact position, contact duration and contact level; if not, the information related to the contact person terminal is reserved.
Preferably, the step S8 further includes: and displaying different health states of the terminal holder in different display modes.
Preferably, in S6, the relative distance between the terminal and the contacter terminal is monitored by:
acquiring wireless access point information acquired by a terminal and a contact person terminal;
extracting a characteristic vector of the wireless access point information, and acquiring a distance between any two of the terminal and the contact person terminal according to a distance calculation function; the distance calculation function may be a function obtained in various ways, such as a distance function obtained by fitting on the basis of an empirical value obtained by detecting a fixed point in the positioning region;
the wireless access point information includes at least: MAC information and received signal strength of the wireless access point;
the distance calculation function is obtained by machine learning. The machine learning method can be realized by adopting a conventional artificial neural network method, such as a BP neural network, and the like, and can also be realized by adopting algorithms such as a support vector machine and the like.
Preferably, the machine learning further comprises:
acquiring wireless access point information at different positions in a positioning area;
establishing a relation between the position and the wireless access point information collected at the position to form different position data;
grouping the position data pairwise, removing repeated groups, and performing feature extraction on each group of the position data;
a distance computation function is obtained based at least in part on the extracted feature vectors in a machine learning manner.
Preferably, the feature vector includes at least one of: the number of wireless access points, the signal difference of the same wireless access point, the ratio of the number of the same wireless access points to the number of the total wireless access points, and the like. These feature vectors may be combined arbitrarily, or combined with other feature vectors, according to specific machine learning needs, accuracy needs, and the like.
Preferably, after feature extraction is performed on each group of the position data, a distance between two points in the group is calculated as a label of the extracted feature vector;
forming feature data based on the label and the feature vector;
based on the feature data, a distance calculation function is obtained.
Preferably, after the feature data is formed, the feature data is normalized. The normalization processing is not necessary, and when the magnitude difference of the feature vectors is not large, the step of normalization processing may not be added, or adjustment may be performed according to the specific calculation amount requirement.
Preferably, the machine learning uses a support vector machine model, and the support vector machine kernel function uses a radial basis function;
the support vector machine model adopts a support vector regression classifier;
and the machine learning process adopts a gradient descent method to search the optimal regression parameters.
Preferably, the relative distance between the terminal and the contacter terminal is monitored by: starting the scanning function of one or more wireless signal receiving modules of the terminal and the contact person terminal, and recording a wireless field characteristic value FE0 of the current position point of the terminal:
FE0={(mac1,rssi1);(mac2,rssi2),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
preferably, the wireless field characteristic value FE1 in the current location environment collected by the current contacter terminal is recorded:
FE1={(mac1’,rssi1’);(mac2’,rssi2’),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
the relative distance between P0 and P1 is calculated based on FE0 and FE 1.
Preferably, the wireless field characteristic values are collected for a plurality of times at the position of the terminal and the position of the contact person terminal, and the average value of the signal intensity of the wireless field characteristic values for a plurality of times is taken as the signal intensity value of the current position point of the terminal and the contact person terminal.
Preferably, the calculation of the relative distance is implemented by:
when the same MAC address exists in the FE0 and the FE1, the formula D is followed ist =D sim-min +p dif-new *(D sim-max -D sim-min ) Calculating the distance D between the FE0 and the FE1 ist The distance is the relative distance between the terminal and the contact terminal;
said D sim-min The minimum distance value in the distance range corresponding to the proportion of the same MAC address in the FE0 and the FE1 is referred to; said D sim-max The maximum distance value in the distance range corresponding to the proportion of the same MAC address in the FE0 and the FE1 is referred to; the P is dif-new The weight factor is obtained by converting the proportion of different MAC addresses in the FE0 and the FE 1.
Preferably, when the same MAC address does not exist in FE0 and FE1, comparing whether the FE0 is consistent with the base station LAC and the base station CID of the other wireless signal base station information matched with the FE 0; when the wireless signal base station information is consistent, the distance D between FE0 and FE1 ist Less than or equal to the diameter of the base station coverage; and when the wireless signal base station information is inconsistent, the diameter of the coverage area of the base station is larger.
Preferably, the wireless signal base station is a mobile base station and/or a bluetooth base station.
Preferably, said P dif-new According to the formula
Figure GDA0004097165680000071
Calculating to obtain;
wherein, the P is dif The ratio of different MAC addresses in the FE0 and the FE1 in the two records is referred to; said p is dif-min Means that the range of 0-100% is divided into a plurality of zones, the P is dif The minimum value in the range of the interval; said p is dif-max Means that said P is dif The maximum value within the range of the interval.
Preferably, said P dif According to the formula
Figure GDA0004097165680000072
Calculating to obtain;
wherein, the MacNum refers to the number of the same MAC addresses in the FE0 and the FE 1; m and N are the number of MAC addresses in the FE0 and the FE1 respectively.
Preferably, D is sim-min And D sim-max By calculating D sim Obtaining; said D sim The ratio p of the same MAC address in the terminal information of the FE0 and the FE1 is referred to sim Corresponding distance range, said D sim-min And D sim-max The minimum and maximum values of this interval are represented.
Preferably, p is sim The calculation method is as follows: according to the formula
Figure GDA0004097165680000073
Calculating the proportion P of the same MAC address in the FE0 and the FE1 sim Wherein min (N, M) is the smaller of N and M.
In addition, the invention also provides a tracking early warning system, which comprises:
the terminal has a positioning function, can load map data through the background server, displays the positions of the terminal and the contact person terminal on a map, and displays a display area by taking the terminal as a center and taking the maximum distance between the terminal and the contact person terminal as a radius; the terminal receives terminal data of all the contacts in the display area; the contact person terminal is a terminal held by an end user who has a contact relation with the terminal;
and
monitoring the relative distance between the terminal and the contact person terminal in real time; the calculation of the relative distance is based on mac and rssi of the terminal and the contacter terminal; acquiring contact time length of the terminal and the contacter terminal based on mac, rssi and time stamps of the terminal and the contacter terminal, and uploading the contact time length and the relative distance to a background server by the terminal; the system can upload diagnosis confirming information to a background server, wherein the diagnosis confirming information at least comprises diagnosis confirming time;
the background server can establish wireless connection with the terminal and the contact person terminal and is used for returning absolute position information to the terminal and the contact person terminal; sending early warning information to a terminal in real time, and displaying the notification of the accurate diagnostician on the same day in the display area; and the background server is also used for sending a notice to the contacter terminal which is in contact with the terminal based on the confirmation information uploaded by the terminal.
Preferably, the terminal further comprises a contact data state monitoring module, wherein the module comprises a position track display unit, a position point information display unit, a contact person terminal detail display unit and a contact person inquiry unit;
the position track display unit is used for displaying the arrival place of the terminal on the same day and displaying different health states of the holder of the contact person terminal in different display modes;
the position point information display unit is used for displaying the number information of all the contact person terminals of the position point when the position point information display unit moves to any position point on a map;
the contact person terminal detail display unit is used for clicking the contact person terminal quantity information and displaying an information list, wherein the information list comprises contact duration, contact level and information capable of uniquely representing the contact person terminal;
the contact inquiry unit is used for inquiring the contact record within a certain time range according to the holder state of the contact terminal.
Preferably, the contacter querying unit is further configured to:
judging whether the contact time of the terminal and each contacter terminal reaches a preset window period, if so, clearing contact records exceeding the window period and information related to the contacter terminal, wherein the information related to the contacter terminal comprises contacter information, a contact position, contact duration and contact level; if not, the information related to the contact person terminal is reserved.
Preferably, the relative distance between the terminal and the contacter terminal is monitored by:
starting the scanning function of one or more wireless signal receiving modules of the terminal and the contact person terminal, and recording the wireless field characteristic value FE0 of the current terminal:
FE0={(mac1,rssi1);(mac2,rssi2),......}
recording a wireless field characteristic value FE1 in the current location environment collected by the current contact person terminal:
FE1={(mac1’,rssi1’);(mac2’,rssi2’),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
the relative distance between the terminal and the contacter terminal is calculated based on FE0 and FE 1.
Preferably, the relative distance between the terminal and the contacter terminal is monitored by:
acquiring wireless access point information acquired by a terminal and a contact person terminal;
extracting a characteristic vector of the wireless access point information, and acquiring a distance between any two of the terminal and the contact person terminal according to a distance calculation function;
the wireless access point information includes at least: MAC information and received signal strength of the wireless access point;
the distance calculation function is obtained by machine learning.
In addition, the invention also provides a tracking early warning device, which comprises:
a processor; and the number of the first and second groups,
a memory having stored therein computer program instructions which, when executed by the processor, perform the above-described trace early warning method.
Compared with the prior art, the technical scheme of the invention has the following advantages: the specific travel track of the contacter is provided in the scheme, a user can inquire and manage the specific travel track of the user at any time, the health state information of close-distance approaching personnel in the middle of the travel is known, and the economic loss caused by the shutdown and stoppage risk due to the fact that the contact diagnosing personnel are not aware of the travel environment is avoided. According to the scheme, tracking and early warning of contact persons in distributed areas such as stations, airports, scenic spots and markets and public places can be achieved only through a common intelligent terminal and by matching with terminal apps of the installation system, other positioning auxiliary devices do not need to be deployed, and epidemic prevention and control implementation cost can be effectively reduced. Wearing equipment such as bracelet, wrist-watch is worn through letting personnel wear in specific closed place, not only can realize that the contacter trails and the early warning, can also realize contactless temperature measurement, does benefit to specific closed place management.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of the operation of the system of an embodiment of the present invention;
FIG. 2 is a schematic diagram of a confirmed or suspected report of a user according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a contacter in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating exemplary contacts query in accordance with an embodiment of the present invention;
FIG. 5 is a flowchart illustrating overall operation of background management according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an early warning message according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating historical messages according to an embodiment of the present invention;
FIG. 8 is a schematic drawing of a person touching a touch point according to an embodiment of the invention;
FIG. 9 is a schematic diagram of a person trajectory according to an embodiment of the present invention;
FIG. 10 is a contact list display diagram according to an embodiment of the present invention;
FIG. 11 is a system data flow diagram of an embodiment of the present invention;
fig. 12 is a system traffic flow diagram according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be appreciated by those of skill in the art that the following specific examples or embodiments are a series of presently preferred arrangements of the invention to further explain the principles of the invention, and that such arrangements may be used in conjunction or association with one another, unless it is expressly stated that some or all of the specific examples or embodiments are not in association or association with other examples or embodiments. Meanwhile, the following specific examples or embodiments are only provided as an optimized arrangement mode and are not to be understood as limiting the protection scope of the present invention.
Example 1:
it should be noted that in this embodiment, the displaying, information collecting, and the like of the contact person or the diagnostician are performed through a terminal held by the contact person or the diagnostician, and therefore, in the following description of "contact person", "diagnostician", "user", and the like by way of example, a person skilled in the art should understand that the description refers to a terminal held by the above person, ID information of the terminal, and the like. In the following embodiments, for convenience of describing and explaining a specific implementation method of the scheme of the present invention, the contacter, the diagnostician, and the like in general language are referred to as a terminal held by the same for easy understanding, and words of the contacter, the user, and the like are not referred to as persons herein, and should not be understood as essential technical features of the present invention.
As shown in fig. 1, in the system, an APP or a software module for tracking and early warning of a contact person is installed in a mobile terminal (a mobile phone, a watch and other intelligent devices), the APP or the software module can continuously acquire wireless data parameters in an environment, including bluetooth, wiFi and the like, the mobile terminal submits the parameters to a background database through the internet, information such as the position of the front-end contact person and the stay time is returned to a background, and the APP finishes tracking and early warning of the contact person.
The overall operation flow of the system comprises the following specific steps:
step 101, a user starts a mobile terminal (intelligent equipment such as a mobile phone and a watch) with Bluetooth and WiFi functions, and positioning service is performed.
And 102, registering the user, binding the identity card number or the mobile phone number to ensure the uniqueness of the mobile terminal user, and using the identity card number, the mobile phone number or the identity card number plus the mobile phone number as a unique key to ensure that only one piece of data exists in a database registered user data table in each piece of user registered data.
And 103, loading a map, loading map data of the latest version from a contact person tracking and early warning app background server, acquiring latitude and longitude when a page is loaded, then creating a map context in the primary rendering of the page, moving the current position of a user to the center of the map, and drawing and displaying the map context in the app by using an H5 page.
And step 104, the absolute positions of the contacts returned to the app by the app tracking and early warning background server are marked in the app tracking and early warning page of the contact.
The method for returning to the positions of all the contacters in the step comprises the following steps:
and according to the social distance of the close contact person and the common contact person, which is set by the prevention and control scheme, the maximum distance between the user and the contact person is taken as a radius, and a display area is displayed in the contact person tracking and early warning app page. All the contacts in the display area are screened out, and the positions of the contacts are displayed on a contact tracking and early warning app page.
According to social distances of the close contacts and the common contacts formulated by the epidemic situation prevention and control scheme, the close contacts and the common contacts are distinguished and displayed in a contact tracking and early warning app page.
In step 105, through the display area determined in step 104, the contact tracking and early warning app loads all the contact data in the display area from the background server, and determines whether there are diagnosed or suspected infected persons in the contacts.
If the judgment result in the step 105 is yes, step 106 is executed to send an early warning to APPs of all contacts who contact with the confirmed or suspected person in real time, and the contacts meet the contact condition in the display area determined in the step 104. The method for sending the early warning message comprises the following steps: and popping up a notification message showing the confirmed personnel in the current day in a contact person tracking and early warning app page, and clicking a viewing history message by the user to view the confirmed users in the X days.
Step 107 is then performed to sense the relative distance between the user and each contacter in real time.
The method for sensing the relative distance between the user and each contacter in real time in the step comprises 2 methods:
(1) The mac address contained in the WiFi signal in the environment is generally fixed in a short period, when WiFi data uploaded by 2 mobile terminals contain the same mac, relative positioning can be performed, the relative distance between the two mobile terminals is calculated according to the signal strength containing the same mac, and the more the same mac is contained, the higher the calculation accuracy is. If the user of the mobile terminal A reports to the app background management systems mac1 and rsi 1 for the contact person tracking and early warning, and the user of the mobile terminal B reports to the app background management systems mac 'and rsi' for the contact person tracking and early warning, the distance between the mobile terminal A and the mobile terminal B can be judged.
(2) The terminal receives the signal strength of the broadcast containing the unique identity id sent by the other terminal, and judges the relative distance, if the device id of the user of the mobile terminal A is id1, the mobile terminal A broadcasts the device. And if the mobile terminal B receives the broadcast of the terminal A and the signal intensity is rssi, the distance between the mobile terminal A and the mobile terminal B can be judged.
In the 2 methods for sensing the relative distance between the user and each contacter in real time, the following method is specifically adopted for calculating the relative distance:
1) With respect to the above mode (1), the relative distance between the terminal and the contacter terminal is calculated as follows:
preferably, the relative distance between the terminal and the contacter terminal is monitored by: starting the scanning function of one or more wireless signal receiving modules of the terminal and the contact person terminal, and recording a wireless field characteristic value FE0 of the current position point of the terminal:
FE0={(mac1,rssi1);(mac2,rssi2),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
preferably, the wireless field characteristic value FE1 collected by the current contacter terminal in the current location environment is recorded:
FE1={(mac1’,rssi1’);(mac2’,rssi2’),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
the relative distance between P0 and P1 is calculated based on FE0 and FE 1.
Preferably, the wireless field characteristic values are collected for multiple times at the position of the terminal or the contact person terminal, and the average signal strength value of the wireless field characteristic values for multiple times is taken as the signal strength value of the current position point of the terminal or the contact person terminal.
Preferably, the calculation of the relative distance is implemented by:
when the same MAC address exists in the FE0 and the FE1, the formula D is followed ist =D sim-min +p dif-new *(D sim-max -D sim-min ) Calculating the distance D between the FE0 and the FE1 ist The distance is the relative distance between the terminal and the contact terminal;
said D sim-min Means that the same MAC is present in FE0 and FE1The minimum distance value in the distance range corresponding to the proportion of the addresses; said D sim-max The maximum distance value in the distance range corresponding to the proportion of the same MAC address in the FE0 and the FE1 is referred to; the P is dif-new The MAC address is a weight factor obtained by converting the proportion of different MAC addresses in FE0 and FE 1.
Preferably, when the same MAC address does not exist in FE0 and FE1, comparing whether the FE0 is consistent with the base station LAC and the base station CID of the information of other wireless signal base stations (for example, mobile base stations or deployed bluetooth base stations) matched with the FE 0; when the wireless signal base station information is consistent, the distance D between FE0 and FE1 ist Less than or equal to the diameter of the base station coverage; and when the wireless signal base station information is inconsistent, the wireless signal base station information is larger than the diameter of the coverage area of the base station.
Preferably, the wireless signal base station is a mobile base station and/or a bluetooth base station.
Preferably, said P dif-new According to the formula
Figure GDA0004097165680000161
Calculating to obtain;
wherein, the P dif The MAC address is the proportion of different MAC addresses in the FE0 and the FE1 in the two records; said p is dif-min Means that the range of 0-100% is divided into a plurality of zones, the P is dif The minimum value in the range of the interval; said p is dif-max Means that said P is dif The maximum value within the range of the interval.
In a particular embodiment, for example, the range of 0-100% can be divided into 4 intervals: (0, 20%), (20%, 40%), (40%, 80%), (80%, 1) when P is present dif When falling into one of the intervals, p is dif-min And said p dif-max Is the minimum and maximum values of this interval represented.
Preferably, said P dif According to the formula
Figure GDA0004097165680000162
Calculating to obtain;
wherein, the MacNum refers to the number of the same MAC addresses in the FE0 and the FE 1; m and N are the numbers of the MAC addresses in the FE0 and the FE1 respectively.
Preferably, D is sim-min And D sim-max By calculating D sim Obtaining; said D sim The ratio p of the same MAC address in the terminal information of the FE0 and the FE1 is referred to sim Corresponding distance range, said D sim-min And D sim-max The minimum and maximum values of this interval are represented.
Preferably, p is sim The calculation method is as follows: according to the formula
Figure GDA0004097165680000163
Calculating the proportion P of the same MAC address in the FE0 and the FE1 sim Wherein min (N, M) is the smaller of N and M. Taking a specific embodiment as an example, the calculation can be performed as follows: when P is sim When not less than 80%, D sim Taking 10-30m; when the content is more than or equal to 40 percent and less than or equal to P sim When less than 80%, D sim Taking 30-50m; when the content is more than or equal to 20 percent and less than or equal to P sim When less than 40%, D sim Taking 50-70m; when 0 < P sim When less than 20%, D sim Taking 70-100m. It should be noted that the specific calculation is only an example, and the specific example should not be understood as the limitation of the protection scope of the present invention, and the modification made by those skilled in the art on the basis of the specific example should be considered as falling within the protection scope of the present invention.
2) With respect to the above mode (2), the relative distance between the terminal and the contact terminal can be collectively regarded as the terminal to be estimated, and the calculation mode is as follows:
acquiring wireless access point information acquired by a terminal with a distance to be estimated; the terminal to be estimated, namely the terminal and the contactor terminal, have the same concept as the distance estimation, namely the relative distance between the two terminals;
extracting a characteristic vector of the wireless access point information, and acquiring the distance between any two terminals in the terminals of the distance to be estimated according to a distance calculation function; the distance calculation function may be a function obtained in various ways, such as a distance function obtained by fitting on the basis of an empirical value obtained by detecting a fixed point in the positioning region;
the wireless access point information includes at least: MAC information and received signal strength of the wireless access point;
the distance calculation function is obtained by machine learning. The machine learning method can be realized by adopting a conventional artificial neural network method, such as a BP neural network, and the like, and can also be realized by adopting algorithms such as a support vector machine and the like.
In a specific embodiment, the machine learning further comprises:
acquiring wireless access point information at different positions in a positioning area;
establishing a relation between the position and the wireless access point information collected at the position to form different position data;
grouping the position data pairwise, removing repeated groups, and performing feature extraction on each group of the position data;
and obtaining a distance calculation function at least partially based on the extracted feature vectors in a machine learning mode.
Specifically, in the data acquisition process, wireless Access Point (AP) information is scanned at different positions in a positioning area, AP data at different positions in the area is acquired, a relationship between the position and the AP is established, and a data format may be set as follows:
<X,Y,MAC 1 ,RSSI 1 ,...,MAC n ,RSSI n
x, Y are position coordinates, MAC i Is AP i MAC address of (3), RSSI i N is the number of APs searched for the location for the corresponding received signal strength.
In a specific embodiment, the feature vector includes at least one of the following: the number of wireless access points, the signal difference of the same wireless access point, the ratio of the number of the same wireless access points to the number of the total wireless access points, and the like. These feature vectors may be combined arbitrarily, or combined with other feature vectors, depending on specific machine learning needs, accuracy needs, and the like.
In a specific embodiment, when performing machine learning and performing example calculation on a terminal, the feature extraction may be performed as follows:
and grouping the collected data of different positions pairwise in a handshake mode, namely if collecting Wi-Fi signal data of n points, grouping each point and other n-1 points for 1 time respectively, and removing repeated groups to obtain n x (n-1)/2 groups of data. Performing feature extraction on each group of data, and calculating the same AP Number (NUM) between each group of data sameAP ) Maximum value of same AP Signal Difference (RSSID) max ) Minimum value of same AP signal difference (RSSID) min ) Average of same AP signal differences (RSSID) mean ) Ratio of the number of the same AP to the total number of APs in the group (NUM) sameAP /NUM allAP ) As a feature, the coordinate distance D of two points in the group is calculated as a data tag,
Figure GDA0004097165680000191
establishing the characteristic data, the format can be set as follows:
<D1:NUM sameAP 2:RSSID max 3:RSSID min 4:RSSID mean 5:NUM sameAP /NUM allAP
in order to avoid the problem of overlarge dimension difference of the characteristic data, normalization processing can be carried out on the data, and the characteristic value is normalized to the range of [ -1,1] to generate a data file for machine learning training.
In a specific embodiment, the machine learning employs a support vector machine model, and the support vector machine kernel function employs a radial basis function;
the support vector machine model adopts a support vector regression classifier;
and the machine learning process adopts a gradient descent method to search the optimal regression parameters.
In a specific embodiment, in the specific distance calculation, the regression model generated as above, i.e. the distance calculation function, is used to perform regression on the test data, the distance between 2 points in each group is predicted according to each group of feature data, and the experimental result is the Pearson correlation coefficient (ρ) between the regression value and the true value pearson ) And average Error (Error) Mean ) The evaluation is performed in a manner that is conventional in the art and will not be described further herein.
Then, step 110 is executed, the contact duration of the user and all the contacts is calculated according to the mac, the rssi and the timestamp of the mobile terminal, and through the relative distance between the user and all the contacts determined in step 107, the contact duration and the relative distance information are written into a contact tracking and early warning app background management system database by the contact tracking and early warning app.
After sensing the relative distance between the terminal and the contacter terminal in real time, step 111 may be added, that is, in a preferred embodiment, step 111 may be executed to determine whether the user himself becomes a confirmed or suspected person in the epidemic situation. The execution of step 111 is a step that may be added when the health status of the terminal holder changes or for more detailed management.
If the judgment result in the step 111 is yes, if the user himself has an epidemic infection symptom, the user himself becomes an epidemic confirmed diagnosis person or a suspected person, the confirmed diagnosis time is selected as the day of confirmed diagnosis, confirmed diagnosis information is submitted through the contact tracking and early warning app, the contact tracking and early warning app background informs other people and the contacted person that the user has confirmed diagnosis, and early warning information is displayed on the contact tracking and early warning app of each contact contacted with the user. As shown in fig. 2, the present solution is not limited to this embodiment. Step 106 is then performed.
As shown in 201, the user confirms the reported information, and the status of the user changes from blue to red, and a red circle is displayed on the other-contact user tracking and warning app.
As shown at 202, the user is suspected of having an infected status, and the status of the user changes from blue to orange. What is displayed on the other-contacter user-contacter tracking-and-warning app is a circle that appears orange.
As shown at 203, the user is healthy, and the user's status is a green circle, which is shown on the other-contacter user-contacter tracking-and-prewarning app as appearing green.
If the determination result in the step 111 is negative, the step 112 is executed to enter the contact data state monitoring.
The touch data state monitoring method in the step of the invention comprises the following steps:
(1) Position trajectory display
Displaying the arrival place of the user on the same day, displaying the position acquisition times of the same place of the contact person tracking and early warning app in a digital mode, presenting the position acquisition times in a point aggregation mode, marking the health states of all contact persons in the close distance at the position by colors, and displaying a red circle on the tracking and early warning app of other contact person users if the contact person is in a diagnosed state; if the contacter is in a suspected state, displaying a circle presenting orange on the other contacter user contact tracking and early warning app; if the contacter is in the normal state, what is shown on the other contacter user contacter tracking and warning app is a circle that appears green.
(2) Location point
Move to an arbitrary location point on the map: the contact person tracking and early warning app pops up the information of the number of all contact persons and the number of confirmed diagnosis persons;
(3) Details of contacter
And (3) clicking the number information in the position point in the step (2) in a contact person tracking and early warning app page, so that a person information list can be displayed, and information such as person information, contact duration, contact level and the like is displayed. As shown in fig. 3, the present solution is not limited to this embodiment.
If the app is used for tracking and early warning the contact persons in a closed place such as a school, a garden and the like, because the information of the personnel of each contact user is known, the information of the contact persons is input into the system under the condition that the consent of each user is obtained, and the name or the enterprise information of the contact persons plus the surname of the contact person or other self-defined information of the contact person is displayed 301. 302 displays the length of time the contact person has been in contact with the user. 303 shows that the contact person and the user contact form is several levels of contact, the contact form can be primary contact, secondary contact and tertiary contact \8230 \ 8230;/N-level contact, the primary contact is that the user directly contacts with the confirmed person, the secondary contact is that the user directly contacts with the confirmed person \8230;/8230and so on, but the scheme is not limited to the embodiment.
If a contact tracking and alert app is used at a venue such as a bus stop, airport, scenic spot, market, etc., 301 displays contact phone number or partial phone number + ___ (four last), or other custom unique ID contact information. 302 displays the length of time the contact person has been in contact with the user. 303 shows that the contact person and the user contact form is several levels of contact, the contact form can be primary contact, secondary contact and tertiary contact \8230 \ 8230;/N-level contact, the primary contact is that the user directly contacts with the confirmed person, the secondary contact is that the user directly contacts with the confirmed person \8230;/8230and so on, but the scheme is not limited to the embodiment.
(4) Contacter queries
In the app page for tracking and warning of the contact person, the ID or other display form of the contacted person can be seen, such as (3) a contact person detail representation method, but not limited to this embodiment, the contact time and several levels of contact, 401 is the ID of the person, and is the ID unique to each user. 402 is the contact duration, in terms of the time frequency of the contact in the range of M meters. 403 is several levels of contact, which can be divided into definite diagnosis, primary contact and secondary contact \8230, \8230, N-level contact, wherein the primary contact is the contact between the user and the personnel who have confirmed diagnosis directly, the secondary contact is the contact between the user and the personnel who have confirmed diagnosis directly, 8230, and so on. By looking at the status of the contact persons and clicking the screen by date, all the contacted persons within X days can be inquired, the contact time is long, and the contact is of several levels. The selection according to the state can be performed according to the states of confirmed diagnosis, close contact and non-abnormal persons. The contact query is shown in FIG. 4, but the present solution is not limited to this embodiment.
Then step 113 is performed to determine whether the number of days the user has contacted each contacter reaches a window period, which is synchronized step 112 (4) to query number of days X in the contacter, e.g., X =14.
If the judgment result in the step 113 is yes, step 114 is executed to clear the data of the contacter exceeding the contact window period, the contacter tracking and early warning app sends an instruction to the background contacter management platform, and the management platform clears the user data contacted with the user within X days in the step 113, wherein the data comprises information of personnel information, contact position, contact duration, contact level and the like of the contacter.
If the judgment result in the step 113 is no, the step 104 is executed until the number of days that the user contacts each contacter reaches the end of the window period.
The general operation flow of the contacter tracking and early warning background management system can be referred to fig. 5.
The contact person tracking and early warning background management system in the invention carries out relative positioning calculation on all data submitted by the app or the terminal software to obtain the near field distance between the mobile terminals. The way of calculating the relative distance in this section is implemented by the method described earlier in this specification.
And the background carries out absolute positioning on the mobile terminal based on data submitted by the contact person tracking and early warning app, displays a positioning result in a map, and observes and retrieves all contact person point positions.
The background stores and records data submitted by the tracking and early warning apps of the contacters used by all the contacters, then the track of a single person is inquired in the whole process, once the fact that a certain person diagnoses infection is determined, the track route of the window period of the certain person can be searched, then the contacters on the track route are searched, early warning messages are skipped from pages of the tracking and early warning apps of the contacters used by the contacters, and if the contacters reserve mobile phone numbers when the contacters track and register with the early warning apps, mobile phone short messages are sent to the user to reserve the mobile phone numbers at the same time. As shown in fig. 6, the present solution is not limited to this embodiment.
The early warning message comprises fields such as user ID + date + confirmed diagnosis.
If the user does not notice the early warning message that the contact traces and jumps out of the early warning app page, the user can click 701 in the history message to view the early warning message. As shown in fig. 7, the present solution is not limited to this embodiment.
If the mobile terminal is a device without a screen, such as a bracelet, a tag card and the like, a mobile phone short message is sent to a mobile phone number reserved by a user when the mobile terminal is registered, and the mobile phone early warning message is composed of fields, such as user ID + date + confirmed diagnosis. As shown at 601 in fig. 6, the present solution is not limited to this embodiment.
If the mobile terminal is a device with a screen, such as a mobile phone or a watch, the early warning message is sent to the contact tracking and early warning app page used by the contacts, as shown in 601 in fig. 6, and the positioning result information of the confirmed or suspected infected person is sent at the same time, so that the information of the people around can be checked in real time.
The method for the operation process of the contacter tracking and early warning background management system in the invention shown in FIG. 5 comprises the following steps:
step 501, registering a user, authorizing the registration of a worker by a management organization, and reminding the user to reset sentences by registering information including a user name, a login password, a forgotten password and the like.
Then, step 502 is executed, and the user logs in the contact person tracking and early warning background management system.
Step 5031, or step 5032, or step 5033 is then performed.
If the user selects step 5031, the contacter exposure function is performed.
Among them, the present invention includes 2 contact display modes:
(1) Step 50311, displaying according to map area
The contact person distribution is displayed through a person point drawing method, and the display area can be defaulted to be the current minimum administrative area of a management institution or can be set to be the whole administrative area or a local area. The display time is the current time, and all the contacters are marked on the map in a point-drawing mode.
The person tracing method included in the present invention is shown in fig. 8.
The figure 801 shows the person with dots, and if there is a confirmed person in the figure, the confirmed person appears red, as shown at 802. If the suspected infected person is in the picture, the state of the suspected infected person is orange. If the user in the figure is in a healthy state, the state of the healthy person appears green.
The contact person distribution is displayed through a person track method, and the display area is the minimum area contained in the person track and can also be set as the whole administrative area or a local area. The display time is the current time.
The method for containing the contact person track comprises the following steps:
901 is the track that the user has traveled, if there is a diagnosed person in the track, the trajectory line is displayed in red; if the track has suspected infected people, the track line is displayed in yellow; if no confirmed person is present, the trace line is displayed in green.
902 is the number of people touching each point in the user trajectory, and if there is a confirmed person in the trajectory, the status of the number of people appears red, as shown at 903. If there are suspected infected people in the track, the status of the number of people appears orange. If the user is healthy in the graph, the status of the number of people appears green.
Wherein the dwell point is defined as: if the stay time of the user at a certain place is more than or equal to t, the user is a stay point. the size of t can also be customized.
904 represents the real-time location where the user is. 904 is a circle and a directional shape, wherein the directional shape is the direction of movement of the user, the color of the circle and the shape is determined by the state of the user, and if the user is in a healthy state, the color of the circle and the shape is green; if the user is suspected of being infected, then the color of the circle and shape is yellow; if the user is in a confirmed state, the color of the circle and shape is red.
(2) Step 50312, display by list area
And displaying the contact state in a table form, wherein the contact state is composed of a hierarchical time region, the number of contacts in each time period and the number of data reported by the mobile terminal in each time period, and the number of data reported by the mobile terminal is used for verifying the data accuracy and improving the accuracy, precision and robustness of signal collection and data transmission of the mobile terminal.
The tabular section is shown in fig. 10, but the present solution is not limited to this embodiment.
The method for displaying the contact list area in the invention comprises the following steps:
1001 is a viewing time, and the viewing is performed according to the current day or historical time.
10021 is one of the time periods of the day for which the contacter is selected, the time period being in the interval of 2 hours, including 00:00-02:00 (excluding 02:00-04 (excluding 04 00) \8230: \8230; 22:00-24:00 (excluding 24.
10022 is a time period in the interval of hours of the selected contactor in 10021, for an interval of 10 minutes, comprising 00:00-00:10 (excluding 00:10-00 (excluding 00): 50-02:00 (not including 02.
10023 is a time point in a 10 minute interval of 10022 for which a contact was selected, the time being in a 10 second interval, comprising 00:00: 00. 00:00:10, 8230; 823000: 00:50.
1003 is the selected time and is composed of a time zone, the number of contact persons in the time zone and the total number of reported data of the mobile terminal held by the person selected in the time zone. Clicking on the execute 1003, the right list will display the temperature of the selected person today, and the current selection time along with the name or user unique ID of the person the selected person is in contact with, body temperature, contact time.
1004 is a real-time tracking of all persons in contact during the day for a selected person.
1005 is that the contacter traces and early warning backstage management system uses all personnel lists in the administrative unit administrative area, and the list lists the online, offline condition of all people, and online promptly handheld mobile device is in with backstage management platform communication state, and backstage management platform can continuously receive mobile terminal's heartbeat package, specifically contains the content and is:
contact person tracking and early warning APP or software module is installed in a mobile terminal (intelligent equipment such as a mobile phone and a watch), the APP or software module can continuously acquire wireless data parameters in the environment, the parameters comprise bluetooth, wiFi and the like, and the mobile terminal submits the parameters to a contact person tracking and early warning background database through the Internet.
1006 is a contact list in which the temperature of the selected person today, how many people are in contact with it at the selected time, and the body temperatures and contact times of all contacts at the selected time are displayed.
If the user selects step 5031, a contacter alert function is performed.
The method for early warning of the confirmed or suspected infected person comprises the following steps:
if the mobile terminal is a device without a screen, such as a bracelet, a tag card and the like, a mobile phone short message is sent to a mobile phone number reserved by a user when the mobile terminal is registered, and the mobile phone early warning message is composed of fields, such as user ID + date + confirmed diagnosis. As shown at 601 in fig. 6, the present solution is not limited to this embodiment.
If the mobile terminal is a device with a screen, such as a mobile phone or a watch, the early warning message is sent to the contact tracking and early warning app page used by the contacts, as shown in 601 in fig. 6, and the positioning result information of the confirmed or suspected infected person is sent at the same time, so that the information of the people around can be checked in real time.
If the user selects step 5032, the contacter retrieval function is performed.
Among them, the contact person search method included in the present invention includes 3 kinds:
(1) Step 50321, search by person
Selecting a person name or a part of names, or a person mobile phone number or a part of mobile phone numbers, or a user ID or a part of IDs, and showing the contact person state contacted with the selected person in a table form, wherein the contact person state is composed of a hierarchical time area, the number of contact persons in each time period and the number of data reported by a mobile terminal in each time period. Post personnel search, page synchronization is shown 50312.
(2) Step 50322, search by time
And selecting time, and showing the states of all the contacters in the selected time period in a table form, wherein the states of the contacters consist of a hierarchical time area, the number of contacters in each time period and the number of data reported by the mobile terminal in each time period.
(3) Step 50323, search by location
In step 50311, the contact person distribution is displayed by a map area, and the display area may be defaulted to the current minimum administrative area of the management organization, or may be set to the whole administrative area or a local area by a person point-drawing method. The display time is the current time, and all the contacts are marked on the map in a point-drawing mode. And (4) through sliding a map to obtain points, the list details of the states of all the contacters in the selected point can be displayed, and the list details comprise contact person summary, contact time and health states, wherein the health states comprise three states of health, suspected state and confirmed state.
If the user selects step 5033, the report export function.
The report exporting method included in the invention comprises 2 methods:
(1) 50331, deriving all-person contact
And according to the contact person states of all contact persons in the selected time period, the contact person state comprises contact time, contact persons, contact times, contact places and person health states. If the mobile terminal is intelligent equipment such as a watch and a bracelet capable of measuring body temperature, body temperature data can be added into the contact state, and physical sign data such as heart rate and vital capacity can be added. The health status includes three statuses of health, suspected and confirmed diagnosis.
(2) Step 50332 of deriving personal contact information
And deriving the contact person state of all contact persons in contact with the selected person, wherein the contact person state comprises contact time, contact persons, contact times, contact places and person health states. If the mobile terminal is intelligent equipment such as a watch and a bracelet capable of measuring body temperature, body temperature data can be added into the contact state, and physical sign data such as heart rate and vital capacity can be added. The health status includes three statuses of health, suspected and confirmed diagnosis.
The data flow diagram of the system for tracking and alarming epidemic prevention contacters included in the invention is shown in fig. 11.
The specific content of the system data flow for tracking and alarming the epidemic prevention contacter in the invention comprises the following contents:
step 1101 tracks and warns the app for the contacter.
Then, step 1102 is executed, the contact person tracking and early warning app sends a positioning request packet to the app background contact person management platform, position data is requested, and the positioning request packet data format includes at least: mobile phone imel (mobile phone ID), wiFi list (including mac address and signal strength rssi), BLE list (including mac address and signal strength rssi), latitude and longitude, timestamp; the solution is not limited to this embodiment.
Then, step 1103 is executed, the contacter tracking and early warning app background contacter management platform stores the positioning request packet sent by the app in the database.
And then, executing step 1104, the contacter tracking and early warning app background contacter management platform analyzes the positioning request packet, and analyzes data packets such as mac, rssi, wiFi, ble, mobile phone ID, longitude and latitude, time stamp and the like.
Then, in step 1105, the cloud positioning engine calculates a positioning result.
Then, in step 1106, the cloud positioning engine returns the positioning result to the contact tracking and early warning app and the background contact management platform. The callback packet content includes: latitude and longitude (after calculation), time stamp, close range personnel information; the close-range person information includes: nickname, time of approach, health status.
The business flow chart of the system for tracking and alarming epidemic prevention contacters included in the invention is shown in figure 12.
The specific content of the system data flow for tracking and alarming the epidemic prevention contacter in the invention comprises the following contents:
step 1201, open the contact tracking and pre-warning app.
Then, step 1202 is executed, the contact tracking and early warning app sends a positioning request packet to the app background contact management platform, location data is requested, and the data format of the positioning request packet includes at least: mobile phone imel (mobile phone ID), wiFi list (including mac address and signal strength rsi), BLE list (including mac address and signal strength rsi), longitude and latitude, timestamp; the solution is not limited to this embodiment.
Then, step 1203 is executed, where the contact tracking and early warning app background contact management platform stores the location request packet sent by the app in the database.
Then, in step 1204, the contacter tracking and early warning app background contacter management platform analyzes the positioning request packet, and analyzes data packets such as mac, rssi, wiFi, ble, mobile phone ID, longitude and latitude, and timestamp. The solution is not limited to this embodiment.
Then, step 1205 is executed, and the cloud positioning engine calculates a positioning result.
Then, in step 1206, the cloud positioning engine returns the positioning result to the contact tracking and early warning app and the background contact management platform. The callback packet content includes: latitude and longitude (after calculation), time stamp, close range personnel information; the close-range person information includes: nickname, time of approach, health status. The solution is not limited to this embodiment.
Then, in step 1207, the contact tracking and alert app receives the callback packet in step 1206, and retrieves the latitude information in the packet to prepare data for drawing the contact trajectory diagram. And (4) taking out the personnel list data in the data packet, and preparing the data for popping up list information of the touch click person.
Then, step 1208 is executed to retrieve the person list data from the data file generated in step 1207, and click the contact person to pop up the contact list information.
Step 1209 is then performed, where the user using the mobile terminal device clicks on the viewing track, requesting user track information from the contact tracking and pre-warning app.
Then, step 1210 is executed, the longitude and latitude information of the data file in step 1207 is utilized to generate a user movement track graph, and a real-time track graph or a historical track graph in a selected time period can be checked
Then, step 1211 is executed to show the contact person distribution by using the person track method, where the display area is the minimum area included in the person track, and may also be set as the whole administrative area or a local area. The display time is the current time. The user checks the real-time track or the historical track of the user, and then points are fetched through map sliding, so that list details of states of all contacters in the selected place can be displayed, wherein the list details comprise contact person summary, contact time and health states, and the health states comprise three states of health, suspected state and confirmed state. Marking the health status of all the contacters in the position in a close distance with colors, and if the contacter is in a diagnosed state, displaying a red circle on the tracking and early warning app of the other contacter users; if the contacter is in a suspected state, displaying a circle presenting orange on the other contacter user contact tracking and early warning app; if the contacter is in a normal state, a circle that appears green is displayed on the other contacter user contact tracking and warning app.
The system of the scheme is implemented in a certain school:
1) And starting contact person tracking and early warning app installation and background contact person perception system installation.
2) The mobile terminal can check details of the contact person; screening the details of the contacted time period according to the date; screening according to the states of confirmed, closely contacted and non-abnormal persons; displaying the notification message of the confirmed diagnosis personnel on the same day, and enabling the user to check the historical message; and alarming the abnormal information of the contact person track in real time.
3) The contact person tracking and early warning app background contact person management platform can perform contact tracking and person management; and sends short messages or background early warning messages to a management mechanism through a background.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A tracking and early warning method is characterized by comprising the following steps:
s1, starting a terminal positioning function;
s2, loading map data and displaying the position of the terminal on a map;
s3, the background server returns the absolute position information of each contact person terminal, marks the absolute position information in map data, takes the terminal as the center, takes the maximum distance between the terminal and the contact person terminal as the radius, and displays a display area;
s4, the terminal receives data of all the contacter terminals in the display area and judges whether the holders of the contacter terminals have confirmed or suspected infected persons; if the judgment result is yes, executing S5, otherwise executing S3;
s5, sending early warning information to a terminal in real time, and displaying the notification of the accurate diagnostician in the display area on the same day;
s6, monitoring the relative distance between the terminal and the contact person terminal in real time; the calculation of the relative distance is based on mac and rssi of the terminal and the contacter terminal;
s7, acquiring contact duration of the terminal and the contacter terminal based on mac, rssi and timestamps of the terminal and the contacter terminal, and uploading the contact duration and the relative distance to a background server by the terminal;
s8, judging whether the terminal holder is a confirmed or suspected person, if so, uploading confirmed information on the terminal, and sending a notice to a contact person terminal contacted with the terminal by the background server based on the confirmed information uploaded by the terminal; the diagnosis confirming information at least comprises diagnosis confirming time; if not, executing S3;
in S4, the terminal may further perform:
s401, monitoring the contact data state, including position track display, position point information display, contact person terminal detail display and contact person query;
the position trajectory display includes: displaying the arrival place of the terminal on the same day, and displaying different health states of the holder of the contact person terminal in different display modes;
the location point information display includes: when the mobile terminal moves to any position point on the map, displaying the number information of all the contact terminals of the position point;
the contact terminal detail display comprises: clicking the information of the number of the contact person terminals, and displaying an information list, wherein the information list comprises contact duration, contact level and information capable of uniquely representing the contact person terminals;
the contact query includes: inquiring contact records within a certain time range according to the holder state of the contact person terminal;
the background server records the data of the terminal holder for storage, can perform whole-course query aiming at the track of a single terminal holder, and retrieves the contact terminal on the track route;
the above-mentioned contact person terminal carries on the way searched for:
(1) Retrieval by personnel: displaying the retrieved contacter terminals in a tabular form or a time slot mode based on the names, numbers and IDs of the contacter terminals;
(2) And (3) searching according to time: displaying the state and data of the contact person terminal in the searched target time period;
(3) Searching according to the location: and according to map area display, marking the contact person terminal on a map in a point drawing mode, wherein the display time is the current time, and displaying the list details of the contact person terminal in a map sliding point-taking mode.
2. The method of claim 1, wherein the contact query further comprises:
judging whether the contact time of the terminal and each contacter terminal reaches a preset window period, if so, clearing contact records exceeding the window period and information related to the contacter terminal, wherein the information related to the contacter terminal comprises contacter information, a contact position, contact duration and contact level; if not, the information related to the contact person terminal is reserved.
3. The method according to claim 1, wherein the step S8 further comprises: and displaying different health states of the terminal holder in different display modes.
4. The method of claim 1, wherein in S6, the relative distance between the terminal and the contacter terminal is monitored by:
starting the scanning function of one or more wireless signal receiving modules of the terminal and the contact person terminal, and recording the wireless field characteristic value FE0 of the current terminal:
FE0={(mac1,rssi1);(mac2,rssi2),......}
recording a wireless field characteristic value FE1 in the current location environment collected by the current contact person terminal:
FE1={(mac1’,rssi1’);(mac2’,rssi2’),......}
wherein MAC refers to a hardware MAC address of a wireless signal transmitting device existing in the environment, and rsi refers to a corresponding signal strength value thereof;
the relative distance between the terminal and the contacter terminal is calculated based on FE0 and FE 1.
5. The method of claim 1, wherein in S6, the relative distance between the terminal and the contacter terminal is monitored by:
acquiring wireless access point information acquired by a terminal and a contact person terminal;
extracting a characteristic vector of the wireless access point information, and acquiring a distance between any two of the terminal and the contact person terminal according to a distance calculation function;
the wireless access point information includes at least: MAC information and received signal strength of the wireless access point;
the distance calculation function is obtained by machine learning.
6. A tracking and forewarning system, the system comprising:
the terminal has a positioning function, can load map data through the background server, displays the positions of the terminal and the contact person terminal on a map, and displays a display area by taking the terminal as a center and taking the maximum distance between the terminal and the contact person terminal as a radius; the terminal receives all the contact terminal data in the display area; the contact person terminal is a terminal held by an end user who has a contact relation with the terminal;
and
monitoring the relative distance between the terminal and the contact person terminal in real time; the calculation of the relative distance is based on mac and rssi of the terminal and the contacter terminal; acquiring the contact time length of the terminal and the contact person terminal based on mac, rssi and time stamps of the terminal and the contact person terminal, and uploading the contact time length and the relative distance to a background server by the terminal; the system can upload diagnosis confirming information to a background server, wherein the diagnosis confirming information at least comprises diagnosis confirming time;
the background server can establish wireless connection with the terminal and the contact person terminal and is used for returning absolute position information to the terminal and the contact person terminal; sending early warning information to a terminal in real time, and displaying the notification of the accurate diagnostician on the same day in the display area; the background server is also used for sending a notice to a contacter terminal which is contacted with the terminal based on the confirmation information uploaded by the terminal;
the terminal also comprises a contact data state monitoring module which comprises a position track display unit, a position point information display unit, a contact person terminal detail display unit and a contact person inquiry unit;
the position track display unit is used for displaying the arrival place of the terminal on the same day and displaying different health states of the holder of the contact person terminal in different display modes;
the position point information display unit is used for displaying the number information of all the contact person terminals of the position point when the position point information display unit moves to any position point on a map;
the contact person terminal detail display unit is used for clicking the contact person terminal quantity information and displaying an information list, wherein the information list comprises contact duration, contact level and information capable of uniquely representing the contact person terminal;
the contact person inquiry unit is used for inquiring the contact record within a certain time range according to the holder state of the contact person terminal;
the background server records the data of the terminal holder for storage, can perform whole-course query aiming at the track of a single terminal holder, and retrieves the contact terminal on the track route;
the above-mentioned contact person terminal carries on the way searched for:
(1) Retrieval by personnel: displaying the retrieved contacter terminals in a tabular form or a time slot mode based on the names, numbers and IDs of the contacter terminals;
(2) Searching according to time: displaying the state and data of the contact person terminal in the searched target time period;
(3) Searching according to places: and according to map area display, marking the contact person terminal on a map in a point drawing mode, wherein the display time is the current time, and displaying the list details of the contact person terminal in a map sliding point-taking mode.
7. A tracking and early warning device, the device comprising:
a processor; and (c) a second step of,
memory having stored therein computer program instructions which, when executed by the processor, perform the method of any of the preceding claims 1-5.
CN202110417219.1A 2021-04-19 2021-04-19 Tracking early warning method, system and equipment Active CN113365216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110417219.1A CN113365216B (en) 2021-04-19 2021-04-19 Tracking early warning method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110417219.1A CN113365216B (en) 2021-04-19 2021-04-19 Tracking early warning method, system and equipment

Publications (2)

Publication Number Publication Date
CN113365216A CN113365216A (en) 2021-09-07
CN113365216B true CN113365216B (en) 2023-04-07

Family

ID=77525237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110417219.1A Active CN113365216B (en) 2021-04-19 2021-04-19 Tracking early warning method, system and equipment

Country Status (1)

Country Link
CN (1) CN113365216B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113950144B (en) * 2021-10-01 2024-03-22 南宁市安普康商贸有限公司 Monitoring method, system, device and computer program product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203229A (en) * 2020-09-25 2021-01-08 中国科学院计算技术研究所苏州智能计算产业技术研究院 Short-distance epidemic propagation network construction method based on Bluetooth scanning

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028282B (en) * 2016-05-13 2018-07-24 中科劲点(北京)科技有限公司 Based on Wi-Fi apart from acquisition methods, terminal, system, server and electronic equipment
CN109212464B (en) * 2016-06-06 2020-01-14 中科劲点(北京)科技有限公司 Method and equipment for estimating terminal distance and position planning
CN112669988A (en) * 2020-02-20 2021-04-16 单正建 Fine particle tight-joint detection method and system and interactive access management system
CN111640501A (en) * 2020-05-29 2020-09-08 山东管理学院 Personnel cluster management system and method based on RSSI ranging
CN111918215A (en) * 2020-06-30 2020-11-10 王云峰 Method and system for tracking closely infected persons through Bluetooth

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203229A (en) * 2020-09-25 2021-01-08 中国科学院计算技术研究所苏州智能计算产业技术研究院 Short-distance epidemic propagation network construction method based on Bluetooth scanning

Also Published As

Publication number Publication date
CN113365216A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN114153343B (en) Health code display method and electronic equipment
US10158979B2 (en) Method and system for wireless location and movement mapping, tracking and analytics
US11615620B2 (en) Systems and methods of enforcing distancing rules
US20140348384A1 (en) System for Managing Locations of Items
CN111629340B (en) Personnel contact condition tracking method and system capable of protecting privacy
US10475326B2 (en) System and method for tracking interaction between monitored population and unmonitored population
US10779258B1 (en) System and methods for locating a mobile device
CN111148029A (en) Personnel positioning and identifying intelligent management system and method
CN113365216B (en) Tracking early warning method, system and equipment
JP5105826B2 (en) Location management system
US11743685B2 (en) Systems and methods for monitoring system equipment diagnosis
CN110084336B (en) Monitoring object management system and method based on wireless positioning
KR101981465B1 (en) A method and platform for sending a message to a communication device associated with a moving object
EP3910539A1 (en) Systems and methods of identifying persons-of-interest
Liu et al. Location-aware smart campus security application
CN109039827B (en) Social software hotspot acquisition system and method based on positions
Giuliano et al. Integration of video and radio technologies for social distancing
Silva et al. Traceme—indoor real-time location system
CN116866842B (en) Infectious disease cross-space-time target tracking and early warning method, system, terminal and medium
JP2019217197A (en) Biological information management system, and physical condition evaluation system
US10972875B2 (en) System and method of alternative tracking upon disabling of monitoring device
KR102554835B1 (en) System and Method for Contact Tracing of an Infectious Disease Patient
CN109195100B (en) Blind area data early warning method based on self-adaptive window
CN117746301A (en) Abnormality detection method, abnormality detection device, electronic device, and computer-readable medium
Procházka et al. Passive Mobile Crowdsensing for Determining the Volume of Passengers in Public Transport

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