Wireless hotspot device classification method, device, equipment and storage medium

By capturing and analyzing the identification and historical data of wireless hotspot devices, and filtering and classifying on-vehicle wireless hotspot devices, the problem that the prior art cannot accurately identify private and public on-vehicle wireless hotspot devices is solved, and the accurate identification of the user's riding status is achieved.

CN113709848BActive Publication Date: 2025-04-25BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010433945.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-20
Publication Date
2025-04-25
Estimated Expiration
2040-05-20

Smart Images

  • Figure CN113709848B_ABST
    Figure CN113709848B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for classifying wireless hotspot devices. The method extracts time information and location information from historical data of a plurality of captured wireless hotspot devices to be classified, and then identifies mobile wireless hotspot devices among the captured wireless hotspot devices to be classified according to the time information and location information. Then, based on device identifiers corresponding to these mobile wireless hotspot devices, it is determined whether they are vehicle-mounted wireless hotspot devices, and then the vehicle-mounted wireless hotspot devices are screened out. Finally, the number of terminals that scan these vehicle-mounted wireless hotspot devices within a preset time range is obtained, and the vehicle-mounted wireless hotspot devices are classified according to the number of terminals corresponding to each vehicle-mounted wireless hotspot device, so that the type of each vehicle-mounted wireless hotspot device can be quickly and accurately identified for subsequent use in the vehicle type identification process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless hotspot device classification, and in particular to a wireless hotspot device classification method, device, equipment and storage medium. Background Art

[0002] In the era of mobile Internet, wireless hotspots have become very popular. In recent years, they have also been widely used in the automotive field. For example, by loading a vehicle-mounted wireless hotspot device in the vehicle, navigation, positioning, and identification of the user's riding status can be achieved. However, the existing vehicle-mounted wireless hotspot devices are usually divided into public vehicle-mounted wireless hotspot devices loaded on public transportation vehicles, such as subways, buses, and trains, and private vehicle-mounted wireless hotspot devices loaded on private transportation vehicles, such as private cars. The existing identification methods cannot be refined into private vehicle-mounted wireless hotspot devices and public vehicle-mounted wireless hotspot devices. Therefore, according to the existing classification method, it is impossible to accurately identify the user's riding status. Therefore, it is urgent to provide a classification method for wireless hotspot devices to achieve the crossing of vehicle-mounted wireless hotspot device types.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a wireless hotspot device classification method, device, equipment and storage medium, aiming to solve the above technical problems.

[0005] To achieve the above object, the present invention provides a method for classifying wireless hotspot devices, the method comprising the following steps:

[0006] Capture the device identification and historical data of several wireless hotspot devices to be classified;

[0007] extracting time information and location information from the historical data;

[0008] Filtering mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information;

[0009] Filtering a vehicle-mounted wireless hotspot device from the mobile wireless hotspot devices according to the device identifier;

[0010] Get the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range;

[0011] The vehicle-mounted wireless hotspot devices are classified based on the number of terminals to obtain a classification result.

[0012] Optionally, the step of classifying each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result includes:

[0013] Compare the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold;

[0014] The vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is less than the preset threshold are regarded as the vehicle-mounted wireless hotspot devices to be identified;

[0015] Obtain the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified;

[0016] Determine the association between each terminal device and the vehicle-mounted wireless hotspot device to be identified according to the historical scanning number and the historical scanning time;

[0017] Screening private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified according to the correlation degree;

[0018] The private vehicle-mounted wireless hotspot device is added to a private hotspot device set, and the private hotspot device set is added to the classification result.

[0019] Optionally, the step of obtaining the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified includes:

[0020] Based on the preset correlation analysis algorithm, determine the signal transmission frequency and confidence of the private vehicle wireless hotspot device;

[0021] Determine the coverage range and radiation time corresponding to the private vehicle-mounted wireless hotspot device according to the signal transmission frequency and the confidence level;

[0022] Determine, according to the coverage range and the radiation time, a time range and a spatial range for acquiring the historical scanning times and the historical scanning time;

[0023] According to the time range and the spatial range, the historical scanning times and historical scanning times corresponding to each terminal device that scans the vehicle-mounted wireless hotspot device to be identified are obtained.

[0024] Optionally, the step of screening private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified according to the association degree includes:

[0025] Filter out the vehicle-mounted wireless hotspot devices to be identified whose corresponding terminal devices have correlations greater than a preset correlation;

[0026] The screened in-vehicle wireless hotspot devices to be identified are classified as private in-vehicle wireless hotspot devices.

[0027] Optionally, the step of adding the private vehicle-mounted wireless hotspot device to a private hotspot device set, and adding the private hotspot device set to the classification result, includes:

[0028] Obtain a terminal identifier of a terminal device corresponding to the private vehicle-mounted wireless hotspot device;

[0029] The correspondence between the device identification of the private vehicle-mounted wireless hotspot device and the terminal identification is added to a private hotspot device set, and the private hotspot device set is added to the classification result.

[0030] Optionally, after the step of comparing the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold, the method further includes:

[0031] Classify the vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is not less than the preset threshold as public vehicle-mounted wireless hotspot devices;

[0032] The device identification of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

[0033] Optionally, after the step of classifying the vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is not less than the preset threshold as public vehicle-mounted wireless hotspot devices, the method further includes:

[0034] Obtaining a travel track of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located;

[0035] Determine, according to the driving trajectory, the device type of the public transportation device where the public vehicle-mounted wireless hotspot device is located;

[0036] The step of adding the device identification of the public vehicle-mounted wireless hotspot device to a public hotspot device set, and adding the public hotspot device set to the classification result specifically includes:

[0037] The correspondence between the device identification and the device type of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

[0038] Optionally, after the step of determining the type of the public transportation equipment according to the driving trajectory, the method further comprises:

[0039] Obtaining the moving time information of the public vehicle-mounted wireless hotspot device;

[0040] Determine the equipment shift of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located according to the equipment type of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located, the movement time information, and the driving trajectory;

[0041] The step of adding the correspondence between the device identification and the device type of the public vehicle-mounted wireless hotspot device to a public hotspot device set, and adding the public hotspot device set to the classification result specifically includes:

[0042] The corresponding relationship between the device identification, device type and device shift of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

[0043] Optionally, after the step of classifying each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result, the method further includes:

[0044] When it is detected that the user's terminal device is in an active state, the device identification of the wireless hotspot device scanned by the terminal device within a preset time range is obtained to obtain the device identification to be identified;

[0045] The riding type of the user is determined according to the classification result and the identification of the device to be identified.

[0046] Optionally, the step of obtaining the device identification of the wireless hotspot device scanned by the terminal device within a preset time range to obtain the device identification to be identified includes:

[0047] Turn on the wireless LAN function and obtain the wireless hotspot channels that can be accessed within the preset time range;

[0048] Scan the wireless hotspot channel to obtain device information of the wireless hotspot device corresponding to the wireless hotspot channel;

