CN115665654A - Method, device, equipment, medium and program product for identifying station - Google Patents

Method, device, equipment, medium and program product for identifying station Download PDF

Info

Publication number
CN115665654A
CN115665654A CN202211287326.8A CN202211287326A CN115665654A CN 115665654 A CN115665654 A CN 115665654A CN 202211287326 A CN202211287326 A CN 202211287326A CN 115665654 A CN115665654 A CN 115665654A
Authority
CN
China
Prior art keywords
site
station
terminal
information
positioning
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.)
Pending
Application number
CN202211287326.8A
Other languages
Chinese (zh)
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 CN202211287326.8A priority Critical patent/CN115665654A/en
Publication of CN115665654A publication Critical patent/CN115665654A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment, a medium and a program product for identifying a station, belonging to the technical field of positioning. The method comprises the following steps: positioning a site where the first terminal is located to obtain first site information; acquiring second site information from a second terminal, wherein the second terminal is a terminal which is positioned at the same site as the first terminal, and the second site information is site information obtained by positioning a site where the second terminal is positioned; and determining the site where the first terminal is located based on the first site information and the second site information. According to the method, the more accurate site where the first terminal is located is determined by integrating the first site information positioned by the first terminal and the second site information positioned by the second terminal.

Description

Method, device, equipment, medium and program product for identifying station
Technical Field
The present disclosure relates to the field of positioning technologies, and in particular, to a method, an apparatus, a device, a medium, and a program product for identifying a station.
Background
The subway is a rail transit in cities, and the large-capacity transportation capacity of the subway provides great convenience for urban residents to go out.
Along with the sudden increase of the number of passengers on the subway, passengers can get off the subway with poor experience, especially in early peak and late peak periods, the passengers often cannot see or hear the information of the station, the passengers can get off the subway when the passengers get on the subway, or the passengers miss the opportunity to get off the subway because of overcrowding, and then get off the subway when the passengers get on the subway.
In order to avoid the above-described situation of sitting and standing, passengers need to pay attention to the arrival information of the subway all the time, and much effort is required for passengers with long travel.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment, a medium and a program product for identifying a station. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method for identifying a station, which is applied to a first terminal, the method including:
positioning a site where the first terminal is located to obtain first site information;
acquiring second site information from a second terminal, wherein the second terminal is a terminal located at the same site as the first terminal, and the second site information is obtained by positioning a site where the second terminal is located;
and determining the site where the first terminal is located based on the first site information and the second site information.
According to another aspect of the present application, there is provided an apparatus for identifying a station, the apparatus including:
the positioning module is used for positioning a station where the first terminal is located to obtain first station information;
an obtaining module, configured to obtain second site information from a second terminal, where the second terminal is a terminal located at the same site as the first terminal, and the second site information is site information obtained by the second terminal locating a site where the second terminal is located;
the positioning module is configured to determine a station where the first terminal is located based on the first station information and the second station information.
According to another aspect of the present application, there is provided a terminal, including a processor, and a memory connected to the processor, where the memory stores program instructions, and the processor executes the program instructions to implement the method for identifying a station according to the aspects of the present application.
According to another aspect of the present application, there is provided a computer-readable storage medium having stored therein program instructions that, when executed by a processor, implement the method for identifying a station as provided in the various aspects of the present application.
According to another aspect of the present application, there is provided a computer program product (or computer program) comprising computer instructions stored in a computer readable storage medium; the computer instructions are read from the computer readable storage medium by a processor of a computer device, and the processor executes the computer instructions to realize the station identification method according to the aspects of the present application.
According to another aspect of the present application, there is provided a chip comprising programmable logic circuits and/or program instructions for implementing a method for identifying a station as provided in the various aspects of the present application when the chip is run.
The beneficial effects brought by the technical scheme provided by the embodiment of the application can include:
in the station identification method, the first terminal locates the current station of the first terminal, and simultaneously obtains the information of the current station located by the second terminal from the second terminal located in the same station; and then, the current site where the first terminal is located is determined by integrating the first site information obtained by self-positioning and the second site information obtained by positioning of the second terminal, and the current site where the first terminal is located is more accurately identified through the cooperative positioning of the first site information and the second site information.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 illustrates a schematic diagram of a communication system provided by an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a method for identifying a station according to an exemplary embodiment of the present application;
fig. 3 illustrates a schematic diagram of a communication system provided by another exemplary embodiment of the present application;
fig. 4 shows a flowchart of a method for identifying a site provided by another exemplary embodiment of the present application;
fig. 5 is a flowchart illustrating a method for identifying a site according to another exemplary embodiment of the present application;
fig. 6 is a block diagram illustrating an apparatus for identifying a station according to an exemplary embodiment of the present application;
fig. 7 shows a schematic structural diagram of a computer device provided in an exemplary embodiment of the present application.
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.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "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.
The subway is a rail transit in cities, and the large-capacity transportation capacity of the subway provides great convenience for urban residents to go out.
Along with the sudden increase of the number of passengers on the subway, the passengers can get off the subway in a relatively poor experience sense when arriving at the station, especially in the early peak and late peak periods, the passengers often cannot see or cannot hear the information of the station, and the passengers can get off the station, or the passengers miss the getting off time due to overcrowding and then get on the station.
In order to avoid the above-mentioned situation of sitting over, passengers need to pay attention to the arrival information of the subway all the time, which requires much effort for passengers with long travel. Instead of spending energy on arriving information all the way to the subway, passengers may wish to do something in the neutral position of the ride, such as learning, working, relaxing, etc. Therefore, the arrival prompting method is provided, a user (namely a passenger) can set a task of arrival prompting on a portable terminal, the terminal locates the current station where the terminal is located, and when the current station is a terminal station or a transfer station set by the user, a prompt is sent. Therefore, the user can do some things in the free space of taking a bus, but not pay attention to the arrival information of the subway all the time, and only get off the bus when the terminal gives a prompt.
Generally, a terminal may employ Location-Based Services (LBS) to locate a current site where the terminal is located. The LBS may be a Positioning service provided by a Global Positioning System (GPS), a Global NAvigation Satellite System (GLONASS), a beidou Satellite NAvigation System, or the like, or a Positioning service provided by an Assisted Global Positioning System (AGPS), or a mobile base station Positioning service, or a Wireless (WiFi) Positioning service.
However, the terminal locates the current station where the terminal is located based on the LBS, and the influence of signals is large, and signals in the subway station are not good, so that the accuracy of terminal location is reduced.
In order to improve the accuracy of positioning a subway station by a terminal, the present application provides a station identification method, and please refer to the following embodiments for details of the implementation manner.
Fig. 1 shows a schematic structural diagram of a communication system according to an exemplary embodiment of the present application. The communication system comprises a first terminal 110 and a second terminal 120.
The first terminal 110 and the second terminal 120 have a function of wireless communication. Optionally, the wireless communication comprises short range wireless communication. Illustratively, the short-range wireless communication includes, but is not limited to, at least one of: wireless Fidelity Direct (WiFi Direct) Communication, ultra Wide Band (UWB) Communication, near Field Communication (NFC), wireless sensing (WiFi Aware), mobile Direct (including 3G/4G/5G Direct) Communication, and bluetooth Communication. Here, 3G refers to a third Generation communication System (3 rd Generation communication System), 4G refers to a fourth Generation communication System (4 th Generation communication System), and 5G refers to a fifth Generation Mobile communication System (5 th Generation Mobile Wireless Networks).
Illustratively, the terminals (including the first terminal 110 and the second terminal 120) include, but are not limited to, at least one of: intelligent terminal, panel computer, notebook computer, intelligent wrist-watch, electronic reader, intelligent robot and mobile unit.
Illustratively, the terminal includes a positioning component, a processor, a memory, and a communication component. The memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the station identification method provided by the present application, such as controlling a positioning component to position a station where a terminal is located, determining a positioning manner of the station, and determining a confidence level of the station; for example, the communication component is controlled to receive station information obtained by positioning other terminals; for example, the control communication component broadcasts the site information obtained by the terminal positioning itself; for example, on the basis of the station information located by the terminal itself, the station where the terminal is located is determined by combining the station information located by other terminals.
Illustratively, the positioning assembly includes, but is not limited to, at least one of: a radio frequency fingerprint positioning component; a positioning component using UWB technology; a positioning component adopting WiFi communication technology; a positioning component using Bluetooth Low Energy (BLE) technology; a GPS positioning component.
A processor may include one or more processing cores. The processor, using the various interfaces and lines to connect the various parts within the terminal, performs the various functions of the terminal (including the user terminal) and processes the data by executing or executing instructions, programs, code sets or instruction sets stored in memory, as well as invoking data stored in memory.
Optionally, the processor may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU) and a modem. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the above modem may not be integrated into the processor, but may be implemented by a chip.
The Memory may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory includes a non-transitory computer-readable medium. The memory may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image processing function, an information interaction function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data and the like referred to in the following respective method embodiments.
The communication component may include at least one of: the system comprises a WiFiDirect communication component, a UWB communication component, an NFC component, a WiFi Aware communication component, a mobile direct (including 3G/4G/5G direct) communication component and a Bluetooth communication component. Illustratively, the communication component is configured to establish a wireless communication connection between the first terminal 110 and the second terminal 120, and to perform data transmission through the wireless communication connection.
For example, the first terminal 110 and the second terminal 120 are located at the same station, for example, the first terminal 110 and the second terminal 120 are located at the same subway station.
Those skilled in the art will appreciate that the number of terminals in the above-described communication system may be greater or fewer. For example, the number of the terminals in the communication system may be only one, or several tens or several hundreds, or more, and the number of the terminals and the device types in the communication system are not limited in the embodiments of the present application.
Fig. 2 is a flowchart illustrating a method for identifying a station according to an exemplary embodiment of the present application, where the method may be applied to the first terminal shown in fig. 1, and the method includes:
step 210, positioning a station where the first terminal is located, and obtaining first station information.
The first site information is information obtained by positioning the current site where the first terminal is located by the first terminal. Illustratively, the combination form of the first site information includes at least one of:
a first site identification of the first site and a first positioning mode adopted for positioning the first site;
a first station identification, a first positioning mode and a first moment for positioning the first station;
a first site identification, a first positioning mode and a first confidence of the first site;
the method comprises the steps of identifying a first station, a first positioning mode, a first moment and a first confidence coefficient;
a first site identification, a first time of day, and a first confidence level.
The first confidence coefficient is used for indicating the positioning accuracy of the first terminal at the first site.
Step 220, obtaining second site information from a second terminal, where the second terminal is a terminal located at the same site as the first terminal, and the second site information is site information obtained by the second terminal locating a site where the second terminal is located.
The second site information is information obtained by positioning, by the second terminal, a current site where the second terminal is located, and exemplarily, a combination form of the second site information includes at least one of the following:
a second station identifier of the second station and a second positioning mode for positioning the second station;
a second station identification, a second positioning mode and a second moment for positioning the second station;
the second station identification, the second positioning mode and the second confidence coefficient of the second station;
a second site identification, a second positioning mode, a second time and a second confidence coefficient;
a second site identification, a second time of day, and a second confidence level.
And the second confidence coefficient is used for indicating the positioning accuracy of the second terminal at the second site.
Optionally, the first terminal receives second site information broadcast by the second terminal. Under the condition that no communication connection exists between the first terminal and the second terminal, after the second terminal obtains the second site information through positioning, the second terminal transmits the second site information to other terminals in a broadcasting mode, and at the moment, the first terminal can receive the second site information in a signal scanning mode. For example, the broadcast mode may be a bluetooth broadcast mode, a mobile communication broadcast mode, or an NFC broadcast mode. The station information is transmitted between the terminals in a broadcasting mode, and under the condition of sharing the positioned station information, communication connection among the devices is not needed, so that the network safety can be effectively improved.
Optionally, the second terminal includes at least two, and correspondingly, the second site information includes at least two, and each piece of the second site information includes the second site identifier. Wherein, the second station identifiers contained in the different second station information are different, that is, the stations located by the plurality of second terminals are different stations; and/or the second station identifications contained in the different second station information are the same, that is, the stations located by the plurality of second terminals are different stations.
It should be noted that, in the embodiment of the present application, the execution order of step 210 and step 220 is not limited, and in the embodiment, step 210 and step 220 are only executed in sequence as an example.
Step 230, determining a site where the first terminal is located based on the first site information and the second site information.
Optionally, when the first site information includes a confidence level (i.e., a first confidence level) of the first site and the second site information includes a confidence level (i.e., a second confidence level) of the second site, the first terminal determines, based on the confidence level of the first site and the confidence level of the second site, the first site or the second site with the highest confidence level as the site where the first terminal is located. For example, when the first confidence is higher than the second confidence, the first terminal determines the first station as the station where the first terminal is located; and under the condition that the first confidence coefficient is lower than the second confidence coefficient, the first terminal determines the second station as the station where the first terminal is located. Wherein the first site and the second site are different sites.
Optionally, there is a highest confidence level of at least two sites among the plurality of sites; wherein the plurality of sites comprises a first site and at least one second site; alternatively, the plurality of sites includes at least two second sites.
And under the condition that the first site and the second site have the highest confidence coefficient, voting the first site and the second site based on a voting mechanism, and determining the first site or the second site with the highest votes as the site where the first terminal is located.
Or when n second sites in the at least two second sites have the highest confidence, voting the n second sites based on a voting mechanism, and determining the second site with the highest vote number as the site where the first terminal is located; wherein n is a positive integer greater than 1.
The highest confidence level refers to the highest confidence level among the multiple confidence levels corresponding to the multiple sites.
In some embodiments, there is a case where the first site information and the second site information do not include a confidence level, where the first site information includes the first positioning manner, and the second site information includes the second positioning manner. The first terminal determines a first confidence coefficient corresponding to the first positioning mode and a second confidence coefficient corresponding to the second positioning mode based on the mapping relation between the positioning modes and the confidence coefficients; and then determining the site where the first terminal is located from the plurality of sites based on the first confidence degree and the second confidence degree.
Optionally, the first site information further includes a first time, the second site information further includes a second time, and an interval time between the positioning time of the site and the current time may affect a confidence of the site; the first terminal determines first interval time between the first moment and the current moment, and determines first confidence coefficients corresponding to the first interval time and the first positioning mode based on the mapping relation among the interval time, the positioning mode and the confidence coefficients; determining a second interval time between the second moment and the current moment, and determining a second confidence coefficient corresponding to the second interval time and the second positioning mode based on the mapping relation among the interval time, the positioning mode and the confidence coefficient; and then determining the site where the first terminal is located from the plurality of sites based on the first confidence degree and the second confidence degree.
The implementation manner of determining the site where the first terminal is located is an implementation manner under the premise that different sites are determined from the first site and the at least one second site; if the first station and the second station are the same station, the first station or the second station is directly determined as the station where the first terminal is located.
For example, the site identifier in the embodiment of the present application may be a site name.
In summary, in the station identification method provided in this embodiment, while the first terminal locates the current station where the first terminal is located, the first terminal also obtains information of the current station located by the second terminal from the second terminal located at the same station; and then, the current site where the first terminal is located is determined by integrating the first site information obtained by self-positioning and the second site information obtained by positioning of the second terminal, and the current site where the first terminal is located is more accurately identified through the cooperative positioning of the second terminal and the current site where the first terminal is located.
Exemplary, positioning means include, but are not limited to, at least one of:
LBS-based positioning mode;
a motion sensor based positioning mode;
the motion sensor mainly includes an acceleration sensor, a gyro (angular velocity) sensor, and the like. The acquired data can reflect the motion state of the equipment, such as stillness, acceleration, deceleration, speed and the like, and further can acquire the motion distance of the equipment. The data acquired by the motion sensor can be used for judging the motion state of the current equipment, so that whether the train is in the states of entering, leaving and the like, the running speed, the distance and the like of the train are judged, and the station where the current equipment is located can be determined by combining a train line diagram.
Wherein the motion sensor includes an Inertial Measurement Unit (IMU).
A positioning mode based on the signal fingerprint;
the signal fingerprint refers to the unique fingerprint (such as MAC address, signal characteristics and the like) of signals (such as Bluetooth, cellular mobile signals, wiFi signals and the like) of each position where a train passes through. Which is fixed and unchangeable over a period of time and unique and can be used to refer to specific location information. The signal fingerprint is used, a database of the corresponding relation between the signal fingerprint and the geographic position needs to be established in advance, and the position of the current equipment can be inquired subsequently through the signal fingerprint.
External information system based positioning means;
the external information System mainly refers to a third-party information System such as a Train Control and Management System (TCMS) on which the device depends, and is capable of providing the device with the location information of the current Train. The device can access an external information system through a specific connection mode, and acquire the state and the position of the current train through a specific interface, so that the position of the device is determined.
A positioning mode based on audio recognition;
the audio recognition refers to recognition by collecting environmental audio through a microphone of the equipment. The method can be used for identifying the broadcast information of the train arriving at the station so as to determine the station where the equipment is located; the method can also be used for identifying the running state of the train, such as running and stopping, and the like, and is combined with the train route diagram so as to determine the current station of the equipment.
A positioning mode based on image recognition;
the image recognition is mainly to collect images of a prompt panel of a train running line through a camera for recognition, so that a current station or a next station prompted on the prompt panel is judged, and a station where the equipment is located is determined.
Location based on destination sharing.
The destination sharing is to obtain destination sites of a plurality of devices in a wireless broadcast mode, and obtain a current site through a difference set of two adjacent destination site sets.
The first terminal/the second terminal may perform positioning of the station by using the one station positioning method, or perform positioning of the station by using at least two station positioning methods.
Taking site location of a first terminal as an example, the first terminal locates a site where the first terminal is located through at least two site location modes to obtain at least two pieces of first candidate site information, wherein the at least two pieces of first candidate site information correspond to the at least two first candidate sites; and determining a first station with the highest confidence coefficient from at least two first candidate stations based on the confidence coefficient of the first candidate station in the first candidate station information to obtain the first station information.
Optionally, when m first candidate sites of the at least two first candidate sites have the highest confidence, voting the m first candidate sites based on a voting mechanism, and determining the first candidate site with the highest vote number as the first site; wherein m is a positive integer greater than 1.
Exemplary, the standing-position mode includes at least two of the following:
positioning a station where a first terminal is located on a train running route through positioning service (LBS), and obtaining first candidate station information;
positioning a station where a first terminal is located on a train running route through a running sensor to obtain first candidate station information;
positioning a station where a first terminal is located on a train running route through a signal fingerprint to obtain first candidate station information;
positioning a station where a first terminal is located on a train running route through an external information system to obtain first candidate station information;
determining the station name broadcasted when the train arrives at the station through automatic voice recognition to obtain first candidate station information;
determining the site name of a site through image recognition to obtain first candidate site information;
and positioning a station where the first terminal is located on the train running route through destination sharing to obtain first candidate station information.
Illustratively, the voting mechanism is preset in the terminal.
It should be noted that, as a determination method of the confidence of the candidate station, reference may be made to the determination method based on the first confidence/the second confidence. Illustratively, ">" indicates greater than > confidence for voted sites > confidence for LBS located sites > confidence for sites located by motion sensor > confidence for sites located by automatic speech recognition.
In summary, in the positioning manner provided in this embodiment, multiple site positioning manners may be adopted to position the site where the terminal is located, and then a site with a high confidence is determined as the site where the terminal is located from multiple sites obtained by positioning in the multiple site positioning manners, so that the accuracy of the positioned site can be improved.
In some embodiments, after obtaining the site where the first terminal is located by positioning, the first terminal further determines whether the first terminal reaches the terminal station or the transfer station, and the first terminal sends a station arrival prompt in response to that the site where the first terminal is located is the destination station; or the first terminal responds to the fact that the station where the first terminal is located is a transfer station and sends a transfer prompt.
Illustratively, the terminal is set by a user; the transfer station is set by a user or determined by the first terminal based on a riding route, and the riding route is determined by the first terminal based on the starting station and the terminal station. The first terminal can determine a plurality of candidate riding routes based on the starting station and the terminal station, and the riding route is selected from the candidate riding routes by the user.
In other embodiments, in a case where the first terminal cannot perform station location by itself (including a case where the second terminal does not have a station location function), the station information is provided by the second terminal, and the first terminal receives the second station information from the second terminal in the communication system shown in fig. 3, and then determines the station where the first terminal is located based on the second station information. Fig. 4 is a flowchart illustrating a station identification method according to an exemplary embodiment of the present application, which may be applied to the first terminal shown in fig. 3, and the method includes:
step 310, obtaining second site information from a second terminal, where the second terminal is a terminal located at the same site as the first terminal, and the second site information is site information obtained by the second terminal locating a site where the second terminal is located.
The second site information is information obtained by positioning, by the second terminal, a current site where the second terminal is located, and for example, a combination form of the second site information includes at least one of the following:
a second station identifier of the second station and a second positioning mode for positioning the second station;
a second station identification, a second positioning mode and a second moment for positioning the second station;
the second station identification, the second positioning mode and the second confidence coefficient of the second station;
a second site identification, a second positioning mode, a second time and a second confidence coefficient;
a second site identification, a second time of day, and a second confidence level.
And the second confidence coefficient is used for indicating the positioning accuracy of the second terminal at the second site.
Optionally, the first terminal receives second site information broadcast by the second terminal. Under the condition that no communication connection exists between the first terminal and the second terminal, after the second terminal obtains the second site information through positioning, the second terminal transmits the second site information to other terminals in a broadcasting mode, and at the moment, the first terminal can receive the second site information in a signal scanning mode. For example, the broadcast mode may be a bluetooth broadcast mode, a mobile communication broadcast mode, or an NFC broadcast mode. The station information is transmitted between the terminals in a broadcasting mode, and under the condition of sharing the positioned station information, communication connection among the devices is not needed, so that the network safety can be effectively improved.
Optionally, the second terminal includes at least two, and correspondingly, the second site information includes at least two, and each piece of the second site information includes the second site identifier. The second site identifiers contained in the different second site information are different, that is, the sites where the plurality of second terminals are located are different sites; and/or the second station identifications contained in the different second station information are the same, that is, the stations located by the plurality of second terminals are different stations.
And step 320, determining the station where the first terminal is located based on the second station information.
Optionally, the second site information includes a confidence level (i.e., a second confidence level) of the second site, and when the second site includes at least two sites, the first terminal determines, based on the confidence level of the second site, the second site with the highest confidence level as the site where the first terminal is located.
Optionally, there is a highest confidence level among the plurality of sites including at least two sites; wherein the plurality of sites includes at least two second sites. When n second sites in the at least two second sites have the highest confidence coefficient, voting the n second sites based on a voting mechanism, and determining the second site with the highest vote number as the site where the first terminal is located; wherein n is a positive integer greater than 1.
The highest confidence level refers to the highest confidence level among the multiple confidence levels corresponding to the multiple sites.
In some embodiments, there is a case where the second site information does not include the confidence level, and the second site information includes the second positioning manner. The first terminal determines a second confidence coefficient corresponding to the second positioning mode based on the mapping relation between the positioning mode and the confidence coefficient; and then determining the site where the first terminal is located from the plurality of second sites based on the second confidence degree.
Optionally, the second station information further includes a second time, and the interval time between the positioning time of the station and the current time may affect the confidence of the station; the first terminal determines a second interval time between the second moment and the current moment, and determines a second confidence coefficient corresponding to the second interval time and the second positioning mode based on the mapping relation among the interval time, the positioning mode and the confidence coefficient; and then determining the site where the first terminal is located from the plurality of second sites based on the second confidence degree.
The determining of the implementation manner of the site where the first terminal is located is an implementation manner on the premise that different sites are determined from at least two second sites; and if at least two second sites are the same site, directly determining the second sites as the sites where the first terminal is located.
For example, the site identifier in the embodiment of the present application may be a site name.
In summary, in the station identification method provided in this embodiment, the first terminal may determine the station where the first terminal is located from the station information acquired from the second terminal under the condition that the current station where the first terminal is located cannot be located, so as to implement location of the station where the first terminal is located.
The application provides a positioning mode of a station, combines multiple positioning and auxiliary means to realize accurate positioning of a terminal, can obtain a better positioning effect under the weak network environment of a subway, and can provide accurate, timely and effective arrival reminding service for users under different situations.
When a user swipes a card through a subway gate using terminal equipment, triggering a reminding service; the reminding service reminds the user to set a destination site, and can also recommend the destination site for the user by combining the user travel time period and the historical record; calculating a riding route and a transfer station according to a destination station and a subway running line; if a plurality of transfer schemes exist, preferentially recommending the best scheme, and providing the rest schemes for the user to select; calculating a transfer station through a destination station and a riding scheme; bringing the transfer site and the target site into a reminding site set; when the user arrives at the previous station of the reminding station, reminding (such as pop-up window, notification, ring, vibration and the like) is carried out on the user, and secondary reminding can be carried out on the user when the user arrives at the reminding station; and the user finishes the reminding service by swiping the card when going out of the station.
When a user just enters a gate, the user can be assumed to enter an indoor subway station from the outdoors, and because the positioning result precision of the outdoor positioning service is higher and more accurate, it can be assumed that the positioning data of the user is relatively accurate within a period of time when the user just enters the subway station, and the reliability (namely, the confidence) of the user is set to be high. After entering the subway for a period of time, due to the special operating environment of the subway, the positioning result error generated by the positioning service becomes large, so that the reliability of the positioning result error is set to be low.
The specific method for locating the current station by the single device is as follows:
1) The equipment judges whether the station arrives or not through the IMU, and obtains the current station information IMU _ station by combining the train running line; since the motion sensor data error is large, its confidence level is set low;
2) The equipment judges whether the station arrives or not through audio recognition, and obtains the current station information ASR _ station by combining with the train running line; setting the credibility of the audio frequency to be low and medium according to the audio frequency quality and the confidence coefficient of the recognition result (the audio frequency quality is clear, the confidence coefficient of the recognition result is high, the confidence coefficient is medium, otherwise, the confidence coefficient is low);
3) The equipment obtains current position information through positioning service and obtains current station information LBS _ station by combining with a train running line; setting the credibility of the terminal to be high or low according to the time length of the terminal on the subway (the credibility is high within a period of time just entering the subway, and the credibility is low after a certain period of time is exceeded);
4) Making a decision on the obtained result, and preferentially selecting the result with high reliability as a final result; if a plurality of results with consistent credibility exist, selecting the result with the highest vote number as a final result in a voting mode; if a plurality of results with consistent credibility, consistent ticket number and inconsistent result exist, sorting the results according to the credibility of the source (such as Vote _ state > LBS _ state > IMU _ state > ASR _ state, and recording the voting result as Vote _ state), and preferentially selecting the result with high source credibility as a final result; recording a source and a reliability corresponding to the positioning result;
the above positioning modes 0 to 0 may be increased or decreased, or other combinations may be used, and are not particularly limited.
As shown in fig. 5, the specific way of sharing and locating the current station by multiple devices is as follows:
taking the devices a and B as an example for explanation, the device a is already on the subway and the device B is going to get on the subway at the subway station platform.
When the device A is on the subway, the positioning result of the device A is A _ ASR _ station1, the source is ASR, and the reliability is low. The device A externally broadcasts the self-positioning result, source and credibility.
The device B obtains the specific station information B _ LBS _ station1 at the subway station through the positioning service, the source is the positioning service, and the reliability is high. And the device B scans and broadcasts the obtained positioning result, source and credibility by using Bluetooth.
Both the devices a and B acquire the site information broadcast by the other party. For example, the location information obtained by the device a is [ (a _ ASR _ station1, ASR, low), (B _ LBS _ station1, LBS, high) ], and by comparing the degrees of reliability, the B _ LBS _ station1 is selected as the current station information. So that each device obtains consistent station information B _ LBS _ station1.
And if a plurality of results with consistent credibility exist, the decision and fusion of the results are realized by the method mentioned in the step 0 of the single-device positioning fusion mode.
When the device C appears, the device C repeats 1 and enters the subway. And synchronizing information with A and B. A. B, C gets the next station information C _ LBS _ station2. The devices a, B and C can calculate the current subway line and direction through the station sequences [ B _ LBS _ station1, C _ LBS _ station2 ]. Based on the monitoring, the traveling route of the user is monitored, and if the user deviates from the route, the user is reminded.
The method does not require different devices to have the same positioning means, and each device can select the positioning mode according to the software and hardware capability of the device and then perform fusion decision with the positioning capability of other devices. For example, the a device is a watch/bracelet, which can only be positioned by a motion sensor; and the B device is a mobile phone, which can realize positioning by using positioning service, a motion sensor, audio identification and other modes.
By the method, the sharing of the positioning information of a plurality of devices can be realized, and only the devices are provided with the Bluetooth modules. For the device which does not have the positioning function or the motion sensor, the device positioning and arrival reminding functions can be realized through sharing of other devices.
In the weak network environment (usually occurring in the morning and evening rush hour), the positioning and network delay is increased, and the error of the positioning result is increased. If a plurality of devices exist at the same time, the correction of the positioning result can be realized through the sharing of the positioning result among the devices. Meanwhile, the frequency of calling the positioning service by the equipment can be properly reduced, and the positioning information is obtained through the broadcast of other equipment, so that the increase of the power consumption of the equipment caused by frequently calling the positioning service is avoided.
Under extreme conditions (weak network environment and no other devices are present), the device can also realize more accurate positioning results through the fusion of the positioning results of multiple self positioning modes, thereby realizing the arrival reminding service.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 shows a block diagram of a station identification apparatus according to an exemplary embodiment of the present application. The identification means of the station may be implemented as all or part of the first terminal by software, hardware or a combination of both. The device includes:
a positioning module 410, configured to position a station where the first terminal is located, to obtain first station information;
an obtaining module 420, configured to obtain second site information from a second terminal, where the second terminal is a terminal located in the same site as the first terminal, and the second site information is obtained by positioning a site where the second terminal is located;
the positioning module 410 is configured to determine a station where the first terminal is located based on the first station information and the second station information.
In some embodiments, the first site information comprises a confidence level of the first site and the second site information comprises a confidence level of the second site;
the determining the station where the first terminal is located based on the first station information and the second station information includes:
and determining the first site or the second site with the highest confidence coefficient as the site where the first terminal is located based on the confidence coefficient of the first site and the confidence coefficient of the second site.
In some embodiments, the determining the first station or the second station with the highest confidence level as the station where the first terminal is located includes:
and under the condition that the first site and the second site have the highest confidence coefficient, voting the first site and the second site based on a voting mechanism, and determining the first site or the second site with the highest vote number as the site where the first terminal is located.
In some embodiments, the second site comprises at least two;
the determining the first station or the second station with the highest confidence as the station where the first terminal is located includes:
when n second sites in the at least two second sites have the highest confidence coefficient, voting the n second sites based on a voting mechanism, and determining the second site with the highest vote number as the site where the first terminal is located; wherein n is a positive integer greater than 1.
In some embodiments, the obtaining the second station information from the second terminal includes:
and receiving the second site information broadcasted by the second terminal.
In some embodiments, the positioning the station where the first terminal is located to obtain the first station information includes:
positioning a station where the first terminal is located through at least two station positioning modes to obtain at least two pieces of first candidate station information, wherein the at least two pieces of first candidate station information correspond to the at least two first candidate stations;
and determining the first station with the highest confidence degree from the at least two first candidate stations based on the confidence degree of the first candidate station in the first candidate station information to obtain the first station information.
In some embodiments, the determining, from the at least two first candidate sites, the first site with the highest confidence level based on the confidence level of the first candidate site in the first candidate site information includes:
when m first candidate sites in the at least two first candidate sites have the highest confidence, voting the m first candidate sites based on a voting mechanism, and determining the first candidate site with the highest vote number as the first site; wherein m is a positive integer greater than 1.
In some embodiments, the site location comprises at least two of:
positioning a station where the first terminal is located on a train running route through a running sensor to obtain information of the first candidate station;
determining the station name broadcasted when the train arrives at the station through automatic voice recognition to obtain the first candidate station information;
and positioning the station where the first terminal is located on the train running route through a positioning service to obtain the first candidate station information.
In some embodiments, the apparatus further comprises: a prompt module 430;
the prompt module 430 is configured to send an arrival prompt in response to that the station where the first terminal is located is a destination; or sending a transfer prompt in response to the fact that the station where the first terminal is located is a transfer station.
In summary, the station identification apparatus provided in this embodiment locates the current station where the first terminal is located, and meanwhile, obtains information of the current station located by the second terminal from the second terminal located at the same station; and then, the current site where the first terminal is located is determined by integrating the first site information obtained by the positioning of the first terminal and the second site information obtained by the positioning of the second terminal, and the current site where the first terminal is located is more accurately identified through the cooperative positioning with the second terminal.
Fig. 7 shows a schematic structural diagram of a computer device provided in an exemplary embodiment of the present application. The computer device may be a device that performs the method of identifying a site as provided herein. Specifically, the method comprises the following steps:
the computer apparatus 1000 includes a Central Processing Unit (CPU) 1001, a system Memory 1004 including a Random Access Memory (RAM) 1002 and a Read Only Memory (ROM) 1003, and a system bus 1005 connecting the system Memory 1004 and the Central Processing Unit 1001. The computer device 1000 also includes a basic Input/Output System (I/O System) 1006 for facilitating information transfer between devices within the computer, and a mass storage device 1007 for storing an operating System 1013, application programs 1014, and other program modules 1015.
The basic input/output system 1006 includes a display 1008 for displaying information and an input device 1009, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1008 and an input device 1009 are connected to the central processing unit 1001 via an input-output controller 1010 connected to the system bus 1005. The basic input/output system 1006 may also include an input/output controller 1010 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 1010 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1007 is connected to the central processing unit 1001 through a mass storage controller (not shown) connected to the system bus 1005. The mass storage device 1007 and its associated computer-readable media provide non-volatile storage for the computer device 1000. That is, the mass storage device 1007 may include a computer-readable medium (not shown) such as a hard disk or Compact Disc Read Only Memory (CD-ROM) drive.
Computer readable media may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, erasable Programmable Read-Only Memory (EPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Solid State Memory technology, CD-ROM, digital Versatile Disks (DVD), or Solid State Drives (SSD), other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage devices. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1004 and mass storage device 1007 described above may be collectively referred to as memory.
According to various embodiments of the present application, the computer device 1000 may also operate as a remote computer connected to a network through a network, such as the Internet. That is, the computer device 1000 may be connected to the network 1012 through the network interface unit 1011 connected to the system bus 1005, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 1011.
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU to implement the station identification method as described above.
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 a processor to implement the method for identifying a station according to the above embodiments.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM).
It should be noted that: in the identifying apparatus for a station according to the above embodiment, when the identifying method for a station is executed, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the station identification apparatus and the station identification method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only an exemplary embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A method for identifying a station, applied to a first terminal, includes:
positioning a site where the first terminal is located to obtain first site information;
acquiring second site information from a second terminal, wherein the second terminal is a terminal which is positioned at the same site as the first terminal, and the second site information is site information obtained by positioning a site where the second terminal is positioned;
and determining the site where the first terminal is located based on the first site information and the second site information.
2. The method of claim 1, wherein the first site information includes a confidence level of the first site and the second site information includes a confidence level of the second site;
the determining, based on the first site information and the second site information, a site where the first terminal is located includes:
and determining the first site or the second site with the highest confidence coefficient as the site where the first terminal is located based on the confidence coefficient of the first site and the confidence coefficient of the second site.
3. The method according to claim 2, wherein the determining the first station or the second station with the highest confidence level as the station where the first terminal is located comprises:
and under the condition that the first site and the second site both have the highest confidence, voting the first site and the second site based on a voting mechanism, and determining the first site or the second site with the highest vote number as the site where the first terminal is located.
4. The method of claim 2, wherein the second site comprises at least two;
the determining the first station or the second station with the highest confidence degree as the station where the first terminal is located includes:
when n second sites in the at least two second sites have the highest confidence coefficient, voting the n second sites based on a voting mechanism, and determining the second site with the highest vote number as the site where the first terminal is located; wherein n is a positive integer greater than 1.
5. The method according to any one of claims 1 to 4, wherein the obtaining the second site information from the second terminal comprises:
and receiving the second site information broadcasted by the second terminal.
6. The method according to any one of claims 1 to 4, wherein the locating the station where the first terminal is located to obtain the first station information comprises:
positioning a station where the first terminal is located through at least two station positioning modes to obtain at least two pieces of first candidate station information, wherein the at least two pieces of first candidate station information correspond to the at least two first candidate stations;
and determining the first station with the highest confidence degree from the at least two first candidate stations based on the confidence degree of the first candidate station in the first candidate station information to obtain the first station information.
7. The method of claim 6, wherein the determining the first site with the highest confidence level from the at least two first candidate sites based on the confidence level of the first candidate site in the first candidate site information comprises:
when m first candidate sites in the at least two first candidate sites have the highest confidence, voting the m first candidate sites based on a voting mechanism, and determining the first candidate site with the highest vote number as the first site; wherein m is a positive integer greater than 1.
8. The method of claim 6, wherein the site location comprises at least two of:
positioning a station where the first terminal is located on a train running route through a running sensor to obtain information of the first candidate station;
determining the station name broadcasted when the train arrives at the station through automatic voice recognition to obtain the first candidate station information;
and positioning the station where the first terminal is located on the train running route through a positioning service to obtain the first candidate station information.
9. The method of any of claims 1 to 4, further comprising:
responding to the fact that the station where the first terminal is located is a terminal station, and sending an arrival prompt;
alternatively, the first and second electrodes may be,
and sending a transfer prompt in response to the fact that the station where the first terminal is located is a transfer station.
10. An apparatus for identifying a station, the apparatus comprising:
the positioning module is used for positioning a station where the first terminal is located to obtain first station information;
an obtaining module, configured to obtain second site information from a second terminal, where the second terminal is a terminal located at the same site as the first terminal, and the second site information is site information obtained by the second terminal locating a site where the second terminal is located;
the positioning module is configured to determine a station where the first terminal is located based on the first station information and the second station information.
11. A terminal, characterized in that it comprises a processor, a memory connected to the processor, the memory having stored thereon program instructions which, when executed by the processor, implement the method for identifying a station according to any one of claims 1 to 9.
12. A computer-readable storage medium, in which program instructions are stored, which program instructions, when executed by a processor, implement the method of identifying a station according to any one of claims 1 to 9.
13. A computer program product, characterized in that the computer program product comprises computer instructions, the computer instructions being stored in a computer readable storage medium; the computer instructions are read from the computer-readable storage medium by a processor of a computer device, and when the processor executes the computer instructions, the identification method of the station according to any one of claims 1 to 9 is implemented.
CN202211287326.8A 2022-10-20 2022-10-20 Method, device, equipment, medium and program product for identifying station Pending CN115665654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211287326.8A CN115665654A (en) 2022-10-20 2022-10-20 Method, device, equipment, medium and program product for identifying station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211287326.8A CN115665654A (en) 2022-10-20 2022-10-20 Method, device, equipment, medium and program product for identifying station

