WO2018122817A1 - Method for detecting human traffic in public place by using wi-fi probe - Google Patents

Method for detecting human traffic in public place by using wi-fi probe Download PDF

Info

Publication number
WO2018122817A1
WO2018122817A1 PCT/IB2017/058547 IB2017058547W WO2018122817A1 WO 2018122817 A1 WO2018122817 A1 WO 2018122817A1 IB 2017058547 W IB2017058547 W IB 2017058547W WO 2018122817 A1 WO2018122817 A1 WO 2018122817A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
probe
data
mac address
rate
Prior art date
Application number
PCT/IB2017/058547
Other languages
French (fr)
Chinese (zh)
Inventor
杜豫川
岳劲松
暨育雄
Original Assignee
同济大学
杜豫川
许军
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 同济大学, 杜豫川, 许军 filed Critical 同济大学
Priority to GB1905910.4A priority Critical patent/GB2569752B/en
Priority to CN201780033645.7A priority patent/CN109644320B/en
Publication of WO2018122817A1 publication Critical patent/WO2018122817A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0278Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves involving statistical or probabilistic considerations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M11/00Counting of objects distributed at random, e.g. on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/53Recognition of crowd images, e.g. recognition of crowd congestion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • 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/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the invention belongs to the technical field of WI-FI data acquisition and pedestrian flow detection, and particularly relates to a method for detecting human flow in a public place by using a WI-FI probe.
  • a WI-FI probe By comparing the detection area of the WI-FI probe with the area of each functional area in the public place, different probe layout schemes are given, the MAC layer information of the mobile device is collected, and the detection results are analyzed in many aspects to obtain pedestrians. Trajectory information in public places. Background technique
  • Manual investigation is the most traditional method for counting passenger flow. The method is simple and can be superimposed on the standard of manual judgment. However, due to its high requirements for investigators, large counting errors, and low data quality, the data collection work after the investigation is heavy, the data system is not systematic and cannot provide real-time data, and currently it cannot meet the growth of traffic demand. Intensive places are difficult and inefficient in real time.
  • Gate-type passenger flow counting The gate is a channel blocking device (channel management equipment), which is used to manage the flow of people and regulate pedestrian access. It is mainly used in subway gate system and toll gate gate system. Its most basic and core function is to realize the entrance channel of only one person at a time, which can be used for various charging and access control occasions. This method is low in cost and accurate in quantity. However, when the service crowd has a large amount of baggage parcels, the method is less efficient, hinders the evacuation of pedestrians in an emergency, and is not conducive to the inconvenience of movement. People's travel. And the method of detecting human flow data is only a certain section, and it is necessary to arrange a plurality of sections to grasp the distribution of people flow, and the floor space is large.
  • Pedal-type passenger flow counting The pressure plate passenger flow statistic meter is installed on the ground of the inspection area, and the trigger pressure sensor information is automatically recorded when the pedestrian passes.
  • This type of instrument can be roughly divided into two categories, one is based on the "human treading data model mode" for counting and direction judgment, and the other is based on "passenger pedal profile". The method reduces the influence on the passenger flow operation and is simple to install, but the detection accuracy is low, and the components of the pressing system are easily damaged, and the maintainability is poor.
  • Infrared passenger flow counting can be divided into passive infrared passenger flow counting and active infrared passenger flow counting.
  • Passive infrared passenger flow counting uses a pyroelectric infrared probe that can avoid interference from other objects and can only detect signals from the human body. When someone passes, the infrared sensor can detect a certain change caused by the infrared spectrum of the human body, trigger a pulse signal, and then judge the number of people according to the number of pulse signals.
  • the active infrared type transmits a custom wavelength infrared ray to cover a certain area through the transmitting head, and the number of passengers is recognized by the light reflected by the passenger detected by the sensor.
  • the active infrared passenger flow counter overcomes the shortcomings of the passive infrared passenger flow count affected by the environment and light. However, since it uses the simple judgment of the number of pulses to determine the number of people, the statistical accuracy is low, and for many people at the same time. The situation passed is even more difficult to measure. Moreover, the direction of the passenger flow cannot be discriminated by only the infrared method, and the cost of the detection device is high, and it is not suitable for a wide range of use.
  • Video passenger flow count can be divided into single-eye video passenger flow count and binocular video passenger flow count.
  • Video passenger flow technology captures video images by installing cameras in critical channels, and captures passenger flow counts using image processing counts such as image segmentation, artificial neural networks, and stereo image analysis.
  • image processing counts such as image segmentation, artificial neural networks, and stereo image analysis.
  • the method started late and the technology is not yet mature.
  • the implementation cost and maintenance cost are high, and it is difficult to solve the problem of individual flow segmentation when the flow of people is dense, so the accuracy is low.
  • WI-FI probe passenger flow detection is achieved by deploying the WI-FI network in the detection area to obtain the MAC address of the mobile device that enables WI-FI function, thereby realizing passenger flow counting.
  • the WI-FI-based passenger flow statistical method is simple in operation, reasonable in equipment cost, small in impact by non-line-of-sight factors, high in flexibility, and capable of acquiring a large amount of statistical data at the same time, and has great advantages in the flow statistics under dense passenger flow.
  • In-depth analysis of the data content acquired by the probe can obtain characteristic data such as the flow stop time and streamline flow direction. And this detection method supports the cloud platform in subsequent operations, and the data application can be extended to the marketing layer. It is currently widely used in large commercial areas, tourist attractions, playgrounds and other places.
  • WI-FI probe technology The WI-FI probe can detect the MAC address of the mobile device with WI-FI enabled.
  • the principle includes: WI-FI is based on IEEE802. l la/b/g/n protocol, In the standard agreement, There are two working modes of wireless access point and client. The protocol also specifies various wireless data frame types such as Beacon, Ack, Data and Probe. When the client connects to the wireless access point, the data frame and the response frame are interacted, and the wireless access point periodically sends the Beacon. When the client is not connected to the wireless access point, the client also continuously sends the Probe frame. Probing to a nearby wireless access point.
  • the WI-FI probe is a wireless access point that captures information about nearby clients based on various wireless data frames. It can intercept the MAC layer information of mobile clients opened by WI-FI within a certain range, including MAC address and signal. Receive intensity values, timestamps, etc.
  • the mobile device's unique MAC address is detected by the probe on the premise that the mobile device's WI-FI needs to be open.
  • the proportion of mobile devices that open WI-FI in the crowd is low and unknown. Therefore, under normal circumstances, the difference between the traffic volume detected by WI-FI and the actual passenger traffic is large, and the effect is not satisfactory from the detection amount.
  • WI-FI probe A wireless access point that captures information about nearby mobile devices based on various wireless data frames. It can intercept MACXMedia Access Control layer information of mobile clients opened by WI-FI within a certain range, including MAC address, signal reception strength value, time stamp, etc.
  • the effective detection area of the WI-FI probe is generally a spherical area with a probe centered on the radius of 50-100 meters.
  • Functional area The area of a public area that provides different functions in a public place
  • Detection period The length of the unit detection time used to detect pedestrians on the road using the WI-FI probe.
  • Pedestrian mobile devices WI-FI-enabled electronic devices that are carried by pedestrians, such as smart phones, hand-held computers, IPADs, etc.;
  • the Media Access Control address which translates to media access control, is the physical address of each mobile device, the hardware address, and the location used to define the network device. Expressed as a unique series of 12 characters consisting of numbers and letters;
  • MAC address raw data All MAC address data strips detected by the WI-FI probe
  • Invalid MAC address data In the original MAC address data, it is not a MAC address data strip within the scope of the road to be studied;
  • Valid MAC address data In the original MAC address data, the MAC address data strip in the range of the road to be studied;
  • Estimating the human flow data According to the function model between the detected human flow data and the actual human flow data, there is actual human flow data estimated by detecting the human flow data;
  • Duration of stay The length of time that a MAC address data stays in a functional area
  • Trajectory reconstruction Analyze the detection result of a mobile device's MAC address and reconstruct its trajectory between functional areas in public places. Summary of the invention
  • the specific detection method is to compare the detection area of the WI-FI probe with the area of each functional area in the public place, and give different probe layout schemes, complete the collection of the MAC layer information of the mobile device, and perform various aspects on the detection result. Analysis, get the trajectory information of pedestrians in public places.
  • the present invention mainly solves the following three problems:
  • the present invention provides a layout scheme of the multi-probe in the functional area on the basis of exploring the influence of the spatial layout of the plurality of probes on the detection result of the wireless signal, thereby greatly reducing the propagation process of the wireless signal. The influence of multipath phenomenon and reflection phenomenon on the detection results.
  • the effective detection range of the WI-FI probe is a spherical area with a certain length as a radius centered on the device.
  • the present invention needs to set scientific data screening standards to eliminate these invalid data, thereby ensuring the reliability of the test results.
  • the present invention provides a calculation model suitable for predicting the actual amount of the detected amount in the case of a constantly changing human flow rate, thereby improving the prediction accuracy.
  • the technical solutions adopted by the present invention include: (1) When using multiple WI-FI probes to detect pedestrian flow, according to the geometric characteristics of the functional area, in order to ensure more detection area as much as possible, and to consider the cost of routing the probe, give a better multi-probe Deployment plan.
  • the detection rate also changes.
  • the invention directly discusses the relationship between the pedestrian detection value and the actual value when determining the flow prediction model. Firstly, the probe is used to detect the human flow rate, and the actual human flow rate is manually counted, and the design experiment and data processing are performed. A variety of functions are established to determine the actual human flow rate and the detected human flow rate, and the function value is used to estimate the actual value based on the detected value, thereby improving the detection accuracy.
  • the present invention provides a data screening method based on received signal strength values: providing a pre-experiment to explore received signal strength values (RSSI) and mobile devices to a given detection site Corresponding relationship between the distances between the probes, so as to determine the minimum value of the corresponding signal receiving intensity according to the spatial extent of the area to be detected in the actual test place, as a data screening line, filtering out the area to be detected from the original data Interfere with data.
  • RSSI received signal strength values
  • the present invention adopts one of the following three functional models between detecting the human flow data and the actual human flow data:
  • Average detection rate model The ratio of the detected person flow in each detection period to the corresponding actual person flow rate is taken as the detection rate, and the average detection rate weighted by the detection rate of each detection period is obtained, which is used to describe the detected flow rate and The relationship between actual human traffic;
  • Segmentation detection rate model The detected person flow data in each detection period is used as an indicator, and the detected person flow data is divided into a plurality of intervals, and the detection rate in each interval is obtained, thereby establishing the detection person in each interval. The relationship between traffic and detection rate;
  • Cubic spline interpolation model Using cubic spline interpolation function to fit the tester in each detection period
  • the specific weighting method is: when the actual human flow rate of the detection period 1 is, the detection rate is ⁇ ; the actual period of the detection period 2 The flow rate of the person is, the detection rate is ⁇ ; —; the actual person flow of the detection period n
  • the cubic spline interpolation function S (x) given by the present invention has a natural boundary condition of 0, that is,
  • the detection period used needs to be determined according to the pedestrian characteristics in the functional area to be detected, and may be taken as 10 min, 30 min or lh as the unit time of data collection and statistics. length.
  • the detection period used needs to be determined according to the pedestrian characteristics in the functional area to be detected, and may be taken as 10 min, 30 min or lh as the unit time of data collection and statistics. length.
  • the estimated person flow data is calculated by the function data of the detected person flow data;
  • the average stay duration refers to the average value of the stay duration of the plurality of valid MAC address data in a certain detection period, for only one detection record
  • the valid MAC address data is not considered when calculating the average stay duration.
  • Figure 1 is a schematic diagram of a probe layout scheme in a functional area. Based on the relationship between the probe detection radius and the length of the functional area, three probe placement schemes are given.
  • Figure 2 is a schematic diagram of data screening pre-experiment. Pre-experimental probe placement scheme that eliminates invalid data.
  • Figure 3 is a schematic diagram showing the results of data screening experiments. An analysis method for detection data in a data screening standard based on received signal strength values.
  • Figure 4 is a flow chart of processing MAC address raw data.
  • Figure 5 is a schematic diagram of the calculation of the trajectory probability distribution when a certain MAC address is detected simultaneously in the adjacent functional area during trajectory reconstruction. detailed description
  • the functional area can generally be regarded as a rectangle having a length a and a width b, so The detection area of the probe has a size relationship with the area of the functional area, which directly affects the number of probes required and the layout form. Therefore, according to the relationship between the probe detection radius r and the length of the functional region, three layout schemes of the probe are given, as shown in Fig. 1:
  • a WI-FI probe is disposed at the center of the functional area
  • the third scheme uses the method of arranging the probe along the diagonal of the rectangle because when the flow rate of the person is large, the multipath and the emission phenomenon of the wireless signal emitted by the mobile device during the propagation process are obvious, resulting in serious attenuation of the signal strength.
  • the probes By arranging the probes diagonally, it is ensured that probes are arranged in the middle and both sides of the functional area, which can effectively disperse the signal receiving points and more comprehensively receive data from the inside and the outside of the functional area, that is, to some extent.
  • the signal attenuation caused by multipath and reflection phenomenon is reduced; on the other hand, the probe is arranged along the diagonal line to ensure that the probe has a certain distance in the direction of the two sides of the functional area, which can effectively increase the probe.
  • the overall effective detection area of the needle increases the detection time and effectively reduces the probability that the mobile device will not signal when the pedestrian passes through the detection area, that is, the detection rate is increased.
  • the pre-experiment of the present invention determines the data screening standard based on the received signal strength value.
  • the specific content of the pre-experiment is as follows:
  • the layout of the three probes is as shown in FIG. 2, with the probe as the center and the functional region as the short side length.
  • multiple mobile devices that turn on the WI-FI function are used to simulate the movement of the pedestrian.
  • the detection results of each probe are counted.
  • the present invention analyzes the received signal strength value data obtained in the preliminary experiment as shown in Fig. 3, indicating that the received signal strength value obeys a normal distribution, and the present invention takes a 90% confidence interval to determine the final data screening line.
  • the received signal strength value is smaller than the MAC address data of the screening line, which is considered to be invalid MAC address data.
  • the present invention provides a process of processing MAC address raw data of a functional area, thereby obtaining valid MAC address data, and calculating an average stay duration of the functional area by counting the staying duration of the valid MAC address data.
  • the duration of the stay is the time difference between the last detection time and the initial detection time; and the effective MAC address data in the function area
  • the average length of stay is the arithmetic mean of all dwell durations.
  • the present invention establishes a cubic spline interpolation function to fit the relationship between the actual value of the pedestrian flow and the detected value.
  • the specific method is as follows:
  • the n data will be obtained, and the mobile devices detected in each group of data are respectively counted.
  • the cubic spline interpolation function S(x) can be constructed as follows.
  • the invention uses the correction parameter ⁇ to correct the established relationship between the detected human flow rate and the actual human flow function, and the modified parameter e is obtained by repeatedly experimenting with a certain mobile device over a certain WI-FI detection area.
  • the FI function is turned on, and the MAC address of the mobile device, the number of repeated passes, and the like are recorded, and the experimental results are processed as follows:
  • the WI-FI probe pair opens the WI-
  • the invention uses the modified parameter ⁇ to correct the established relationship between the detected human flow rate and the actual human flow function, and the modified parameter is obtained through a questionnaire survey of the pedestrian on the road to be tested.
  • the main content of the questionnaire is to investigate the pedestrians on the road to be tested.
  • the number of mobile devices, the specific correction method is:

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Probability & Statistics with Applications (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method for detecting a human traffic in a public place by using Wi-Fi probe. By comparing the detection area of the Wi-Fi probe with the area of each functional region in the public place, different layout solutions of the probe are provided; MAC layer information of a mobile device is collected, and track information of pedestrians in the public place is obtained by making comparisons on the detection results from multiple aspects.

Description

一种使用 WI-FI探针检测公共场所人流量的方法 Method for detecting human flow in public places using WI-FI probe
技术领域 Technical field
本发明属于 WI-FI 数据采集和行人流量检测技术领域, 具体涉及一种使用 WI-FI探针检测公共场所内人流量的方法。通过比较 WI-FI探针的检测面积与公 共场所各功能区域的面积,给出不同的探针布设方案, 完成对移动设备 MAC层信 息的采集,并对检测结果进行多方面的分析,得到行人在公共场所内的轨迹信息。 背景技术  The invention belongs to the technical field of WI-FI data acquisition and pedestrian flow detection, and particularly relates to a method for detecting human flow in a public place by using a WI-FI probe. By comparing the detection area of the WI-FI probe with the area of each functional area in the public place, different probe layout schemes are given, the MAC layer information of the mobile device is collected, and the detection results are analyzed in many aspects to obtain pedestrians. Trajectory information in public places. Background technique
大型商场、 交通枢纽、 旅游度假区等场所经常出现大客流现象, 尤其在客流 高峰期, 大量行人涌入主要道路, 会造成一定的安全隐患, 影响这些场所内的运 营效率。 因此, 对道路行人流量的实时检测具有重要意义, 根据检测结果科学估 测实际人流量, 可以为相应的安保人员提供可靠的人流量数据, 从而适时采用合 理的手段保证商场、交通枢纽及旅游度假区内的正常运作。 目前关于人流量的检 测手段也越来越多样化, 根据检测技术的类别大致可以分为以下几类:  Large-scale shopping malls, transportation hubs, tourist resorts and other places often experience large passenger flow. Especially during the peak passenger flow, a large number of pedestrians flooding into the main roads will cause certain safety hazards and affect the operational efficiency in these places. Therefore, real-time detection of pedestrian traffic on the road is of great significance. According to the test results, the actual flow of people can be estimated scientifically, and reliable traffic flow data can be provided for the corresponding security personnel, so that reasonable measures can be taken to ensure shopping malls, transportation hubs and tourist vacations. Normal operation in the district. At present, the detection methods for human traffic are becoming more and more diverse. According to the types of detection technologies, they can be roughly classified into the following categories:
( 1 ) 人工调查法: 人工调查是最为传统的客流计数方法, 方法简单且可叠加人 工判断标准。 但由于其对调查人员要求较高, 计数误差大, 数据质量不高, 调查 后资料整理工作繁重,数据系统性不佳且无法提供实时数据, 目前也不能满足交 通需求的增长, 在人流量较密集的场所实时难度较大, 效率低下,  (1) Manual investigation method: Manual investigation is the most traditional method for counting passenger flow. The method is simple and can be superimposed on the standard of manual judgment. However, due to its high requirements for investigators, large counting errors, and low data quality, the data collection work after the investigation is heavy, the data system is not systematic and cannot provide real-time data, and currently it cannot meet the growth of traffic demand. Intensive places are difficult and inefficient in real time.
( 2) 闸机式客流计数: 闸机是一种通道阻挡装置(通道管理设备), 用于管理人 流并规范行人出入, 主要应用于地铁闸机系统、 收费检票闸机系统。 其最基本最 核心的功能是实现一次只通过一人, 可用于各种收费、 门禁场合的入口通道处。 该方式成本较低,且数量精确度佳, 但在服务人群多带有大量的行李包裹的情况 下, 该方式通过效率较低, 在紧急情况下对行人的疏散造成阻碍, 且不利于行动 不便人士的出行。 并且该方式检测人流数据仅为某一断面, 需要布置多个断面 才可掌握人流分布, 占地面积较大。 ( 3) 踏板式客流计数: 压力板客流统计仪安装在检验区域的地面, 行人经过时 触发压力传感器信息得以被自动记录下来。该类仪器大致可以分为两类, 一类是 根据 "人体踏抬步数据模型模式"进行计数和方向判断, 另一类是根据 "乘客脚 踏轮廓 "进行判断。该方法降低了对客流运行的影响且安装简单, 但检测正确率 低, 且踩压系统部件容易损坏, 可维护性较差。 (2) Gate-type passenger flow counting: The gate is a channel blocking device (channel management equipment), which is used to manage the flow of people and regulate pedestrian access. It is mainly used in subway gate system and toll gate gate system. Its most basic and core function is to realize the entrance channel of only one person at a time, which can be used for various charging and access control occasions. This method is low in cost and accurate in quantity. However, when the service crowd has a large amount of baggage parcels, the method is less efficient, hinders the evacuation of pedestrians in an emergency, and is not conducive to the inconvenience of movement. People's travel. And the method of detecting human flow data is only a certain section, and it is necessary to arrange a plurality of sections to grasp the distribution of people flow, and the floor space is large. (3) Pedal-type passenger flow counting: The pressure plate passenger flow statistic meter is installed on the ground of the inspection area, and the trigger pressure sensor information is automatically recorded when the pedestrian passes. This type of instrument can be roughly divided into two categories, one is based on the "human treading data model mode" for counting and direction judgment, and the other is based on "passenger pedal profile". The method reduces the influence on the passenger flow operation and is simple to install, but the detection accuracy is low, and the components of the pressing system are easily damaged, and the maintainability is poor.
(4) 红外式客流计数: 红外式客流计数可分为被动红外式客流计数和主动红外 式客流计数。被动红外式客流计数采用的是可避免其他物体干扰的、仅能检测人 体所发出的信号的热释红外线探头。有人通过的时候, 红外传感器便可探测到由 人体红外光谱所产生的某种变化, 同时触发一个脉冲信号, 然后根据脉冲信号个 数来判断人数。 主动红外式则是通过发射头发射定制波长红外线覆盖一定区域, 并通过传感器检测到的乘客反射的光线识别乘客数量。主动红外式客流计数克服 了被动红外式客流计数中受环境、光线影响的缺点, 但由于它采用通过对脉冲个 数进行简单的判断来确定人数, 因而造成统计的准确度低, 对多人同时通过的情 况更是无法准确测定。 并且, 仅利用红外方式无法判别客流的方向, 且检测设备 成本较高, 不宜于大范围使用。  (4) Infrared passenger flow counting: Infrared passenger flow counting can be divided into passive infrared passenger flow counting and active infrared passenger flow counting. Passive infrared passenger flow counting uses a pyroelectric infrared probe that can avoid interference from other objects and can only detect signals from the human body. When someone passes, the infrared sensor can detect a certain change caused by the infrared spectrum of the human body, trigger a pulse signal, and then judge the number of people according to the number of pulse signals. The active infrared type transmits a custom wavelength infrared ray to cover a certain area through the transmitting head, and the number of passengers is recognized by the light reflected by the passenger detected by the sensor. The active infrared passenger flow counter overcomes the shortcomings of the passive infrared passenger flow count affected by the environment and light. However, since it uses the simple judgment of the number of pulses to determine the number of people, the statistical accuracy is low, and for many people at the same time. The situation passed is even more difficult to measure. Moreover, the direction of the passenger flow cannot be discriminated by only the infrared method, and the cost of the detection device is high, and it is not suitable for a wide range of use.
( 5 ) 视频客流计数: 视频客流计数可分为单目视频客流计数和双目视频客流计 数。视频客流技术通过在关键通道内安装摄像头获取视频图像,利用图像处理计 数如图像分割, 人工神经网络、立体图像分析等捕获客流计数。但该方法起步较 晚, 技术尚未成熟。且实施成本、 维护成本都较高, 人流密集时难以解决人流个 体分割问题因而精确度较低。  (5) Video passenger flow count: Video passenger flow count can be divided into single-eye video passenger flow count and binocular video passenger flow count. Video passenger flow technology captures video images by installing cameras in critical channels, and captures passenger flow counts using image processing counts such as image segmentation, artificial neural networks, and stereo image analysis. However, the method started late and the technology is not yet mature. Moreover, the implementation cost and maintenance cost are high, and it is difficult to solve the problem of individual flow segmentation when the flow of people is dense, so the accuracy is low.
(6) WI-FI探针客流检测: WI-FI探针客流检测是通过在检测区域内部署 WI-FI 网络以获取开启 WI-FI功能的移动设备的 MAC地址, 从而实现客流计数。 基于 WI-FI的客流统计方法操作简单, 设备成本合理, 受非视距因素影响小, 灵活性 高, 能同时获取大量的统计数据, 在密集客流下的人流统计中具有较大的优势。 并且对探针获取的数据内容进行深入分析, 可以得到人流停留时间、流线流向等 特征数据。并且这种检测方法在后续操作支持云平台、数据应用可扩展至营销层。 目前在大型商业区、 旅游景点、 游乐场所等场所应用广泛。  (6) WI-FI probe passenger flow detection: WI-FI probe passenger flow detection is achieved by deploying the WI-FI network in the detection area to obtain the MAC address of the mobile device that enables WI-FI function, thereby realizing passenger flow counting. The WI-FI-based passenger flow statistical method is simple in operation, reasonable in equipment cost, small in impact by non-line-of-sight factors, high in flexibility, and capable of acquiring a large amount of statistical data at the same time, and has great advantages in the flow statistics under dense passenger flow. In-depth analysis of the data content acquired by the probe can obtain characteristic data such as the flow stop time and streamline flow direction. And this detection method supports the cloud platform in subsequent operations, and the data application can be extended to the marketing layer. It is currently widely used in large commercial areas, tourist attractions, playgrounds and other places.
WI-FI探针技术: WI-FI探针可以探测到开启了 WI-FI功能的移动设备的 MAC 地址, 其原理包括: WI-FI是基于 IEEE802. l la/b/g/n协议, 在标准协议中, 定 义了无线接入点和客户端两种工作模式, 协议中也规定了 Beacon、 Ack、 Data 和 Probe等多种无线数据帧类型。当客户端连接到无线接入点时进行交互的就是 数据帧和应答帧, 同时无线接入点周期性的发送 Beacon 当客户端没有连接到 无线接入点上,客户端也会不断发送 Probe帧到附近的无线接入点进行探测。而 WI-FI探针就是基于各种无线数据帧来抓获附近客户端信息的无线接入点, 它能 截获一定范围内 WI-FI打开了的移动客户端的 MAC层信息, 主要包括 MAC地址、 信号接收强度值、 时间戳等。 WI-FI probe technology: The WI-FI probe can detect the MAC address of the mobile device with WI-FI enabled. The principle includes: WI-FI is based on IEEE802. l la/b/g/n protocol, In the standard agreement, There are two working modes of wireless access point and client. The protocol also specifies various wireless data frame types such as Beacon, Ack, Data and Probe. When the client connects to the wireless access point, the data frame and the response frame are interacted, and the wireless access point periodically sends the Beacon. When the client is not connected to the wireless access point, the client also continuously sends the Probe frame. Probing to a nearby wireless access point. The WI-FI probe is a wireless access point that captures information about nearby clients based on various wireless data frames. It can intercept the MAC layer information of mobile clients opened by WI-FI within a certain range, including MAC address and signal. Receive intensity values, timestamps, etc.
但是, 人工调查法、 闸机计数法、 踏板式计数法、 红外式计数法以及视频计 数法等都存在需要人力较多、设备昂贵且占地面积较大等缺点, 而目前较为流行 的基于 WI-FI的客流检测方法又普遍存在以下问题:  However, manual survey methods, gate counting methods, pedal counting methods, infrared counting methods, and video counting methods all have disadvantages such as requiring more labor, expensive equipment, and a large floor space. Currently, the more popular WI is based on WI. -FI's passenger flow detection method has the following problems:
( 1 ) 移动设备的唯一 MAC地址被探针检测到的前提是移动设备的 WI-FI需要是 打开状态。 而实际场景下人群中移动设备打开 WI-FI的比例较低且未知。 所以一般情况下 WI-FI检测到的客流量与实际客流量差异较大,从检测量 上看效果并不理想。  (1) The mobile device's unique MAC address is detected by the probe on the premise that the mobile device's WI-FI needs to be open. In reality, the proportion of mobile devices that open WI-FI in the crowd is low and unknown. Therefore, under normal circumstances, the difference between the traffic volume detected by WI-FI and the actual passenger traffic is large, and the effect is not satisfactory from the detection amount.
( 2) 移动设备发射出的无线探测信号在被探针捕获到的过程中存在多径现象 与反射现象, 而无线信号的多径现象与反射现象会使信号强度衰减, 导致 探针检测到的接收信号强度值(RSSI )有不同程度的衰减, 情形严重时甚 至检测不到。 所以也会导致 WI-FI的检测率较低。  (2) The multi-path phenomenon and reflection phenomenon of the wireless detection signal emitted by the mobile device during the capture by the probe, and the multipath phenomenon and reflection phenomenon of the wireless signal will attenuate the signal strength, resulting in the detection of the probe. Received signal strength values (RSSI) have varying degrees of attenuation and are not even detectable in severe cases. Therefore, the detection rate of WI-FI is also low.
( 3) 由于检测率较低的基本特征,导致不能直接使用检测结果对客流量进行统 计。所以需要在检测量与实际量之间建立合适的预测模型, 从而提高由检 测值预测实际值的精度,同时也应满足行人流量不断波动情况下预测模型 的高准确性。  (3) Due to the basic characteristics of low detection rate, it is impossible to directly use the test results to calculate the passenger flow. Therefore, it is necessary to establish a suitable prediction model between the detected amount and the actual amount, so as to improve the accuracy of predicting the actual value from the detected value, and also to meet the high accuracy of the predictive model under the continuous fluctuation of pedestrian flow.
(4) 由于大部门的检测设备都布设在公共区域出入口处,所以一般只能得到客 流的进出数据,无法还原人在整个公共场所内部各功能区域之间的流动情 况, 即轨迹信息。  (4) Since most of the inspection equipment is installed at the entrance and exit of the public area, it is generally only possible to obtain the inbound and outbound data of the passenger flow, and it is impossible to restore the flow situation between the functional areas of the entire public place, that is, the trajectory information.
而目前关于 WI-FI客流统计方面的研究比较有限,主要集中在基于对接收信 号强度值 (RSSI ) 的精准研究探求室内行人的准确定位问题, 以及在现有室内 WI-FI系统下的包括客流密度、 客流轨迹等特征参数的描述。 对于如何有效提高 WI-FI客流统计的检测率、 如何布设 WI-FI探针以达到较优的检测效果以及如何 通过数据分析得到行人的轨迹信息等方面仍缺乏研究。 术语解释 At present, the research on WI-FI passenger flow statistics is limited, mainly focusing on the accurate research on the received signal strength value (RSSI) to explore the accurate positioning of indoor pedestrians, as well as the passenger flow under the existing indoor WI-FI system. Description of characteristic parameters such as density and passenger flow trajectory. How to effectively improve the detection rate of WI-FI passenger flow statistics, how to deploy WI-FI probes to achieve better detection results and how There is still a lack of research on the trajectory information of pedestrians through data analysis. Explanation of terms
为使本发明的描述更加准确清晰,现对本发明中会出现的各种术语作如下解 释:  In order to make the description of the present invention more accurate and clear, various terms appearing in the present invention are explained as follows:
WI-FI 探针: 一种基于各种无线数据帧来抓获附近移动设备信息的无线接入点, 它能截获一定范围内 WI-FI打开了的移动客户端的 MACXMedia Access Control ) 层信息, 主要包括 MAC地址、 信号接收强度值、 时间戳等;  WI-FI probe: A wireless access point that captures information about nearby mobile devices based on various wireless data frames. It can intercept MACXMedia Access Control layer information of mobile clients opened by WI-FI within a certain range, including MAC address, signal reception strength value, time stamp, etc.
检测区域: WI-FI 探针所具备的有效检测面积, 一般是以探针为圆心, 50-100 米为半径的球形区域; Detection area: The effective detection area of the WI-FI probe is generally a spherical area with a probe centered on the radius of 50-100 meters.
功能区域: 公共场所内提供不同功能的公共区域面积; Functional area: The area of a public area that provides different functions in a public place;
检测时段: 使用 WI-FI探针对道路行人进行检测时所使用的单位检测时间长度。 行人移动设备: 行人随身携带的具有 WI-FI功能的电子设备, 例如智能手机、 手 提电脑、 IPAD等; Detection period: The length of the unit detection time used to detect pedestrians on the road using the WI-FI probe. Pedestrian mobile devices: WI-FI-enabled electronic devices that are carried by pedestrians, such as smart phones, hand-held computers, IPADs, etc.;
MAC地址: 即 Media Access Control地址, 意译为媒体访问控制, 是每个移动 设备的物理地址、 硬件地址、用来定义网络设备的位置。表现为一串唯一的由数 字和字母组成的 12位字符;  MAC address: The Media Access Control address, which translates to media access control, is the physical address of each mobile device, the hardware address, and the location used to define the network device. Expressed as a unique series of 12 characters consisting of numbers and letters;
MAC地址原始数据: 由 WI-FI探针检测到的所有 MAC地址数据条;  MAC address raw data: All MAC address data strips detected by the WI-FI probe;
无效 MAC地址数据: MAC地址原始数据中, 不属于待研究道路范围内的 MAC地址 数据条; Invalid MAC address data: In the original MAC address data, it is not a MAC address data strip within the scope of the road to be studied;
有效 MAC地址数据: MAC地址原始数据中, 属于待研究道路范围内的 MAC地址数 据条; Valid MAC address data: In the original MAC address data, the MAC address data strip in the range of the road to be studied;
检测人流量数据: 同有效 MAC地址数据; Detecting human traffic data: same as valid MAC address data;
估测人流量数据: 根据检测人流量数据与实际人流量数据之间的函数模型,有检 测人流量数据估测得到的实际人流量数据; Estimating the human flow data: According to the function model between the detected human flow data and the actual human flow data, there is actual human flow data estimated by detecting the human flow data;
停留时长: 某个 MAC地址数据在某个功能区域内的停留时间长度; Duration of stay: The length of time that a MAC address data stays in a functional area;
轨迹重构: 对某个移动设备 MAC地址检测结果的分析, 重构其在公共场所各功能 区域之间的轨迹。 发明内容 Trajectory reconstruction: Analyze the detection result of a mobile device's MAC address and reconstruct its trajectory between functional areas in public places. Summary of the invention
本发明的目的在于,提供一种使用 WI-FI探针检测公共场所内人流量的方法。 具体检测手段是通过比较 WI-FI探针的检测面积与公共场所各功能区域的面积, 给出不同的探针布设方案,完成对移动设备 MAC层信息的采集, 并对检测结果进 行多方面的分析, 得到行人在公共场所内的轨迹信息。 使用 WI-FI探针检测人流量时, 本发明主要解决以下三个问题:  It is an object of the present invention to provide a method of detecting human flow in a public place using a WI-FI probe. The specific detection method is to compare the detection area of the WI-FI probe with the area of each functional area in the public place, and give different probe layout schemes, complete the collection of the MAC layer information of the mobile device, and perform various aspects on the detection result. Analysis, get the trajectory information of pedestrians in public places. When using the WI-FI probe to detect human flow, the present invention mainly solves the following three problems:
( 1 ) 由于公共场所内的功能区域的面积有大有小, 因此根据功能区域的面积, 确定所需的 WI-FI探针个数是首先要解决的问题。当探针个数较多时, 由 于移动设备发射出的无线信号在传播过程中存在多径现象和反射现象,从 而会导致探针捕获到的信号接受强度(RSSI )有不同程度的衰减, 甚至无 法被检测到。 因此,本发明在探究多个探针的空间布局对无线信号的检测 结果的影响的基础下, 给出了多探针在功能区域内的布设方案, 从而较大 限度地减少无线信号的传播过程中多径现象和反射现象对检测结果的影 响。  (1) Since the area of the functional area in the public place is large or small, determining the number of WI-FI probes required is the first problem to be solved according to the area of the functional area. When the number of probes is large, the wireless signal emitted by the mobile device has multipath phenomenon and reflection phenomenon during the propagation process, which may cause the signal received strength (RSSI) captured by the probe to be attenuated to different degrees, or even Detected. Therefore, the present invention provides a layout scheme of the multi-probe in the functional area on the basis of exploring the influence of the spatial layout of the plurality of probes on the detection result of the wireless signal, thereby greatly reducing the propagation process of the wireless signal. The influence of multipath phenomenon and reflection phenomenon on the detection results.
( 2 ) WI-FI探针的有效检测范围是以设备为中心,一定长度为半径的球形区域。  (2) The effective detection range of the WI-FI probe is a spherical area with a certain length as a radius centered on the device.
所以当检测区域大于功能区域面积时,待检测功能区域之外的移动设备也 会被检测到从而导致检测结果中存在这些无效数据。所以,本发明需要设 定科学的数据筛选标准来剔除这些无效数据,从而保证检测结果的可靠性。  Therefore, when the detection area is larger than the area of the functional area, the mobile device outside the function area to be detected is also detected to cause the invalid data to exist in the detection result. Therefore, the present invention needs to set scientific data screening standards to eliminate these invalid data, thereby ensuring the reliability of the test results.
( 3 ) 当行人流量变化时, 无线信号的多径与反射的程度不同, 导致在所给的数 据筛选标准下的检测率也会随着人流量的变化而发生明显变化。本发明给 出一个适用于人流量不断变化情况下的由检测量预测实际量的计算模型, 从而提高预测精度。  (3) When the pedestrian flow changes, the degree of multipath and reflection of the wireless signal is different, resulting in a significant change in the detection rate under the given data screening criteria as the flow rate changes. The present invention provides a calculation model suitable for predicting the actual amount of the detected amount in the case of a constantly changing human flow rate, thereby improving the prediction accuracy.
( 4 ) 针对某个特定的 MAC地址时,分析其在公共场所内各功能区域之间的轨迹 信息, 其中包括当存在同时有两个功能区域检测到某个 MAC地址时,通过 合理的分析方法给出该 MAC地址实际经过各个功能区域的概率,从而在无 法直观确定轨迹节点时给出各自的概率大小。 为解决以上问题, 本发明采用的技术方案包括: ( 1 ) 使用多个 WI-FI探针检测行人流量时, 根据功能区域的几何特征, 为尽可 能保证更多的检测面积, 以及考虑到布设探针的成本, 给出较优的多探针 布设方案。 (4) When analyzing a specific MAC address, analyze the trajectory information between the functional areas in the public place, including a reasonable analysis method when there are two functional areas detecting a certain MAC address at the same time. The probability that the MAC address actually passes through each functional area is given, so that the respective probability sizes are given when the trajectory nodes cannot be visually determined. In order to solve the above problems, the technical solutions adopted by the present invention include: (1) When using multiple WI-FI probes to detect pedestrian flow, according to the geometric characteristics of the functional area, in order to ensure more detection area as much as possible, and to consider the cost of routing the probe, give a better multi-probe Deployment plan.
( 2) 收集原始检测数据时, 应取各个探针检测结果的并集, 统计在某段时间段 内检测到的移动设备 MAC地址数目。 (2) When collecting the original test data, the union of the test results of each probe should be taken to count the number of mobile device MAC addresses detected during a certain period of time.
( 3) 为有效剔除无效干扰数据, 需要设计预实验确定数据筛选的标准。预实验 在待测行人道路上进行,保证多个探针的的布设形式与检测人流量时相同, 在探针有效检测范围内, 使用已知 MAC地址的多个智能设备, 并随意位移 一段时间后,对探针检测到的 MAC地址数据的接收信号强度值进行统计分 析, 确定所需检测范围内的接收信号强度最小值, 作为数据筛选标准, 用 来排除所需检测范围以外区域内的行人移动设备 MAC地址数据。  (3) In order to effectively eliminate invalid interference data, it is necessary to design a pre-experiment to determine the criteria for data screening. The pre-experiment is carried out on the pedestrian road to be tested, ensuring that the arrangement form of the plurality of probes is the same as that when detecting the flow rate of the person. In the effective detection range of the probe, a plurality of smart devices with known MAC addresses are used, and are randomly displaced for a period of time. After that, the received signal strength value of the MAC address data detected by the probe is statistically analyzed to determine the minimum value of the received signal strength within the required detection range, which is used as a data screening standard to exclude pedestrians in areas outside the required detection range. Mobile device MAC address data.
(4) 由于行人流量不断变动, 检测率也随之变化。本发明在确定人流预测模型 时直接探讨行人检测值与实际值之间的关系,首先需要在使用探针检测人 流量的同时,人工计数出实际人流量的大小,并通过设计实验和数据处理, 给出多种确定实际人流量与检测人流量之间的函数关系,并由此函数关系 根据检测值推算实际值, 从而提高检测精度。  (4) Due to the constant changes in pedestrian traffic, the detection rate also changes. The invention directly discusses the relationship between the pedestrian detection value and the actual value when determining the flow prediction model. Firstly, the probe is used to detect the human flow rate, and the actual human flow rate is manually counted, and the design experiment and data processing are performed. A variety of functions are established to determine the actual human flow rate and the detected human flow rate, and the function value is used to estimate the actual value based on the detected value, thereby improving the detection accuracy.
( 5) 在重构轨迹时, 会发生某一时刻有两个相邻的功能区域都检测到了某个 MAC地址数据, 这时, 需要根据现有的探针检测数据, 给出该 MAC地址在 这一时刻属于每个功能区域的概率大小, 从而便于后续分析。 在探究 WI-FI探针在公共场所功能区域内的布设形式时,由于探针自身具有半径 为 r的检测区域, 而功能区域一般可认为是长为&、 宽为 b的矩形, 所以探针检 测面积与功能区域面积存在大小关系,会直接影响到所需的探针个数及布设形式。 因此, 根据探针检测半径 r与功能区域边长的大小关系, 给出探针的三种布设方 案, 示意图如附图 1所示:  (5) When reconstructing the trajectory, some MAC address data is detected in two adjacent functional areas at a certain moment. In this case, according to the existing probe detection data, the MAC address is given. This moment belongs to the probability of each functional area, which facilitates subsequent analysis. When exploring the layout of the WI-FI probe in the functional area of the public place, since the probe itself has a detection area of radius r, and the functional area is generally considered to be a rectangle having a length of & and a width b, the probe is There is a relationship between the detection area and the area of the functional area, which directly affects the number of probes required and the layout form. Therefore, according to the relationship between the probe detection radius r and the length of the functional region, three layout schemes of the probe are given, as shown in Fig. 1:
1 ) 当功能区域某边长小于探针检测半径, 即 a〈r 或 b〈r时, 在功能区的中 心处布设一个 WI-FI探针;  1) When a certain length of the functional area is smaller than the probe detection radius, ie a<r or b<r, a WI-FI probe is placed at the center of the functional area;
2) 当功能区域的一个边长远大于探针检测半径, 即 a»r或 b»r时, 沿功 能区域的较长边布设一组 WI-FI探针; 2) When one side of the functional area is much longer than the probe detection radius, ie a»r or b»r a set of WI-FI probes on the longer side of the energy zone;
3) 当功能区域的两个边长均远大于探针检测半径, 即 a»r且 b»r时, 沿 功能区域的对角线布设一组 WI-FI探针; 当功能区域某边长小于探针检测半径, 即采用第一种探针布设方案时, 因为 探针检测区域有超出功能区域的部分,理论上会检测到功能区域之外的 MAC地址 数据, 而这些数据由于不属于待研究的功能区域内, 因为成为无效干扰数据。 在确定剔除无效干扰数据的标准时,本发明给出基于接收信号强度值的数据 筛选方法: 在给定检测场所的前提下, 提供一种预实验, 探究接收信号强度值 (RSSI )与移动设备到探针之间距离的对应关系, 从而根据实际测试场所的待检 测区域的空间范围大小, 确定相应的信号接收强度的最小值, 作为数据筛选线, 从原始数据中过滤掉待检测区域之外的干扰数据。 在对检测结果的分析中,需要统计每个功能区域内所有有效 MAC地址数据的 平均停留时长。若某个有效 MAC地址只出现一次,则没有停留时长,不计入统计; 若某个有效 MAC地址出现多次,则停留时长为末次检测时刻与初次检测时刻之间 的时间差。 在确定实际人流量与检测人流量之间函数关系时,本发明在检测人流量数据 与实际人流量数据之间采用如下三种函数模型之一:  3) When both sides of the functional area are much larger than the probe detection radius, ie a»r and b»r, a set of WI-FI probes are arranged along the diagonal of the functional area; Less than the probe detection radius, that is, when the first probe layout scheme is adopted, since the probe detection area has a portion beyond the functional area, theoretically, MAC address data outside the functional area is detected, and these data are not subject to Within the functional area of the study, it becomes invalid interference data. In determining the criteria for rejecting invalid interference data, the present invention provides a data screening method based on received signal strength values: providing a pre-experiment to explore received signal strength values (RSSI) and mobile devices to a given detection site Corresponding relationship between the distances between the probes, so as to determine the minimum value of the corresponding signal receiving intensity according to the spatial extent of the area to be detected in the actual test place, as a data screening line, filtering out the area to be detected from the original data Interfere with data. In the analysis of the test results, it is necessary to count the average stay duration of all valid MAC address data in each functional area. If a valid MAC address only appears once, there is no duration and no count is counted. If a valid MAC address occurs multiple times, the duration of the stay is the time difference between the last detected time and the first detected time. In determining the functional relationship between the actual human flow and the detected human flow, the present invention adopts one of the following three functional models between detecting the human flow data and the actual human flow data:
1 ) 平均检测率模型: 将各个检测时段内的检测人流量与对应的实际人流量 的比值作为检测率, 求出各个检测时段的检测率加权后的平均检测率, 用来描述 检测人流量与实际人流量之间关系;  1) Average detection rate model: The ratio of the detected person flow in each detection period to the corresponding actual person flow rate is taken as the detection rate, and the average detection rate weighted by the detection rate of each detection period is obtained, which is used to describe the detected flow rate and The relationship between actual human traffic;
2) 分段检测率模型: 以各个检测时段内的检测人流量数据为指标, 将检测 人流量数据划分为多个区间, 求出每个区间内的检测率, 从而建立各个区间内的 检测人流量与检测率之间的关系;  2) Segmentation detection rate model: The detected person flow data in each detection period is used as an indicator, and the detected person flow data is divided into a plurality of intervals, and the detection rate in each interval is obtained, thereby establishing the detection person in each interval. The relationship between traffic and detection rate;
3) 三次样条插值模型: 采用三次样条插值函数拟合各个检测时段内检测人 其中, 当采用平均检测率模型, 由各个检测时段的检测率加权后得到平均检 测率时, 具体的加权方法为: 当检测时段 1 的实际人流量为 , 检测率为^; 检测时段 2的实际人流量为 , 检测率为^ ; ……; 检测时段 n的实际人流量 3) Cubic spline interpolation model: Using cubic spline interpolation function to fit the tester in each detection period Wherein, when the average detection rate model is used, and the average detection rate is obtained by weighting the detection rate of each detection period, the specific weighting method is: when the actual human flow rate of the detection period 1 is, the detection rate is ^; the actual period of the detection period 2 The flow rate of the person is, the detection rate is ^; ......; the actual person flow of the detection period n
V1W1+V2W2 + --+VnW7 V 1 W 1 +V 2 W 2 + --+V n W 7
为 I;, 检测率为^, 则加权后的平均检测率为 W: Is I;, the detection rate is ^, then the weighted average detection rate is W:
v1+v2+-+vn 其中, 当采用三次样条插值模型时, 本发明给出的三次样条插值函数 S (x) 中, 有自然边界条件为 0, 即 v 1 +v 2 +-+v n wherein, when the cubic spline interpolation model is adopted, the cubic spline interpolation function S (x) given by the present invention has a natural boundary condition of 0, that is,
S"(x0) = 0 S"(x 0 ) = 0
S" (xJ = 0  S" (xJ = 0
本发明在使用 WI-FI探针检测公共场所人流量时,采用的检测时段需要根据 实际待检测的功能区域内行人特征而定, 可以取 10min、 30min或 lh, 作为数据 采集与统计的单位时间长度。 在重构行人轨迹时, 若多个功能区域均能检测到某个 MAC地址数据时, 只需 按照该 MAC地址被检测到的时间先后顺序确定其轨迹;若某个 MAC地址数据在某 一时刻同时被相邻两个功能区域内的 WI-FI探针检测到时,则根据这两个功能区 域内估测人流量数据和平均停留时长计算出该 MAC 地址在这一时刻实际属于每 个功能区域的概率, 并分别给出两条行人轨迹的概率。其中, 估测人流量数据是 指由检测人流量数据通过函数模型计算得到的;平均停留时长是指在某个检测时 段内多个有效 MAC地址数据的停留时长的平均值,对于只有一次检测记录的有效 MAC地址数据, 计算平均停留时长时不予考虑。 基于估测人流量数据和平均停留时长,当某个 MAC地址数据同时出现在两个 功能区域的检测结果里,计算该 MAC地址数据属于两个功能区域的概率的具体方 法为-When the WI-FI probe is used to detect the flow of people in a public place, the detection period used needs to be determined according to the pedestrian characteristics in the functional area to be detected, and may be taken as 10 min, 30 min or lh as the unit time of data collection and statistics. length. When reconstructing a pedestrian trajectory, if a plurality of functional areas can detect a certain MAC address data, it is only necessary to determine the trajectory according to the chronological order in which the MAC address is detected; if a certain MAC address data is at a certain time At the same time, when it is detected by the WI-FI probes in two adjacent functional areas, the MAC address is actually calculated according to the estimated traffic data and the average stay duration in the two functional areas. The probability of the region, and gives the probability of two pedestrian trajectories. Wherein, the estimated person flow data is calculated by the function data of the detected person flow data; the average stay duration refers to the average value of the stay duration of the plurality of valid MAC address data in a certain detection period, for only one detection record The valid MAC address data is not considered when calculating the average stay duration. Based on the estimated human traffic data and the average stay duration, when a certain MAC address data appears in the detection results of the two functional areas at the same time, the specific method for calculating the probability that the MAC address data belongs to the two functional areas is -
1 ) 分别将两个功能区域标记为 A和 B; 2 )分别计算 A和 B在出现该 MAC地址数据的检测时段内的估测人流量数据, 分别记为 和 计算 A和 B在出现该 MAC地址数据的检测时段内的有效 MAC 地址的平均停留时长, 分别记为 7^和 Γβ ; 1) Mark the two functional areas as A and B respectively; 2) Calculate the estimated person flow data of A and B in the detection period in which the MAC address data appears, respectively, and record the average stay duration of the valid MAC address in the detection period in which the MAC address data appears in A and B respectively. , respectively recorded as 7^ and Γβ ;
4b3 )计算该 MAC地址数据实际属于 A的概率为/^ = ., , ,属于 B的概  4b3) Calculate the probability that the MAC address data actually belongs to A is /^ = ., , , which belongs to B
QA A+QB B
Figure imgf000011_0001
QA A+QB B
Figure imgf000011_0001
附图简要说明 图 1为功能区域内探针布设方案示意图。基于探针检测半径与功能区域边长的大 小关系, 给出的三种探针布设方案。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic diagram of a probe layout scheme in a functional area. Based on the relationship between the probe detection radius and the length of the functional area, three probe placement schemes are given.
图 2为数据筛选预实验示意图。 剔除无效数据的预实验中探针布设方案。 Figure 2 is a schematic diagram of data screening pre-experiment. Pre-experimental probe placement scheme that eliminates invalid data.
图 3为数据筛选实验分析结果示意图。 基于接收信号强度值的数据筛选标准中, 对检测数据的分析方法。 Figure 3 is a schematic diagram showing the results of data screening experiments. An analysis method for detection data in a data screening standard based on received signal strength values.
图 4为 MAC地址原始数据的处理流程图。 Figure 4 is a flow chart of processing MAC address raw data.
图 5为轨迹重构时,对相邻功能区同时检测到某个 MAC地址时的轨迹概率分布计 算示意图。 具体实施方式 Figure 5 is a schematic diagram of the calculation of the trajectory probability distribution when a certain MAC address is detected simultaneously in the adjacent functional area during trajectory reconstruction. detailed description
本发明在探究 WI-FI探针在公共场所功能区域内的布设形式时,由于探针自 身具有半径为 r的检测区域, 而功能区域一般可认为是长为 a、 宽为 b的矩形, 所以探针检测面积与功能区域面积存在大小关系,会直接影响到所需的探针个数 及布设形式。 因此, 根据探针检测半径 r与功能区域边长的大小关系, 给出探针 的三种布设方案, 如附图 1所示:  In the invention, when exploring the layout form of the WI-FI probe in the functional area of the public place, since the probe itself has a detection area with a radius r, the functional area can generally be regarded as a rectangle having a length a and a width b, so The detection area of the probe has a size relationship with the area of the functional area, which directly affects the number of probes required and the layout form. Therefore, according to the relationship between the probe detection radius r and the length of the functional region, three layout schemes of the probe are given, as shown in Fig. 1:
方案一中, 功能区域某边长小于探针检测半径, 即 a〈r 或 b〈r时, 则在功 能区的中心处布设一个 WI-FI探针;  In the first scheme, when a certain length of the functional area is smaller than the detection radius of the probe, that is, a<r or b<r, a WI-FI probe is disposed at the center of the functional area;
方案二中, 功能区域的一个边长远大于探针检测半径, 即 a»r或 b»r时, 则沿功能区域的较长边布设一组 WI-FI探针; 方案三中, 功能区域的两个边长均远大于探针检测半径, 即 a»r 且 b»r 时, 则沿功能区域的对角线布设一组 WI-FI探针; 本发明在方案三中采用沿矩形对角线布设探针的方式,是因为当人流量较大 时, 移动设备发射出的无线信号在传播过程中的多径、 发射现象较明显, 导致信 号强度衰减严重。而将探针沿对角线布设, 可以保证功能区域的中间区域和两侧 区域均布设了探针, 能有效分散信号接收点, 更全面的接收来自功能区内侧和外 侧的数据, 即一定程度上减少了多径与反射现象造成的信号衰减; 另一方面, 沿 对角线布设探针, 可以保证探针在功能区域的两个边长方向上均有一定的距离, 可以有效增大探针的整体有效检测区域, 从而增加检测时间, 有效降低移动设备 在行人通过检测区域内却没有信号发出的概率, 即增加了检测率。 本发明设计预实验确定基于接收信号强度值的数据筛选标准,预实验的具体 内容为: 三探针的布设形式如附图 2所示, 在以探针为圆心, 以功能区域短边长 度的二分之一为半径的区域内,使用多个打开 WI-FI功能的移动设备模拟行人的 运动, 经过一段时间的检测后, 统计各探针的检测结果。 本发明对预实验中得到的接收信号强度值数据进行分析如附图 3, 表明接收 信号强度值服从正态分布, 本发明取 90%的置信区间确定最终的数据筛选线。 在 MAC地址原始数据中, 接收信号强度值小于筛选线的 MAC地址数据即认为是无效 MAC地址数据。 如附图 4所示, 本发明给出对功能区域 MAC地址原始数据的处理过程, 从而 得到有效 MAC地址数据, 并通过统计有效 MAC地址数据的停留时长, 计算得到该 功能区域的平均停留时长。其中, 当某个有效 MAC地址数据在某个功能区域的探 针检测结果中存在多条检测记录时,其停留时长为末次检测时刻与初次检测时刻 的时间差;而该功能区域内有效 MAC地址数据的平均停留时长为所有停留时长的 算术平均值。 本发明给出采用平均检测率模型建立人流量实际值与检测值之间关系的方 法, 即由各个检测时段的检测率加权后得到平均检测率的具体的加权方法为: 当 检测时段 1 的实际人流量为 , 检测率为^; 检测时段 2的实际人流量为 , 检测率为^; ……; 检测时段 n的实际人流量为 I;, 检测率为^, 则加权后的 平均检测率为 W= 1 2+...+ 。 In the second scheme, when one side of the functional area is longer than the probe detection radius, that is, a»r or b»r, a set of WI-FI probes are arranged along the longer side of the functional area; In the third scheme, the two side lengths of the functional area are much larger than the probe detection radius, that is, a»r and b»r, then a set of WI-FI probes are arranged along the diagonal of the functional area; The third method uses the method of arranging the probe along the diagonal of the rectangle because when the flow rate of the person is large, the multipath and the emission phenomenon of the wireless signal emitted by the mobile device during the propagation process are obvious, resulting in serious attenuation of the signal strength. By arranging the probes diagonally, it is ensured that probes are arranged in the middle and both sides of the functional area, which can effectively disperse the signal receiving points and more comprehensively receive data from the inside and the outside of the functional area, that is, to some extent. The signal attenuation caused by multipath and reflection phenomenon is reduced; on the other hand, the probe is arranged along the diagonal line to ensure that the probe has a certain distance in the direction of the two sides of the functional area, which can effectively increase the probe. The overall effective detection area of the needle increases the detection time and effectively reduces the probability that the mobile device will not signal when the pedestrian passes through the detection area, that is, the detection rate is increased. The pre-experiment of the present invention determines the data screening standard based on the received signal strength value. The specific content of the pre-experiment is as follows: The layout of the three probes is as shown in FIG. 2, with the probe as the center and the functional region as the short side length. In the area where one-half of the radius is used, multiple mobile devices that turn on the WI-FI function are used to simulate the movement of the pedestrian. After a period of detection, the detection results of each probe are counted. The present invention analyzes the received signal strength value data obtained in the preliminary experiment as shown in Fig. 3, indicating that the received signal strength value obeys a normal distribution, and the present invention takes a 90% confidence interval to determine the final data screening line. In the MAC address raw data, the received signal strength value is smaller than the MAC address data of the screening line, which is considered to be invalid MAC address data. As shown in FIG. 4, the present invention provides a process of processing MAC address raw data of a functional area, thereby obtaining valid MAC address data, and calculating an average stay duration of the functional area by counting the staying duration of the valid MAC address data. Wherein, when a valid MAC address data has multiple detection records in the probe detection result of a certain functional area, the duration of the stay is the time difference between the last detection time and the initial detection time; and the effective MAC address data in the function area The average length of stay is the arithmetic mean of all dwell durations. The invention provides a method for establishing the relationship between the actual value of the human flow and the detected value by using the average detection rate model, that is, the specific weighting method for obtaining the average detection rate by weighting the detection rate of each detection period is: when the actual detection period 1 is The flow rate of the person is, the detection rate is ^; the actual person flow rate of the detection period 2 is, the detection rate is ^; ...; the actual person flow rate of the detection period n is I;, the detection rate is ^, then the weighted average detection rate is W= 1 2 + ...+ .
本发明给出的建立三次样条插值函数拟合行人流量实际值与检测值之间的 关系。 具体方法如下: The present invention establishes a cubic spline interpolation function to fit the relationship between the actual value of the pedestrian flow and the detected value. The specific method is as follows:
本发明在实验中将得到 η组数据,分别统计出各组数据中检测到的移动设备  In the experiment, the n data will be obtained, and the mobile devices detected in each group of data are respectively counted.
MAC地址数目记为 χ。、 ·'·χη, 对应于区间 [χ。, χ^]上各个节点, 同时人工计 数出各个节点对应的实际人流量为 y。、 …; 即确定各节点处的对应关系 为 fOJ =;^。 则可以按照以下步骤构造三次样条插值函数 S(x)。 The number of MAC addresses is recorded as χ. · ···χ η , corresponding to the interval [χ. , χ^] on each node, and manually count the actual person traffic corresponding to each node as y. , ...; that is, the correspondence between each node is determined to be fOJ =; ^. Then, the cubic spline interpolation function S(x) can be constructed as follows.
记 hj = xj― x l, S"(x;) = Mj, 则有
Figure imgf000013_0001
(Χ) = ¾ Μ7-ι + ¾7^W; + W + c2 (2)
Remember hj = xj― x l , S"(x ; ) = Mj, then
Figure imgf000013_0001
( Χ ) = 3⁄4 Μ 7-ι + 3⁄47^ W ; + W + c 2 (2)
Figure imgf000013_0002
Figure imgf000013_0002
μ]Μ]_1 + 2Mj + YjMj+1 = dj, j = 1,2…, n— 1 (5) 其中式 (5) 中: μ ] Μ ] _ 1 + 2Mj + YjM j+1 = dj, j = 1,2..., n-1 (5) where in equation (5):
7/ = - (6) n j+hj+1 7/ = - (6) n j+ h j+1
μ!. = 1— γ,- =—^― (7) μ!. = 1— γ,- =—^― (7)
hj+hj+1 aJ - hj+hj+1 { hj+1 hj ) - b/ ;-i' 7' 7+iJ W 结合自然边界条件 S"(x。) = M。 = 0 和 S"(xJ = Μ„ = 0, (5) 式可写成矩阵 形式:
Figure imgf000014_0001
根据式 α) - (9), 三次样条插值函数可计算为如下形式:
h j+ h j+1 a J - h j+ h j+1 { h j+1 hj ) - b / ;-i'7' 7+iJ W Combines the natural boundary condition S"(x.) = M. = 0 And S"(xJ = Μ„ = 0, (5) can be written in matrix form:
Figure imgf000014_0001
According to the equations α) - (9), the cubic spline interpolation function can be calculated as follows:
i S (x), X G [ Q. I]  i S (x), X G [ Q. I]
s2 ( )' Χ G [Χι, Χ2] S2 ( )' Χ G [Χι, Χ 2]
本发明使用修正参数 α对建立的检测人流量 -实际人流量函数关系进行修正, 修正参数 e通过对单个移动设备多次反复经过某 WI-FI检测区域的实验结果获得, 实验中移动设备的 WI-FI功能打开, 并记录下移动设备的 MAC地址、反复经过的 次数等信息, 并对实验结果作如下处理: The invention uses the correction parameter α to correct the established relationship between the detected human flow rate and the actual human flow function, and the modified parameter e is obtained by repeatedly experimenting with a certain mobile device over a certain WI-FI detection area. The WI- of the mobile device in the experiment. The FI function is turned on, and the MAC address of the mobile device, the number of repeated passes, and the like are recorded, and the experimental results are processed as follows:
若该移动设备在探针的检测区域内经过 N次,并且由探针检测结果里存在该 移动设备的 MAC地址 n次, 即检测到了 n次, 则认为 WI-FI探针对打开了 WI-FI 功能的移动设备的检测率为 α, 且 c = 则需要在最终的三次样条插值函数模型  If the mobile device passes N times in the detection area of the probe, and the MAC address of the mobile device exists n times in the probe detection result, that is, n times is detected, it is considered that the WI-FI probe pair opens the WI- The detection rate of the FI-enabled mobile device is α, and c = then the final cubic spline interpolation function model is needed.
S(x)前除上修正参数 α, 即修正后的三次样条插值函数为 S(x)' = S(x)/a。 Before S(x), the correction parameter α is added, that is, the modified cubic spline interpolation function is S(x)' = S(x)/a.
本发明使用修正参数 β对建立的检测人流量 -实际人流量函数关系进行修正, 修正参数通过对待测道路上的行人进行问卷调查获得,问卷的主要内容是调查待 测行人道路上行人随身携带的移动设备数目, 具体修正方法为: The invention uses the modified parameter β to correct the established relationship between the detected human flow rate and the actual human flow function, and the modified parameter is obtained through a questionnaire survey of the pedestrian on the road to be tested. The main content of the questionnaire is to investigate the pedestrians on the road to be tested. The number of mobile devices, the specific correction method is:
若问卷结果显示行人中随身携带两台移动设备的比例为 a,则修正参数 β = 1 + a,则需要在最终的三次样条插值函数模型 S(x)前乘上修正参数 β,即修正后的 三次样条插值函数为 S(x)' = S(x)■ β。 如附图 5所示, 本发明在重构行人轨迹时, 当某个 MAC地址数据同时出现在 两个功能区域的检测结果里,计算该 MAC地址数据属于两个功能区域的概率的具 体方法为:  If the result of the questionnaire shows that the proportion of pedestrians carrying two mobile devices is a, then the correction parameter β = 1 + a, then the correction parameter β is required to be multiplied before the final cubic spline interpolation function model S(x). The latter cubic spline interpolation function is S(x)' = S(x) ■ β. As shown in FIG. 5, when reconstructing a pedestrian trajectory, when a certain MAC address data appears in the detection result of two functional areas at the same time, a specific method for calculating the probability that the MAC address data belongs to two functional areas is :
1 ) 分别将两个功能区域标记为 A和 B; 2)分别计算 A和 B在出现该 MAC地址数据的检测时段内的估测人流量数据, 分别记为 和 计算 A和 B在出现该 MAC地址数据的检测时段内的有效 MAC 地址的平均停留时长, 分别记为 7^和 Γβ; 1) Mark the two functional areas as A and B respectively; 2) Calculate the estimated person flow data of A and B within the detection period in which the MAC address data appears, respectively, and record and calculate the average stay duration of the valid MAC address of A and B in the detection period in which the MAC address data appears. , respectively, as 7^ and Γ β;
3)计算该 MAC地址数据实际属于 A的概率为/^ = ., , ,属于 B的概率  3) Calculate the probability that the MAC address data actually belongs to A is /^ = ., , , the probability of belonging to B
QA A+QB B
Figure imgf000015_0001
QA A+QB B
Figure imgf000015_0001

