Passenger flow volume statistical method combined with equipment MAC (Media Access Control) filtering mechanism

Through intelligent algorithm combined with the device MAC filtering mechanism, filtering is performed based on MAC manufacturers, preset elements and residence time, solving the problem that the traditional MAC address filtering mechanism cannot accurately distinguish customer equipment, and achieving more accurate and reliable customer flow statistics.

CN119182680APending Publication Date: 2024-12-24ETONE INFORMATION TECH (SHANGHAI) CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411308064.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The traditional MAC address filtering mechanism cannot accurately distinguish whether it is a customer equipment or other non-customer equipment entering the detection range, resulting in inaccurate customer flow statistics.

Method used

Through intelligent algorithms combined with the device MAC filtering mechanism, filtering is performed based on the MAC manufacturer, preset elements and residence time, and the MAC records of fixed devices, pseudo-MAC addresses and non-visitor employees are eliminated to ensure the accuracy and reliability of statistical data. The specific steps include: filtering the whitelist of mismatched manufacturers based on the MAC manufacturers, analyzing the preset location of the MAC address, setting the maximum residence time threshold, filtering the residence time, and identifying non-visitor MACs.

Benefits of technology

It improves the accuracy and reliability of passenger flow statistics, ensures the accuracy of statistical data, effectively eliminates pseudo-MAC and non-visitor equipment, and enhances the credibility of statistical results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005049843330000011
    Figure HDA0005049843330000011
  • Figure HDA0005049843330000021
    Figure HDA0005049843330000021
  • Figure HDA0005049843330000022
    Figure HDA0005049843330000022
Patent Text Reader

Abstract

The invention discloses a passenger flow statistical method combined with an equipment MAC (Media Access Control) filtering mechanism, which comprises the following steps of: S1, filtering according to MAC manufacturers so as to filter out MAC which is not matched with a manufacturer white list; s2, filtering according to the preset element, analyzing the preset position of the MAC address of the terminal equipment to judge whether the element at the preset position is the preset element or not, if so, retaining the MAC address, and if not, filtering the MAC address; and S3, filtering according to the residence time in the specified time period so as to filter out non-visitor MAC (Media Access Control). According to the passenger flow volume statistical method combined with the equipment MAC filtering mechanism disclosed by the invention, fixed equipment, pseudo MAC addresses and MAC records of non-visitor employees are effectively eliminated through an intelligent algorithm, so that the accuracy and reliability of statistical data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of passenger flow statistics, and in particular relates to a passenger flow statistics method combined with a device MAC filtering mechanism. Background Art

[0002] Traditional MAC address filtering mechanisms rely on the number of MAC addresses captured by detection devices (such as Wi-Fi access points) to count customer traffic. However, this method cannot accurately distinguish whether the devices entering the detection range are customer devices or other non-customer devices (such as smart collars on pets, smart home devices, etc.), resulting in inaccurate statistical results.

[0003] Therefore, further improvements are made to the above problems. Summary of the invention

[0004] The main purpose of the present invention is to provide a passenger flow statistics method combined with a device MAC filtering mechanism, which effectively eliminates MAC records of fixed devices, pseudo MAC addresses and non-visitor employees through an intelligent algorithm, thereby ensuring the accuracy and reliability of statistical data.

[0005] To achieve the above objectives, the present invention provides a passenger flow statistics method combined with a device MAC filtering mechanism, comprising the following steps:

[0006] Step S1: Filter according to MAC manufacturers to filter out MACs that do not match the manufacturer's whitelist;

[0007] Step S2: Filter according to the preset elements (filter out fake MACs), analyze the preset position of the MAC address of the terminal device (whether the second hexadecimal digit of the first byte of the MAC address is {0,4,8,C}) to determine whether the element at the preset position is a preset element, if so, retain the MAC address, otherwise filter the MAC address;

[0008] Step S3: Filter according to the residence time within the specified time period to filter out non-guest MACs.

[0009] As a further preferred technical solution of the above technical solution, step S1 is specifically implemented as follows:

[0010] Step S1.1: Obtain an OUI (Organizationally Unique Identifier) ​​document from an official channel (such as obtaining an oui.txt file from the IEEE official website), process the document, extract the mapping information between the OUI document and the vendor, store it in a database, and set a vendor whitelist based on the database;

[0011] Step S1.2: Get the first three bytes of the MAC address of the on-site visitor (i.e., the OUI, so that the corresponding manufacturer name can be viewed), and apply a regular expression to each MAC address for matching (i.e., match the OUI obtained on-site with the OUI in the manufacturer's whitelist). If the match is successful, it is considered to be a device from a specified manufacturer, and the MAC address is retained for passenger flow statistics; if the match fails, the MAC address is filtered out (if it does not match, it is considered to be a fixed device and is removed).

[0012] As a further preferred technical solution of the above technical solution, step S3 is specifically implemented as the following steps:

[0013] Step S3.1: setting a maximum stay time threshold according to actual conditions (for example, setting the maximum stay time to 8 hours per day);

[0014] Step S3.2: Create a data structure to screen the MACs that exceed the maximum residence time threshold every day, and store the MAC, the residence time, the first appearance time and the number of appearances of the MAC in the database R, waiting for subsequent operations;

[0015] Step S3.3: Set a time range threshold (such as one week, one month, etc.) and a maximum number of occurrences threshold. When the MAC in database R reaches the maximum number of occurrences within the specified time range, store the MAC in database N;

[0016] Step S3.4: Identify the MAC in the database N as a non-guest MAC and filter out the MAC.

[0017] To achieve the above objectives, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the passenger flow statistics method combined with the device MAC filtering mechanism are implemented.

[0018] To achieve the above objectives, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the passenger flow statistics method combined with the device MAC filtering mechanism are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of filtering according to MAC manufacturers in the present invention.

[0020] Figure 2 It is a schematic diagram of filtering according to preset elements of the present invention.

[0021] Figure 3 It is a schematic diagram of filtering according to the residence time within a specified time period of the present invention. DETAILED DESCRIPTION

[0022] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0023] In the preferred embodiment of the present invention, those skilled in the art should note that the MAC address and the like involved in the present invention may be regarded as prior art.