[0049] The device identification is extracted from the device information to obtain the device identification to be identified.

[0050] Optionally, the step of scanning the wireless hotspot channel to obtain device information of a wireless hotspot device corresponding to the wireless hotspot channel includes:

[0051] Acquire an error vector magnitude of the wireless hotspot channel, and determine a scanning time of the wireless hotspot channel based on the error vector magnitude;

[0052] The wireless hotspot channel is scanned according to the scanning time to obtain device information of the wireless hotspot device corresponding to the wireless hotspot channel.

[0053] Optionally, the step of screening the vehicle-mounted wireless hotspot device from the mobile wireless hotspot devices according to the device identification includes:

[0054] The device identifier is identified based on a preset vehicle-mounted wireless hotspot device identification regular matching table, and the screened mobile wireless hotspot device is used as the vehicle-mounted wireless hotspot device.

[0055] In addition, to achieve the above-mentioned purpose, the present invention also proposes a wireless hotspot device classification device, which includes: a memory, a processor, and a wireless hotspot device classification program stored in the memory and executable on the processor, and the wireless hotspot device classification program is configured to implement the steps of the wireless hotspot device classification method described above.

[0056] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a wireless hotspot device classification program is stored, and when the wireless hotspot device classification program is executed by a processor, the steps of the wireless hotspot device classification method described above are implemented.

[0057] In addition, to achieve the above purpose, the present invention also proposes a wireless hotspot device classification device, the device comprising:

[0058] A data capture module is used to capture device identifications and historical data of several wireless hotspot devices to be classified;

[0059] An information extraction module, used to extract time information and location information from the historical data;

[0060] A mobile wireless hotspot device screening module, used for screening mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information;

[0061] A vehicle-mounted wireless hotspot device screening module, used for screening vehicle-mounted wireless hotspot devices from the mobile wireless hotspot devices according to the device identification;

[0062] The terminal quantity acquisition module is used to obtain the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range;

[0063] The wireless hotspot device classification module is used to classify each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result.

[0064] The wireless hotspot device classification method of the present invention extracts time information and location information from historical data of several captured wireless hotspot devices to be classified, and then identifies mobile wireless hotspot devices among the captured wireless hotspot devices to be classified according to the time information and location information, and then determines whether these mobile wireless hotspot devices are vehicle-mounted wireless hotspot devices based on device identifiers corresponding to these mobile wireless hotspot devices, and then screens out vehicle-mounted wireless hotspot devices, and finally obtains the number of terminals that scan these vehicle-mounted wireless hotspot devices within a preset time range, and classifies them according to the number of terminals corresponding to each vehicle-mounted wireless hotspot device, so that the type of each vehicle-mounted wireless hotspot device can be quickly and accurately identified for subsequent use in the vehicle type identification process. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a structural diagram of a wireless hotspot device classification device in a hardware operating environment involved in an embodiment of the present invention;

[0066] Figure 2 It is a flowchart of a first embodiment of a method for classifying wireless hotspot devices according to the present invention;

[0067] Figure 3 This is a flowchart of the specific steps of step S60 in the first embodiment of the wireless hotspot device classification method of the present invention;

[0068] Figure 4 It is a flow chart of a second embodiment of the wireless hotspot device classification method of the present invention;

[0069] Figure 5 A preview image of wireless hotspot devices scanned by a user's terminal device within a preset time range in the second embodiment of the wireless hotspot device classification method of the present invention;

[0070] Figure 6 A preview image of wireless hotspot devices scanned by a user's terminal device within a preset time range in the second embodiment of the wireless hotspot device classification method of the present invention;

[0071] Figure 7 It is a structural block diagram of the first embodiment of the wireless hotspot device classification device of the present invention.

[0072] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0073] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0074] Reference Figure 1 , Figure 1The figure is a schematic diagram of the structure of a wireless hotspot device classification device in the hardware operating environment involved in the embodiment of the present invention.

[0075] like Figure 1 As shown, the wireless hotspot device classification device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0076] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the classification of wireless hotspot devices, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0077] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a wireless hotspot device classification program.

[0078] exist Figure 1 In the wireless hotspot device classification device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the wireless hotspot device classification device of the present invention can be set in the wireless hotspot device classification device, and the wireless hotspot device classification device calls the wireless hotspot device classification program stored in the memory 1005 through the processor 1001, and executes the wireless hotspot device classification method provided by the embodiment of the present invention.

[0079] The embodiment of the present invention provides a method for classifying wireless hotspot devices, referring to Figure 2 , Figure 2 Schematic diagram of the flow chart of the first embodiment of the wireless hotspot device classification method of the present invention.

[0080] In this embodiment, the wireless hotspot device classification method includes the following steps:

[0081] Step S10, capturing device identifications and historical data of a number of wireless hotspot devices to be classified.

[0082] Specifically, the device identification mentioned in this embodiment is identification information used to identify the uniqueness of the wireless hotspot device to be classified.

[0083] Specifically, it may be a device identification code ID assigned to the wireless hotspot device to be classified after it is produced and leaves the factory.

[0084] Taking the wireless hotspot device to be classified as a mobile phone as an example, its device identifier is the device ID of the mobile phone, which is commonly known as the International Mobile Equipment Identity (IMEI).

[0085] Correspondingly, the historical data mentioned above refers specifically to the data generated when each wireless hotspot device to be classified is in an available state, that is, when the terminal device can scan or access it for use.

[0086] In addition, it is worth mentioning that in order to ensure the accuracy of the classification results, in practical applications, as many wireless hotspot devices to be classified as possible can be captured.

[0087] Regarding the source of the wireless hotspot devices to be classified, in actual applications, they can be obtained from an existing big data platform that records the device information (including at least device identification and historical data) of the wireless hotspot devices to be classified using web crawler technology, or they can be obtained through manual collection and manual entry. They will not be listed one by one here, and this embodiment does not impose any restrictions on this.

[0088] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in actual applications, and no limitation is made here.

[0089] Step S20, extracting time information and location information from the historical data.

[0090] Specifically, the time information mentioned in this embodiment is specifically the transmission time corresponding to the wireless hotspot signal transmitted by the wireless hotspot device to be classified.

[0091] Correspondingly, the above-mentioned location information specifically refers to the corresponding transmission location when the wireless hotspot device to be classified transmits a wireless hotspot signal.

[0092] That is to say, in actual applications, the above-mentioned operation of extracting time information and location information from historical data is specifically to extract the transmission time and transmission location corresponding to the transmitted wireless hotspot signal from the historical data, and then use the extracted transmission time as the time information, and the extracted transmission location as the location information.

[0093] The method for extracting the above information can be specifically determined according to the format of the acquired historical data.

[0094] For example, if the link corresponding to the acquired historical data is parsed to obtain data in JSON (JavaScript Object Notation, JS object notation) format, the method for extracting time information and location information is to compile the JSON parsed text obtained by compiling the fields identifying the time information and location information extracted from the parsed format.