Claims

权利要求书 Claim
1. 一种使用 WI-FI探针检测公共场所人流量的方法, 包括如下步骤:  1. A method of detecting human flow in a public place using a WI-FI probe, comprising the following steps:
1 ) 数据采集: 在公共场所的各功能区域内,通过布设 WI-FI探针获取其检测区 域各个检测时段内行人移动设备的 MAC地址原始数据; 同时人工采集实际 人流量数据; 所述的功能区域是长为 a, 宽为 b的矩形区域, 所述的 WI-FI 探针的具体布设方式, 根据探针检测半径 r与功能区域边长的大小关系, 采 用如下三种探针布设方案之一作为拟定探针布设方案:  1) Data collection: In the functional areas of the public place, the WI-FI probe is used to obtain the MAC address raw data of the pedestrian mobile device in each detection period of the detection area; and the actual human flow data is manually collected; The area is a rectangular area with a length a and a width b. The specific layout of the WI-FI probe is based on the relationship between the probe detection radius r and the length of the functional area. The following three probe layout schemes are adopted. As a proposed probe layout:
la) 当功能区域某边长小于探针检测半径, 即 a<r 或 b<r时, 在功能区的中 心处布设一个 WI-FI探针;  La) When a certain length of the functional area is smaller than the probe detection radius, ie a<r or b<r, a WI-FI probe is placed at the center of the functional area;
lb) 当功能区域的一个边长远大于探针检测半径, 即 a»r或 b»r时, 沿 功能区域的较长边布设一组 WI-FI探针; Lb) When one side of the functional area is much longer than the probe detection radius, ie a» r or b»r, a set of WI-FI probes are placed along the longer side of the functional area;
lc) 当功能区域的两个边长均远大于探针检测半径, 即 a»r且 b»r时, 沿功能区域的对角线布设一组 WI-FI探针; Lc) when both sides of the functional area are much larger than the probe detection radius, ie a» r and b»r, a set of WI-FI probes are arranged along the diagonal of the functional area;
2) 数据筛选: 对所述的 MAC地址原始数据进行基于接收信号强度值的筛选, 剔除无效 MAC地址数据, 获得行人移动设备有效 MAC地址数据, 作为检 测人流量数据, 并记录每个检测人流量数据在功能区域内的停留时长; 2) Data screening: screening the raw data of the MAC address based on the received signal strength value, eliminating invalid MAC address data, obtaining valid MAC address data of the pedestrian mobile device, detecting the traffic data, and recording each detected traffic The length of time the data stays in the functional area;
3) 数据处理: 对所述的行人移动设备有效 MAC地址数据, 建立所述检测人流 量数据与所述实际人流量数据之间的函数模型; 3) data processing: establishing a function model between the detected person flow data and the actual person flow data for the pedestrian mobile device effective MAC address data;
4) 轨迹重构:对于在公共场所内经过不同功能区的行人,根据探针检测结果对 其轨迹进行重构, 采用以下两种方法之一重构行人轨迹:  4) Trajectory reconstruction: For pedestrians passing through different functional areas in public places, reconstruct their trajectories according to the results of probe detection, and reconstruct the pedestrian trajectory by one of the following two methods:
4a) 当多个功能区域均能检测到某个 MAC地址数据时, 只需按照该 MAC 地址被检测到的时间先后顺序确定其轨迹;  4a) When a certain functional area can detect a certain MAC address data, it is only necessary to determine the trajectory according to the chronological order in which the MAC address is detected;
4b) 当某个 MAC地址数据在某一时刻同时被相邻两个功能区域内的 WI-FI 探针检测到时,根据这两个功能区域内检测人流量数据和平均停留时长计算 出该 MAC地址在这一时刻实际属于每个功能区域的概率, 给出两条行人轨 迹的概率。  4b) When a certain MAC address data is detected by the WI-FI probe in two adjacent functional areas at a certain time, the MAC is calculated based on the detected traffic data and the average stay duration in the two functional areas. The probability that the address actually belongs to each functional area at this moment, giving the probability of two pedestrian trajectories.
2. 如权利要求 1所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于, 当拟定探针布设方案采用 la)时, 步骤 2) 数据筛选中基于接收信号强度值的筛 选方法为: 通过设计预实验, 找到对应于所述行人移动设备有效 MAC地址数 据的接收信号强度值的最小值, 作为数据筛选的标准, 将所述的 MAC地址原 始数据中接收信号强度值小于该标准的 MAC地址数据剔除。 2. The method for detecting human traffic in a public place using the WI-FI probe according to claim 1, wherein when the proposed probe deployment scheme adopts la), step 2) is based on the received signal strength value in the data screening. The screening method is: by designing a pre-experiment, finding a minimum value of the received signal strength value corresponding to the pedestrian mobile device effective MAC address data, as a standard of data filtering, the received signal strength value in the MAC address original data is less than The standard MAC address data is culled.
3. 如权利要求 1所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 步骤 3) 中所述的函数模型为以下三者之一: 3a) 平均检测率模型: 将各个检测时段内的检测人流量与对应的实际人流量的 比值作为检测率, 求出各个检测时段的检测率加权后的平均检测率 W, 用来描 述检测人流量与实际人流量之间关系; 3. The method according to claim 1, wherein the function model described in step 3) is one of the following three: 3a) Average detection rate model: The ratio of the detected human flow rate to the corresponding actual human flow rate in each detection period is used as the detection rate, and the average detection rate W weighted by the detection rate of each detection period is obtained, which is used to describe the detection flow rate. Relationship with actual person flow;
3b) 分段检测率模型: 以各个检测时段内的检测人流量数据为指标, 将检测人 流量数据划分为多个区间, 求出每个区间内的检测率, 从而建立各个区间内的 检测人流量与检测率之间的关系;  3b) Segmentation detection rate model: The detected person flow data in each detection period is used as an indicator, and the detected person flow data is divided into a plurality of intervals, and the detection rate in each interval is obtained, thereby establishing a detection person in each interval. The relationship between traffic and detection rate;
3c) 三次样条插值模型: 采用三次样条插值函数拟合各个检测时段内检测人流 量与实际人流量之间的关系, 且自然边界条件的取值为 0。  3c) Cubic spline interpolation model: The cubic spline interpolation function is used to fit the relationship between the detected human flow and the actual human flow in each detection period, and the natural boundary condition has a value of 0.
4. 如权利要求 1所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 所述的检测时段根据实际功能区域内的人流量特征而定, 所述的检测时段取 10min> 30min或 lh。 4. The method for detecting a person's traffic in a public place using the WI-FI probe according to claim 1, wherein: the detecting period is determined according to a characteristic of a human flow in an actual functional area, and the detecting period is determined. 10min> 30min or lh.
5. 如权利要求 2所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 所述的基于接收信号强度值的数据筛选的预实验, 具体做法为: 在所述功能区 域内, 采用 la)为拟定探针布设方案, 使用多个已知 MAC地址的移动设备在以 探针为圆心、 以所述功能区域短边的一半为半径的区域内活动, 并统计探针的 检测结果。 5. The method for detecting human traffic in a public place using a WI-FI probe according to claim 2, wherein: the pre-experiment of the data filtering based on the received signal strength value is as follows: In the region, using la) for the proposed probe deployment scheme, a mobile device using multiple known MAC addresses is active in a region centered on the probe and radiused by half of the short side of the functional region, and the statistical probe is Test results.
6. 如权利要求 1所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 步骤 2)中所述的停留时长是指每个有效 MAC地址数据在某个功能区域内的首 次检测与末次检测之间的时间差。 6. The method for detecting human traffic in a public place using the WI-FI probe according to claim 1, wherein: the duration of staying in step 2) means that each valid MAC address data is within a certain functional area. The time difference between the first test and the last test.
7. 如权利要求 1所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 当采用 4b) 重构行人轨迹时, 所述的平均停留时长, 是指在某个检测时段内多 个有效 MAC 地址数据的停留时长的平均值; 对于只有一次检测记录的有效 MAC地址数据, 计算平均停留时长时不予考虑。 7. The method for detecting human traffic in a public place using the WI-FI probe according to claim 1, wherein: when 4b) is used to reconstruct a pedestrian trajectory, said average stay duration refers to a certain detection. The average value of the stay duration of multiple valid MAC address data during the period; for valid MAC address data with only one detection record, the calculation of the average stay duration is not considered.
8. 如权利要求 3所述的使用 WI-FI探针检测公共场所人流量的方法,其特征在于: 当采用 3a) 平均检测率模型, 由各个检测时段的检测率加权后得到平均检测率 时, 具体的加权方法为: 当检测时段 1的实际人流量为 检测率为 W1 ; 检测 时段 2的实际人流量为 V2,检测率为 W2;…一;检测时段 n的实际人流量为 Vn , 检测率为 Wn , 则加权后的平均检测率为8. The method for detecting a person's traffic in a public place using the WI-FI probe according to claim 3, wherein: when the average detection rate model is used, the average detection rate is obtained by weighting the detection rate of each detection period. The specific weighting method is: when the actual human flow rate of the detection period 1 is the detection rate W 1 ; the actual human flow rate of the detection period 2 is V 2 , the detection rate is W 2 ;...1; the actual human flow rate of the detection period n is V n , the detection rate is W n , then the averaged detection rate after weighting
Figure imgf000017_0001
Figure imgf000017_0001
9. 如权利要求 1至 8之一所述的使用 WI-FI探针检测公共场所人流量的方法, 其 特征在于: 当采用 4b) 重构行人轨迹时, 当某个 MAC地址数据同时出现在两 个功能区域的检测结果里, 计算该 MAC地址数据属于两个功能区域的概率的 具体方法为: 4bl ) 分别将两个功能区域标记为 A和 B; 9. The method for detecting human traffic in a public place using a WI-FI probe according to any one of claims 1 to 8, characterized in that: when 4b) is used to reconstruct a pedestrian trajectory, when a certain MAC address data appears at the same time In the detection results of the two functional areas, the specific method for calculating the probability that the MAC address data belongs to two functional areas is: 4bl) mark the two functional areas as A and B respectively;
4b2) 分别计算 A和 B在出现该 MAC地址数据的检测时段内的估测人流量数 据, 分别记为 ¾和 ; 计算 A和 B在出现该 MAC地址数据的检测时段内的 有效 MAC地址的平均停留时长, 分别记为 7^和 Γβ ; 4b2) Calculate the estimated person flow data of A and B within the detection period in which the MAC address data appears, respectively, as 3⁄4 sum; calculate the average of the effective MAC addresses of A and B in the detection period in which the MAC address data appears. long residence time, and are referred to as 7 ^ Γ β;
4b3) 计算该 MAC地址数据实际属于 A的概率为/^ = n ^Aln A τ , 属于 Β的概 幢 B = QbTb 4b3) Calculate the probability that the MAC address data actually belongs to A is /^ = n ^ A l n A τ , which belongs to the general structure of B = QbTb
QATA+QBTB  QATA+QBTB
PCT/IB2017/058547 2016-12-30 2017-12-30 Method for detecting human traffic in public place by using wi-fi probe WO2018122817A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
GB1905910.4A GB2569752B (en) 2016-12-30 2017-12-30 A method for detecting pedestrian volume in public areas using Wi-Fi probes
CN201780033645.7A CN109644320B (en) 2016-12-30 2017-12-30 Method for detecting pedestrian flow in public place by using WI-FI probe

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
IBPCT/IB2016/058108 2016-12-30
PCT/IB2016/058108 WO2018122588A1 (en) 2016-12-30 2016-12-30 Method for detecting pedestrian traffic by using wi-fi probe

