Monitoring and early warning method, system, device and storage medium based on WIFI probe
Through the monitoring and early warning method based on WIFI probe, the status code in the WIFI probe request message is used to analyze the health status, and timely discover personnel with epidemic risk is solved, and the low efficiency and leakage of inspection in epidemic prevention and control in the existing technology is solved. The problem of testing reduces the risk of infection and labor costs.
Patent Information
- Application Number
- CN202211529847.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-11-30
AI Technical Summary
In the prior art, the inspection efficiency of health certificates in communities, shopping malls and other places in epidemic prevention and control is low, there is a possibility of missed inspection, high labor costs, and it is impossible to detect infected people in a timely manner, which increases the risk of infection among other people.
Using the monitoring and early warning method based on WIFI probe, the preset status code in the WIFI probe request message sent by the terminal device is collected, and the server analyzes and controls the preset device to perform early warning operations, so as to realize the active verification of the health status of the personnel and improve the Check efficiency and reduce the risk of epidemic infection.
It has achieved early detection of people with epidemic risks, reduced the risk of large-scale infection, improved the efficiency of inspection of epidemic prevention and health status, avoided missed inspections, and reduced labor costs.
Smart Images

Figure CN115909577B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data technology, and in particular to a monitoring and early warning method, system, device and storage medium based on WIFI probes. Background Art
[0002] In order to prevent the spread of the epidemic, there are dedicated personnel to check health certificates at the entrances of residential areas, shopping malls and other places. This passive inspection method has the following problems: low inspection efficiency, the possibility of missed inspections, high labor costs, and if infected people appear in the crowd in the venue, they will not be discovered in time, greatly increasing the risk of infection for other people. Summary of the invention
[0003] In response to the problems in the prior art, the purpose of the present invention is to provide a monitoring and early warning method, system, device and storage medium based on WIFI probes, so as to realize active inspection of the health status of personnel regarding the epidemic, improve the inspection efficiency, avoid missed inspections, and reduce the risk of large-scale transmission of the epidemic.
[0004] To achieve the above object, the present invention provides a monitoring and early warning method based on WIFI probe, the method comprising the following steps:
[0005] S110, a first WIFI probe acquisition device acquires a WIFI probe request message sent by a terminal device in a target area; the WIFI probe request message includes a preset status code;
[0006] S120, the server parses the WIFI probe request message to obtain the preset status code; and
[0007] S130, the server controls the preset device to execute a corresponding preset warning operation according to the preset status code.
[0008] Optionally, step S130 includes:
[0009] S131, the server determines a risk analysis result associated with a holder corresponding to the terminal device according to the preset status code; and
[0010] S132: The server controls a preset device to execute a corresponding preset warning operation according to the risk analysis result.
[0011] Optionally, the risk analysis result is normal or abnormal; step S132 includes:
[0012] When the risk analysis result shows that there is an abnormality, the server controls the preset equipment located in the target area to issue an epidemic prevention warning;
[0013] When the risk analysis result is normal, the server controls the preset equipment located in the target area to maintain the current working state.
[0014] Optionally, the preset status code is used to characterize the health status of the terminal device holder regarding the epidemic; the type of the preset status code is a normal status code or an abnormal status code; step S131 includes:
[0015] When there is an abnormal status code in all preset status code types, the corresponding risk analysis result is abnormality;
[0016] When all preset status code types are normal status codes, the corresponding risk analysis result is normal.
[0017] Optionally, before step S110, the method comprises the steps of:
[0018] Acquire a historical area visited by the terminal device in the past preset time period, and record other devices that have visited the historical area based on a second WIFI probe acquisition device;
[0019] When there is a device among the other devices whose preset status code type is changed from a normal status code to an abnormal status code, determining a third WIFI probe acquisition device that can scan the terminal device;
[0020] Control the second WIFI probe acquisition device to send status code change indication information to the third WIFI probe acquisition device;
[0021] The third WIFI probe acquisition device changes the type of the preset status code corresponding to the terminal device from a normal status code to an abnormal status code according to the status code change indication information.
[0022] Optionally, before step S110, the method comprises the steps of:
[0023] Obtain the MAC address information of the terminal device;
[0024] According to the preset status code corresponding to the terminal device holder and the MAC address information, a WIFI probe request message corresponding to the terminal device is generated.
[0025] Optionally, the risk analysis result is normal or abnormal; the type of the preset status code is a normal status code or an abnormal status code; the method further comprises the steps of:
[0026] When the risk analysis result shows that an abnormality exists, obtaining a movement trajectory of the terminal device corresponding to the abnormality in the target area;
[0027] Obtaining an alternative path for a terminal device whose preset status code type is a normal status code from a current location to an exit location of the target area;
[0028] Eliminate the candidate paths that overlap with the moving trajectory, and use the remaining candidate paths as the target paths;
[0029] The target path is sent to a terminal device whose preset status code type is a normal status code.
[0030] Optionally, the acquiring the movement trajectory of the terminal device corresponding to the abnormality in the target area includes:
[0031] Based on the first WIFI probe collection device, all WIFI probe request messages sent by the corresponding abnormal terminal device within the target area on that day are obtained;
[0032] Based on all WIFI probe request messages, determine the corresponding relative position between the terminal device and the first WIFI probe acquisition device to obtain the daily positioning data of the terminal device in the target area;
[0033] The movement trajectory of the terminal device in the target area is determined according to the positioning data of the day.
[0034] Optionally, eliminating the candidate paths that overlap with the moving trajectory and retaining the remaining candidate paths as the target path includes:
[0035] When all the alternative paths are eliminated, the length of time the terminal device stays in each sub-area of the target area is determined according to the WIFI probe request message of the corresponding abnormal terminal device;
[0036] Determining a risk coefficient corresponding to each of the alternative paths according to the length of stay in each of the sub-areas;
[0037] The alternative path with the smallest risk factor is used as the target path.
[0038] Optionally, the sending the target path to a terminal device whose preset status code type is a normal status code includes:
[0039] When there are multiple target paths, determine the flow data of people on each target path according to the positioning data of each terminal device;
[0040] The target path with the minimum human traffic data is sent to a terminal device whose preset status code type is a normal status code.
[0041] Optionally, step S132 includes:
[0042] When the risk analysis result shows that there is an abnormality, controlling the preset device to prohibit the holder corresponding to the terminal device from entering the preset area;
[0043] When the risk analysis result is normal, the preset device is controlled to allow the holder corresponding to the terminal device to enter the preset area.
[0044] Optionally, the first WIFI probe acquisition device is installed on a vehicle; step S130 includes:
[0045] The server determines the first location information corresponding to the terminal device according to the preset status code;
[0046] The server obtains the second location information corresponding to the vehicle according to the first WIFI probe acquisition device;
[0047] The server calculates the distance between the vehicle and the terminal device according to the first location information and the second location information;
[0048] The server controls the preset device to execute a corresponding preset warning operation according to the distance.
[0049] Optionally, the server controls a preset device to perform a corresponding preset warning operation according to the distance, including:
[0050] When the distance is less than a preset threshold, the vehicle is controlled to perform a collision warning operation.
[0051] The present invention also provides a monitoring and early warning system based on a WIFI probe, which is used to implement the above-mentioned monitoring and early warning method based on a WIFI probe, and the system comprises:
[0052] A WIFI probe request message collection module, wherein the first WIFI probe collection device collects WIFI probe request messages sent by terminal devices in the target area; the WIFI probe request messages contain a preset status code;
[0053] A preset status code acquisition module, the server parses the WIFI probe request message to obtain the preset status code;
[0054] The early warning analysis module controls the preset device to execute the corresponding preset early warning operation according to the preset status code.
[0055] The present invention also provides a monitoring and early warning device based on a WIFI probe, comprising:
[0056] processor;
[0057] a memory in which an executable program of the processor is stored;
[0058] Wherein, the processor is configured to execute the steps of any one of the above-mentioned monitoring and early warning methods based on WIFI probes by executing the executable program.
[0059] The present invention also provides a computer-readable storage medium for storing a program, wherein when the program is executed by a processor, the program implements the steps of any one of the above-mentioned monitoring and early warning methods based on WIFI probes.
[0060] Compared with the prior art, the present invention has the following advantages and outstanding effects:
[0061] The WIFI probe-based monitoring and early warning method, system, device and storage medium provided by the present invention bind the epidemic prevention health status of the person to be checked to the MAC address of the terminal device. When the WIFI probe acquisition device scans the terminal device, the corresponding health status can be obtained at the same time, so as to detect epidemic risk persons in the target area imperceptibly and in a timely manner, achieve the purpose of early detection, and reduce the risk of large-scale infection; and it is conducive to improving the efficiency of checking the epidemic prevention health status; the present invention can also be applied to control and early warning for other purposes, such as control for the purpose of allowing only specific personnel to enter specific areas, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.
[0063] Figure 1 A schematic diagram of a monitoring and early warning method based on a WIFI probe disclosed in an embodiment of the present invention;
[0064] Figure 2 A schematic diagram of an application scenario of a monitoring and early warning method based on a WIFI probe disclosed in an embodiment of the present invention;
[0065] Figure 3 A schematic diagram of a monitoring and early warning method based on a WIFI probe disclosed in another embodiment of the present invention;
[0066] Figure 4 A schematic diagram of a monitoring and early warning method based on a WIFI probe disclosed in another embodiment of the present invention;
[0067] Figure 5 This is a schematic diagram of step S150 in a monitoring and early warning method based on a WIFI probe disclosed in another embodiment of the present invention;
[0068] Figure 6 A schematic diagram of step S170 in a monitoring and early warning method based on a WIFI probe disclosed in another embodiment of the present invention;
[0069] Figure 7A schematic diagram of the structure of a monitoring and early warning system based on a WIFI probe disclosed in one embodiment of the present invention;
[0070] Figure 8 A schematic diagram of the structure of a monitoring and early warning device based on a WIFI probe disclosed in one embodiment of the present invention;
[0071] Fig. 9 A schematic diagram of the structure of a computer-readable storage medium disclosed in one embodiment of the present invention. DETAILED DESCRIPTION
[0072] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their repeated description will be omitted.
[0073] A WIFI probe device is a probe frame based on the IEEE 802.11 protocol, which can actively identify and unconsciously obtain the characteristic parameters of personal mobile device terminals such as smartphones, routers, pads, and laptops. The above characteristic parameters may include MAC address, WIFI network name, time, WIFI signal strength, WIFI signal channel, longitude and latitude, and other information data. By performing collision, correlation analysis, and judgment on these data, the behavior trajectory of relevant personnel can be tracked.
[0074] Currently, most terminal devices support the WIFI access function. When the terminal device and the WIFI probe device perform WIFI communication, the WIFI probe device can obtain the MAC address information and SSID information of the terminal device based on the WIFI probe. WIFI probe refers to a signal frame in the WIFI device communication process, namely Probe Request (WIFI probe request message). This type of message is used to request the WIFI signal around the terminal device, and then the device that sends the WIFI signal, such as a wireless router, wireless AP, etc., responds with a Probe Response message. Because the probe message carries the MAC address of the terminal's WIFI chip, as well as information such as the interaction time, in current business scenarios, WIFI probe technology is mostly used to record the behavior of customers in commercial environments (such as shopping malls, supermarkets, etc.).
[0075] Therefore, the present invention utilizes the characteristic that the terminal devices related to the persons to be inspected will periodically send probe frames, collects the important information contained in the Probe request generated during the communication process, and uses this important information to timely identify the persons at risk of the epidemic, and realizes the active inspection of the epidemic prevention health status of the persons to be inspected based on the WIFI probe technology. And the information of the potential infected persons who have direct or indirect contact with the patients can be obtained.
[0076] It should be noted that the premise that the WIFI probe device can scan the terminal device based on WIFI communication is that the terminal device has turned on the WIFI connection function, that is, the WIFI switch is turned on but has not yet connected to the WIFI network. If the terminal device does not turn on the WIFI switch, it cannot be scanned by the WIFI probe device.
[0077] An embodiment of the present invention discloses a monitoring and early warning method based on a WIFI probe. It should be noted that the implementation of the embodiment of the present invention is based on the premise that the terminal device has turned on the WIFI switch but has not yet connected to the WIFI network. Figure 1 As shown, the method comprises the following steps:
[0078] S110, the first WIFI probe collection device collects WIFI probe request messages sent by terminal devices in the target area. The above WIFI probe request message contains a preset status code. The above preset status code is used to characterize the health status of the terminal device holder regarding the epidemic. The type of the above preset status code is a normal status code or an abnormal status code. The above preset status code can be a health status code or a health code. The value corresponding to the above preset status code can be 0 or 1. When the preset status code is 0, it can indicate that the type of the preset status code is an abnormal status code, for example, it can indicate that the health code is a yellow code or a red code. When the preset status code is 1, it can indicate that the type of the preset status code is a normal status code, for example, it can indicate that the health code is a green code.
[0079] When implementing it, refer to Figure 2 , there may be multiple terminal devices 22 in the target area 21, and each terminal device 22 corresponds to a person to be checked. In this step, the first WIFI probe acquisition device 23 collects the WIFI probe request messages sent by all terminal devices 22, and then uploads all the collected WIFI probe request messages to the server for analysis by the server to facilitate the implementation of subsequent steps. In other embodiments, the first WIFI probe acquisition device can also analyze the collected WIFI probe request messages.
[0080] The WIFI probe request message contains the MAC address information of the terminal device, and the preset status code can be bound to the MAC address information. In specific implementation, an address bit can be added to the end of the original MAC address information to fill in the preset status code. It is also possible to define a certain address bit in the MAC address as the preset status code, such as defining the sequence control frame in the MAC address as the preset status code. Because the data in the sequence control frame is variable.
[0081] S120, the server parses the WIFI probe request message to obtain the preset status code.
[0082] And S130, the server controls the preset device to perform the corresponding preset warning operation according to the above preset status code. Specifically, in this embodiment, this step includes:
[0083] S131, the server determines the risk analysis result associated with the holder corresponding to the terminal device according to the above preset status code.
[0084] And S132, the server controls the preset device to execute the corresponding preset warning operation according to the above risk analysis results.
[0085] The above risk analysis result may be normal or abnormal. When there is an abnormal status code in the types corresponding to all preset status codes, the corresponding risk analysis result is abnormal. When all the types corresponding to all preset status codes are normal status codes, the corresponding risk analysis result is normal.
[0086] The above-mentioned preset warning operation can be to perform monitoring and warning, or maintain the current working state (ie, not perform monitoring and warning).
[0087] The above step S132 is that the server determines whether to perform monitoring and warning according to the above risk analysis result. When the above risk analysis result meets the preset condition, the preset device is controlled to perform monitoring and warning. Otherwise, the preset device is controlled not to perform monitoring and warning. Exemplarily, the above preset condition may be that the risk analysis result is abnormal.
[0088] Specifically, in step S132, when the risk analysis result is abnormal, the server controls the preset device to monitor and warn. When the risk analysis result is normal, the server controls the preset device not to monitor and warn.
[0089] Among them, the above-mentioned preset device can be the first WIFI probe acquisition device or the above-mentioned terminal device; it can also be other devices in the target area, and this application does not impose any restrictions on this.
[0090] In the scheme of this embodiment, the terminal device does not need to be connected to the WIFI routing device. As long as the WIFI switch is turned on, the system can identify it, realize the collection of front-end data, and use the WIFI probe for real-time positioning and monitoring. Epidemic prevention and control personnel can directly grasp the location of suspected cases and confirmed cases through the web page, and can trace the trajectory through terminal devices such as the MAC address on the mobile phone, and determine the movement trajectory of the infected person. In this way, real-time monitoring can be achieved and suspected cases can be retrieved and isolated in the shortest time.
[0091] like Figure 3 As shown, in another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 1 On the basis of the corresponding embodiment, before step S110, the following steps are further included:
[0092] S101, obtaining a historical area visited by the terminal device in a preset time period in the past, and collecting data of other devices that have visited the historical area based on a second WIFI probe collection device.
[0093] S102, when there is a device whose preset status code type is changed from a normal status code to an abnormal status code among the other devices, a third WIFI probe acquisition device that can scan the terminal device is determined.
[0094] S103, controlling the second WIFI probe acquisition device to send status code change indication information to the third WIFI probe acquisition device.
[0095] S104, the third WIFI probe acquisition device changes the type of the preset status code corresponding to the terminal device from a normal status code to an abnormal status code according to the status code change indication information.
[0096] Specifically, the first WIFI probe acquisition device, the second WIFI probe acquisition device and the third WIFI probe acquisition device are located in three different places. And the WIFI probe acquisition devices can communicate with each other. The user holding the terminal device has visited three places. In the first place visited by the user, that is, the place where the second WIFI probe acquisition device is located, there are other people with abnormal status codes. Then, as a close contact person, the user's status code needs to be changed to the type of abnormal status code.
[0097] When the change is needed, the user is no longer in the place where the second WIFI probe acquisition device is located, and the second WIFI probe acquisition device needs to notify all WIFI probe acquisition devices to scan the user device. The third WIFI probe acquisition device scans the user device and then changes its status code, such as changing the status code from 1 to 0, that is, changing the type of the preset status code from a normal status code to an abnormal status code. Then, in the current target area, the first WIFI probe acquisition device scans the user device with an abnormal status code.
[0098] In another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 1 On the basis of the corresponding embodiment, before step S110, the following steps are further included:
[0099] S105, obtaining MAC address information of the terminal device.
[0100] S106, generating a WIFI probe request message corresponding to the terminal device according to the preset status code corresponding to the terminal device holder and the MAC address information.
[0101] This embodiment also realizes binding the preset status code to the MAC address information of the terminal device. In specific implementation, an address bit can be added to the end of the original MAC address information to represent the preset status code. A certain address bit in the MAC address can also be defined as the preset status code.
[0102] like Figure 4 As shown, in another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 1 On the basis of the corresponding embodiment, the steps are also included:
[0103] S150, when the risk analysis result shows that an abnormality exists, obtaining a movement trajectory of the terminal device corresponding to the abnormality in the target area.
[0104] S160, obtaining an alternative path for a terminal device whose preset status code type is a normal status code from a current location to an exit location of the above-mentioned target area.
[0105] S170: Eliminate the candidate paths that overlap with the above-mentioned moving trajectory, and use the remaining candidate paths as the target paths.
[0106] S180, sending the above target path to a terminal device whose preset status code type is a normal status code.
[0107] Specifically, the exit position of the target area is obtained in this step. Based on the WIFI probe request message sent by each of the above-mentioned terminal devices, the current location of each of the above-mentioned terminal devices in the above-mentioned target area is determined. Path planning is performed according to the current location of the terminal device and the above-mentioned exit location to obtain the above-mentioned alternative path. Then the alternative paths that overlap with the mobile trajectory are eliminated, that is, the paths that may pose a risk of infection are eliminated. The retained safe target path is provided to the device corresponding to the person with the normal status code. In addition, indoor navigation services can be provided to the terminal devices used by these personnel based on the WIFI probe acquisition device, so that they can quickly leave the risk area, thereby reducing the risk of large-scale infection of the population.
[0108] like Figure 5 As shown, in another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 4 Based on the corresponding embodiment, step S150 includes:
[0109] S151, based on the first WIFI probe collection device, all WIFI probe request messages sent by the corresponding abnormal terminal device within the above-mentioned target area on that day are obtained.
[0110] S152, based on all WIFI probe request messages, determining the corresponding relative position between the terminal device and the first WIFI probe acquisition device to obtain the daily positioning data of the terminal device in the target area.
[0111] S153: Determine the movement trajectory of the terminal device in the target area based on the positioning data of the day.
[0112] Among them, the terminal device corresponding to the above abnormality is the terminal device with the preset status code type as the abnormal status code. Then, according to all the positioning data within the day, the movement trajectory of the risky personnel is tracked to obtain their movement trajectory. Then, it is convenient for epidemic prevention and control personnel to quickly check the information of possible potential infected persons, which is conducive to cutting off the epidemic transmission route, and thus helping to reduce the risk of large-scale population infection.
[0113] like Figure 6 As shown, in another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 4 Based on the corresponding embodiment, step S170 includes:
[0114] S171, determine whether all candidate paths overlap with the moving trajectory. If yes, execute steps S172 to S174. If no, execute step S175.
[0115] S172, all candidate paths are eliminated, and the stay time of the terminal device in each sub-area of the target area is determined according to the WIFI probe request message of the corresponding abnormal terminal device.
[0116] S173: Determine the risk coefficient corresponding to each of the alternative routes according to the duration of stay in each of the sub-areas.
[0117] S174, taking the alternative path with the smallest risk factor as the target path.
[0118] S175, eliminating the corresponding overlapping candidate paths, and taking the remaining candidate paths as the target paths.
[0119] In specific implementation, this embodiment can use the length of time the terminal device stays in each sub-area as the risk coefficient corresponding to the alternative path. The longer the length of stay, the greater the risk of other people being infected. Therefore, this embodiment recommends that users take a target path with a small risk coefficient to the exit location, which helps reduce the risk of large-scale crowd infection.
[0120] In another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 4 Based on the corresponding embodiment, step S180 includes:
[0121] S181, when there are multiple target paths, determine the pedestrian flow data of each target path according to the positioning data of each terminal device.
[0122] S182, sending the target path with the minimum human traffic data to a terminal device whose preset status code type is a normal status code.
[0123] This will also help reduce the risk of large-scale population infection.
[0124] It should be noted that all the above embodiments disclosed in this application can be freely combined, and the technical solutions obtained after the combination are also within the protection scope of this application.
[0125] For some application scenarios: some specific areas, such as the control area of a production plant, are generally only allowed to be entered by specific personnel, and other personnel are not allowed to enter. In order to achieve this goal in the prior art, manual control is generally arranged, which leads to low control efficiency and high labor costs.
[0126] In order to solve this problem, in another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 1 Based on the corresponding embodiment, step S132 includes:
[0127] When the above risk analysis result is abnormal, the preset device is controlled to prohibit the holder corresponding to the terminal device from entering the preset area.
[0128] When the above risk analysis result is normal, the preset device is controlled to allow the holder corresponding to the terminal device to enter the preset area.
[0129] In this embodiment, the preset status code is used to indicate whether the terminal device holder has the authority to enter the preset area. For example, when the preset status code is the first preset value, it means that the holder does not have the authority to enter the preset area, which means that the risk analysis result is abnormal. When the preset status code is the second preset value, it means that the holder has the authority to enter the preset area, which means that the risk analysis result is normal. In this embodiment, the preset device may be a door access device.
[0130] This embodiment can realize real-time management and control using wifi probe technology, which is beneficial to improving management and control efficiency.
[0131] In another embodiment of the present application, another monitoring and early warning method based on WIFI probe is disclosed. Figure 1 On the basis of the corresponding embodiment, the first WIFI probe acquisition device is installed on the vehicle. Step S130 includes:
[0132] S133, the server determines the first location information corresponding to the terminal device according to the preset status code.
[0133] S134, the server obtains the second location information corresponding to the above-mentioned vehicle according to the above-mentioned first WIFI probe collection device.
[0134] S135: The server calculates the distance between the vehicle and the terminal device according to the first location information and the second location information.
[0135] S136, the server controls the preset device to execute the corresponding preset warning operation according to the above distance.
[0136] In this embodiment, the above-mentioned vehicle may be a vehicle traveling on the road. The holder of the terminal device may be a pedestrian on the road. The above-mentioned preset status code is used to characterize the unique ID of the terminal device, that is, to uniquely distinguish the terminal device, that is, to uniquely distinguish the user of the device. The above-mentioned preset device may be a vehicle. The first position information is the position of the pedestrian. Then in step S136, when the above-mentioned distance is less than a preset threshold, the above-mentioned vehicle is controlled to perform a collision warning operation. Otherwise, the vehicle is controlled to maintain the current working state. In other embodiments, the running trajectory of pedestrians or vehicles can also be predicted based on the above-mentioned first position information or the second position information.
[0137] like Figure 7 As shown, an embodiment of the present invention further discloses a monitoring and early warning system 7 based on a WIFI probe, the system comprising:
[0138] The WIFI probe request message collection module 71, the first WIFI probe collection device collects the WIFI probe request message sent by the terminal device in the target area. The above WIFI probe request message contains a preset status code.
[0139] The preset status code acquisition module 72, the server parses the WIFI probe request message to obtain the preset status code. And
[0140] The warning analysis module 73, the server controls the preset device to execute the corresponding preset warning operation according to the above preset status code.
[0141] It is understandable that the monitoring and early warning system based on WIFI probes of the present invention also includes other existing functional modules that support the operation of the monitoring and early warning system based on WIFI probes. Figure 7 The displayed monitoring and early warning system based on WIFI probe is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0142] The WIFI probe-based monitoring and early warning system in this embodiment is used to implement the above-mentioned WIFI probe-based monitoring and early warning method. Therefore, the specific implementation steps of the WIFI probe-based monitoring and early warning system can refer to the above-mentioned description of the WIFI probe-based monitoring and early warning method, which will not be repeated here.
[0143] An embodiment of the present invention also discloses a monitoring and early warning device based on a WIFI probe, comprising a processor and a memory, wherein the memory stores an executable program of the processor; the processor is configured to execute the steps in the above-mentioned monitoring and early warning method based on a WIFI probe by executing the executable program. Figure 8 This is a schematic diagram of the structure of the monitoring and early warning device based on WIFI probe disclosed in the present invention. Figure 8 The electronic device 600 according to this embodiment of the present invention is described. Figure 8 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0144] like Figure 8 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0145] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the above-mentioned monitoring and early warning method based on WIFI probes of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .
[0146] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0147] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0148] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0149] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0150] The present invention also discloses a computer-readable storage medium for storing a program, which implements the steps in the monitoring and early warning method based on WIFI probes when executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the monitoring and early warning method based on WIFI probes described in the specification.
[0151] As shown above, when the program of the computer-readable storage medium of this embodiment is executed, the monitoring and early warning method, system, device and storage medium based on the WIFI probe bind the epidemic prevention health status of the personnel to the MAC address of the terminal device. When the WIFI probe acquisition device scans the terminal device, the corresponding health status can be obtained at the same time, so as to detect people with epidemic risks in the target area imperceptibly and in a timely manner, achieve the purpose of early detection, and reduce the risk of large-scale infection; and it is conducive to improving the efficiency of checking the epidemic prevention health status.
[0152] Fig. 9 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Fig. 9 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0153] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0154] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0155] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0156] The WIFI probe-based monitoring and early warning method, system, device and storage medium provided in the embodiments of the present invention bind the epidemic prevention health status of the person to be checked to the MAC address of the terminal device. When the WIFI probe acquisition device scans the terminal device, the corresponding health status can be obtained at the same time, so as to detect epidemic risk persons in the target area imperceptibly and in a timely manner, thereby achieving the purpose of early detection and reducing the risk of large-scale infection; and it is beneficial to improve the efficiency of checking the epidemic prevention health status; at the same time, it can avoid the problem of missed detection, reduce the cost of manual inspection, and identify risk persons in a timely manner.
[0157] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A monitoring and early warning method based on WIFI probe, characterized in that: The following steps are involved: S110, a first WIFI probe collection device collects WIFI probe request messages sent by terminal devices in a target area; The WIFI probe request message includes a preset status code; the type of the preset status code is a normal status code or an abnormal status code; S120, the server parses the WIFI probe request message to obtain the preset status code; S130, the server controls the preset device to perform a corresponding preset warning operation according to the preset status code; wherein step S130 includes: S131, the server determines a risk analysis result associated with the holder corresponding to the terminal device according to the preset status code; the risk analysis result is normal or abnormal; S132, the server controls the preset device to perform a corresponding preset warning operation according to the risk analysis result; S150, when the risk analysis result shows that an abnormality exists, obtaining a movement trajectory of the terminal device corresponding to the abnormality in the target area; S160, obtaining an alternative path for a terminal device whose preset status code type is a normal status code from a current location to an exit location of the target area; S170, eliminating candidate paths that overlap with the moving trajectory, and retaining the candidate paths as target paths; S180, sending the target path to a terminal device whose preset status code type is a normal status code.
2. The monitoring and early warning method according to claim 1, characterized in that: The risk analysis result is normal or abnormal; step S132 includes: When the risk analysis result shows that there is an abnormality, the server controls the preset equipment located in the target area to issue an epidemic prevention warning; When the risk analysis result is normal, the server controls the preset equipment located in the target area to maintain the current working state.
3. The monitoring and early warning method according to claim 2, characterized in that: The preset status code is used to represent the health status of the terminal device holder regarding the epidemic; the type of the preset status code is a normal status code or an abnormal status code; step S131 includes: When there is an abnormal status code in all preset status code types, the corresponding risk analysis result is abnormality; When all preset status code types are normal status codes, the corresponding risk analysis result is normal.
4. The monitoring and early warning method according to claim 1, characterized in that: Before step S110, the method comprises the steps of: Acquire a historical area visited by the terminal device in the past preset time period, and record other devices that have visited the historical area based on a second WIFI probe acquisition device; When there is a device among the other devices whose preset status code type is changed from a normal status code to an abnormal status code, determining a third WIFI probe acquisition device that can scan the terminal device; Control the second WIFI probe acquisition device to send status code change indication information to the third WIFI probe acquisition device; The third WIFI probe acquisition device changes the type of the preset status code corresponding to the terminal device from a normal status code to an abnormal status code according to the status code change indication information.
5. The monitoring and early warning method according to claim 1, characterized in that: Before step S110, the method comprises the steps of: Obtain the MAC address information of the terminal device; According to the preset status code corresponding to the terminal device holder and the MAC address information, a WIFI probe request message corresponding to the terminal device is generated.
6. The monitoring and early warning method according to claim 1, characterized in that: The obtaining of the movement track of the terminal device corresponding to the abnormality in the target area includes: Based on the first WIFI probe collection device, all WIFI probe request messages sent by the corresponding abnormal terminal device within the target area on that day are obtained; Based on all WIFI probe request messages, determine the corresponding relative position between the terminal device and the first WIFI probe acquisition device to obtain the daily positioning data of the terminal device in the target area; The movement trajectory of the terminal device in the target area is determined according to the positioning data of the day.
7. The monitoring and early warning method according to claim 1, characterized in that: Eliminating the candidate paths that overlap with the moving trajectory and retaining the candidate paths as the target paths includes: When all the alternative paths are eliminated, the length of time the terminal device stays in each sub-area of the target area is determined according to the WIFI probe request message of the corresponding abnormal terminal device; Determining a risk coefficient corresponding to each of the alternative paths according to the length of stay in each of the sub-areas; The alternative path with the smallest risk factor is used as the target path.
8. The monitoring and early warning method according to claim 1, characterized in that: The step of sending the target path to a terminal device whose preset status code type is a normal status code includes: When there are multiple target paths, determine the flow data of people on each target path according to the positioning data of each terminal device; The target path with the minimum human traffic data is sent to a terminal device whose preset status code type is a normal status code.
9. The monitoring and early warning method according to claim 1, characterized in that: Step S132 includes: When the risk analysis result shows that there is an abnormality, controlling the preset device to prohibit the holder corresponding to the terminal device from entering the preset area; When the risk analysis result is normal, the preset device is controlled to allow the holder corresponding to the terminal device to enter the preset area.
10. A monitoring and early warning system based on WIFI probe, used to implement the monitoring and early warning method based on WIFI probe as claimed in claim 1, characterized in that: The system comprises: A WIFI probe request message collection module, wherein the first WIFI probe collection device collects WIFI probe request messages sent by terminal devices in a target area; the WIFI probe request message includes a preset status code; the type of the preset status code is a normal status code or an abnormal status code; A preset status code acquisition module, the server parses the WIFI probe request message to obtain the preset status code; The early warning analysis module, the server controls the preset device to perform the corresponding preset early warning operation according to the preset status code; the server controls the preset device to perform the corresponding preset early warning operation according to the preset status code, including: the server determines the risk analysis result associated with the holder corresponding to the terminal device according to the preset status code, the risk analysis result is normal or abnormal; the server controls the preset device to perform the corresponding preset early warning operation according to the risk analysis result; The early warning analysis module is also configured to: when the risk analysis result is that an abnormality exists, obtain the movement trajectory of the terminal device corresponding to the abnormality in the target area; obtain the alternative path from the current location of the terminal device whose preset status code type is a normal status code to the exit position of the target area; eliminate the alternative paths that overlap with the movement trajectory, and retain the alternative paths as the target paths; and send the target path to the terminal device whose preset status code type is a normal status code.
11. A monitoring and early warning device based on WIFI probe, characterized in that: include: processor; a memory in which an executable program of the processor is stored; Wherein, the processor is configured to execute the steps of the monitoring and early warning method based on WIFI probe in any one of claims 1 to 9 by executing the executable program.
12. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the monitoring and early warning method based on WIFI probes described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Human flow early-warning and analysis method and stem based on probe
CN106251578A
Epidemic situation monitoring method and device, storage medium and electronic equipment
CN114049967A