[0095] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in actual applications, and no limitation is made here.

[0096] Step S30: screening mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information.

[0097] Specifically, in actual applications, the wireless hotspot devices to be classified mentioned above may be fixed in a certain place or may move over time. In-vehicle wireless hotspot devices are usually on vehicles, that is, they must be moving during use. Therefore, in order to facilitate the subsequent classification of in-vehicle wireless hotspot devices, it is necessary to first filter out mobile wireless hotspot devices from the wireless hotspot identification to be classified, and then filter out in-vehicle wireless hotspot devices from mobile wireless hotspot devices, thereby speeding up the classification.

[0098] Furthermore, in practical applications, a big data analysis model can be constructed based on extracting time information and location information from historical data of many known types of wireless hotspot devices, and the time information and location information of the above-mentioned wireless hotspot devices to be classified can be analyzed to filter out mobile wireless hotspot devices.

[0099] The above-mentioned big data analysis model can be constructed by using a convolutional neural network algorithm or other machine learning algorithms. The specific construction method can be realized by those skilled in the art by referring to the usage of relevant machine learning algorithms, which will not be elaborated here.

[0100] Step S40: Filter the vehicle-mounted wireless hotspot device from the mobile wireless hotspot devices according to the device identification.

[0101] Specifically, in actual applications, the naming of vehicle-mounted wireless hotspot devices usually has certain rules and is different from the naming format of other mobile wireless hotspot devices. Therefore, in order to conveniently and quickly filter out vehicle-mounted wireless hotspot devices from mobile wireless hotspot devices, a vehicle-mounted wireless hotspot device identification regular matching table can be constructed according to known vehicle-mounted wireless hotspot device naming rules or the type numbers of existing wireless hotspot devices.