Publications (1)

Publication Number Publication Date
WO2018122817A1 true WO2018122817A1 (en) 2018-07-05

Family

ID=59713469

Family Applications (4)

Application Number Title Priority Date Filing Date
PCT/IB2016/058108 WO2018122588A1 (en) 2016-12-30 2016-12-30 Method for detecting pedestrian traffic by using wi-fi probe
PCT/IB2017/058546 WO2018122816A1 (en) 2016-12-30 2017-12-30 Method for using wi-fi probes to determine pedestrian flow direction
PCT/IB2017/058545 WO2018122815A1 (en) 2016-12-30 2017-12-30 Method for detecting traffic of pedestrians on road by using wi-fi probe
PCT/IB2017/058547 WO2018122817A1 (en) 2016-12-30 2017-12-30 Method for detecting human traffic in public place by using wi-fi probe

Family Applications Before (3)

Application Number Title Priority Date Filing Date
PCT/IB2016/058108 WO2018122588A1 (en) 2016-12-30 2016-12-30 Method for detecting pedestrian traffic by using wi-fi probe
PCT/IB2017/058546 WO2018122816A1 (en) 2016-12-30 2017-12-30 Method for using wi-fi probes to determine pedestrian flow direction
PCT/IB2017/058545 WO2018122815A1 (en) 2016-12-30 2017-12-30 Method for detecting traffic of pedestrians on road by using wi-fi probe

