CN111405466B - Site identification method, arrival reminding method, device, terminal and storage medium - Google Patents

Site identification method, arrival reminding method, device, terminal and storage medium Download PDF

Info

Publication number
CN111405466B
CN111405466B CN202010200183.7A CN202010200183A CN111405466B CN 111405466 B CN111405466 B CN 111405466B CN 202010200183 A CN202010200183 A CN 202010200183A CN 111405466 B CN111405466 B CN 111405466B
Authority
CN
China
Prior art keywords
wifi
data
station
base station
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010200183.7A
Other languages
Chinese (zh)
Other versions
CN111405466A (en
Inventor
蒋燚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010200183.7A priority Critical patent/CN111405466B/en
Publication of CN111405466A publication Critical patent/CN111405466A/en
Priority to PCT/CN2021/074776 priority patent/WO2021184985A1/en
Application granted granted Critical
Publication of CN111405466B publication Critical patent/CN111405466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a station identification method, a station arrival reminding device, a terminal and a storage medium, and belongs to the field of artificial intelligence. The method comprises the following steps: acquiring position fingerprint data acquired at a measuring station; determining valid location fingerprint data in the location fingerprint data; generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data; when the subway station is in a subway mode, acquiring fingerprint data of a current position; inquiring a site corresponding to the current position fingerprint data from a position fingerprint database, and determining the inquired site as the current site; and responding to the change of the current site, and reminding the arrival through a preset mode. According to the embodiment of the application, the current station is inquired by using the position fingerprint database, the third-party data is not relied on, WiFi is not required to be connected, malicious network attack is avoided while power consumption is reduced, the user is reminded of arriving at the station when the current station changes, the user is prepared to get off in advance, and the user is prevented from sitting at the station.

Description

Site identification method, arrival reminding method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of artificial intelligence, in particular to a station identification method, a station arrival reminding device, a terminal and a storage medium.
Background
When people go out by taking public transport means such as a subway, people need to pay attention to whether a current stop station is a target station of the people at all times, and the arrival reminding function is a function of reminding passengers to get off the bus in time when the passengers arrive at the target station.
In the related art, a terminal generally acquires station information by using a station reporting System of a car dispatching center, that is, a service center is reminded to master vehicle information through software and hardware connected with the car dispatching center, and provides information corresponding to a vehicle to an address corresponding to a two-dimensional code of each vehicle, and a user acquires a current station by scanning the two-dimensional code, or the user accesses a Train Control and Management System (TCMS) by using the terminal to connect a Wireless Fidelity (WiFi) in a carriage, so as to acquire the current station.
However, when the method is used for reminding the user of arriving at the station, the user needs to actively scan the two-dimensional code or open the WiFi connection, the station information is acquired by relying on the third-party data, and the situations of data loss, station missing report, station late report and the like are easily caused due to unstable network in the subway running process.
Disclosure of Invention
The embodiment of the application provides a station identification method, a station arrival reminding method, a device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a station identification method, where the method includes:
acquiring position fingerprint data acquired at a measuring station, wherein the position fingerprint data comprises at least one of WiFi data and base station data;
determining valid location fingerprint data in the location fingerprint data, wherein the valid location fingerprint data comprises at least one of valid WiFi data and valid base station data, the valid WiFi data is WiFi data of an internal WiFi device in the measurement site, and the valid base station data is base station data of an internal base station in the measurement site;
and generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data, wherein the position fingerprint database is used for identifying the current station with the current position fingerprint data acquired by the terminal.
On the other hand, the embodiment of the application provides an arrival reminding method, which comprises the following steps:
when the mobile terminal is in a subway mode, acquiring current position fingerprint data, wherein the current position fingerprint data comprises at least one of current WiFi data and current base station data, the current WiFi data is data of WiFi equipment scanned currently, and the current base station information is data of a current registered base station;
inquiring a site corresponding to the current position fingerprint data from a position fingerprint database, and determining the inquired site as the current site, wherein the position fingerprint database comprises a corresponding relation between the site and effective position fingerprint data at the site, the effective position fingerprint data comprises at least one of effective WiFi data and effective base station data, the effective WiFi data is WiFi data of internal WiFi equipment in the site, and the effective base station data is base station data of internal base stations in the site;
and responding to the change of the current site, and reminding the arrival through a preset mode.
On the other hand, an embodiment of the present application provides a station identification apparatus, where the apparatus includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring position fingerprint data acquired at a measurement site, and the position fingerprint data comprises at least one of WiFi data and base station data;
a first determining module, configured to determine valid location fingerprint data in the location fingerprint data, where the valid location fingerprint data includes at least one of valid WiFi data and valid base station data, the valid WiFi data is WiFi data of an internal WiFi device in the measurement site, and the valid base station data is base station data of an internal base station in the measurement site;
and the database generation module is used for generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data, wherein the position fingerprint database is used for identifying the current station with the current position fingerprint data acquired by the terminal.
On the other hand, the embodiment of the present application provides a device for reminding of arriving at a station, the device includes:
the second acquisition module is used for acquiring current position fingerprint data when the mobile terminal is in a subway mode, wherein the current position fingerprint data comprises at least one of current WiFi data and current base station data, the current WiFi data is data of WiFi equipment scanned currently, and the current base station information is data of a current registered base station;
the inquiry module is used for inquiring a station corresponding to the current position fingerprint data from a position fingerprint database, and determining the inquired station as the current station, wherein the position fingerprint database comprises a corresponding relation between the station and effective position fingerprint data at the station, the effective position fingerprint data comprises at least one of effective WiFi data and effective base station data, the effective WiFi data is WiFi data of internal WiFi equipment in the station, and the effective base station data is base station data of the internal base station in the station;
and the reminding module is used for responding to the change of the current site and reminding the arrival in a preset mode.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the station identification method or the arrival reminding method of the above aspects.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, where the storage medium stores at least one instruction, and the at least one instruction is used for being executed by a processor to implement the station identification method or the arrival reminding method in the foregoing aspect.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
in the embodiment of the application, effective position fingerprint data are determined by collecting position fingerprint data in a subway station, a position fingerprint database is generated, when a terminal is in a subway mode, a current station is determined according to the current position fingerprint data and the position fingerprint database, and when the current station is detected to be changed, arrival reminding is carried out on a user; the current website is inquired by using the position fingerprint database, third-party data is not relied on, WiFi is not required to be connected, malicious network attack is avoided while power consumption is reduced, when the current website changes, a user is reminded of arriving at the website, the user is made to get off in advance, and the user is prevented from sitting at the website.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 2 is a flow diagram illustrating a method of site identification in accordance with an exemplary embodiment;
FIG. 3 is an architecture diagram illustrating a location fingerprint data collection application in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of site identification according to another exemplary embodiment;
FIG. 5 is an interface schematic diagram illustrating a location fingerprint data collection application according to an exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of site identification according to another exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a location fingerprint data collection process in accordance with an exemplary embodiment;
FIG. 8 is a flow chart illustrating a method of arrival reminders according to an exemplary embodiment;
FIG. 9 is a user interface diagram illustrating a subway mode according to an exemplary embodiment;
FIG. 10 is a diagram illustrating an arrival reminder message in a lock screen interface in accordance with an exemplary embodiment;
FIG. 11 is a flow chart diagram illustrating a method of arrival reminders according to another exemplary embodiment;
FIG. 12 is a schematic diagram illustrating a subway line of travel and a station, according to an exemplary embodiment;
fig. 13 is a block diagram illustrating a structure of a station identifying apparatus according to an exemplary embodiment;
FIG. 14 is a block diagram illustrating the structure of a station arrival reminder according to an exemplary embodiment;
fig. 15 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown. The implementation environment includes a first terminal 101, a server 102, and a second terminal 103.
The first terminal 101 is an acquisition device for acquiring data by a developer, in which a first application program for acquiring data is installed. When a developer arrives at a designated subway station, a first application program in the first terminal 101 is started, and position fingerprint data of the subway station, such as WiFi data and base station data inside the subway station, is scanned and collected.
After the first terminal 101 finishes data acquisition, the acquired position fingerprint data is screened and arranged in a preset mode to generate a position fingerprint database, and the position fingerprint database comprises effective position fingerprint data and corresponding subway stations. In a possible application scenario, the location fingerprint database is stored in the first terminal 101, and the first terminal 101 issues the location fingerprint database to the second terminal 103 used by the user through a wireless network; optionally, the first terminal 101 sends the collected location fingerprint data to the server 102, and the server 102 constructs and stores a location fingerprint database according to the processed location fingerprint data, so as to send data in the location fingerprint database to the second terminal 103. The first terminal 101 is connected to the server 102 where the location fingerprint database is located through a wired or wireless network. In the embodiment of the present application, the location fingerprint database is located in the server 102 for example.
The second terminal 103 is a terminal used by the user, in which a second application program for performing the arrival alert function is installed. In a possible application scenario, the server 102 issues the position fingerprint database to the second terminal 103 installed with the second application program, and after a user enters the subway station, the second application program is started, so that the second terminal 103 determines the current station according to the current position fingerprint data and the position fingerprint database, and thus, when the current station changes, the user is reminded of arriving at the station; optionally, after the second terminal 103 starts the second application program, the current location fingerprint data is uploaded to the server 102, the server 102 determines a current site corresponding to the terminal according to the received data from the second terminal 103, and sends a data packet containing information of the current site to the second terminal 103, and the second terminal 103 performs arrival reminding on the user according to the data packet sent by the server 102.
Referring to fig. 2, a flowchart of a station identification method according to an embodiment of the present application is shown. In this embodiment, a site prediction method is described as an example of a method used in the terminal 101 (terminal with data acquisition function) shown in fig. 1, and the method includes:
step 201, acquiring location fingerprint data collected at a measurement station, where the location fingerprint data includes at least one of wireless fidelity WiFi data and base station data.
The position fingerprint is a characteristic helpful for distinguishing the position, a plurality of WiFi devices or base station devices are usually arranged in the subway station and used for guaranteeing the quality of wireless signals in the subway station, therefore, WiFi data or base station data are adopted as the position fingerprint data for distinguishing the subway station, the data acquisition is simple, and the characteristic is obvious.
Optionally, the terminal with data collection function is a measurement device, and the developer collects location fingerprint data to each measurement station in advance by using the measurement device. As shown in fig. 3, the measuring device is installed with an application program for collecting location fingerprint data, and the architecture of the application program includes a WiFi component 301 (e.g., WiFi manager), a Modem (Modem) component 302 (e.g., phone manager), and after a developer arrives at a designated subway station, the developer walks from one end of the subway station to the other end, and runs the application program to collect WiFi data 303 and base station data 304. Illustratively, the application scans for nearby WiFi and collects data at a frequency of 3s, and the developer manually scans for nearby base stations and collects data at a frequency of 5 s.
Step 202, determining valid location fingerprint data in the location fingerprint data, wherein the valid location fingerprint data includes at least one of valid WiFi data and valid base station data.
The effective WiFi data is WiFi data of internal WiFi equipment in the measuring station, and the effective base station data is base station data of internal base stations in the measuring station.
In one possible implementation mode, in order to prevent the influence of WiFi in an external environment, a base station or WiFi in a carriage on station identification, the terminal performs data cleaning on the acquired position fingerprint data in a predetermined mode to obtain effective position fingerprint data.
Step 203, generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data.
The position fingerprint database is used for identifying the current site with the current position fingerprint data acquired by the terminal.
In one possible implementation mode, the data acquisition equipment generates a position fingerprint database and sends the position fingerprint database to a terminal used by a user, and when the user takes a subway, the corresponding terminal identifies a current station according to the position fingerprint database and the current position fingerprint data; or the data acquisition device uploads the effective position fingerprint data to the database server, the database server generates and stores the position fingerprint database, and the data in the position fingerprint database (such as the position fingerprint data of the subway line corresponding to the city where the terminal is located) is sent to the terminal used by the user.
Optionally, the terminal correspondingly generates the position fingerprint database according to the sequence of the subway stations in the subway line map.
In summary, in the embodiment of the application, effective position fingerprint data is determined by collecting position fingerprint data in a subway station, a position fingerprint database is generated, when a terminal is in a subway mode, a current station is determined according to the current position fingerprint data and the position fingerprint database, and when the current station is detected to be changed, a user is reminded of arriving at the station; the current website is inquired by using the position fingerprint database, third-party data is not relied on, WiFi is not required to be connected, malicious network attack is avoided while power consumption is reduced, when the current website changes, a user is reminded of arriving at the website, the user is made to get off in advance, and the user is prevented from sitting at the website.
Referring to fig. 4, a flowchart of a station identification method according to another embodiment of the present application is shown. In this embodiment, a site prediction method is described as an example of a method used in the terminal 101 (terminal with data acquisition function) shown in fig. 1, and the method includes:
step 401, acquiring location fingerprint data collected at a measurement station, where the location fingerprint data includes at least one of WiFi data and base station data.
The implementation of step 401 may refer to step 201 described above, and is not described herein again in this embodiment of the present application.
Step 402, determining valid WiFi data in the WiFi data according to WiFi attribute information contained in the WiFi data.
The WiFi attribute information comprises at least one of a WiFi identification, a WiFi frequency band and WiFi scanning times.
After the terminal collects the position fingerprint data, the effective position fingerprint data needs to be determined in a preset mode, and interference of other data on site identification and arrival reminding is avoided. The terminal firstly determines effective WiFi data according to the WiFi attribute information of the WiFi data.
Referring to fig. 5, schematically, an interface diagram of a data acquisition application is shown, a developer arrives at a designated subway station, starts the application to perform location fingerprint data acquisition, scans WiFi and base stations in the subway station, and displays scanned relevant data in an interface, where the scanned relevant data includes a currently located test station 501, a scanned WiFi name 502, base station data 503, and WiFi data 504, where the WiFi data includes a scanning time, a WiFi identifier, a WiFi frequency band, and the like.
In one possible embodiment, the WiFi attribute information includes a WiFi identifier, and step 402 includes the following steps one and two:
firstly, acquiring a Service Set Identifier (SSID) in a WiFi Identifier; and responding to the SSID containing preset keywords, and determining the WiFi data corresponding to the SSID as effective WiFi data, wherein the preset keywords comprise keywords related to the subway.
The SSID is equivalent to an identifier of a local area network, and is mainly used for authentication of a subnet, and devices such as a router of the same manufacturer usually have the same SSID. In a possible implementation manner, since the SSIDs of the WiFi devices inside the subway station are preset with the same preset keywords, the terminal may determine WiFi data containing the preset keywords in the SSIDs as valid WiFi data. Optionally, the preset keywords may include subway, public, city rail, light rail, and the like.
Schematically, the SSID of WiFi equipment in subway stations in Shanghai is peanut subway WiFi, and for WiFi data acquired by the terminal, the fact that the SSID contains peanut subway WiFi is determined as effective WiFi data.
Secondly, acquiring a Basic Service Set Identifier (BSSID) in the WiFi Identifier; in response to the similarity of at least two BSSIDs being greater than a similarity threshold, WiFi data corresponding to the at least two BSSIDs is determined to be valid WiFi data.
BSSID refers to a Media Access Control Address (MAC Address) of a station, and Basic Service Set (BSS) is defined by Institute of Electrical and Electronics Engineers (IEEE) 802.11-1999 wlan specification, and indicates a coverage area of a radio Access Point (AP), and terminals can communicate with each other within a Service area of the BSS. The BSSID is a locally administered ieee mac address generated from an arbitrary encoding of 46 bits with individual/group bits set to 0 and universal/local address bits set to 1, so that a BSSID can uniquely identify an AP device.
For a plurality of WiFi devices in the same subway station, the first few bits of BSSID are generally the same, so in one possible implementation mode, the terminal is preset with a similarity threshold, and for the WiFi data with the BSSID similarity larger than the similarity threshold, the WiFi data are considered as the WiFi data of the WiFi devices in the same subway station, namely effective WiFi data; and if the BSSID of certain WiFi data does not have BSSID of other WiFi data and the similarity of the BSSID is larger than a similarity threshold, the WiFi data is considered as invalid WiFi data.
Illustratively, the preset similarity threshold of the terminal is 40%, for two pieces of WiFi data with BSSIDs of 06:14:4b:71:7c:9f and 06:14:4b:72:2a:54, the BSSID similarity of the two pieces of WiFi data is 50%, and the two pieces of WiFi data corresponding to the BSSIDs are determined to be valid WiFi data when the similarity threshold is greater than the similarity threshold.
In a possible implementation manner, the WiFi attribute information includes a WiFi identifier and a WiFi frequency band, and step 402 includes the following steps three and four:
and thirdly, acquiring BSSID and WiFi frequency band in the WiFi identification.
In the short-distance wireless transmission and conduction technology, the WiFi equipment works in a general wireless frequency band, and the terminal can acquire the WiFi frequency band and BSSID of each WiFi equipment from the acquired WiFi data, wherein the BSSID is used for identifying the WiFi equipment.
Fourthly, responding to different WiFi frequency bands corresponding to the same BSSID, and determining the WiFi data corresponding to the BSSID as effective WiFi data.
The related protocol of IEEE specifies the working frequency band of WiFi devices, existing WiFi devices usually work in two or more specific frequency bands, for example, a WiFi device in a subway station has two WiFi frequency bands of 2.4GHz and 5GHz, or has three WiFi frequency bands of 2.4GHz, 5GHz, and 6GHz, while a WiFi device in only one working frequency band is likely to be inside a vehicle compartment or other external WiFi devices and cannot be used for station identification, so in one possible implementation, a terminal determines whether corresponding WiFi data is valid data according to whether the same BSSID corresponds to different WiFi frequency bands.
Illustratively, in the obtained WiFi data, if the BSSID is 06:69:6c:0b:3f:1b, the corresponding operating frequency band is 2.4GHz and 5GHz, it is determined that the WiFi data including 06:69:6c:0b:3f:1b is valid WiFi data.
In one possible implementation, the WiFi attribute information includes a WiFi identification and a WiFi scan number, and step 402 includes the following steps five and six:
and fifthly, acquiring BSSID and WiFi scanning times in the WiFi identification.
When a developer carries out data acquisition in a subway station, the developer scans WiFi in the subway station by using an application program with a data acquisition function, so that the WiFi in the station can be scanned for many times, the number of times that the WiFi in a carriage or the WiFi carried by pedestrians in the station is scanned is small, the number of times that the WiFi is scanned cannot be changed along with the number of times that the WiFi is scanned, and in a possible implementation mode, the terminal determines whether the WiFi data is effective WiFi data or not by using the number of times that the WiFi is scanned.
And sixthly, in response to the fact that the number of WiFi scanning times corresponding to the BSSID is larger than a time threshold value, determining the WiFi data corresponding to the BSSID as valid WiFi data.
For WiFi equipment in a subway station, the more times of terminal scanning, the more times of corresponding scanning, so that the terminal can set a time threshold value according to the times of WiFi scanning during data acquisition, and WiFi data with the WiFi scanning times larger than the time threshold value are determined as effective WiFi data.
Illustratively, when the terminal performs data acquisition, the average WiFi scanning frequency in each subway station is 60 times, the frequency threshold is set to be 40, and if the WiFi scanning frequency corresponding to a certain BSSID is greater than 40, it is determined that the WiFi data corresponding to the BSSID is valid WiFi data.
Illustratively, the terminal summarizes the determined effective WiFi data to obtain an effective WiFi data table as shown in table 1:
Figure BDA0002419099470000091
TABLE 1
Step 403, determining effective base station data in the base station data according to the base station attribute information included in the base station data.
Wherein the base station attribute information comprises base station signal strength.
Similarly, after the terminal determines valid WiFi data, it needs to determine valid base station data. Generally, in order to improve the signal strength in and on a subway station, an operator sets more base stations in and near a subway line, and a base station which can be used for identifying a station should be a base station in or near the subway station, and the signal strength of the base station corresponding to the base station is stronger when a terminal collects data, so that the terminal determines an effective base station according to the signal strength of the base station in the base station data.
In a possible implementation, step 403 further includes: the base station data is determined to be valid base station data in response to the base station signal strength being greater than the signal strength threshold.
The method comprises the steps that a developer sets a signal intensity threshold according to a known base station in the station and the signal intensity of the base station corresponding to the base station, and a terminal screens effective base station data by comparing the base station signal intensity of each base station data with the signal intensity threshold, namely, the base station data with the base station signal intensity larger than the signal intensity threshold is determined as the effective base station data.
Illustratively, the terminal summarizes the determined effective base station data to obtain an effective base station data table shown in table 2:
Figure BDA0002419099470000101
TABLE 2
Step 404, generating a location fingerprint database according to the corresponding relationship between the measuring station and the effective location fingerprint data.
Illustratively, the terminal summarizes the effective location fingerprint data, and the corresponding measurement station obtains a location fingerprint database as shown in table 3:
ID city Line name Site name Base station ci BSSID
0 Shanghai province No. 1 line Shenzhu tea 217539649,24… 03:79:5a:7e:82:90
1 Shanghai province No. 1 line Outer loop 25745921,135… 03:79:4d:60:51:df
2 Shanghai province No. 1 line Lotus road 25739535,257… 03:24:6d:72:96:ae
TABLE 3
In the embodiment of the application, data cleaning is carried out on the collected WiFi data and the base station data in a preset mode, effective position fingerprint data in the subway station are obtained, the effectiveness of the position fingerprint database is improved, interference of other external equipment is avoided, and the accuracy of station identification is improved.
In order to reduce the workload of subsequent data cleaning, invalid WiFi data (such as WiFi data in a carriage) are not collected as much as possible, for a measuring station with few train numbers, a developer can select to collect data when vehicles on two sides are not in the station, and for stations such as an origin station, a terminal station or a transfer station, the situation that no vehicle exists in the station is difficult to exist, so that the developer needs to collect WiFi data on two sides of the station respectively, and the terminal obtains effective WiFi data by taking intersection of the data on the two sides.
In a possible implementation, on the basis of fig. 4, as shown in fig. 6, step 402 may be replaced by step 407, and step 407 may be preceded by step 405 and step 406:
in step 405, a first WiFi data and a second WiFi data in the WiFi data are determined.
The first WiFi data are measured when the subway in the first running direction enters, the second WiFi data are measured when the subway in the second running direction enters, and the first running direction and the second running direction are different.
In a possible implementation manner, the terminal distinguishes the first WiFi data and the second WiFi data by an indication of the collection time or the collection direction. The first WiFi data and the second WiFi data are WiFi data obtained by measurement when subways in two different directions are inbound respectively. When a subway on the left side enters the station, a developer walks from one end of the right side of the station to the other end to collect WiFi data; when the right subway station is inbound, the developer walks from one end of the left side of the platform to the other to collect WiFi data.
Schematically, referring to fig. 7, when a subway open to the south of shangjiang is inbound and a subway open to the cao is not in the station, a developer walks from one end open to the side of the cao to the other end to collect WiFi data; when the subway driving to the Cao road is in and the subway driving to the Songjiang south station is not in the station, the developer walks from one end of the side driving to the Songjiang south station to the other end to collect WiFi data.
Step 406, the intersection WiFi data of the first WiFi data and the second WiFi data is screened.
The first WiFi data and the second WiFi data are WiFi data acquired when a subway is in a station, so that WiFi in a carriage can be acquired, but the first WiFi data and the second WiFi data are acquired when different subways enter the station, and the WiFi data shared by the first WiFi data and the second WiFi data are the WiFi data in the subway station. In a possible implementation manner, the terminal screens out intersection WiFi data of the first WiFi data and the second WiFi data, and rejects other WiFi data.
Step 407, determining valid WiFi data according to WiFi attribute information included in the intersection WiFi data.
In step 406, the intersection WiFi data is obtained, which only can eliminate WiFi data in the carriage, but WiFi data corresponding to invalid WiFi devices located inside the station may also exist, so the terminal also needs to screen the intersection WiFi data to obtain valid WiFi data.
The detailed implementation of step 407 can refer to step 402, which is not described herein again in this embodiment of the present application.
In the embodiment of the application, intersection is taken to the WiFi data that gathers when the subway to the equidirectional not inbound, can ensure that effective WiFi data that finally obtains do not contain the wiFi data in the carriage, avoid the inside wiFi data in carriage to the interference of website discernment, improved the accuracy of website discernment.
Referring to fig. 8, a flowchart of an arrival reminding method according to an embodiment of the present application is shown. In this embodiment, an arrival reminding method is described as an example of the terminal 103 (terminal with data acquisition function) shown in fig. 1, and the method includes:
step 801, when the vehicle is in a subway mode, acquiring current position fingerprint data, wherein the current position fingerprint data comprises at least one of current WiFi data and current base station data.
The current WiFi data is data of the WiFi equipment which is scanned currently, and the current base station information is data of a current registered base station.
A user starts a subway mode of the terminal when entering a station and riding a car, the terminal scans at a certain frequency (for example, 5s once), and current position fingerprint data is obtained in real time; or the terminal performs WiFi scanning and base station scanning when the subway is about to enter the station and stops scanning when the subway leaves the station according to information such as the average running time of the subway between the stations and the average stop time in the station, so that the power consumption of the terminal is reduced.
In a possible implementation mode, the subway mode is started in an active starting mode such as manually clicking an icon of an application program by a user, clicking a relevant control in a negative screen of a terminal or starting by voice; or the terminal acquires the current user interface through the system buried point, and when the current user interface is detected to be the interface such as successful arrival or successful ticket payment, the terminal determines that the user enters the subway station and automatically starts the subway mode.
Step 802, querying a site corresponding to the current location fingerprint data from the location fingerprint database, and determining the queried site as the current site.
The position fingerprint database comprises a corresponding relation between effective position fingerprint data of the station and the station, the effective position fingerprint data comprises at least one of effective WiFi data and effective base station data, the effective WiFi data is WiFi data of internal WiFi equipment in the station, and the effective base station data is base station data of internal base stations in the station.
After acquiring current WiFi data and current base station data, the terminal queries a position fingerprint database as current position fingerprint data, if a corresponding station is queried, the subway enters the station, and the station is determined as the current station; if the current station is not inquired, the current position fingerprint data does not contain effective position fingerprint data, namely the subway does not arrive at the station.
Illustratively, if the current location fingerprint data contains WiFi data with BSSID 06:69:6c:0b:3e: ae, the current station can be determined to be the iris bridge by querying the location fingerprint database.
And 803, responding to the change of the current site, and reminding the arrival through a preset mode.
In a possible implementation manner, the subway mode of the terminal defaults to perform arrival reminding every time a station arrives, and optionally, a user can manually set the arrival reminding function to be turned on or turned off, or set part of target stations needing the arrival reminding function. And the terminal selects different modes to remind the user of arriving the station according to the current interface, the application program operated in the foreground or the station information of the current station.
Referring to fig. 9, schematically, a user interface diagram of a subway mode is shown, where if a terminal receives a display instruction of the application interface, after determining a current site 901, the current interface, a history site 903 and a destination site 902 are displayed in an updated manner, and transfer information of the current site, a control 904 for reminding the user of arriving at the site, a reminding site 905 set by the user, and the like are displayed below the current site. Optionally, if the terminal detects that the user interface is currently displayed, it indicates that the user is paying attention to the subway arrival situation, so that the user can be reminded of the arrival at the station in a message reminding mode of a message notification bar or a prompt message in the user interface.
Optionally, referring to fig. 10, if the current terminal is in the screen-off state, after the current station is determined, the screen is automatically turned on, and relevant information, such as the current station 1001, a shortcut key 1002 for entering a subway mode user interface, and the like, is displayed on the screen-locking interface. If the starting operation of the user is not detected, and the current station is the station needing to be reminded of arriving at the station, the terminal prompts the user that the user is about to arrive at the station through a suspension window for displaying the reminding of arriving at the station, vibration or a voice reminding mode.
Optionally, if the current screen is in a lighting state and the current user interface is not the user interface in the subway mode, the terminal determines the arrival reminding mode according to the type of the current user interface or the application program operated in the foreground. For example, if the application program running in the current foreground is a game application program or a reading application program, the user is reminded to arrive at the station in a popup vibration mode; and if the application program operated by the current foreground is a music type or broadcast type application program, reminding the user of arriving at the station in a voice reminding mode.
Optionally, the terminal determines a arrival reminding mode according to the site information of the current site. For example, if the current station is a transfer station or the current time period is a peak time of taking a car, the carriage may be crowded, the user is inconvenient to check the station information in the carriage, and the terminal is inconvenient to use, and the terminal reminds the user of arriving at the station in a vibration and voice prompt mode.
In a possible implementation manner, if the terminal receives a subway mode closing instruction, the terminal exits the subway mode; if the terminal detects successful interface information of outbound, or the current station is the destination station, and does not receive the subway mode closing instruction, the terminal starts the timer, and automatically exits the subway mode when the time of the timer is up to (for example, 20 minutes), and WiFi and base station scanning is not performed any more, so that unnecessary power consumption is avoided.
In summary, in the embodiment of the application, when the terminal is in the subway mode, the current station is determined according to the current position fingerprint data and the position fingerprint database, and the user is reminded of arriving at the station when the current station is detected to be changed; the current website is inquired by using the position fingerprint database, third-party data is not relied on, WiFi is not required to be connected, malicious network attack is avoided while power consumption is reduced, when the current website changes, a user is reminded of arriving at the website, the user is made to get off in advance, and the user is prevented from sitting at the website.
In order to reduce the power consumption of the terminal, the terminal in the subway mode firstly starts a scanning function of position fingerprint data, and if the current station cannot be determined according to the position fingerprint data, the terminal starts the scanning function of other types of position fingerprint data. In a possible implementation manner, referring to fig. 11 on the basis of fig. 8, step 802 further includes the following steps 802a to 802 c:
step 802a, in response to querying a site corresponding to the current WiFi data from the location fingerprint database, determining the queried site as a current site.
In a possible implementation manner, the terminal only starts a WiFi scanning function, acquires current WiFi data, and queries a corresponding site in the location fingerprint database according to the current WiFi data. And if the corresponding site is inquired, determining the site as the current site.
And step 802b, in response to the situation that the site corresponding to the current WiFi data is not inquired from the position fingerprint database, inquiring the site corresponding to the current base station data from the position fingerprint database.
Due to reasons of WiFi scanning abnormity, updating of WiFi equipment in the station and the like, the terminal may not acquire current WiFi data, or the current WiFi data does not exist in the position fingerprint database, the terminal acquires current base station data, and determines the current station according to the current base station data.
Step 802c, in response to the station corresponding to the current base station data queried from the location fingerprint database, determining the queried station as the current station.
And if the site corresponding to the current base station information exists in the position fingerprint database, determining the inquired site as the current site. In a possible implementation manner, if the number of the inquired sites is one, the terminal directly determines the site as the current site; and if a plurality of inquired stations are available, determining the current station according to the historical stations and the subway driving direction.
Schematically, referring to fig. 12, a subway in which a terminal is located is traveling from a station B to a station C, historical stations are the station a and the station B and respectively correspond to an intra-station WiFi1201 and an intra-station WiFi1202, while the intra-station WiFi does not exist in the station C and the station D, and the station C and the station D correspond to the same base station data. The terminal queries the position fingerprint database according to the current base station data to obtain a C station and a D station, the current station cannot be directly determined, the driving direction of the subway can be determined according to the historical stations A and B and the subway line map, and the current station is determined to be the C station according to the previous station being the B station.
In the embodiment of the application, the terminal determines the current station according to the position fingerprint data, and when the current station cannot be determined according to the position fingerprint data, the current station is determined according to the position fingerprint data of other types, so that the accuracy and timeliness of arrival reminding are ensured, and the power consumption of the terminal is reduced.
Referring to fig. 13, a block diagram of a station identification apparatus according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes:
a first obtaining module 1301, configured to obtain location fingerprint data collected at a measurement station, where the location fingerprint data includes at least one of WiFi data and base station data;
a first determining module 1302, configured to determine valid location fingerprint data in the location fingerprint data, where the valid location fingerprint data includes at least one of valid WiFi data and valid base station data, where the valid WiFi data is WiFi data of an internal WiFi device in the measurement site, and the valid base station data is base station data of an internal base station in the measurement site;
and a database generating module 1303, configured to generate a location fingerprint database according to a corresponding relationship between the measurement station and the valid location fingerprint data, where the location fingerprint database is used to identify a current station where the current location fingerprint data acquired by the terminal is located.
Optionally, the first determining module 1302 includes:
a first determining unit, configured to determine, according to WiFi attribute information included in the WiFi data, the valid WiFi data in the WiFi data, where the WiFi attribute information includes at least one of a WiFi identifier, a WiFi frequency band, and a WiFi scanning number;
a second determining unit, configured to determine, according to base station attribute information included in the base station data, the valid base station data in the base station data, where the base station attribute information includes a base station signal strength.
Optionally, the WiFi attribute information includes the WiFi identifier;
the first determining unit is further configured to:
acquiring a service set identifier SSID in the WiFi identifier; responding to the SSID containing preset keywords, and determining the WiFi data corresponding to the SSID as effective WiFi data, wherein the preset keywords comprise keywords related to the subway;
acquiring a Basic Service Set Identifier (BSSID) in the WiFi identifier; in response to the similarity of at least two BSSIDs being larger than a similarity threshold, WiFi data corresponding to at least two BSSIDs are determined as valid WiFi data.
Optionally, the WiFi attribute information includes the WiFi identifier and the WiFi frequency band;
the first determining unit is further configured to:
acquiring BSSID in the WiFi identification and the WiFi frequency band;
in response to the BSSID corresponding to a different WiFi frequency band, determining the WiFi data corresponding to the BSSID as the valid WiFi data.
Optionally, the WiFi attribute information includes the WiFi identifier and the WiFi scanning number;
the first determining unit is further configured to:
acquiring BSSID in the WiFi identification and the WiFi scanning times;
in response to the number of WiFi scans for the BSSID being greater than a threshold number of times, determining the WiFi data for the BSSID as the valid WiFi data.
Optionally, the apparatus further comprises:
a second determining module, configured to determine first WiFi data and second WiFi data in the WiFi data, where the first WiFi data is measured when a subway in a first running direction enters, the second WiFi data is measured when a subway in a second running direction enters, and the first running direction and the second running direction are different;
the screening module is used for screening intersection WiFi data of the first WiFi data and the second WiFi data;
the first determining unit is further configured to:
and determining the effective WiFi data according to the WiFi attribute information contained in the intersection WiFi data.
Optionally, the second determining unit is further configured to:
determining the base station data as the valid base station data in response to the base station signal strength being greater than a signal strength threshold.
Referring to fig. 14, a block diagram of a station arrival reminding apparatus according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes:
a second obtaining module 1401, configured to obtain current location fingerprint data when the mobile terminal is in a subway mode, where the current location fingerprint data includes at least one of current WiFi data and current base station data, the current WiFi data is data of a currently scanned WiFi device, and the current base station information is data of a currently registered base station;
an inquiring module 1402, configured to inquire a station corresponding to the current location fingerprint data from a location fingerprint database, and determine the inquired station as the current station, where the location fingerprint database includes a correspondence between the station and effective location fingerprint data at the station, the effective location fingerprint data includes at least one of effective WiFi data and effective base station data, the effective WiFi data is WiFi data of WiFi devices inside the station, and the effective base station data is base station data of base stations inside the station;
and a reminding module 1403, configured to respond to the change of the current site and remind the user of arrival in a predetermined manner.
Optionally, the query module 1402 includes:
a third determining unit, configured to determine, in response to querying a station corresponding to the current WiFi data from the location fingerprint database, the queried station as the current station;
a fourth determining unit, configured to query, in response to a station corresponding to the current WiFi data not being queried from the location fingerprint database, a station corresponding to the current base station data from the location fingerprint database; and determining the inquired station as the current station in response to the station corresponding to the current base station data inquired from the position fingerprint database.
Referring to fig. 15, a block diagram of a terminal 1500 according to an exemplary embodiment of the present application is shown. The terminal 1500 may be an electronic device installed and running with an application, such as a smart phone, a tablet computer, an electronic book, a portable personal computer, and the like. Terminal 1500 in the present application can include one or more of the following components: a processor 1520, a memory 1510, and a screen 1530.
Processor 1520 may include one or more processing cores. The processor 1520 interfaces with various parts within the overall terminal 1500 using various interfaces and lines to perform various functions of the terminal 1500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1510 as well as invoking data stored in the memory 1510. Alternatively, the processor 1520 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1520 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is responsible for rendering and drawing the content that the screen 1530 needs to display; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 1520, but may be implemented by a single communication chip.
The Memory 1510 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 1510 includes a non-transitory computer-readable medium. The memory 1510 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1510 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described method embodiments, and the like, and the operating system may be an Android (Android) system (including an Android system depth development-based system), an IOS system developed by apple inc (including an IOS system depth development-based system), or other systems. The stored data area may also store data created by the terminal 1500 during use (e.g., phone book, audio-video data, chat log data), etc.
The screen 1530 may be a capacitive touch display screen for receiving a touch operation of a user thereon or nearby using any suitable object such as a finger, a stylus, or the like, and displaying a user interface of each application. The touch display screen is generally provided on the front panel of the terminal 1500. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configuration of terminal 1500 illustrated in the above-identified figures is not meant to be limiting with respect to terminal 1500, and that terminals may include more or less components than those shown, or some components may be combined, or a different arrangement of components. For example, the terminal 1500 further includes a radio frequency circuit, a camera module, a sensor, an audio circuit, a Wi-Fi module, a power supply, a bluetooth module, and other components, which are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the station identification method or the station arrival reminding method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the station identification method or the arrival reminding method according to the above embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for identifying a station, the method comprising:
acquiring position fingerprint data acquired at a measuring station, wherein the position fingerprint data comprises at least one of wireless fidelity (WiFi) data and base station data;
determining first WiFi data and second WiFi data in the WiFi data, wherein the first WiFi data are measured in a subway station when a subway in a first running direction enters, the second WiFi data are measured in the subway station when a subway in a second running direction enters, and the first running direction and the second running direction are different;
screening intersection WiFi data of the first WiFi data and the second WiFi data; determining effective WiFi data in the intersection WiFi data according to WiFi attribute information contained in the intersection WiFi data, wherein the WiFi attribute information comprises at least one of a WiFi identification, a WiFi frequency band and WiFi scanning times, the effective WiFi data is WiFi data of internal WiFi equipment in the measuring station, the effective WiFi data is the intersection WiFi data meeting at least one condition that the WiFi identification contains a preset keyword, the similarity of the effective WiFi data with the WiFi identification of at least one intersection WiFi data is greater than a similarity threshold value and corresponds to at least two different WiFi frequency bands, and the WiFi scanning times are greater than a time threshold value, and the preset keyword comprises a keyword related to a subway;
determining effective base station data in the base station data according to base station attribute information contained in the base station data, wherein the base station attribute information comprises base station signal intensity, and the effective base station data is base station data of an internal base station in the measuring station;
and generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data, wherein the effective position fingerprint data comprises the effective WiFi data and the effective base station data, and the position fingerprint database is used for identifying the current station with the current position fingerprint data acquired by the terminal.
2. The method of claim 1, wherein the WiFi attribute information comprises the WiFi identification;
the determining effective WiFi data in the WiFi data according to WiFi attribute information included in the WiFi data includes:
acquiring a service set identifier SSID in the WiFi identifier; responding to the SSID containing the preset keywords, and determining that the WiFi data corresponding to the SSID are the effective WiFi data;
acquiring a Basic Service Set Identifier (BSSID) in the WiFi identifier; in response to the similarity of at least two BSSIDs being greater than the similarity threshold, determining WiFi data corresponding to at least two BSSIDs as valid WiFi data.
3. The method of claim 1, wherein the WiFi attribute information comprises the WiFi identification and the WiFi frequency band;
the determining effective WiFi data in the WiFi data according to WiFi attribute information included in the WiFi data includes:
acquiring BSSID in the WiFi identification and the WiFi frequency band;
in response to the BSSID corresponding to a different WiFi frequency band, determining the WiFi data corresponding to the BSSID as the valid WiFi data.
4. The method of claim 1, wherein the WiFi attribute information comprises the WiFi identification and the WiFi scan number;
the determining effective WiFi data in the WiFi data according to WiFi attribute information included in the WiFi data includes:
acquiring BSSID in the WiFi identification and the WiFi scanning times;
in response to the number of WiFi scans for the BSSID being greater than the number threshold, determining the WiFi data for the BSSID as the valid WiFi data.
5. The method of claim 1, wherein the determining valid base station data in the base station data according to the base station attribute information included in the base station data comprises:
determining the base station data as the valid base station data in response to the base station signal strength being greater than a signal strength threshold.
6. An arrival reminding method, characterized in that the method comprises:
when the mobile terminal is in a subway mode, acquiring current position fingerprint data, wherein the current position fingerprint data comprises at least one of current WiFi data and current base station data, the current WiFi data is data of WiFi equipment scanned currently, and the current base station information is data of a current registered base station;
inquiring a station corresponding to the current position fingerprint data from a position fingerprint database, determining the inquired station as the current station, wherein the position fingerprint database comprises a corresponding relation between the station and effective position fingerprint data of the station, the effective position fingerprint data comprises effective WiFi data and effective base station data, the effective WiFi data is WiFi data of internal WiFi equipment in the station, the effective base station data is base station data of the internal base station in the station, the effective WiFi data is obtained according to WiFi attribute information of collected intersection WiFi data, the WiFi attribute information comprises at least one of WiFi identification, WiFi frequency band and WiFi scanning times, the intersection WiFi data is an intersection of WiFi data obtained by measuring and entering in subway stations in different directions during subways, and the effective WiFi data meets the condition that the WiFi identification comprises preset keywords, preset positions and effective position fingerprint data, The similarity of the WiFi identification of at least one intersection WiFi data is greater than a similarity threshold value, the intersection WiFi data corresponds to at least two different WiFi frequency bands, and the WiFi scanning times are greater than at least one condition of a time threshold value, the preset keywords comprise keywords related to a subway, the effective base station data is obtained according to base station attribute information of the collected base station data, and the base station attribute information comprises base station signal intensity;
and responding to the change of the current site, and reminding the arrival through a preset mode.
7. The method according to claim 6, wherein the querying the site corresponding to the current location fingerprint data from the location fingerprint database, and determining the queried site as the current site, comprises:
in response to the station corresponding to the current WiFi data inquired from the location fingerprint database, determining the inquired station as the current station;
responding to the situation that the site corresponding to the current WiFi data is not inquired from the position fingerprint database, and inquiring the site corresponding to the current base station data from the position fingerprint database; and determining the inquired station as the current station in response to the station corresponding to the current base station data inquired from the position fingerprint database.
8. A station identifying apparatus, characterized in that the apparatus comprises:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring position fingerprint data acquired at a measurement site, and the position fingerprint data comprises at least one of WiFi data and base station data;
a second determining module, configured to determine first WiFi data and second WiFi data in the WiFi data, where the first WiFi data is measured in a subway station when a subway in a first operation direction enters, the second WiFi data is measured in the subway station when a subway in a second operation direction enters, and the first operation direction and the second operation direction are different;
the screening module is used for screening intersection WiFi data of the first WiFi data and the second WiFi data;
a first determining module, configured to determine, according to WiFi attribute information included in the intersection WiFi data, valid WiFi data in the intersection WiFi data, where the WiFi attribute information includes at least one of a WiFi identifier, a WiFi frequency band, and a WiFi scanning number, the valid WiFi data is WiFi data of an internal WiFi device in the measurement site, the valid WiFi data is the intersection WiFi data that satisfies at least one of a condition that the WiFi identifier includes a preset keyword, a condition that a similarity of the WiFi identifier of at least one of the intersection WiFi data and at least one of the WiFi identifiers is greater than a similarity threshold, the valid WiFi data corresponds to at least two different WiFi frequency bands, and the WiFi scanning number is greater than a number threshold, and the preset keyword includes a keyword related to a subway;
the first determining module is further configured to determine effective base station data in the base station data according to base station attribute information included in the base station data, where the base station attribute information includes base station signal strength, and the effective base station data is base station data of an internal base station in the measurement site;
and the database generation module is used for generating a position fingerprint database according to the corresponding relation between the measuring station and the effective position fingerprint data, wherein the effective position fingerprint data comprises the effective WiFi data and the effective base station data, and the position fingerprint database is used for identifying the current station with the current position fingerprint data acquired by the terminal.
9. An arrival reminding apparatus, the apparatus comprising:
the second acquisition module is used for acquiring current position fingerprint data when the mobile terminal is in a subway mode, wherein the current position fingerprint data comprises at least one of current WiFi data and current base station data, the current WiFi data is data of WiFi equipment scanned currently, and the current base station information is data of a current registered base station;
the inquiry module is used for inquiring the station corresponding to the current position fingerprint data from the position fingerprint database, determining the inquired station as the current station, wherein the position fingerprint database comprises the corresponding relation between the station and the effective position fingerprint data of the station, the effective position fingerprint data comprises effective WiFi data and effective base station data, the effective WiFi data is WiFi data of internal WiFi equipment in the station, the effective base station data is base station data of the internal base station in the station, the effective WiFi data is obtained according to the WiFi attribute information of the collected intersection WiFi data, the WiFi attribute information comprises at least one of a WiFi identification, a WiFi frequency band and WiFi scanning times, the WiFi data is the intersection of WiFi data measured in the subway station when subways in different directions enter, and the effective WiFi data meets the condition that the WiFi identification comprises preset keywords, The similarity of the WiFi identification of at least one intersection WiFi data is greater than a similarity threshold value, the intersection WiFi data corresponds to at least two different WiFi frequency bands, and the WiFi scanning times are greater than at least one condition of a time threshold value, the preset keywords comprise keywords related to a subway, the effective base station data is obtained according to base station attribute information of the collected base station data, and the base station attribute information comprises base station signal intensity;
and the reminding module is used for responding to the change of the current site and reminding the arrival in a preset mode.
10. A terminal, characterized in that the terminal comprises a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the method of site identification according to any of claims 1 to 5 or the method of arrival alert according to claim 6 or 7.
11. A computer-readable storage medium storing at least one instruction for execution by a processor to perform the method for identifying a station as claimed in any one of claims 1 to 5 or the method for reminding a station as claimed in claim 6 or 7.
CN202010200183.7A 2020-03-20 2020-03-20 Site identification method, arrival reminding method, device, terminal and storage medium Active CN111405466B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010200183.7A CN111405466B (en) 2020-03-20 2020-03-20 Site identification method, arrival reminding method, device, terminal and storage medium
PCT/CN2021/074776 WO2021184985A1 (en) 2020-03-20 2021-02-02 Station identification method, station arrival prompting method, device and terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010200183.7A CN111405466B (en) 2020-03-20 2020-03-20 Site identification method, arrival reminding method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111405466A CN111405466A (en) 2020-07-10
CN111405466B true CN111405466B (en) 2022-01-18

Family

ID=71436398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010200183.7A Active CN111405466B (en) 2020-03-20 2020-03-20 Site identification method, arrival reminding method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111405466B (en)
WO (1) WO2021184985A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405466B (en) * 2020-03-20 2022-01-18 Oppo广东移动通信有限公司 Site identification method, arrival reminding method, device, terminal and storage medium
CN112566013B (en) * 2020-11-02 2021-08-31 上海钐昆网络科技有限公司 Target equipment positioning method, device, equipment and computer storage medium
CN113207082B (en) * 2021-03-30 2021-11-26 重庆越致科技有限公司 Mobile network data positioning system and method based on traffic route position fingerprint database
CN113114752B (en) * 2021-04-07 2023-02-24 Oppo广东移动通信有限公司 Data acquisition method, device, terminal and server based on public traffic scene
CN113204715B (en) * 2021-04-13 2024-03-29 Oppo广东移动通信有限公司 User recommendation method and device, electronic equipment and storage medium
CN113205682B (en) * 2021-04-26 2023-06-27 Oppo广东移动通信有限公司 Method for determining travel track, electronic equipment and storage medium
CN113207098B (en) * 2021-04-30 2022-09-16 Oppo广东移动通信有限公司 Site information determination method and device, mobile terminal and storage medium
CN116033350A (en) * 2021-10-27 2023-04-28 华为终端有限公司 Service implementation method based on position location, data processing method and device
CN115002668B (en) * 2021-11-11 2023-04-07 荣耀终端有限公司 Method and electronic equipment for utilizing position fingerprint
CN114158119B (en) * 2021-12-09 2024-03-01 北京百度网讯科技有限公司 Driving direction identification method and device, electronic equipment and medium
CN114630269B (en) * 2022-02-28 2024-01-09 北京百度网讯科技有限公司 Signal processing method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167405A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Arrival reminding method and electronic equipment
CN103369671A (en) * 2013-07-16 2013-10-23 上海瑞涛信息技术有限公司 Close-range positioning system and method based on WIFI
CN204557804U (en) * 2015-05-11 2015-08-12 宁波萨瑞通讯有限公司 A kind of vehicle arrival reminding system
WO2017120848A1 (en) * 2016-01-14 2017-07-20 刘建兵 Method and device for station arrival reminder, and mobile terminal
CN108683985A (en) * 2018-04-27 2018-10-19 深圳市交投科技有限公司 A kind of WIFI location fingerprints point prescreening method and storage medium
CN110322579A (en) * 2019-06-25 2019-10-11 佳都新太科技股份有限公司 Work attendance method, system, device, corresponding equipment, server and storage medium
CN110446255B (en) * 2019-07-29 2021-01-26 深圳数位传媒科技有限公司 Subway scene positioning method and device based on communication base station
CN111405466B (en) * 2020-03-20 2022-01-18 Oppo广东移动通信有限公司 Site identification method, arrival reminding method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111405466A (en) 2020-07-10
WO2021184985A1 (en) 2021-09-23

Similar Documents

Publication Publication Date Title
CN111405466B (en) Site identification method, arrival reminding method, device, terminal and storage medium
CN111356077B (en) Site prediction method, device, terminal and storage medium
CN108665678B (en) Rescue requesting method and device
CN105165070B (en) System, program and the method for wireless terminal discovery access point
CN104980997B (en) Network access method and mobile communication terminal
CN107316465B (en) Vehicle owner contact method and system based on vehicle electronic identification
US9723428B2 (en) Internet-of-things system for public transportation service and method of operating same
CN111391784B (en) Information prompting method and device, storage medium and related equipment
CN109981763B (en) Implementation method for establishing communication connection with relational personnel of vehicle and management terminal
CN108140303A (en) Method, apparatus, car-mounted terminal and the server that traffic message transmits
CN112309089A (en) Alarm method, alarm device, storage medium and electronic equipment
CN112383877A (en) Electronic device, service subscription method of service area and related product
CN103916930A (en) Message prompt method, system and device
CN107949031A (en) A kind of scan method of wireless network, mobile terminal and storage medium
KR100650512B1 (en) Information providing system and method using wireless data communication
CN113543015A (en) Communication method, device and system
CN112261735B (en) Health information detection method, system and mobile terminal
CN102857624B (en) Notification method, notification device and source electronic equipment
JP2003134546A (en) Information service providing system employing attribute of location
WO2022262445A1 (en) Method and apparatus for acquiring positioning information, electronic device, and storage medium
CN216645107U (en) Safety management and signal interference prevention system for electronic detonator detonation region
CN113469393A (en) Display color control method, device, server and storage medium for vehicle
CN111314852B (en) Data transmission method, device, storage medium and electronic terminal
CN112440937B (en) Vehicle unlocking method and related device
CN110602754B (en) Wireless resource connection method and mobile terminal

Legal Events

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