[0024] Preferred embodiments.

[0025] like Figure 1-3 As shown, the present invention discloses a passenger flow statistics method combined with a device MAC filtering mechanism, comprising the following steps:

[0026] Step S1: Filter according to MAC manufacturers to filter out MACs that do not match the manufacturer's whitelist;

[0027] Step S2: Filter according to the preset elements (filter out fake MACs), analyze the preset position of the MAC address of the terminal device (whether the second hexadecimal digit of the first byte of the MAC address is {0,4,8,C}) to determine whether the element at the preset position is a preset element, if so, retain the MAC address, otherwise filter the MAC address;

[0028] Step S3: Filter according to the residence time within the specified time period to filter out non-guest MACs.

[0029] Specifically, step S1 is implemented as follows:

[0030] Step S1.1: Obtain an OUI (Organizationally Unique Identifier) ​​document from an official channel (such as obtaining an oui.txt file from the IEEE official website), process the document, extract the mapping information between the OUI document and the vendor, store it in a database, and set a vendor whitelist based on the database;

[0031] Step S1.2: Get the first three bytes of the MAC address of the on-site visitor (i.e., the OUI, so that the corresponding manufacturer name can be viewed), and apply a regular expression to each MAC address for matching (i.e., match the OUI obtained on-site with the OUI in the manufacturer's whitelist). If the match is successful, it is considered to be a device from a specified manufacturer, and the MAC address is retained for passenger flow statistics; if the match fails, the MAC address is filtered out (if it does not match, it is considered to be a fixed device and is removed).

[0032] More specifically, step S3 is implemented as follows:

[0033] Step S3.1: setting a maximum stay time threshold according to actual conditions (for example, setting the maximum stay time to 8 hours per day);

[0034] Step S3.2: Create a data structure to filter out MACs that exceed the maximum residence time threshold every day, and store the MAC, its residence time, first appearance time, and number of appearances in the database R, waiting for subsequent operations;

[0035] Step S3.3: Set a time range threshold (such as one week, one month, etc.) and a maximum number of occurrences threshold. When the MAC in database R reaches the maximum number of occurrences within the specified time range, store the MAC in database N;

[0036] Step S3.4: Identify the MAC in the database N as a non-guest MAC and filter out the MAC.

[0037] The present invention also discloses an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the passenger flow statistics method combined with the device MAC filtering mechanism are implemented.

[0038] The present invention also discloses a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the passenger flow statistics method combined with the device MAC filtering mechanism are implemented.

[0039] It is worth mentioning that the technical features such as MAC address involved in the patent application of this invention should be regarded as the prior art. The specific structure, working principle and possible control method and spatial layout method of these technical features can be selected by conventional methods in the field, and should not be regarded as the inventive point of this patent. This patent will not be further elaborated.

[0040] For those skilled in the art, it is still possible to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A passenger flow statistics method combined with a device MAC filtering mechanism, characterized in that: The following steps are involved: Step S1: Filter according to MAC manufacturers to filter out MACs that do not match the manufacturer's whitelist; Step S2: Filter according to the preset element, analyze the preset position of the terminal device MAC address to determine whether the element at the preset position is a preset element, if yes, retain the MAC address, otherwise filter the MAC address; Step S3: Filter according to the residence time within the specified time period to filter out non-guest MACs.

2. According to claim 1, a passenger flow statistics method combined with a device MAC filtering mechanism is characterized in that: Step S1 is specifically implemented as follows: Step S1.1: Obtain the OUI document from the official channel, process the document, extract the mapping information between the OUI document and the manufacturer, store it in the database, and set a manufacturer whitelist according to the database; Step S1.2: Obtain the first three bytes of the MAC address of the on-site visitor, apply a regular expression to each MAC address for matching, and if a match is successful, it is considered to be a device of a specified manufacturer, and the MAC address is retained for passenger flow statistics; If the match fails, the MAC address is filtered out.

3. A passenger flow statistics method combined with a device MAC filtering mechanism according to claim 2, characterized in that: Step S3 is specifically implemented as the following steps: Step S3.1: Set a maximum stay time threshold according to actual conditions; Step S3.2: Create a data structure to filter out MACs that exceed the maximum residence time threshold every day, and store the MAC, its residence time, first appearance time, and number of appearances in the database R, waiting for subsequent operations; Step S3.3: Set a time range threshold and a maximum number of occurrences threshold. When the MAC in database R reaches the maximum number of occurrences within the specified time range, store the MAC in database N. Step S3.4: Identify the MAC in the database N as a non-guest MAC and filter out the MAC.

4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the passenger flow counting method combined with the device MAC filtering mechanism as described in any one of claims 1 to 3 are implemented.

5. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the passenger flow counting method combined with the device MAC filtering mechanism as described in any one of claims 1 to 3 are implemented.