Country Status (3)

Country Link
CN (4) CN109716358B (en)
GB (4) GB201711411D0 (en)
WO (4) WO2018122588A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124476B (en) * 2017-07-04 2020-04-10 百度在线网络技术(北京)有限公司 Information pushing method and device
CN109362041B (en) * 2018-12-18 2021-06-04 成都方未科技有限公司 Population space-time distribution analysis method based on big data
CN110113778A (en) * 2019-04-30 2019-08-09 清华大学 Extend scale calculation method and system in Expressway Service based on data-driven
CN112235430B (en) * 2019-06-28 2023-12-05 北京奇虎科技有限公司 Method and device for obstructing collection of effective information and electronic equipment
CN110493816B (en) * 2019-08-21 2022-10-21 上海工程技术大学 Real-time prediction method for rail transit subway station passenger flow volume
CN110598154B (en) * 2019-09-16 2023-04-07 新疆银狐数据科技有限公司 Tourism comprehensive statistics big data system based on fusion multi-channel data
CN110879975B (en) * 2019-11-06 2022-06-17 杭州宇泛智能科技有限公司 Personnel flow detection method and device and electronic equipment
CN113139006A (en) * 2020-01-19 2021-07-20 深圳云天励飞技术有限公司 Fixed site mining method and device, terminal equipment and readable storage medium
CN111476611B (en) * 2020-04-17 2022-05-17 支付宝(杭州)信息技术有限公司 Sensor-based data processing method and device
CN112502781B (en) * 2020-11-24 2022-10-25 海洋王照明科技股份有限公司 Mine personnel monitoring method, device, server and storage medium
CN113068215B (en) * 2021-03-12 2022-01-11 华扬联众数字技术(深圳)有限公司 Weight and filtering-based multi-WiFi probe MAC address dynamic line algorithm
CN115131964B (en) * 2022-06-23 2024-02-20 重庆交通大学 Tunnel traffic flow sensing system
CN116887339B (en) * 2023-09-07 2023-11-28 深圳中科爱讯科技有限公司 Real-time passenger flow statistics system and method based on WiFi probe

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207757A1 (en) * 2008-02-15 2009-08-20 Andreasen Flemming S System and method for providing location and access network information support in a network environment
CN102625331A (en) * 2011-06-14 2012-08-01 北京小米科技有限责任公司 Monitor method of data flow of mobile terminal and apparatus
CN202773078U (en) * 2011-07-30 2013-03-06 孙佰松 People stream positioning and monitoring system based on wireless communication
CN205283824U (en) * 2015-11-24 2016-06-01 如东信息技术服务(上海)有限公司 Airport stream of people early warning system based on wifi
CN106211067A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of people's flow monitoring method and device based on terminal

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8254395B2 (en) * 2005-11-03 2012-08-28 International Business Machines Corporation Computer-implemented method, system, and program product for tracking a location of a user of a wireless device in a private network environment
CN101668244A (en) * 2008-09-02 2010-03-10 上海领美实业有限公司 System and method for intelligent management and service of people streams in public places
CN201340272Y (en) * 2008-09-02 2009-11-04 上海领美实业有限公司 Intelligent pedestrian flow management and service system for public places
US10304069B2 (en) * 2009-07-29 2019-05-28 Shopkick, Inc. Method and system for presentment and redemption of personalized discounts
CN102104771B (en) * 2010-12-14 2012-12-12 浙江工业大学 Multi-channel people stream rate monitoring system based on wireless monitoring
KR101046421B1 (en) * 2011-02-09 2011-07-04 (주)멀린 Method and system of taking position information
CN202528324U (en) * 2012-03-07 2012-11-14 南安市正冠机械有限公司 Columnar stone processing device
CN102737336A (en) * 2012-04-12 2012-10-17 林华龙 Method and management system for knowing passenger flow volume and behavior thereof based on mobile device
US9288683B2 (en) * 2013-03-15 2016-03-15 DGS Global Systems, Inc. Systems, methods, and devices for electronic spectrum management
KR20150006110A (en) * 2013-07-08 2015-01-16 용현중 System and method of checking attendance
CN103473840B (en) * 2013-09-23 2016-03-16 沈阳天目科技有限公司 Based on wireless network, there is passenger flow counting system and the method that personnel distinguish function
CN104361658B (en) * 2014-09-30 2017-05-31 北京锐安科技有限公司 The detection method and device of a kind of region Nei Ge places people information
CN104540168B (en) * 2014-12-30 2018-05-11 杭州华为数字技术有限公司 A kind of method, apparatus and system for measuring crowded degree
CN105049422B (en) * 2015-06-25 2018-04-13 迪爱斯信息技术股份有限公司 A kind of WIFI detections identification equipment, system and WIFI detection identification methods
CN105163277A (en) * 2015-08-10 2015-12-16 上海网罗电子科技有限公司 Position information-based big data task management system and method
CN105187240A (en) * 2015-08-19 2015-12-23 广东中兴新支点技术有限公司 Pedestrian volume detection method and device thereof,
CN105160321A (en) * 2015-09-05 2015-12-16 深圳市飞思未来云媒体科技有限公司 Vision-and-wireless-positioning-based mobile terminal identity verification method
CN105869388B (en) * 2016-05-31 2018-09-04 苏州朗捷通智能科技有限公司 The analysis method and system of a kind of acquisition of bus passenger flow data and origin and destination
CN106022643A (en) * 2016-06-06 2016-10-12 北京智旅科技有限公司 Scenic spot tourist data analysis system
CN106251578B (en) * 2016-08-19 2019-05-07 深圳奇迹智慧网络有限公司 Stream of people's early warning analysis method and system based on probe
CN106210144A (en) * 2016-08-22 2016-12-07 北京易游华成科技有限公司 People flow rate statistical method and apparatus
CN107360590A (en) * 2017-06-29 2017-11-17 上海工程技术大学 Track station part congestion points passenger flow condition judgement method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207757A1 (en) * 2008-02-15 2009-08-20 Andreasen Flemming S System and method for providing location and access network information support in a network environment
CN102625331A (en) * 2011-06-14 2012-08-01 北京小米科技有限责任公司 Monitor method of data flow of mobile terminal and apparatus
CN202773078U (en) * 2011-07-30 2013-03-06 孙佰松 People stream positioning and monitoring system based on wireless communication
CN205283824U (en) * 2015-11-24 2016-06-01 如东信息技术服务(上海)有限公司 Airport stream of people early warning system based on wifi
CN106211067A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of people's flow monitoring method and device based on terminal

