CN110012495B - A people counting method, device, and computer equipment - Google Patents

A people counting method, device, and computer equipment Download PDF

Info

Publication number
CN110012495B
CN110012495B CN201811332854.4A CN201811332854A CN110012495B CN 110012495 B CN110012495 B CN 110012495B CN 201811332854 A CN201811332854 A CN 201811332854A CN 110012495 B CN110012495 B CN 110012495B
Authority
CN
China
Prior art keywords
related information
gate
mac address
people
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201811332854.4A
Other languages
Chinese (zh)
Other versions
CN110012495A (en
Inventor
蔡鸿博
傅春霖
姜世琦
曾晓东
林锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010489702.6A priority Critical patent/CN111654880B/en
Priority to CN201811332854.4A priority patent/CN110012495B/en
Publication of CN110012495A publication Critical patent/CN110012495A/en
Priority to TW108129106A priority patent/TWI724497B/en
Priority to PCT/CN2019/110018 priority patent/WO2020093831A1/en
Application granted granted Critical
Publication of CN110012495B publication Critical patent/CN110012495B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The method is used for counting the total number of people passing through a target area in a specified time period, the target area is located in a specified place, a WiFi probe and a plurality of gate ports are distributed in the specified place, the WiFi probe is used for detecting MAC address related information of equipment in the specified place, and the gate ports are used for a user to enter and exit the specified place in a code scanning mode; the method comprises the following steps: acquiring MAC address related information detected by a WiFi probe in a specified time period; acquiring code scanning related information acquired by each gate in the specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode; and determining the total number of people passing through the target area in the specified time period according to the MAC address related information and the code scanning related information.

Description

People counting method and device and computer equipment
Technical Field
The embodiment of the specification relates to the technical field of data processing, in particular to a people counting method, a people counting device and computer equipment.
Background
At present, people counting service has high application value in various environments and application scenes, for example, in an online commercial scene, for large public occasions such as subway stations and amusement parks, people flow in different areas is counted, and merchants can be assisted to reasonably arrange advertisement putting positions or commodity putting positions.
In the prior art, there are two people counting methods: firstly, a WiFi probe is arranged in a fixed area, the MAC address of equipment in the fixed area can be obtained through the WiFi probe, and then the number of the detected MAC addresses is multiplied by a reduction coefficient to serve as a people counting result in the fixed area; the second step is as follows: and arranging camera equipment in the fixed area, acquiring the video image of the fixed area through the camera equipment, and analyzing the video image through a deep learning algorithm to obtain the people counting result in the fixed area.
However, in the first mode, with the development of technology, one MAC address does not necessarily correspond to one mobile device (e.g., a mobile phone), but may also correspond to one router or other network-enabled devices, that is, one MAC address does not necessarily correspond to one natural person, and the reduction coefficient is also estimated through manual experience, so that the first mode has a large error in people counting; in the second mode, the hardware cost of the image pickup apparatus is high, the requirement on the hardware computing capacity is high, and the privacy problem is involved in the image pickup itself, so that the cost for counting the number of people by the second mode is high, and the universality is not high.
Disclosure of Invention
In order to solve the technical problems, embodiments of the present specification provide a method, an apparatus, and a computer device for people counting, where the technical scheme is as follows:
according to a first aspect of the embodiments of the present specification, there is provided a people counting method for counting a total number of people passing through a target area within a specified time period, where the target area is located in a specified place, a WiFi probe and a plurality of gate ports are distributed in the specified place, the WiFi probe is used for detecting MAC address related information of equipment in the specified place, and the gate ports are used for a user to pass through the gate ports in a code scanning manner; the method comprises the following steps:
acquiring MAC address related information detected by the WiFi probe in a specified time period;
acquiring code scanning related information acquired by each gate in the specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode;
and determining the total number of people passing through the target area in the specified time period according to the MAC address related information and the code scanning related information.
According to a second aspect of the embodiments of the present specification, there is provided a people counting device for counting a total number of people passing through a target area within a specified time period, wherein the target area is located in a specified place, a WiFi probe and a plurality of gate ports are distributed in the specified place, the WiFi probe is used for detecting MAC address related information of equipment in the specified place, and the gate ports are used for a user to pass through the gate ports in a code scanning manner; the device comprises:
the first acquisition module is used for acquiring the MAC address related information detected by the WiFi probe in a specified time period;
the second acquisition module is used for acquiring code scanning related information acquired by each gate in the specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode;
and the head number determining module is used for determining the head number passing through the target area in the specified time period according to the MAC address related information and the code scanning related information.
According to a third aspect of the embodiments of the present specification, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the people counting method provided by the embodiments of the present specification when executing the program.
According to the technical scheme provided by the embodiment of the specification, the MAC address related information detected by the WiFi probe in the specified time period is acquired, the code scanning related information collected by each gate in the specified time period is acquired, the code scanning related information is generated when a user passes through the gates in a code scanning mode, and then the total number of people passing through the target area in the specified time period can be accurately determined according to the MAC address related information and the code scanning related information.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic view of an application scenario of a people counting method provided in this specification according to an exemplary embodiment of the specification;
FIG. 2 is an example of a target area;
FIG. 3 is a flowchart of an embodiment of a people counting method provided by an exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of an embodiment of a people counting device provided in an exemplary embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a more specific hardware structure of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
Please refer to fig. 1, which is a schematic diagram of an application scenario of the people counting method provided in the present specification according to an exemplary embodiment of the present specification.
As shown in fig. 1, taking a subway station 100 as an example, a plurality of gate ports, for example, gate port 1 to gate port 25, may be provided in the subway station 100, and in this embodiment, an advertisement projection screen 101 and a WiFi probe 102 are further provided in the subway station 100. The detection range of the WiFi probe 102 may include the entire subway station 100, that is, the MAC addresses of all the devices present in the subway station 100 may be detected by the WiFi probe 102.
In the application scenario illustrated in fig. 1, a target area (not shown in fig. 1) may be set based on the position of the advertisement delivery screen 101, for example, as shown in fig. 2, which is an example of the target area, the target area is a semicircular area with a radius of 8m, and by applying the people counting method provided in this specification, the total number of people passing through the target area in a specified time period may be counted, so as to assist a merchant in knowing whether the position of the advertisement delivery screen 101 is reasonable.
It should be noted that, if the embodiments of the present disclosure aim to count the total number of people passing through the target area within a specified time period, the WiFi probe 102 may be disposed in the target area or near the target area.
As follows, the following embodiment is shown to explain the people counting method in detail based on the application scenario illustrated in fig. 1.
Referring to fig. 3, a flowchart of an embodiment of a people counting method according to an exemplary embodiment of the present disclosure is provided, where the method may include the following steps based on the application scenario shown in fig. 1:
step 302: and acquiring the MAC address related information detected by the WiFi probe in a specified time period.
Based on the application scenario diagram illustrated in fig. 1, the WiFi probe 102 may detect MAC addresses of all devices present in the subway station 100, for example, when a user enters the subway station 100, if the user carries a mobile device, such as a smart phone, and a WiFi connection function of the mobile device is in an on state, the WiFi probe 102 may detect the MAC address of the mobile device, and at the same time, the WiFi probe may record a time when the MAC address is detected (for description, the time is referred to as a detection time).
In this embodiment, when the WiFi probe 102 detects a MAC address, the WiFi probe 102 may further obtain a signal strength of detecting the MAC address, and it can be understood by those skilled in the art that the signal strength is in a negative correlation with a detection distance, that is, the detection distance is larger, the signal strength is smaller, and in a real scene, after a user enters the subway station 100, the user will be in a walking state, that is, the distance between the user and the WiFi probe 102 is in a change state, so that the signal strength of the MAC address detected by the WiFi probe 102 will also be in the change state.
In the embodiments of the present specification, the MAC address, the probe time, and the signal strength may be collectively referred to as MAC address related information.
As can be seen from the above description, the WiFi probe 102 detects a piece of MAC address related information every time a user station-entering behavior occurs. In addition, as will be appreciated by those skilled in the art, the WiFi probe 102 may also detect MAC address related information of routers or other network-enabled devices present within the subway station 100.
In this embodiment, after the WiFi probe 102 detects the MAC address related information, the MAC address related information is uploaded to a cloud server (not shown in fig. 1), so that the cloud server can obtain the MAC address related information detected by the WiFi probe 102 in a specified time period, for example, 8 to 9 am.
Step 304: and acquiring code scanning related information acquired by each gate in a specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode.
Among the prior art, the user can use and sweep a yard mode and pass through the floodgate mouth, should sweep a yard mode and mean, the user is at the mobile device that it carried, for example install specific application on the smart mobile phone, for example pay precious APP, when passing through the floodgate mouth, the user then can show a two-dimensional code through this specific application to with this two-dimensional code aim at the yard screen of sweeping of floodgate mouth, wait to sweep a yard success back, the floodgate mouth is opened automatically promptly.
Based on the above description, when the user passes through the gate by using the code scanning method, a code scanning related message may be generated, and the code scanning related message at least may include: the code scanning time, the user ID and the gate port ID, wherein the user ID refers to the user ID registered by the user based on the specific application program, such as a Payment account number. Therefore, when the user uses the code scanning mode to pass through the behavior of the gate port every time, the gate port can acquire a piece of code scanning related information.
In this specification, each gate port may upload the collected code scanning related information to the cloud server, so that the cloud server may acquire the code scanning related information collected by each gate port in a specified time period, for example, 8 to 9 am.
It should be noted that, when counting the number of people in the target area, the counted number of people passing through the target area in a time period may be shorter, for example, only one hour, and the time period may be representative in a day range, for example, an early peak period in work, and in an actual scene, it usually does not occur that a user enters and leaves the station in a shorter time period, so in this embodiment of the present specification, the code scanning related information collected in the specified time period usually does not include both the code scanning related information generated when the user enters the station and the code scanning related information generated when the user leaves the station.
It should be noted that, although in an actual scene, a situation that a user enters and leaves a station within a short period of time does not generally occur, but the possibility of the situation occurring cannot be completely eliminated, in the embodiment of the present specification, it is considered that the situation is only a sporadic situation, so that, in the situation, the influence on the subsequent people count is negligible when the relevant code scanning information collected in a specified time period includes both the code scanning information generated when the user enters the station and the code scanning information generated when the user leaves the station.
Step 306: and determining the total number of people passing through the target area in a specified time period according to the MAC address related information and the code scanning related information.
In this step, the cloud server may determine the total number S of people detected by the WiFi probe within a specified time period based on the MAC address related information acquired in step 3021
Based on the code scanning related information acquired in step 304, determining the total number S of people passing through any gate in a code scanning mode in a specified time period2
Based on the MA obtained in step 302C, the address related information and the code scanning related information acquired in the step 304 jointly determine that the total number S of people passes through any gate in a code scanning mode and is detected by the WiFi probe in a specified time period3
For any gate, determining the number Q of people passing through the gate in a code scanning mode in a specified time period based on the code scanning related information acquired in step 304i
For any gate, determining the number R of people passing through the gate in a code scanning mode in a specified time period according to the MAC address related information acquired in the step 302 and the code scanning related information acquired in the step 304, wherein the people are detected by the WiFi probe 102 and pass through a target areai
Wherein i is a natural number greater than 0 and not greater than N, and N is the number of gate openings, for example, the number of people passing through a gate opening numbered 1 by using a code scanning method can be recorded as Q1The number of people passing through the gate with the number of 2 in the code scanning mode is recorded as Q2The number of people passing through the gate with the number of 3 in the code scanning mode is recorded as Q3And so on, RiThe specific names of the components can be analogized, and the embodiments in the specification are not illustrated in a one-to-one way.
Finally, according to the above S1、S2、S3、QiAnd RiThe total number of persons S passing through the target area within a specified time period can be determined.
For each of the above S, as follows1、S2、S3、Qi、RiAnd the determination process of S is explained:
(1) for the above S1The determination process of (2) will be explained:
as can be known from the above description in step 302, the MAC address related information acquired in step 302 may include MAC address related information detected by the WiFi probe 102 when the user arrives at the station, and may also include MAC address related information of a router or other network-connectable devices existing in the subway station 100 and detected by the WiFi probe 102. Based on this, in this embodiment of the present specification, the MAC address related information detected when the user enters the station, that is, the MAC address related information corresponding to a natural person, may be first screened out from all the obtained MAC address related information.
Specifically, for any MAC address related information acquired in step 302, the pre-acquired user registration information is searched according to the MAC address included in the MAC address related information, where the user registration information may be acquired by the cloud server from a server corresponding to the specific application program and includes an association relationship between the user ID of the registered user and the MAC address commonly used by the registered user, and if the MAC address is found, it may be determined that the MAC address has an associated user ID, so that the MAC address may be considered to correspond to a natural person, that is, the MAC address related information corresponds to a natural person.
In one embodiment, every time a piece of MAC address related information corresponding to a natural person is confirmed, the MAC address related information can be preset to indicate the total number S of people detected by the WiFi probe 102 in a specified time period1Is processed by adding 1, as will be understood by those skilled in the art, this S1Is 0, then the total number of people S detected by the WiFi probe 102 within a specified time period can be found1
In another embodiment, considering that in an actual scenario, there may be a situation where the same user enters and exits the subway station multiple times in a short time, and the user may be detected by the WiFi probe 102 once every time the user enters the subway station, that is, every time an arrival behavior occurs, in this specification, multiple arrival behaviors of the same user in a short time may be combined into one arrival behavior. It should be noted that, in an actual scenario, even though a user may arrive at a station many times in a short time, the user usually arrives at a station twice in a short time, and the probability of occurrence of the two or more arrival behaviors is extremely low.
In an alternative implementation manner, the screened MAC address related information corresponding to one natural person may be grouped based on MAC addresses, where any MAC address related information included in each group includes the same MAC address. Subsequently, the following processing is performed for any packet:
if the grouping only comprises one piece of MAC address related information, the fact that the user corresponding to the grouping has one-time station-entering behavior in a specified time period can be directly determined, and at the moment, the preset information can be used for indicating the total number S of people detected by the WiFi probe 102 in the specified time period1The value of (c) is processed by adding 1.
If the packet includes two pieces of MAC address related information, that is, the user corresponding to the packet actually has two inbound behaviors, at this time, it may be determined whether a time interval between the two inbound behaviors is smaller than a preset time threshold according to detection times included in the two pieces of MAC address related information, if so, the two inbound behaviors may be merged into one inbound behavior, and if not, the merging is not performed, so that the number of times that the user corresponding to the packet is detected within a specified time period may be obtained.
For example, assume that the specified time period is 8 am to 9 am, and a user is in sequence at 8:05 and 8: 25, two times of entering the subway station 100, where the time interval between the two times of entering is 20 minutes and is smaller than a preset time threshold (for example, 30 minutes), then it may be considered that the user is detected only once within the specified time period; for another example, if a user enters a subway station twice at 8:05 and 8:50, and the time interval between two entering is 45 minutes, which is greater than the preset time interval, then it may be considered that the user is detected twice within the specified time period.
Subsequently based on the number of times, the total number of people S1The value of (2) is processed by adding value.
Thus, through the above processing, the total number of people S detected by the WiFi probe 102 in a specified time period can be obtained1
(2) For the above S2The determination process of (2) will be explained:
as can be seen from the above description of step 304, the user can pass through the gate by scanning the codeA piece of code scanning related information is generated, so that, in the embodiment of the present specification, the number of pieces of code scanning related information acquired in step 304 can be determined as the total number S of people passing through any gate in a code scanning manner within a specified time period2
(3) For the above S3The determination process of (2) will be explained:
in this embodiment, the following processing may be performed on any piece of code scanning related information to obtain the total number S of people that pass through any gate in a code scanning manner and are detected by the WiFi probe 102 in a specified time period3
Searching the user registration information according to the user ID included in the code scanning related information, if the user ID is found, acquiring the MAC address associated with the user ID, for convenience of description, referring the MAC address as a target MAC address, subsequently, determining whether the MAC address related information including the target MAC address exists in the acquired MAC address related information, for convenience of description, referring the MAC address related information including the target MAC address as target MAC address related information, subsequently, further judging whether the code scanning time included in the code scanning related information and the inbound start time and inbound end time of the inbound behavior corresponding to the target MAC address meet the preset judgment standard, if so, considering that the user identified by the user ID is in the designated time period, the total number S of people who pass through any gate port in a code scanning mode and are detected by the WiFi probe 102 can be preset to indicate that the total number S of people who pass through any gate port in a code scanning mode and are detected by the WiFi probe 102 in a specified time period3And adding 1.
In the above description, the preset judgment criteria may be:
the start time of the inbound action is-3 minutes < the code scanning time < the end time of the inbound action +3 minutes.
It should be noted that "3 minutes" in the above judgment standard is merely an example, and in practical applications, other values may be set, for example, 2 minutes and 4 minutes, and this is not limited in the examples of the present specification.
In this embodiment of the present specification, the inbound start time and the inbound end time of the inbound behavior corresponding to the target MAC address are defined as follows:
as can be seen from the above description, the WiFi probe 102 detects MAC address related information based on the inbound behavior of the user, and in combination with the processing procedure of combining two inbound behaviors of the user into one inbound behavior, one or two pieces of MAC address related information may correspond to the inbound behavior of the user, where, for an inbound behavior corresponding to only one piece of MAC address related information, both the start time and the end time of the inbound behavior may be defined as the detection time in the corresponding MAC address related information; for the inbound behavior corresponding to the two pieces of MAC address related information, the start time of the inbound behavior may be defined as the probe time in the first piece of MAC address related information corresponding to the inbound behavior, and the end time of the inbound behavior may be defined as the probe time in the second piece of MAC address related information corresponding to the inbound behavior.
(4) For the above QiThe determination process of (2) will be explained:
as can be seen from the above description in step 304, the code scanning related information includes the gate ID, and then, for any gate ID, the code scanning related information including the gate ID, and the number of pieces of code scanning related information including the gate ID can be determined, that is, the number Qi of people passing through the gate can be determined as a code scanning mode.
(5) For the above RiThe determination process of (2) will be explained:
first, as can be seen from the above description of step 302, the MAC address related information includes signal strength, and the stronger the signal strength, the closer the detection distance is, and the WiFi probe is disposed in or near the target area, so that the user passing through the target area can be determined according to the signal strength.
Based on this, in the above determination S3Based on the described process, if the station-entering start time and station-entering end time of the station-entering behavior corresponding to the relevant information of the target MAC address are determined, andif the code scanning time included in the code scanning related information meets the judgment standard, whether the signal intensity included in the target MAC address related information is greater than a preset signal intensity threshold value or not can be continuously determined, if yes, the preset representation can pass through the gate by using a code scanning mode, and is detected by the WiFi probe 102, and the number of people R passing through the target areaiAnd adding 1.
(6) The determination process of S described above is explained:
first, according to the above S1And S3Determining the proportion P of users passing through any gate port by using a code scanning mode1Wherein the P is1Specifically, the number of people passing through any gate opening by using a code scanning mode accounts for the proportion of the total number of people passing through any gate opening, and based on statistics, the number of people can be calculated by the following formula (I):
Figure BDA0001860475310000111
then, according to the above S2And S3Determining the detectivity P of the WiFi probe2Wherein the P is2The table specifically indicates that the number of people detected by the WiFi probe accounts for the proportion of the total number of people passing through any gate, and based on statistics, the number of people can be calculated by the following formula (two):
Figure BDA0001860475310000112
again, any gate port can be targeted according to P above2And RiDetermining the number of people T passing through the gate in a code scanning mode and passing through the target areaiBased on statistics, TiCan be calculated by the following formula (three):
Figure BDA0001860475310000113
wherein, the number of people passing through the target area is recorded as T by using a code scanning mode through a gate opening with the number of 11To makeThe number of people passing through the gate with the number of 2 is marked as T by a code scanning way2And so on.
Thirdly, for any gate port, the T can be usediAnd QiDetermining the probability C of the user passing through the target area when passing through the gateiBased on statistics, CiCan be calculated by the following formula (iv):
Figure BDA0001860475310000114
wherein, when the user passes through the gate with the number of 1, the probability of passing through the target area is marked as C1When the user passes through the gate opening with the number of 2, the probability of passing through the target area is marked as C2And so on.
Thirdly, for any gate port, the above P can be used1And QiDetermining the number of people passing through the gate in a specified time period to be MiBased on statistics, MiCan be calculated by the following formula (five):
Figure BDA0001860475310000115
wherein the number of people passing through the gate with the number of 1 is recorded as M1The number of people passing through the gate with the number of 2 is recorded as M2And so on.
Finally, the C of any gate port can be determinediAnd MiDetermining the total number S of people passing through the target area in the specified time period, wherein S can be calculated by the following formula (six) based on statistics:
Figure BDA0001860475310000121
according to the technical scheme provided by the embodiment of the specification, the MAC address related information detected by the WiFi probe in the specified time period is acquired, the code scanning related information collected by each gate in the specified time period is acquired, the code scanning related information is generated when a user passes through the gates in a code scanning mode, and then the total number of people passing through the target area in the specified time period can be accurately determined according to the MAC address related information and the code scanning related information.
Corresponding to the above method embodiment, an embodiment of the present specification further provides a people counting apparatus, and referring to fig. 4, a block diagram of an embodiment of the people counting apparatus provided for an exemplary embodiment of the present specification, where the apparatus may include: a first acquisition module 41, a second acquisition module 42, and a headcount determination module 43.
The first obtaining module 41 is configured to obtain relevant information of the MAC address detected by the WiFi probe in a specified time period;
the second obtaining module 42 is configured to obtain code scanning related information collected by each gate in the specified time period, where the code scanning related information is generated when a user passes through the gate in a code scanning manner;
and a head count determining module 43, configured to determine the head count of the target area passing through the designated time period according to the MAC address related information and the code scanning related information.
In one embodiment, the MAC address related information at least includes: MAC address, probe time, and signal strength;
the code scanning related information at least comprises: code scanning time, user ID, gate ID.
In one embodiment, the headcount determination module 43 includes (not shown in FIG. 4):
a first determining submodule, configured to determine, according to the MAC address related information, a total number S of people detected by the WiFi probe within the specified time period1
A second determining submodule, configured to determine, according to the MAC address related information and the code scanning related information, that the total number S of people who pass through any gate in a code scanning manner and are detected by the WiFi probe is within the specified time period3
A third determination submodule for determining for any one ofThe gate opening determines the number Q of people passing through the gate opening in a code scanning mode in the specified time period according to the code scanning related informationiAnd determining the total number S of people passing through any gate opening by using a code scanning mode2Wherein i is a natural number which is greater than 0 and not greater than N, and N is the number of the gate ports;
a fourth determining submodule, configured to determine, for any one of the gatekeepers, according to the MAC address related information and the code scanning related information, that the number R of people who pass through the gatekeeper portal in the designated time period in a code scanning manner, are detected by the WiFi probe, and pass through the target areai
A fifth determining submodule for determining according to the S1The S2The S3Said QiAnd said R isiDetermining a head count S that passes through the target area within the specified time period.
In an embodiment, the first determination submodule comprises (not shown in fig. 4):
aiming at any MAC address related information, processing the information as follows to obtain the total number S of people detected by the WiFi probe in the specified time period1
The first searching submodule is used for searching the pre-acquired user registration information according to the MAC address included in the MAC address related information, wherein the user registration information includes the association relationship between the user ID of the registered user and the MAC address;
a first statistic submodule, configured to find the MAC address included in the MAC address related information, and detect a total number S of people detected by the WiFi probe1Adding 1; wherein, the S1Is 0;
the search submodule and the first statistic submodule are matched with each other to realize the processing aiming at any MAC address related information and obtain the total number S of people detected by the WiFi probe in the specified time period1
In an embodiment, the second determination submodule comprises (not shown in fig. 4):
the second searching submodule is used for searching the pre-acquired user registration information according to the user ID included in the code scanning related information, wherein the user registration information comprises the association relationship between the user ID of the registered user and the MAC address;
the acquisition submodule is used for acquiring a target MAC address associated with the user ID if the user ID included in the code scanning related information is found;
a second statistical submodule, configured to determine whether target MAC address related information including the target MAC address exists in the obtained MAC address related information, if yes, continue to determine an inbound start time and an inbound end time of an inbound behavior corresponding to the target MAC address related information, and determine whether a code scanning time included in the code scanning related information meets a preset determination criterion, and if yes, use a code scanning mode to pass through any one of the gateway ports, and determine a total number S of people detected by the WiFi probe3Adding 1; wherein, the S3Is 0;
the second searching submodule, the acquiring submodule and the second counting submodule are matched with each other to realize the processing aiming at any code scanning related information, and the total number S of people detected by the WiFi probe through any gate in a code scanning mode in the specified time period3
In an embodiment, the third determining sub-module is specifically configured to:
according to the gate port numbers included in the code scanning related information, determining the number Q of people passing through each gate port in a code scanning mode in the specified time periodi
In an embodiment, the fourth determining sub-module is specifically configured to:
if the inbound start time and the inbound end time of the inbound behavior corresponding to the target MAC address related information and the code scanning time included in the code scanning related information meet the judgment standard, determining whether the signal intensity included in the target MAC address related information is greater than a preset signal intensity threshold value, if so, determining whether the signal intensity included in the target MAC address related information is greater than the preset signal intensity threshold valueThe number R of people passing through the gate in a code scanning mode and detected by the WiFi probe and passing through the target areaiAdding 1;
wherein, R isiIs 0.
In an embodiment, said fifth determination submodule comprises (not shown in fig. 4):
a sixth determining submodule for determining according to the S1And said S3Determining the proportion P of users passing through any gate port by using a code scanning mode1
A seventh determining submodule according to the S2And said S3Determining the detectivity P of the WiFi probe2
An eighth determining submodule for determining whether any of the gate ports is operated according to the P2And said RiDetermining the number of people T who pass through the gate in a code scanning mode and pass through the target areai(ii) a According to T of the gate portiAnd QiDetermining the probability C of the user passing through the target area when passing through the gatei(ii) a According to said P1And Q of the gate portiDetermining the number M of people passing through the gate in the specified time periodi
A ninth determination submodule according to C of any one of the gate portsiAnd MiAnd determining the total number S of people passing through the target area in the specified time period.
It should be understood that the first acquiring module 41, the second acquiring module 42, and the head count determining module 43 may be configured in the apparatus at the same time as shown in fig. 4 or separately as three independent modules, and therefore the structure shown in fig. 4 should not be construed as limiting the embodiment of the present specification.
In addition, the implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again. The present specification further provides a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the people counting method when executing the program. The method at least comprises the following steps: acquiring MAC address related information detected by a WiFi probe in a specified time period; acquiring code scanning related information acquired by each gate in the specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode; and determining the total number of people passing through the target area in the specified time period according to the MAC address related information and the code scanning related information.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of a computer device according to an embodiment of the present disclosure, where the device may include: a processor 510, a memory 520, an input/output interface 530, a communication interface 540, and a bus 550. Wherein processor 510, memory 520, input/output interface 530, and communication interface 540 are communicatively coupled to each other within the device via bus 550.
The processor 510 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 520 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 520 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 520 and called by the processor 510 for execution.
The input/output interface 530 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 540 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 550 includes a pathway to transfer information between various components of the device, such as processor 510, memory 520, input/output interface 530, and communication interface 540.
It should be noted that although the above-mentioned device only shows the processor 510, the memory 520, the input/output interface 530, the communication interface 540 and the bus 550, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the people counting method described above. The method at least comprises the following steps: acquiring MAC address related information detected by a WiFi probe in a specified time period; acquiring code scanning related information acquired by each gate in the specified time period, wherein the code scanning related information is generated when a user passes through the gate in a code scanning mode; and determining the total number of people passing through the target area in the specified time period according to the MAC address related information and the code scanning related information.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (15)

1.一种人数统计方法,用于统计指定时间段内经过目标区域的总人数,所述目标区域位于指定场所内,所述指定场所内布设有WiFi探针和多个闸机口,所述WiFi探针用于探测所述指定场所内设备的MAC地址相关信息,所述闸机口用于供用户使用扫码方式通过所述闸机口;所述方法包括:1. A people counting method for counting the total number of people passing through a target area within a specified time period, the target area being located in a designated place, and a WiFi probe and a plurality of gates are arranged in the designated place, and the The WiFi probe is used to detect the MAC address related information of the equipment in the designated place, and the gate is used for users to pass through the gate by scanning a code; the method includes: 获取所述WiFi探针在指定时间段内探测到的MAC地址相关信息;Acquire information about the MAC address detected by the WiFi probe within a specified time period; 获取各个闸机口在所述指定时间段内采集到的扫码相关信息,所述扫码相关信息为用户使用扫码方式通过闸机口时产生的;Acquire the relevant information of scanning code collected by each gate within the specified time period, and the relevant information of scanning code is generated when the user passes through the gate by scanning the code; 根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内经过所述目标区域的总人数;Determine the total number of people passing through the target area within the specified time period according to the MAC address related information and the code scanning related information; 所述根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内经过所述目标区域的总人数,包括:Determining the total number of people passing through the target area within the specified time period according to the MAC address related information and the scanning code related information, including: 根据所述MAC地址相关信息,确定在所述指定时间段内,被所述WiFi探针探测到的总人数S1Determine the total number of people S 1 detected by the WiFi probe within the specified time period according to the MAC address related information; 根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3According to the MAC address related information and the scan code related information, determine the total number of people S 3 that pass through any gate in the scan code mode and are detected by the WiFi probe within the specified time period; 针对任一闸机口,根据所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口的人数Qi,并确定使用扫码方式通过任一闸机口的总人数S2,其中,所述i为大于0,且不超过N的自然数,所述N为闸机口数量;For any gate, according to the relevant information about scanning the code, determine the number of people Q i who pass through the gate by scanning the code within the specified time period, and determine whether to pass through any gate by scanning the code. The total number of people S 2 at the gate, wherein the i is a natural number greater than 0 and no more than N, and the N is the number of gates; 针对任一闸机口,根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口,且被所述WiFi探针探测到,且经过所述目标区域的人数RiFor any gate, according to the MAC address-related information and the scan code-related information, it is determined that within the specified time period, the code-scanning method is used to pass through the gate and be detected by the WiFi probe to, and the number of people R i passing through the target area; 根据所述S1、所述S2、所述S3、所述Qi,以及所述Ri确定在所述指定时间段内,经过所述目标区域的总人数S。According to the S 1 , the S 2 , the S 3 , the Q i , and the R i , the total number of people S passing through the target area within the specified time period is determined. 2.根据权利要求1所述的方法,所述MAC地址相关信息至少包括:MAC地址、探测时间,以及信号强度;2. The method according to claim 1, wherein the MAC address related information at least comprises: MAC address, detection time, and signal strength; 所述扫码相关信息至少包括:扫码时间、用户ID、闸机口ID。The scan code related information at least includes: scan code time, user ID, and gate ID. 3.根据权利要求2所述的方法,所述根据所述MAC地址相关信息,确定在所述指定时间段内,被所述WiFi探针探测到的总人数S1,包括:3. The method according to claim 2, wherein determining, according to the MAC address-related information, the total number of people S 1 detected by the WiFi probe within the specified time period, comprising: 针对任一所述MAC地址相关信息进行如下处理,得到在所述指定时间段内,被所述WiFi探针探测到的总人数S1Perform the following processing on any of the MAC address related information to obtain the total number of people S 1 detected by the WiFi probe within the specified time period: 根据所述MAC地址相关信息中包括的MAC地址,查找预先获取的用户注册信息,所述用户注册信息包括已注册用户的用户ID和MAC地址的关联关系;According to the MAC address included in the MAC address related information, search for pre-acquired user registration information, where the user registration information includes the association relationship between the user ID and the MAC address of the registered user; 若查找到所述MAC地址相关信息中包括的MAC地址,则将被所述WiFi探针探测到的总人数S1加1;If the MAC address included in the MAC address related information is found, add 1 to the total number of people S1 detected by the WiFi probe; 其中,所述S1的初始值为0。Wherein, the initial value of S1 is 0. 4.根据权利要求2所述的方法,所述根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3,包括:4. The method according to claim 2, wherein according to the MAC address related information and the scanning code related information, it is determined that within the specified time period, the code scanning method is used to pass through any gate, and is The total number of people S 3 detected by the WiFi probe includes: 针对任一所述扫码相关信息进行如下处理,得到在所述指定时间段内,使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3Perform the following processing on any of the scan code related information to obtain the total number of people S 3 that pass through any gate in the scan code method and are detected by the WiFi probe within the specified time period: 根据所述扫码相关信息中包括的用户ID,查找预先获取的用户注册信息,所述用户注册信息包括已注册用户的用户ID和MAC地址的关联关系;Search for pre-acquired user registration information according to the user ID included in the code scanning related information, where the user registration information includes the association relationship between the user ID and the MAC address of the registered user; 若查找到所述扫码相关信息中包括的用户ID,则获取所述用户ID关联的目标MAC地址;If the user ID included in the scan code related information is found, obtain the target MAC address associated with the user ID; 在所获取到的MAC地址相关信息中,确定是否存在包括所述目标MAC地址的目标MAC地址相关信息,若存在,则继续判断所述目标MAC地址相关信息所对应的进站行为的进站开始时间、进站结束时间,与所述扫码相关信息中包括的扫码时间是否满足预设的判断标准,若满足,则将使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3加1;In the acquired MAC address related information, determine whether there is target MAC address related information including the target MAC address, and if so, continue to judge the inbound start of the inbound behavior corresponding to the target MAC address related information time, end time of entering the station, whether the scanning time included in the scanning code related information meets the preset judgment criteria, if so, the scanning code will be used to pass through any gate, and will be detected by the WiFi. The total number of people detected by the needle S 3 plus 1; 其中,所述S3的初始值为0。Wherein, the initial value of S 3 is 0. 5.根据权利要求2所述的方法,所述针对任一闸机口,根据所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口的人数Qi,包括:5 . The method according to claim 2 , wherein for any gate, according to the relevant information about scanning the code, determine the number of people Q who pass through the gate by scanning the code within the specified time period. 6 . i , including: 根据所述扫码相关信息中包括的闸机口ID,确定在所述指定时间段内,使用扫码方式通过各个闸机口的人数QiAccording to the gate ID included in the code scanning related information, the number of people Qi who pass through each gate by scanning the code within the specified time period is determined . 6.根据权利要求4所述的方法,所述针对任一闸机口,根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口,且被所述WiFi探针探测到,且经过所述目标区域的人数Ri,包括:6. The method according to claim 4, wherein for any gate, it is determined, according to the MAC address related information and the scan code related information, to use the scan code method to pass all the gates within the specified time period. The number of people R i detected by the WiFi probe and passing through the target area includes: 若所述目标MAC地址相关信息所对应的进站行为的进站开始时间、进站结束时间,与所述扫码相关信息中包括的扫码时间满足所述判断标准,则继续确定所述目标MAC地址相关信息中包括的信号强度是否大于预设的信号强度阈值,若是,则将使用扫码方式通过所述闸机口,且被所述WiFi探针探测到,且经过所述目标区域的人数Ri加1;If the inbound start time, inbound end time of the inbound behavior corresponding to the target MAC address related information, and the scan time included in the scan code related information meet the judgment criteria, then continue to determine the target Whether the signal strength included in the MAC address related information is greater than the preset signal strength threshold; Number R i plus 1; 其中,所述Ri的初始值为0。Wherein, the initial value of R i is 0. 7.根据权利要求1所述的方法,所述根据所述S1、所述S2、所述S3、所述Qi,以及所述Ri,确定在所述指定时间段内,经过目标区域的总人数S,包括:7 . The method according to claim 1 , wherein according to the S 1 , the S 2 , the S 3 , the Qi , and the R i , it is determined that within the specified time period, after the The total number of people S in the target area, including: 根据所述S1和所述S3,确定使用扫码方式通过任一闸机口的用户比例P1According to the S 1 and the S 3 , determine the proportion P 1 of users who pass through any gate by scanning the code; 根据所述S2和所述S3,确定所述WiFi探针的探测率P2According to the S2 and the S3, determine the detection rate P2 of the WiFi probe ; 针对任一闸机口,根据所述P2和所述Ri,确定使用扫码方式通过所述闸机口,且经过所述目标区域的人数Ti;根据所述闸机口的Ti和Qi,确定用户从所述闸机口通过时,经过所述目标区域的概率Ci;根据所述P1和所述闸机口的Qi,确定在所述指定时间段内,通过所述闸机口的人数MiFor any gate, according to the P 2 and the R i , determine the number of people T i who pass through the gate by scanning the code and pass through the target area; according to the T i of the gate and Q i , determine the probability C i of the user passing through the target area when passing through the gate ; the number of people Mi at the gate; 根据任一闸机口的Ci和Mi,确定在所述指定时间段内,经过目标区域的总人数S。According to C i and Mi of any gate, the total number of people S passing through the target area within the specified time period is determined. 8.一种人数统计装置,用于统计指定时间段内经过目标区域的总人数,所述目标区域位于指定场所内,所述指定场所内布设有WiFi探针和多个闸机口,所述WiFi探针用于探测所述指定场所内设备的MAC地址相关信息,所述闸机口用于供用户使用扫码方式通过所述闸机口;所述装置包括:8. A people counting device for counting the total number of people passing through a target area within a specified time period, where the target area is located in a designated place, and a WiFi probe and a plurality of gates are arranged in the designated place, and the The WiFi probe is used to detect the MAC address related information of the equipment in the designated place, and the gate is used for users to pass through the gate by scanning a code; the device includes: 第一获取模块,用于获取所述WiFi探针在指定时间段内探测到的MAC地址相关信息;a first acquisition module, configured to acquire the MAC address-related information detected by the WiFi probe within a specified time period; 第二获取模块,用于获取各个闸机口在所述指定时间段内采集到的扫码相关信息,所述扫码相关信息为用户使用扫码方式通过闸机口时产生的;The second acquisition module is used to acquire the relevant information of scanning code collected by each gate within the specified time period, and the relevant information of scanning code is generated when the user passes through the gate by scanning the code; 总人数确定模块,根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内经过所述目标区域的总人数;The total number of people determination module, according to the MAC address related information and the scan code related information, to determine the total number of people passing through the target area within the specified time period; 所述总人数确定模块包括:The total number of people determining module includes: 第一确定子模块,用于根据所述MAC地址相关信息,确定在所述指定时间段内,被所述WiFi探针探测到的总人数S1a first determination submodule, configured to determine the total number of people S 1 detected by the WiFi probe within the specified time period according to the MAC address-related information; 第二确定子模块,用于根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3The second determination sub-module is configured to determine, according to the MAC address related information and the scan code related information, to use the scan code method to pass through any gate within the specified time period and be detected by the WiFi probe. the total number of people detected S 3 ; 第三确定子模块,用于针对任一闸机口,根据所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口的人数Qi,并确定使用扫码方式通过任一闸机口的总人数S2,其中,所述i为大于0,且不超过N的自然数,所述N为闸机口数量;The third determining sub-module is configured to, for any gate, determine the number of people Q i who pass through the gate by scanning the code within the specified time period according to the relevant information about scanning the code, and determine the number of people who pass through the gate by scanning the code. The total number of people S 2 passing through any gate by scanning the code, wherein the i is a natural number greater than 0 and no more than N, and N is the number of gates; 第四确定子模块,用于针对任一闸机口,根据所述MAC地址相关信息和所述扫码相关信息,确定在所述指定时间段内,使用扫码方式通过所述闸机口,且被所述WiFi探针探测到,且经过所述目标区域的人数RiThe fourth determination sub-module is configured to, for any gate, determine, according to the MAC address related information and the scan code related information, to use the code scan method to pass through the gate within the specified time period, and detected by the WiFi probe, and the number of people R i passing through the target area; 第五确定子模块,用于根据所述S1、所述S2、所述S3、所述Qi,以及所述Ri确定在所述指定时间段内,经过所述目标区域的总人数S。A fifth determination sub-module, configured to determine, according to the S 1 , the S 2 , the S 3 , the Qi , and the R i , the total amount of time passing through the target area within the specified time period. number of people S. 9.根据权利要求8所述的装置,所述MAC地址相关信息至少包括:MAC地址、探测时间,以及信号强度;9. The apparatus according to claim 8, wherein the MAC address related information at least comprises: MAC address, detection time, and signal strength; 所述扫码相关信息至少包括:扫码时间、用户ID、闸机口ID。The scan code related information at least includes: scan code time, user ID, and gate ID. 10.根据权利要求9所述的装置,所述第一确定子模块包括:10. The apparatus according to claim 9, wherein the first determination submodule comprises: 针对任一所述MAC地址相关信息进行如下处理,得到在所述指定时间段内,被所述WiFi探针探测到的总人数S1Perform the following processing on any of the MAC address related information to obtain the total number of people S 1 detected by the WiFi probe within the specified time period: 第一查找子模块,用于根据所述MAC地址相关信息中包括的MAC地址,查找预先获取的用户注册信息,所述用户注册信息包括已注册用户的用户ID和MAC地址的关联关系;a first search submodule, configured to search for pre-acquired user registration information according to the MAC address included in the MAC address related information, where the user registration information includes the association relationship between the user ID and the MAC address of the registered user; 第一统计子模块,用于若查找到所述MAC地址相关信息中包括的MAC地址,则将被所述WiFi探针探测到的总人数S1加1;其中,所述S1的初始值为0;The first statistics sub-module is configured to add 1 to the total number of people S1 detected by the WiFi probe if the MAC address included in the MAC address related information is found; wherein, the initial value of the S1 is 0; 所述查找子模块与所述第一统计子模块相互配合,实现针对任一所述MAC地址相关信息的处理,得到在所述指定时间段内,被所述WiFi探针探测到的总人数S1The search sub-module cooperates with the first statistics sub-module to process information related to any one of the MAC addresses to obtain the total number of people S detected by the WiFi probe within the specified time period 1 . 11.根据权利要求9所述的装置,所述第二确定子模块包括:11. The apparatus according to claim 9, the second determination submodule comprises: 第二查找子模块,用于根据所述扫码相关信息中包括的用户ID,查找预先获取的用户注册信息,所述用户注册信息包括已注册用户的用户ID和MAC地址的关联关系;The second search sub-module is used to search for pre-acquired user registration information according to the user ID included in the code scanning related information, where the user registration information includes the association relationship between the user ID and the MAC address of the registered user; 获取子模块,用于若查找到所述扫码相关信息中包括的用户ID,则获取所述用户ID关联的目标MAC地址;an acquisition sub-module, configured to acquire the target MAC address associated with the user ID if the user ID included in the scan code related information is found; 第二统计子模块,用于在所获取到的MAC地址相关信息中,确定是否存在包括所述目标MAC地址的目标MAC地址相关信息,若存在,则继续判断所述目标MAC地址相关信息所对应的进站行为的进站开始时间、进站结束时间,与所述扫码相关信息中包括的扫码时间是否满足预设的判断标准,若满足,则将使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3加1;其中,所述S3的初始值为0;The second statistics sub-module is configured to determine whether there is target MAC address related information including the target MAC address in the acquired MAC address related information, and if so, continue to judge the corresponding target MAC address related information The entry start time and entry end time of the entry behavior, and whether the scan time included in the code scan related information meets the preset judgment criteria, if so, the scan code will be used to pass through any gate. and the total number of people detected by the WiFi probe S3 is increased by 1 ; wherein, the initial value of the S3 is 0; 所述第二查找子模块、所述获取子模块,以及所述第二统计子模块相互配合,实现针对任一所述扫码相关信息的处理,得到在所述指定时间段内,使用扫码方式通过任一闸机口,且被所述WiFi探针探测到的总人数S3The second search sub-module, the acquisition sub-module, and the second statistics sub-module cooperate with each other to realize the processing of any of the scan code related information, and obtain the use of scan code within the specified time period. The total number of people S3 detected by the WiFi probe through any gate in the way. 12.根据权利要求8所述的装置,所述第三确定子模块具体用于:12. The apparatus according to claim 8, wherein the third determination submodule is specifically used for: 根据所述扫码相关信息中包括的闸机口ID,确定在所述指定时间段内,使用扫码方式通过各个闸机口的人数QiAccording to the gate ID included in the code scanning related information, the number of people Qi who pass through each gate by scanning the code within the specified time period is determined . 13.根据权利要求11所述的装置,所述第四确定子模块具体用于:13. The apparatus according to claim 11, wherein the fourth determination submodule is specifically used for: 若所述目标MAC地址相关信息所对应的进站行为的进站开始时间、进站结束时间,与所述扫码相关信息中包括的扫码时间满足所述判断标准,则确定所述目标MAC地址相关信息中包括的信号强度是否大于预设的信号强度阈值,若是,则将使用扫码方式通过所述闸机口,且被所述WiFi探针探测到,且经过所述目标区域的人数Ri加1;If the inbound start time, inbound end time of the inbound behavior corresponding to the target MAC address related information, and the scan time included in the scan code related information meet the judgment criteria, then the target MAC address is determined. Whether the signal strength included in the address-related information is greater than the preset signal strength threshold, and if so, the number of people who will pass through the gate by scanning the code and be detected by the WiFi probe and pass through the target area R i plus 1; 其中,所述Ri的初始值为0。Wherein, the initial value of R i is 0. 14.根据权利要求8所述的装置,所述第五确定子模块包括:14. The apparatus according to claim 8, wherein the fifth determination submodule comprises: 第六确定子模块,用于根据所述S1和所述S3,确定使用扫码方式通过任一闸机口的用户比例P1The sixth determination sub-module is configured to determine, according to the S 1 and the S 3 , the proportion P 1 of users who pass through any gate by scanning the code; 第七确定子模块,根据所述S2和所述S3,确定所述WiFi探针的探测率P2The seventh determination sub-module determines the detection rate P 2 of the WiFi probe according to the S 2 and the S 3 ; 第八确定子模块,针对任一闸机口,根据所述P2和所述Ri,确定使用扫码方式通过所述闸机口,且经过所述目标区域的人数Ti;根据所述闸机口的Ti和Qi,确定用户从所述闸机口通过时,经过所述目标区域的概率Ci;根据所述P1和所述闸机口的Qi,确定在所述指定时间段内,通过所述闸机口的人数MiThe eighth determination sub-module, for any gate, according to the P 2 and the R i , to determine the number of people T i who pass through the gate and the target area by scanning the code; according to the Ti and Qi of the gate , determine the probability C i of the user passing through the target area when passing through the gate ; according to the P 1 and the Qi of the gate , determine Within a specified time period, the number of people Mi passing through the gate; 第九确定子模块,根据任一闸机口的Ci和Mi,确定在所述指定时间段内,经过目标区域的总人数S。The ninth determination sub-module determines, according to C i and M i of any gate, the total number of people S passing through the target area within the specified time period. 15.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1-7任一项所述的方法。15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the program as claimed in any one of claims 1 to 7 when the processor executes the program. method described.
CN201811332854.4A 2018-11-09 2018-11-09 A people counting method, device, and computer equipment Expired - Fee Related CN110012495B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202010489702.6A CN111654880B (en) 2018-11-09 2018-11-09 People counting method and device and computer equipment
CN201811332854.4A CN110012495B (en) 2018-11-09 2018-11-09 A people counting method, device, and computer equipment
TW108129106A TWI724497B (en) 2018-11-09 2019-08-15 People counting method, device and computer equipment
PCT/CN2019/110018 WO2020093831A1 (en) 2018-11-09 2019-10-08 Method and apparatus for counting number of people, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811332854.4A CN110012495B (en) 2018-11-09 2018-11-09 A people counting method, device, and computer equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010489702.6A Division CN111654880B (en) 2018-11-09 2018-11-09 People counting method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN110012495A CN110012495A (en) 2019-07-12
CN110012495B true CN110012495B (en) 2020-04-14

Family

ID=67164881

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010489702.6A Active CN111654880B (en) 2018-11-09 2018-11-09 People counting method and device and computer equipment
CN201811332854.4A Expired - Fee Related CN110012495B (en) 2018-11-09 2018-11-09 A people counting method, device, and computer equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010489702.6A Active CN111654880B (en) 2018-11-09 2018-11-09 People counting method and device and computer equipment

Country Status (3)

Country Link
CN (2) CN111654880B (en)
TW (1) TWI724497B (en)
WO (1) WO2020093831A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654880B (en) * 2018-11-09 2023-01-20 创新先进技术有限公司 People counting method and device and computer equipment
CN110706376B (en) * 2019-08-02 2021-09-28 创新先进技术有限公司 People flow rate statistical method and device
CN112070955B (en) * 2020-09-16 2025-01-03 陈耀相 A dynamic face QR code visitor intelligent gate
CN112785759B (en) * 2021-01-22 2023-05-23 支付宝(杭州)信息技术有限公司 System and method for passenger flow statistics
CN113705852A (en) * 2021-05-13 2021-11-26 北京金山云网络技术有限公司 Crowd density early warning method and device, electronic equipment and storage medium
CN114333123B (en) * 2021-12-13 2024-08-16 南京熊猫电子股份有限公司 Gate passing detection method, equipment and medium based on laser ranging element group
CN116056013A (en) * 2023-01-18 2023-05-02 武汉大学 A classroom population monitoring method, system, equipment and storage medium
CN117152913A (en) * 2023-10-27 2023-12-01 青岛天眼物联科技有限公司 Drowning prevention device, system and method
CN117404784A (en) * 2023-11-23 2024-01-16 北京中金云网科技有限公司 Energy-saving fan ventilation control method for data center based on Internet of Things
CN118692022B (en) * 2024-06-17 2025-02-07 深圳市创世纪科技发展有限公司 Intelligent temporary platform non-contact image recognition mobile control method and system
CN119888904B (en) * 2025-03-26 2025-07-01 杭州八爪鱼微电子有限公司 Intelligent lock non-inductive passing method and system based on millimeter wave and Bluetooth

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616365B (en) * 2015-02-03 2017-12-26 同济大学 A kind of attendance system and method
WO2016187829A1 (en) * 2015-05-27 2016-12-01 裴峤 Interactive mobile advertisement delivery system based on user personalization and return mechanism
US9998868B2 (en) * 2015-06-05 2018-06-12 International Business Machines Corporation Mobile device proximity notification
CN105205554B (en) * 2015-09-16 2019-06-11 中国矿业大学(北京) A method and system for predicting queuing time in a subway station
CN105844742B (en) * 2016-03-20 2018-08-24 立德高科(昆山)数码科技有限责任公司 The method and system that the tourist's quantity for entering scenic spot is controlled based on Quick Response Code
CN205722035U (en) * 2016-04-13 2016-11-23 上海三吉电子工程有限公司 Passenger flow analysis system
CN106295513B (en) * 2016-07-26 2020-01-31 中电海康集团有限公司 People counting method and device based on residence time probability distribution
CN106341465A (en) * 2016-08-30 2017-01-18 成都西加云杉科技有限公司 Statistical method, device and system of passenger flow and population flow distribution
CN108022000A (en) * 2016-10-28 2018-05-11 浙江师范大学 A kind of metro passenger flow Early-Warning System and method
CN107066978A (en) * 2017-04-18 2017-08-18 云熠信息科技有限公司 Crowd information acquisition and analysis method and system
CN107360590A (en) * 2017-06-29 2017-11-17 上海工程技术大学 Track station part congestion points passenger flow condition judgement method
CN107995649A (en) * 2017-11-28 2018-05-04 四川长虹电器股份有限公司 Realize that the method and system of flow of the people is checked card or counted in attendance by WIFI probes
CN111654880B (en) * 2018-11-09 2023-01-20 创新先进技术有限公司 People counting method and device and computer equipment

Also Published As

Publication number Publication date
CN111654880B (en) 2023-01-20
WO2020093831A1 (en) 2020-05-14
CN110012495A (en) 2019-07-12
TW202019198A (en) 2020-05-16
CN111654880A (en) 2020-09-11
TWI724497B (en) 2021-04-11

Similar Documents

Publication Publication Date Title
CN110012495B (en) A people counting method, device, and computer equipment
US20200342393A1 (en) Inventorying items using image data
US20220012282A1 (en) Coordinating communication and/or storage based on image analysis
US10375354B2 (en) Video communication using subtractive filtering
CN107278369A (en) Method, device and communication system for personnel search
US10360634B2 (en) Virtual home inspection
JP6540314B2 (en) Facility estimation method, device and program
US10171985B1 (en) Method and apparatus for data sharing
WO2021093375A1 (en) Method, apparatus, and system for detecting people walking together, electronic device and storage medium
US20190208115A1 (en) Identifying User Intent for Auto Selfies
CN110009090A (en) Neural metwork training and image processing method and device
EP3418967A1 (en) Method relating to presence granularity with augmented reality
US10425579B2 (en) Social camera for auto group selfies
US20220084056A1 (en) Methods and apparatuses for managing visitor information, electronic devices and storage media
CN105659286A (en) Automated image cropping and sharing
KR102303044B1 (en) Apparatus for Real Estate Appraisal Service and Driving Method Thereof
CN103916513A (en) Method and device for recording communication message at communication terminal
TWI724530B (en) Offline self-service settlement method, device and system
CN106488031B (en) A terminal use reminding method and terminal
WO2017031905A1 (en) Social relationship analysis method and device
TWI706332B (en) Graphic coding display method and device and computer equipment
TW202242715A (en) Identity recognition method electronic equipment and computer-readable storage medium
CN111753266A (en) User authentication method, multimedia content push method and device
CN106302629A (en) A kind of information-pushing method and device
WO2022257306A1 (en) Identity identification method and apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200414

CF01 Termination of patent right due to non-payment of annual fee