[0102] Specifically, through observation and analysis of various types of existing wireless hotspot devices, it is found that the type number (hereinafter referred to as type) is 105, which is usually a fixed wireless hotspot device, such as the name of the wireless hotspot device (hereinafter referred to as pattern) is Haidian Wireless Network, Cheetah Free WiFi, and China Unicom Broadband; type 2 is usually a private car-mounted wireless hotspot device, that is, it is located in a private car, and the corresponding pattern is usually the abbreviation of the private car brand, such as "AUDI" and "Audi" both indicate that the private car-mounted wireless hotspot device is located in an Audi car, and "BMW" indicates that the private car-mounted wireless hotspot device is located in a BMW car; type 3 usually indicates that the wireless hotspot device is some existing car-mounted devices, such as 360 smart cloud mirror, 4G smart rearview mirror, etc.; type is 10, which means the corresponding pattern is bus, that is, the wireless hotspot device is a public vehicle-mounted wireless hotspot device on the bus; type is 20, the corresponding pattern is subway, such as Guangzhou Metro WiFi, Peanut Metro WiFi, that is, the wireless hotspot device is a public vehicle-mounted wireless hotspot device on the subway; type is 50, the corresponding pattern is high-speed rail WiFi or CRNe[Tt]-WiFi, even if it is a public vehicle-mounted wireless hotspot device on the high-speed rail; type is 60, the corresponding pattern is railway free-free-WiFi, @round-trip free W[Ii][-]?[F[Ii].

[0103] Based on the above data, we can construct the following regular matching table for identifying vehicle-mounted wireless hotspot devices. This table can not only identify mobile vehicle-mounted wireless hotspot devices, but also accurately locate the specific type of the identified mobile vehicle-mounted wireless hotspot devices. Part of the table is as follows:

[0104] {"pattern":"^Haidian Wireless Network", "type":"105"}

[0105] {"pattern":"^Cheetah Free WiFi.*", "type":"105"}

[0106] {"pattern":"^China Unicom Broadband.*", "type":"105"}

[0107] {"pattern":"^AUDI[- _]?[0-9a-z]{12}$", "type":"2", "vec_brand":"Audi"}

[0108] {"pattern":"^Audi[- _]?[0-9a-z]{12}$", "type":"2", "vec_brand":"Audi"}

[0109] {"pattern":"^BMW[ ]?[0-9]{5} CarPlay", "type":"2", "vec_brand":"BMW"}

[0110] {"pattern":"^360 smart cloud mirror.*", "type":"3", "dev_brand":"360"}

[0111] {"pattern":"^4G smart rearview mirror.*", "type":"3", "dev_brand":"360"}

[0112] {"pattern":"^70mai_d0[123456]_[0-9a-zA-Z]{3,4}", "type":"3"}

[0113] {"pattern":"^70mai-[0-9a-z]{4}", "type":"3"}

[0114] {"pattern":"^[0-9]{1,3} bus WLAN.*", "type":"10"}

[0115] {"pattern":"^[0-9]{1,3} bus WIFI.*", "type":"10"}

[0116] {"pattern":"^Bus-WIFI-[0-9]{5}", "type":"10"}

[0117] {"pattern":"^Bus-WiFi-[0-9]{5}", "type":"10"}

[0118] {"pattern":"^Guangzhou Metro WiFi", "type":"20"}

[0119] {"pattern":"^Huasheng Subway WiFi", "type":"20"}

[0120] {"pattern":"^CRNe[Tt]-WiFi", "type":"50"}

[0121] {"pattern":"^High-speed rail WiFi", "type":"50"}

[0122] {"pattern":"^@Round trip free W[Ii][-]?F[Ii]", "type":"60"}

[0123] {"pattern":"^Railway Free-Free-Wi-Fi", "type":"60"}

[0124] It should be understood that the above is only a specific implementation method, which does not constitute any limitation to the technical solution of the present invention. Technical personnel in this field can set it as needed in actual application, for example, they can also add a field to identify the specific model of the private car and a field for the number of access devices, which are not limited here.

[0125] In addition, it should be noted that in actual applications, for public vehicle-mounted wireless hotspot devices installed on public transportation equipment such as buses, subways, trains, and high-speed railways, since they can access a large number of terminal devices that are not fixed, the above-mentioned vehicle-mounted wireless hotspot device identification regular matching table does not need to consider the frequent relationship between the device and the user's terminal device when dividing the public vehicle-mounted wireless hotspot devices. Instead, the type of the public vehicle-mounted wireless hotspot device can be directly determined based on the activity range of the vehicle-mounted wireless hotspot device and the name of the wireless hotspot.

[0126] In addition, it is worth mentioning that in this embodiment, the device identification mentioned above not only includes the device ID that uniquely identifies the wireless hotspot device to be classified, but also includes the device name of the wireless hotspot device to be classified.

[0127] Accordingly, the operations in step S40 are specifically as follows:

[0128] The device identifier, which is actually the device name carried in the device identifier, is identified based on a preset vehicle-mounted wireless hotspot device identification regular matching table, and the selected mobile wireless hotspot device is used as the vehicle-mounted wireless hotspot device.

[0129] It should be noted that, in actual applications, the naming rules of the above-mentioned vehicle-mounted wireless hotspot devices can be summarized through manual collection, or can be obtained by analyzing the device names of existing vehicle-mounted wireless hotspot devices based on big data analysis. They will not be listed one by one here, and this embodiment does not limit this.

[0130] Step S50, obtaining the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range.

[0131] Specifically, in order to ensure the accuracy of the classification results as much as possible and reduce the interference of the terminal devices that instantly scan the vehicle-mounted wireless hotspot device on the classification results, the preset time range mentioned above can be extended as much as possible, such as one hour. In this way, in the subsequent classification, the terminal devices that are instantly scanned can be filtered out according to the connection time.

[0132] Step S60: classify each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result.

[0133] Specifically, since in actual applications, the number of terminal devices allowed to access public vehicle wireless hotspot devices and private vehicle wireless hotspot devices is quite different, the lower limit of the terminal devices allowed to access the existing public vehicle wireless hotspot devices, that is, the minimum number, can be set as the critical value for classification, which is called the preset threshold in this embodiment.

[0134] To facilitate understanding of the operation in step S60, Figure 3 To explain in detail:

[0135] Step S601, determining whether the number of terminals corresponding to each vehicle-mounted wireless hotspot device is less than a preset threshold.

[0136] That is, the number of terminals corresponding to each vehicle-mounted wireless hotspot device is compared with a preset threshold.

[0137] Accordingly, if it is found through comparison that the number of terminals corresponding to a certain vehicle-mounted wireless hotspot device is not less than, that is, greater than or equal to, the preset threshold, step S602 is executed; if it is less than the preset threshold, step S603 is executed.

[0138] In addition, it is worth mentioning that the preset thresholds mentioned above can be manually set as needed in practical applications. They can be set by technical personnel in this field as needed, or obtained through big data statistics. They will not be listed here one by one, and this embodiment does not limit this.

[0139] Step S602: classify the vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is not less than the preset threshold as public vehicle-mounted wireless hotspot devices, add the device identifier of the public vehicle-mounted wireless hotspot device to a public hotspot device set, and add the public hotspot device set to the classification result.

[0140] For easier understanding, the following example is given:

[0141] For example, the preset threshold is set to 20, that is, when more than or equal to 20 terminal devices scan a certain vehicle-mounted wireless hotspot device, the vehicle-mounted wireless hotspot device is considered to be a public vehicle-mounted wireless hotspot device.

[0142] In addition, it is worth mentioning that in actual applications, there are many types of public transportation equipment equipped with public vehicle-mounted wireless hotspot devices, such as buses, subways, trains, airplanes, etc., which will not be listed here one by one.

[0143] Therefore, after classifying the public vehicle-mounted wireless hotspot devices, the type of public transportation equipment equipped with the public vehicle-mounted wireless hotspot devices can be further determined.

[0144] The specific determination method is as follows:

[0145] (1) Obtaining the driving trajectory of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located.

[0146] Specifically, in this embodiment, the driving trajectory mentioned above reflects the position change curve of the public transportation equipment.

[0147] Therefore, this embodiment provides a specific implementation method for obtaining the driving trajectory of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located, which is as follows:

[0148] (1.1) Monitoring the driving status of public transportation equipment, for example, by monitoring the use of on-board equipment installed on public transportation equipment to determine whether the public transportation equipment is currently in operation.

[0149] (1.2) Accordingly, if the public transportation equipment is in a driving state, such as the on-board equipment is in an on-state, the real-time positioning information of the public transportation equipment is obtained at a preset frequency.

[0150] It should be understood that in actual applications, public transportation equipment is usually loaded with on-board equipment, and users driving public transportation equipment also usually carry mobile terminals, such as mobile phones.

[0151] Therefore, the above-mentioned operation of obtaining the real-time positioning information of the public transportation equipment at a preset frequency can be implemented in the following three ways:

[0152] Method 1:

[0153] When the public transportation equipment is in motion, vehicle-borne displacement data collected by vehicle-borne equipment such as a driving recorder, a built-in vehicle computer, etc. loaded in the public transportation equipment is obtained at a preset frequency; and the vehicle-borne displacement data is used as the real-time positioning information.

[0154] Method 2:

[0155] When the public transportation equipment is in a driving state, terminal displacement data collected by a positioning sensor of a terminal device of a user in the public transportation equipment, such as a mobile phone, is obtained at a preset frequency; and the terminal displacement data is used as the real-time positioning information.

[0156] In addition, it is worth mentioning that in actual applications, in order to ensure that real-time positioning information can be obtained using this method, it is necessary to first determine whether the user's terminal device is in the current public transportation equipment.

[0157] Regarding the operation of determining whether the user's mobile terminal is in the current vehicle, specifically, it is determined whether there is a terminal device access to the on-board wireless hotspot device of the current public transportation equipment.

[0158] Correspondingly, if a terminal device is connected, during the driving of the public transportation equipment, the displacement data of the terminal device connected to the vehicle-mounted wireless hotspot device loaded on the public transportation equipment is obtained as the real-time location information of the public transportation equipment.

[0159] Method 3:

[0160] When the public transportation equipment is in a driving state, the vehicle-borne displacement data collected by the vehicle-borne equipment loaded in the public transportation equipment and the terminal displacement data collected by the positioning sensor of the terminal equipment of the user located in the public transportation equipment are obtained at a preset frequency; the vehicle-borne displacement data and the terminal displacement data are used as the real-time positioning information.

[0161] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in actual applications, and no limitation is made here.

[0162] (1.3) Drawing a position change curve of the public transportation equipment according to the real-time positioning information acquired over a continuous period of time.

[0163] For ease of understanding, the following example is given:

[0164] For example, the preset frequency of obtaining real-time positioning information is once every 10 seconds, then within 1 minute (including 1 minute), the real-time positioning information should be obtained 6 times.

[0165] The following are represented in the order of acquisition: A, B, C, D, E, F.

[0166] Accordingly, when drawing the position change curve of the vehicle within 1 minute, it is only necessary to mark the coordinate points corresponding to the above 6 real-time positioning information on the map and connect them in the above order to obtain the position change curve of the vehicle.

[0167] (1.4) By using the position change curve as the driving trajectory, the operation of obtaining the driving trajectory of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located in the above step can be realized.

[0168] It should be understood that the above is only a specific implementation method, which does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in practical applications, and no limitation is made here.

[0169] (2) Determine, based on the driving trajectory, the device type of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located.

[0170] It should be understood that in actual applications, each type of public transportation equipment has a fixed travel route, and the number of terminals allowed to be accessed by the public vehicle wireless hotspot devices installed on different types of public transportation equipment is also different. Therefore, by obtaining the travel trajectory of the public transportation equipment and the number of terminals corresponding to the public vehicle wireless hotspot devices installed on the current public transportation equipment, the type of the current public transportation equipment can be determined based on these two parameters.

[0171] Furthermore, in actual applications, in order to quickly and accurately determine the device type of public transportation equipment, the correspondence between the device identification and device type of the public vehicle-mounted wireless hotspot device can also be added to a public hotspot device set, and the public hotspot device set can be added to the classification results, so that the device type of the public transportation equipment that the user is riding can be quickly and accurately determined based on the classification results.

[0172] Furthermore, since each type of public transportation equipment corresponds to multiple equipment shifts, and each equipment shift corresponds to a fixed travel route and travel time (i.e., the movement time information of the public vehicle-mounted wireless hotspot equipment on the public transportation equipment), after determining the equipment type of the public transportation equipment, the movement time information of the public vehicle-mounted wireless hotspot equipment can also be obtained, and then the equipment shift of the public transportation equipment where the public vehicle-mounted wireless hotspot equipment is located can be determined based on the equipment type of the public transportation equipment where the public vehicle-mounted wireless hotspot equipment is located, the movement time information, and the travel trajectory.

[0173] Furthermore, in actual applications, in order to quickly and accurately determine the equipment shifts of public transportation equipment, the correspondence between the equipment identification, equipment type and equipment shift of the public vehicle-mounted wireless hotspot device can also be added to a public hotspot device set, and the public hotspot device set can be added to the classification results, so that the equipment shift of the public transportation equipment that the user is riding can be quickly and accurately determined based on the classification results.

[0174] It should be understood that the above is only a specific implementation method, which does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in practical applications, and no limitation is made here.

[0175] Step S603: The vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is less than the preset threshold are taken as the vehicle-mounted wireless hotspot devices to be identified.

[0176] Specifically, since instantaneous connections often occur in actual applications, when the number of corresponding terminals is less than the preset threshold, the corresponding vehicle-mounted wireless hotspot device cannot be classified as a private vehicle-mounted wireless hotspot device. Therefore, the vehicle-mounted wireless hotspot device with the number of corresponding terminals less than the preset threshold needs to be regarded as the vehicle-mounted wireless hotspot device to be identified, so as to realize the subsequent steps S604 to S606.

[0177] Step S604, obtaining the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified.

[0178] Regarding the acquisition of the above-mentioned historical scanning times and historical scanning times, this embodiment is specifically implemented in the following manner:

[0179] (1) Based on the preset correlation analysis algorithm, determine the signal transmission frequency and confidence of the private vehicle-mounted wireless hotspot device.

[0180] In this embodiment, the FP-Growth association analysis algorithm is specifically adopted.

[0181] Since the FP-Growth association analysis algorithm is already a commonly used association analysis algorithm, those skilled in the art can find relevant information on their own to implement its specific usage, which will not be described here.

[0182] In addition, in practical applications, those skilled in the art may also select other association analysis algorithms as needed, and this embodiment does not limit this.

[0183] (2) Determine the coverage range and radiation time corresponding to the private vehicle-mounted wireless hotspot device according to the signal transmission frequency and the confidence level.

[0184] (3) Determine the time range and spatial range for obtaining the historical scanning times and the historical scanning times according to the coverage range and the radiation time.

[0185] Accordingly, the operation of obtaining the historical scanning times and historical scanning times in the above step S604 is specifically: according to the time range and the spatial range, obtaining the historical scanning times and historical scanning times corresponding to each terminal device that scans the vehicle-mounted wireless hotspot device to be identified. That is, the acquisition range is determined by using the two parameters of the time range and the spatial range as limiting conditions.

[0186] Step S605: Determine the degree of association between each terminal device and the vehicle-mounted wireless hotspot device to be identified according to the historical scanning times and the historical scanning time.

[0187] Specifically, the correlation between each terminal device and the vehicle-mounted wireless hotspot device to be identified can be calculated based on a preset correlation calculation rule, by determining the respective proportions of the historical scanning times and the historical scanning time according to the rule, and then calculating the corresponding correlation based on the determined proportions.

[0188] Step S606, screening private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified according to the association degree, adding the private vehicle-mounted wireless hotspot devices to a private hotspot device set, and adding the private hotspot device set to the classification result.

[0189] Specifically, in this embodiment, the vehicle-mounted wireless hotspot devices to be identified whose corresponding terminal devices have correlations greater than a preset correlation are screened out; and then the screened vehicle-mounted wireless hotspot devices to be identified are classified as private vehicle-mounted wireless hotspot devices.

[0190] For easier understanding, the following example is given:

[0191] For example, the proportion of scanning times is divided into 1 to 5 times, such as A (corresponding to the lowest score, such as 5 points), 6 to 10 times, such as B (corresponding to the middle score, such as 10 points), and 11 to 15 times, such as C (corresponding to the highest score, such as 15 points).

[0192] Accordingly, the scanning time (specifically refers to the access time in this embodiment) is divided into a proportion of 1 minute to 5 minutes, such as a (corresponding to the lowest score, such as 5 points), a proportion of 6 minutes to 10 minutes, such as b (corresponding to the middle score, such as 10 points), and a proportion of 11 minutes to 15 minutes, such as c (corresponding to the highest score, such as 15 points).

[0193] If the calculation formula of the correlation degree is preset as: integral corresponding to the number of historical scans×the number of historical scans+integral corresponding to the historical scan time×the number of historical scans.

[0194] Then, when there are three in-vehicle wireless hotspot devices to be identified, namely W1, W2, and W3, the historical scanning times corresponding to the three terminal devices corresponding to W1 are 5 times, 4 times, and 6 times respectively; the corresponding historical scanning time for each time is 1 minute; the historical scanning times corresponding to the three terminal devices corresponding to W2 are 8 times, 4 times, and 10 times respectively; the corresponding historical scanning time for each time is 15 minutes; the historical scanning times corresponding to the three terminal devices corresponding to W3 are 2 times, 7 times, and 5 times respectively; the corresponding historical scanning time for each time is 9 minutes.

[0195] Then, according to the above calculation formula, the association degrees between W1 and the three terminal devices that scan it are: 50, 40, 90 respectively; the association degrees between W2 and the three terminal devices that scan it are: 200, 80, 250 respectively; the association degrees between W3 and the three terminal devices that scan it are: 30, 140, 75 respectively.

[0196] Correspondingly, if the preset correlation degree is set to 75, it can be found through comparison that the correlation degrees of the three terminal devices corresponding to W2 are all greater than the preset correlation degrees, so the private vehicle wireless hotspot device finally screened out is W2.

[0197] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in actual applications, and no limitation is made here.

[0198] Accordingly, in the embodiment, the operation of adding the private vehicle-mounted wireless hotspot device to the private hotspot device set and adding the private hotspot device set to the classification result in the above step S606 is specifically:

[0199] First, obtain the terminal identification of the terminal device corresponding to the private vehicle-mounted wireless hotspot device;

[0200] Then, the correspondence between the device identification of the private vehicle-mounted wireless hotspot device and the terminal identification is added to a private hotspot device set, and the private hotspot device set is added to the classification result.

[0201] Specifically, in practical applications, a key-value pair may be used to represent the corresponding relationship between the device identifier of the private vehicle-mounted wireless hotspot device and the terminal identifier.

[0202] In addition, it is worth mentioning that since the device identifier and the terminal identifier of the private vehicle-mounted wireless hotspot device are both unique in actual applications, when storing, technical personnel in this field can use the device identifier of the private vehicle-mounted wireless hotspot device as the key to be traversed during retrieval and the terminal identifier as the corresponding value as needed.

[0203] On the contrary, the terminal identifier may be used as the key to be traversed during retrieval, and the device identifier of the private vehicle-mounted wireless hotspot device may be used as the corresponding value.

[0204] It should be understood that the above is only a specific implementation method, which does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in practical applications, and no limitation is made here.

[0205] The wireless hotspot device classification method provided in this embodiment extracts time information and location information from the historical data of several captured wireless hotspot devices to be classified, and then identifies the mobile wireless hotspot devices among the captured wireless hotspot devices to be classified according to the time information and location information, and then determines whether these mobile wireless hotspot devices are vehicle-mounted wireless hotspot devices based on the device identifiers corresponding to these mobile wireless hotspot devices, and then screens out the vehicle-mounted wireless hotspot devices, and finally obtains the number of terminals that scan these vehicle-mounted wireless hotspot devices within a preset time range, and classifies them according to the number of terminals corresponding to each vehicle-mounted wireless hotspot device, so that the type of each vehicle-mounted wireless hotspot device can be quickly and accurately identified for subsequent use in the vehicle type identification process.

[0206] refer to Figure 4 , Figure 4 Schematic diagram of the flow chart of the second embodiment of the wireless hotspot device classification method of the present invention.

[0207] Based on the first embodiment, in this embodiment, after the classification result is obtained, the user's ride type can also be determined according to the classification result, that is, after step S60, the following steps can also be included: Figure 4 Step S70 and step S80 in the embodiment. Figure 4 To explain in detail:

[0208] Step S70, when it is detected that the user's terminal device is in an active state, the device identification of the wireless hotspot device scanned by the terminal device within a preset time range is obtained to obtain the device identification to be identified.

[0209] Specifically, in real life, users usually carry terminal devices, such as mobile phones, smart bracelets, etc. Therefore, as long as it is monitored that the user's terminal device is in an active state, step S70 can be executed.

[0210] In other words, when executing step S70, it is necessary to ensure that the user's terminal device is in an active state, that is, it is necessary to detect the current state of the user's terminal device, mainly to determine whether the terminal device is displaced.

[0211] Regarding the above-mentioned method of obtaining the identification of the device to be identified, this embodiment provides a specific implementation method, which is as follows: first, turn on the wireless LAN function to obtain the wireless hotspot channels that can be accessed within a preset time range; then, scan the wireless hotspot channels to obtain the device information of the wireless hotspot device corresponding to the wireless hotspot channel; finally, extract the device identification from the device information to obtain the identification of the device to be identified.

[0212] For ease of understanding, the following combination Figure 5 and Figure 6 Provide explanation.

[0213] Specifically, Figure 5 and Figure 6 When the terminal device is a user's mobile phone, the wireless LAN function is enabled by selecting the wireless LAN option in the setting interface, and the wireless LAN (i.e. the wireless hotspot in this embodiment) display interface is displayed. Figure 5 and Figure 6 The available WLAN list displayed is the device information of the wireless hotspot devices corresponding to the accessible wireless hotspot channels scanned by the mobile phone within the preset time range. Figure 5 and Figure 6 In the display, the device information is mainly the device name customized by the user for the wireless hotspot device or the device name assigned by the wireless hotspot device when it leaves the factory.

[0214] Through observation, we can find that Figure 5 and Figure 6 The wireless hotspot devices displayed in the list of available WLANs that have the "Driving Recorder" field in their names are in-vehicle wireless hotspot devices.

[0215] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings as needed in actual applications, and no limitation is made here.

[0216] Furthermore, in order to more reasonably allocate the scanning time of each wireless hotspot channel and avoid missing a certain wireless hotspot channel, thereby ensuring that the device information of each wireless hotspot device that can be scanned within a preset range can be obtained, when performing the operation of scanning the wireless hotspot channel and obtaining the device information of the wireless hotspot device corresponding to the wireless hotspot channel, this embodiment provides a specific optimization method, specifically: first, obtain the error vector amplitude of the wireless hotspot channel, and determine the scanning time of the wireless hotspot channel based on the error vector amplitude; then, scan the wireless hotspot channel according to the scanning time to obtain the device information of the wireless hotspot device corresponding to the wireless hotspot channel.

[0217] Since the above method determines the scanning time of each wireless hotspot channel according to the error vector amplitude of each wireless hotspot channel, rather than setting the same scanning time for each wireless hotspot channel by default, the scanning time of each wireless hotspot channel can be allocated more reasonably, thereby avoiding the phenomenon of missing a certain wireless hotspot channel, and thus ensuring that the device information of each wireless hotspot device that can be connected within the preset range can be obtained.

[0218] Step S80, determining the user's riding type according to the classification result and the identification of the device to be identified.

[0219] Specifically, from the description of the first embodiment, it can be seen that the classification results include a private hotspot device set that records the correspondence between the device identification of the private vehicle-mounted wireless hotspot device and the terminal identification of the corresponding terminal device, and a public hotspot device set that records the device identification of the public vehicle-mounted wireless hotspot device and the correspondence between the device type and device shift of the corresponding public transportation equipment.

[0220] Therefore, when determining the user's vehicle type based on the classification results and the identifier of the device to be identified, the essence is to search for the private hotspot device set and the public hotspot device set in the classification results based on the identifier of the device to be identified, and then determine whether the current wireless hotspot device is a private vehicle-mounted wireless hotspot device or a public vehicle-mounted wireless hotspot device.

[0221] In addition, it is worth mentioning that in actual applications, private car-mounted wireless hotspot devices are installed on private cars, and public car-mounted wireless hotspot devices are installed on public transportation equipment, such as buses, subways, and trains.

[0222] Therefore, when it is determined that the current wireless hotspot device is a private vehicle-mounted wireless hotspot device, it can be determined that the user's vehicle type is a private car; when it is determined that the current wireless hotspot device is a public vehicle-mounted wireless hotspot device, it can be determined that the user's vehicle type is a public transportation device.

[0223] Furthermore, in practical applications, in order to ensure the accuracy of the determined vehicle type as a private car, so as to identify the user's driving status later, when the user's vehicle type is determined to be a private car based on the classification result and the device identifier to be identified, the terminal identifier of the user's terminal device can be further obtained, and then further searched in the private hotspot device set stored in the classification result based on the terminal identifier and the device identifier. If the device identifier corresponding to the found terminal identifier is the same as the device identifier of the currently scanned private vehicle-mounted wireless hotspot device, then the current user's vehicle type is truly determined to be a private car.

[0224] Furthermore, in actual application, the equipment type and equipment schedule of the public transportation equipment that the user takes can also be determined by referring to the method of determining the equipment type and equipment schedule of the public transportation equipment in the first embodiment, which will not be repeated in this embodiment.

[0225] In addition, it is worth mentioning that in actual applications, when users are walking or running, their terminal devices will also move, that is, they will be in an active state. In order to avoid performing the identification operation of the type of ride in this case and reduce misoperation, when it is detected that the user's terminal device is in an active state, it can also be further determined whether it meets the conditions for riding a vehicle. The specific implementation is as follows:

[0226] First, monitoring the moving speed and moving duration of the terminal device;

[0227] Then, according to the moving speed and moving duration, it is determined whether the moving state of the terminal device meets the moving condition of a vehicle;

[0228] Accordingly, when the conditions for traveling by vehicle are met, the above-mentioned operation of obtaining the terminal identification of the terminal device and the device identification of the scanned wireless hotspot device is performed.

[0229] It is not difficult to find from the above description that the wireless hotspot device classification method provided in this embodiment, when determining that the user is in a vehicle-riding activity state, can quickly determine whether the user's vehicle type is a private car type or a public transportation type based on the classification result of the wireless hotspot device, thereby facilitating the subsequent identification of the driving status of the user riding in a private car.

[0230] In addition, an embodiment of the present invention further provides a storage medium, on which a wireless hotspot device classification program is stored. When the wireless hotspot device classification program is executed by a processor, the steps of the wireless hotspot device classification method described above are implemented.

[0231] Reference Figure 7 , Figure 7 It is a structural block diagram of the first embodiment of the wireless hotspot device classification device of the present invention.

[0232] like Figure 7 As shown, the wireless hotspot device classification device proposed in the embodiment of the present invention includes:

[0233] The data capture module 7001 is used to capture the device identification and historical data of several wireless hotspot devices to be classified;

[0234] An information extraction module 7002 is used to extract time information and location information from the historical data;

[0235] A mobile wireless hotspot device screening module 7003 is used to screen mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information;

[0236] The vehicle-mounted wireless hotspot device screening module 7004 is used to screen the vehicle-mounted wireless hotspot device from the mobile wireless hotspot device according to the device identifier;

[0237] The terminal quantity acquisition module 7005 is used to obtain the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range;

[0238] The wireless hotspot device classification module 7006 is used to classify each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result.

[0239] The wireless hotspot device classification device provided in this embodiment extracts time information and location information from the historical data of several captured wireless hotspot devices to be classified, and then identifies the mobile wireless hotspot devices among the captured wireless hotspot devices to be classified according to the time information and location information, and then determines whether these mobile wireless hotspot devices are vehicle-mounted wireless hotspot devices based on the device identifiers corresponding to these mobile wireless hotspot devices, and then screens out the vehicle-mounted wireless hotspot devices. Finally, by obtaining the number of terminals that scan these vehicle-mounted wireless hotspot devices within a preset time range, and classifying them according to the number of terminals corresponding to each vehicle-mounted wireless hotspot device, the type of each vehicle-mounted wireless hotspot device can be quickly and accurately identified for subsequent use in the vehicle type identification process.

[0240] Other embodiments or specific implementations of the wireless hotspot device classification device of the present invention can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0241] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for classifying wireless hotspot devices, characterized in that: The wireless hotspot device classification method comprises the following steps: Capture the device identification and historical data of several wireless hotspot devices to be classified; extracting time information and location information from the historical data; Filtering mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information; Filtering a vehicle-mounted wireless hotspot device from the mobile wireless hotspot devices according to the device identifier; Get the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range; Classify each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result; The step of classifying each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result includes: Compare the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold; The vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is less than the preset threshold are regarded as the vehicle-mounted wireless hotspot devices to be identified; Obtain the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified; Determine the association between each terminal device and the vehicle-mounted wireless hotspot device to be identified according to the historical scanning number and the historical scanning time; Screening private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified according to the correlation degree; The private vehicle-mounted wireless hotspot device is added to a private hotspot device set, and the private hotspot device set is added to the classification result.