Also Published As

Publication number Publication date
GB201909414D0 (en) 2019-08-14
CN109716358A (en) 2019-05-03
CN109479206B (en) 2021-12-17
WO2018122815A1 (en) 2018-07-05
CN109644360A (en) 2019-04-16
GB201905910D0 (en) 2019-06-12
GB2569752B (en) 2020-05-20
CN109644320B (en) 2020-12-11
GB201711411D0 (en) 2017-08-30
CN109644360B (en) 2021-12-17
CN109716358B (en) 2023-06-06
WO2018122816A1 (en) 2018-07-05
CN109479206A (en) 2019-03-15
CN109644320A (en) 2019-04-16
GB2569752A (en) 2019-06-26
WO2018122588A1 (en) 2018-07-05
GB201909415D0 (en) 2019-08-14

Similar Documents

Publication Publication Date Title
WO2018122817A1 (en) Method for detecting human traffic in public place by using wi-fi probe
CN110493816B (en) Real-time prediction method for rail transit subway station passenger flow volume
CN109362038A (en) The method and system of guest flow statistics analysis and service based on WiFi probe
CN108710827B (en) A kind of micro- police service inspection in community and information automatic analysis system and method
CN108810808B (en) Regional passenger flow saturation calculation method based on mobile phone signaling data
CN110516866B (en) Real-time estimation method for urban rail transit train crowding degree
CN103327091A (en) System and method for obtaining passenger track and behavioral parameter
CN105513362B (en) A kind of bus platform adjacent area bus running state evaluation verification method
CN202013603U (en) Statistical device for passenger flow information
CN108737968A (en) A method of passing through wireless technology sensing passengers abnormal behaviour
Panichpapiboon et al. Exploiting wireless communication in vehicle density estimation
CN101131796A (en) Road traffic parameter checking device and method thereof
Lau et al. Spatial and temporal analysis of urban space utilization with renewable wireless sensor network
CN117612107A (en) Method for detecting abnormal personnel in place
CN109410597B (en) Method, device and system for detecting traffic flow at park entrance and exit
CN110913333B (en) Outdoor pedestrian flow warning method based on Wi-Fi probe
Toutouh-el-Alamin et al. Enabling low cost smart road traffic sensing
Dong et al. Bus passenger flow and running status analyzation system based on MAC address
Gavilanes Persons counter through Wi-Fi’s passive sniffing for IoT
Zhu et al. A passenger flow monitoring method in Hongqiao hub area based on gridded Wi-Fi sniffing
CN110263993A (en) A kind of real-time predicting method for handing over passenger&#39;s travel time for city rail
CN109657700B (en) Macroscopic region communicating channel heat degree detection method
CN117877273B (en) Intelligent high-speed traffic state judging method and system based on air-ground information fusion
CN110851970A (en) Pedestrian counting and management method in building evacuation channel based on CO2 concentration
CN106527153A (en) Substation inspection robot cluster control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17888559

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 201905910

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20171230

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17888559

Country of ref document: EP

Kind code of ref document: A1