Publications (1)

Publication Number Publication Date
CN115665654A true CN115665654A (en) 2023-01-31

Family

ID=84988585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211287326.8A Pending CN115665654A (en) 2022-10-20 2022-10-20 Method, device, equipment, medium and program product for identifying station

Country Status (1)

Country Link
CN (1) CN115665654A (en)

Similar Documents

Publication Publication Date Title
US9743234B2 (en) Monitoring a mobile device en route to destination
US9094792B2 (en) Predicting routes using wireless networks
US10672272B2 (en) System and method for determining parking availability
US7574222B2 (en) Method and system for location management and location information providing system
CN102037316B (en) Validating map data corrections
CN102027324B (en) Apparatus and method for determining parking information
CN102209153B (en) Method and apparatus for efficiently using battery in smartphone having navigation system
EP3446070B1 (en) Map downloading based on user's future location
US9541411B2 (en) Navigation system with destination travel category extraction measurement capture mechanism and method of operation thereof
US8694253B2 (en) User-specified route rating and alerts
JP5362337B2 (en) Information distribution system, information distribution server, and program
CN103109161A (en) Navigation device & method
CN109489674B (en) Method, device and storage medium for determining road section based on position
KR101280313B1 (en) Smart bus information system
CN109219953A (en) A kind of alarm clock prompting method and terminal device
CN104937914A (en) Information processing device, information processing method, and program
CN101776459A (en) Mobile communication terminal and navigation method thereof
KR20090000417A (en) Method and system for providing for path and public transportation system
CN112050823B (en) Navigation destination correction method, device and computer storage medium
CN110231048B (en) Location information display method, device, terminal and storage medium
CN115665654A (en) Method, device, equipment, medium and program product for identifying station
CN113326446A (en) Method, system and recording medium for providing content context information-based service
KR101296294B1 (en) Electronic device and schedule managing method of electronic device
KR101479663B1 (en) Destination guiding method and system using common speakers of bus station
CN202204519U (en) Vehicle-mounted terminal and system for adding description of vehicle location

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