2. The wireless hotspot device classification method according to claim 1, characterized in that: The step of obtaining the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified includes: Based on the preset correlation analysis algorithm, determine the signal transmission frequency and confidence of the private vehicle wireless hotspot device; Determine the coverage range and radiation time corresponding to the private vehicle-mounted wireless hotspot device according to the signal transmission frequency and the confidence level; Determine, according to the coverage range and the radiation time, a time range and a spatial range for acquiring the historical scanning times and the historical scanning time; According to the time range and the spatial range, the historical scanning times and historical scanning times corresponding to each terminal device that scans the vehicle-mounted wireless hotspot device to be identified are obtained.

3. The wireless hotspot device classification method according to claim 1, characterized in that: The step of screening private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified according to the association degree includes: Filter out the vehicle-mounted wireless hotspot devices to be identified whose corresponding terminal devices have correlations greater than a preset correlation; The screened in-vehicle wireless hotspot devices to be identified are classified as private in-vehicle wireless hotspot devices.

4. The wireless hotspot device classification method according to claim 1, characterized in that: The step of adding the private vehicle-mounted wireless hotspot device to a private hotspot device set, and adding the private hotspot device set to the classification result, comprises: Obtain a terminal identifier of a terminal device corresponding to the private vehicle-mounted wireless hotspot device; The correspondence between the device identification of the private vehicle-mounted wireless hotspot device and the terminal identification is added to a private hotspot device set, and the private hotspot device set is added to the classification result.

5. The wireless hotspot device classification method according to claim 1, characterized in that: After the step of comparing the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold, the method further includes: Classify the vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is not less than the preset threshold as public vehicle-mounted wireless hotspot devices; The device identification of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

6. The wireless hotspot device classification method according to claim 5, characterized in that: After the step of classifying the vehicle-mounted wireless hotspot devices whose corresponding terminal quantity is not less than the preset threshold as public vehicle-mounted wireless hotspot devices, the method further includes: Obtaining a travel track of the public transportation equipment where the public vehicle-mounted wireless hotspot device is located; Determine, according to the driving trajectory, the device type of the public transportation device where the public vehicle-mounted wireless hotspot device is located; The step of adding the device identification of the public vehicle-mounted wireless hotspot device to a public hotspot device set, and adding the public hotspot device set to the classification result specifically includes: The correspondence between the device identification and the device type of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

7. The wireless hotspot device classification method according to claim 6, characterized in that: After the step of determining the type of the public transportation equipment according to the driving trajectory, the method further includes: Obtaining the moving time information of the public vehicle-mounted wireless hotspot device; Determine the equipment shift of the public transportation equipment where the public vehicle-mounted wireless hotspot equipment is located according to the equipment type of the public transportation equipment where the public vehicle-mounted wireless hotspot equipment is located, the movement time information, and the driving trajectory; The step of adding the correspondence between the device identification and the device type of the public vehicle-mounted wireless hotspot device to a public hotspot device set, and adding the public hotspot device set to the classification result specifically includes: The corresponding relationship between the device identification, device type and device shift of the public vehicle-mounted wireless hotspot device is added to a public hotspot device set, and the public hotspot device set is added to the classification result.

8. The wireless hotspot device classification method according to any one of claims 1 to 7, characterized in that: After the step of classifying each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result, the method further includes: When it is detected that the user's terminal device is in an active state, the device identification of the wireless hotspot device scanned by the terminal device within a preset time range is obtained to obtain the device identification to be identified; The riding type of the user is determined according to the classification result and the identification of the device to be identified.

9. The wireless hotspot device classification method according to claim 8, characterized in that: The step of obtaining the device identification of the wireless hotspot device scanned by the terminal device within a preset time range to obtain the device identification to be identified includes: Turn on the wireless LAN function and obtain the wireless hotspot channels that can be accessed within the preset time range; Scan the wireless hotspot channel to obtain device information of the wireless hotspot device corresponding to the wireless hotspot channel; The device identification is extracted from the device information to obtain the device identification to be identified.

10. The wireless hotspot device classification method according to claim 9, characterized in that: The step of scanning the wireless hotspot channel to obtain device information of the wireless hotspot device corresponding to the wireless hotspot channel includes: Acquire an error vector magnitude of the wireless hotspot channel, and determine a scanning time of the wireless hotspot channel based on the error vector magnitude; The wireless hotspot channel is scanned according to the scanning time to obtain device information of the wireless hotspot device corresponding to the wireless hotspot channel.

11. The wireless hotspot device classification method according to any one of claims 1 to 7, characterized in that: The step of screening the vehicle-mounted wireless hotspot device from the mobile wireless hotspot device according to the device identification comprises: The device identifier is identified based on a preset vehicle-mounted wireless hotspot device identification regular matching table, and the screened mobile wireless hotspot device is used as the vehicle-mounted wireless hotspot device.

12. A wireless hotspot device classification device, characterized in that: The device comprises: a memory, a processor, and a wireless hotspot device classification program stored in the memory and executable on the processor, wherein the wireless hotspot device classification program is configured to implement the steps of the wireless hotspot device classification method according to any one of claims 1 to 11.

13. A storage medium, characterized in that: The storage medium stores a wireless hotspot device classification program, and when the wireless hotspot device classification program is executed by the processor, the steps of the wireless hotspot device classification method according to any one of claims 1 to 11 are implemented.

14. A wireless hotspot device classification device, characterized in that: The wireless hotspot device classification device comprises: A data capture module, used to capture device identifications and historical data of several wireless hotspot devices to be classified; An information extraction module, used to extract time information and location information from the historical data; A mobile wireless hotspot device screening module, used for screening mobile wireless hotspot devices from the wireless hotspot devices to be classified based on the time information and the location information; A vehicle-mounted wireless hotspot device screening module, used for screening vehicle-mounted wireless hotspot devices from the mobile wireless hotspot devices according to the device identification; The terminal quantity acquisition module is used to obtain the number of terminals that scan each vehicle-mounted wireless hotspot device within a preset time range; A wireless hotspot device classification module, used to classify each vehicle-mounted wireless hotspot device based on the number of terminals to obtain a classification result; The wireless hotspot device classification module is also used to compare the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold; use the vehicle-mounted wireless hotspot devices whose corresponding terminal numbers are less than the preset threshold as the vehicle-mounted wireless hotspot devices to be identified; obtain the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified; determine the association between each terminal device and the vehicle-mounted wireless hotspot device to be identified based on the historical scanning times and the historical scanning times; filter private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified based on the association; add the private vehicle-mounted wireless hotspot device to the private hotspot device set, and add the private hotspot device set to the classification result.

15. The wireless hotspot device classification device according to claim 14, characterized in that: The wireless hotspot device classification module is also used to compare the number of terminals corresponding to each vehicle-mounted wireless hotspot device with a preset threshold; use the vehicle-mounted wireless hotspot devices whose corresponding terminal numbers are less than the preset threshold as the vehicle-mounted wireless hotspot devices to be identified; obtain the historical scanning times and historical scanning times of each terminal device that scans the vehicle-mounted wireless hotspot device to be identified; determine the association between each terminal device and the vehicle-mounted wireless hotspot device to be identified based on the historical scanning times and the historical scanning times; filter private vehicle-mounted wireless hotspot devices from the vehicle-mounted wireless hotspot devices to be identified based on the association; add the private vehicle-mounted wireless hotspot devices to a private hotspot device set, and add the private hotspot device set to the classification result.

16. The wireless hotspot device classification device according to claim 15, characterized in that: The wireless hotspot device classification module is also used to determine the signal transmission frequency and confidence of the private vehicle-mounted wireless hotspot device based on a preset association analysis algorithm; determine the coverage range and radiation time corresponding to the private vehicle-mounted wireless hotspot device according to the signal transmission frequency and the confidence; determine the time range and spatial range for obtaining the historical scanning number and the historical scanning time according to the coverage range and the radiation time; and obtain the historical scanning number and historical scanning time corresponding to each terminal device that scans the vehicle-mounted wireless hotspot device to be identified according to the time range and the spatial range.

17. The wireless hotspot device classification device according to claim 15, characterized in that: The wireless hotspot device classification module is also used to screen out the vehicle-mounted wireless hotspot devices to be identified whose corresponding terminal device association degrees are all greater than a preset association degree; and classify the screened vehicle-mounted wireless hotspot devices to be identified as private vehicle-mounted wireless hotspot devices.

18. The wireless hotspot device classification device according to claim 15, characterized in that: The wireless hotspot device classification module is also used to obtain the terminal identification of the terminal device corresponding to the private vehicle-mounted wireless hotspot device; add the correspondence between the device identification of the private vehicle-mounted wireless hotspot device and the terminal identification to the private hotspot device set, and add the private hotspot device set to the classification result.

19. The wireless hotspot device classification device according to claim 15, characterized in that: The wireless hotspot device classification module is also used to classify vehicle-mounted wireless hotspot devices whose corresponding terminal numbers are not less than the preset threshold as public vehicle-mounted wireless hotspot devices; add the device identifiers of the public vehicle-mounted wireless hotspot devices to the public hotspot device set, and add the public hotspot device set to the classification result.

Citation Information

Patent Citations

  • Type recognition method and device for wireless hotspots

    CN107391543A

  • Wireless-fidelity WiFi device identification method and device

    CN108235367A