TW202139146A - Public transport arrival reminding method and device, storage medium and mobile terminal - Google Patents
Public transport arrival reminding method and device, storage medium and mobile terminal Download PDFInfo
- Publication number
- TW202139146A TW202139146A TW110110706A TW110110706A TW202139146A TW 202139146 A TW202139146 A TW 202139146A TW 110110706 A TW110110706 A TW 110110706A TW 110110706 A TW110110706 A TW 110110706A TW 202139146 A TW202139146 A TW 202139146A
- Authority
- TW
- Taiwan
- Prior art keywords
- mobile terminal
- station
- external device
- public transportation
- arrival
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000012544 monitoring process Methods 0.000 claims abstract description 61
- 238000004891 communication Methods 0.000 claims description 66
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 230000001133 acceleration Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000003796 beauty Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/123—Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0129—Traffic data processing for creating historical data or processing based on historical data
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0137—Measuring and analyzing of parameters relative to traffic conditions for specific applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
- H04W4/027—Services making use of location information using location based information parameters using movement velocity, acceleration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/42—Services 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Telephone Function (AREA)
- Multi-Process Working Machines And Systems (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
Description
本申請涉及通訊技術領域,特別涉及一種公共交通到站提醒方法、裝置、儲存媒介及行動終端。This application relates to the field of communication technology, and in particular to a method, device, storage medium and mobile terminal for reminding the arrival of public transportation.
隨著經濟的發展和城市人口的增加,越來越多的人選擇乘坐公共交通,不僅出行方便,而且綠色環保。With the development of the economy and the increase of urban population, more and more people choose to take public transportation, which is not only convenient for travel, but also environmentally friendly.
但是,由於公共交通車廂內人比較多,車內噪音比較大,很多乘客在乘車時會佩戴降噪耳機,既可以聽音樂,也可以隔絕噪音,但是往往會因為聽不到到站廣播而坐過站點。However, due to the large number of people in the public transport carriages and the greater noise in the car, many passengers wear noise-reducing headphones when riding, which can not only listen to music, but also isolate the noise, but often because they cannot hear the arrival broadcast. Sit over the site.
本申請實施例提供一種公共交通到站提醒方法、裝置、儲存媒介及行動終端,可以防止使用者坐過站的現象發生。The embodiments of the present application provide a public transportation arrival reminding method, device, storage medium and mobile terminal, which can prevent the phenomenon that users sit and pass the station.
第一方面,本申請實施例公開一種公共交通到站提醒方法,應用於行動終端中,所述方法包括:In the first aspect, an embodiment of the present application discloses a public transportation arrival reminding method, which is applied to a mobile terminal, and the method includes:
當所述行動終端位於公共交通站內時,確定目標站點;When the mobile terminal is located in a public transportation station, determine the target station;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected to an external device, and the external device is used to display a message;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected to an external device, the location information of the mobile terminal is monitored in real time;
當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息。When the location information of the mobile terminal matches the location information of the target site, a station reminder message is acquired, and the reminder message is displayed through the external device.
第二方面,本申請實施例還公開一種公共交通到站提醒裝置,應用於行動終端中,所述裝置包括:In the second aspect, an embodiment of the present application also discloses a public transportation arrival reminder device, which is applied to a mobile terminal, and the device includes:
確定模組,當所述行動終端位於公共交通站內時,用於確定目標站點;The determining module is used to determine the target station when the mobile terminal is located in a public transportation station;
檢測模組,用於檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;The detection module is used to detect whether the mobile terminal is connected to an external device, and the external device is used to display a message;
監測模組,當所述行動終端連接有外部設備時,用於即時監測所述行動終端的位置訊息;The monitoring module is used for real-time monitoring of the location information of the mobile terminal when the mobile terminal is connected to an external device;
處理模組,當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,用於獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息。The processing module, when the location information of the mobile terminal matches the location information of the target site, is used to obtain an arrival reminder message and display the reminder message through the external device.
第三方面,本申請實施例還公開一種儲存媒介,其儲存有電腦程式,當所述電腦程式在電腦上運行時,使得所述電腦執行如上所述的公共交通到站提醒方法。In a third aspect, an embodiment of the present application also discloses a storage medium that stores a computer program, and when the computer program runs on a computer, the computer executes the method for reminding public transportation arrivals as described above.
第四方面,本申請實施例還公開一種行動終端,包括處理器和記憶體,所述記憶體儲存有電腦程式,所述處理器透過調用所述電腦程式,用於執行如上所述的公共交通到站提醒方法。In a fourth aspect, an embodiment of the present application also discloses a mobile terminal, including a processor and a memory, the memory stores a computer program, and the processor is used to execute the public transportation as described above by calling the computer program Arrival reminder method.
本申請實施例提供的公共交通到站提醒方法,當行動終端位於公共交通站內時,確定目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到公共交通上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。According to the public transportation arrival reminding method provided by the embodiments of this application, when the mobile terminal is located in the public transportation station, the target site is determined, and whether an external device is connected to the mobile terminal is detected. If it is detected that an external device is connected to the mobile terminal, the description The user is in headset mode and cannot hear the arrival reminder message broadcast on public transportation. By monitoring the location information of the mobile terminal in real time, the arrival reminder is obtained when the location information of the mobile terminal matches the location of the target site And display the reminding message through the external device to remind the user to get off the car, so as to prevent the phenomenon of the user from sitting over the station.
下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行清楚、完整地描述。顯然,所描述的實施例僅僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域技術人員在沒有付出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請的保護範圍。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of this application.
本申請實施例提供一種公共交通到站提醒方法,主要應用於行動終端,例如,手機、平板、電腦等,下面以手機為例進行詳細說明。其中,公共交通可以為地鐵、公車、快車巴士等,公共交通內設有與行動終端進行近場通訊的監測設備,使用者透過行動終端付費後,可以乘坐地鐵或公車,例如,當使用者需要乘坐地鐵或公車時,透過行動終端內的IC卡與地鐵站內監測設備進行近場通訊識別,或者是與公車內的監測設備進行近場通訊識別。下面以地鐵為例進行詳細說明。The embodiment of the present application provides a public transportation arrival reminding method, which is mainly applied to mobile terminals, such as mobile phones, tablets, computers, etc. The detailed description is given below by taking a mobile phone as an example. Among them, public transportation can be subways, buses, express buses, etc. The public transportation is equipped with monitoring equipment for near field communication with mobile terminals. After paying through the mobile terminal, users can take the subway or bus. For example, when the user needs When taking the subway or bus, use the IC card in the mobile terminal to perform near-field communication identification with the monitoring equipment in the subway station, or perform near-field communication identification with the monitoring equipment in the bus. The following takes the subway as an example for detailed description.
請參閱圖1,圖1為本申請實施例提供的公共交通到站提醒方法的第一種流程示意圖,公共交通到站提醒方法包括以下步驟:Please refer to Fig. 1. Fig. 1 is a schematic diagram of the first flow chart of the public transportation arrival reminding method provided by an embodiment of the application. The public transportation arrival reminding method includes the following steps:
S101、當所述行動終端位於公共交通站內時,確定目標站點。S101: When the mobile terminal is located in a public transportation station, determine a target station.
當確定手機位於地鐵站時,也即,用戶已經進入地鐵乘車環境,地鐵乘車環境可以為用戶進入地鐵站內、也可以為用戶位於地鐵線路上,也可以為用戶透過手機刷卡進站。When it is determined that the mobile phone is located in a subway station, that is, the user has entered the subway riding environment, the subway riding environment can be for the user to enter the subway station, or for the user on the subway line, or for the user to enter the station by swiping the card.
確定手機位於地鐵站內的方法有多種,例如,透過判斷手機的加速度,當手機的加速度大於預設加速度閾值時,則可以確定手機位於地鐵上,且地鐵正處於起步運行中。或者,透過檢測手機的信號輻射值,當信號的輻射值低於預設閾值時,則可以確定手機位於地鐵上。There are many ways to determine that a mobile phone is located in a subway station. For example, by judging the acceleration of the mobile phone, when the acceleration of the mobile phone is greater than a preset acceleration threshold, it can be determined that the mobile phone is located on the subway and the subway is in starting operation. Or, by detecting the signal radiation value of the mobile phone, when the signal radiation value is lower than a preset threshold, it can be determined that the mobile phone is located on the subway.
確定目標站點,即獲取使用者要去的目的地,透過目的地的位置獲取目的地附近的地鐵站點,並將該地鐵站點作為目標站點,獲取目標站點的方法有多種,例如,透過手機中多個應用程式在預設時間段的歷史紀錄,根據當前時間、位置確定用戶要去的目的地,從而可以獲取使用者的目標站點。Determine the target station, that is, obtain the destination that the user is going to, obtain the subway station near the destination through the location of the destination, and use the subway station as the target station. There are many ways to obtain the target station, such as , Through the historical records of multiple applications in the mobile phone in a preset time period, the user's destination is determined according to the current time and location, so that the user's target site can be obtained.
可以理解的,也可以透過預先在手機內設置站點選擇清單,站點選擇清單可以包括用戶所在市的所有地鐵線路的地鐵站點,或者是全國的所有地鐵線路的地鐵站點,當用戶進入地鐵站時,向用戶推送站點選擇清單,根據使用者的選擇確定目標站點。Understandably, it is also possible to set up a site selection list in the mobile phone in advance. The site selection list can include subway stations of all subway lines in the city where the user is located, or subway stations of all subway lines across the country. When the user enters When it is a subway station, the site selection list is pushed to the user, and the target site is determined according to the user's selection.
S102、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S102. Detect whether an external device is connected to the mobile terminal, and the external device is used to display a message.
外部設備可以與手機進行藍牙連接,例如,透過檢測手機的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can perform a Bluetooth connection with the mobile phone, for example, by detecting whether the Bluetooth device of the mobile phone is in a working state, and if so, whether the Bluetooth device is connected to the external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。External devices can be used to display messages, where the displayed messages can be displaying text messages, playing voice messages, etc. The external device can be a headset, such as a Bluetooth headset or sports headset, and the external device can also be a smart bracelet or For smart watches, external devices can also include earphones and smart bracelets or watches at the same time.
當確定手機位於地鐵站後,檢測手機是否連接有外部設備,當外部設備為耳機時,可以確定手機的使用狀態,並根據手機的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置,例如,當手機處於耳機播放狀態時,說明使用者處於隔絕外音的環境,此時,用戶聽不到車廂內到站提醒訊息,因此,需要向使用者播放到站提醒。When it is determined that the mobile phone is located in the subway station, check whether the mobile phone is connected to an external device. When the external device is a headset, the use status of the mobile phone can be determined, and the user's environment can be judged according to the use status of the mobile phone, so as to better determine the use Does the user need to remind the location of the subway, for example, when the mobile phone is in the earphone playback state, it means that the user is in an environment where external sounds are isolated. At this time, the user cannot hear the arrival reminder message in the car, so it needs to be played to the user Arrival reminder.
當外部設備為智慧手環或智慧手錶時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is a smart bracelet or smart watch, in order to better prevent the user from passing the station, when it is detected that the subway is about to arrive, the user can be reminded by vibrating the smart bracelet to get off the bus, so as to avoid the user from passing the station. It happened.
S103、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S103: When the mobile terminal is connected to an external device, monitor the location information of the mobile terminal in real time.
當確定手機連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測手機的位置訊息,當手機接近目標站點的位置時,提醒用戶下車。When it is determined that the mobile phone is connected to an external device, for example, when the external device is a headset, the user may be listening to music or watching videos through the headset, and may not be able to hear the station announcement on the subway. Other methods are needed to remind the user that the subway is arriving. Stations, for example, through real-time monitoring of the location information of the mobile phone, when the mobile phone is close to the location of the target site, the user is reminded to get off the car.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or smart watch, due to the large number of people in the subway station and the noisy subway environment, it is possible that the station broadcast on the subway may not be heard, and other methods are still needed to remind the user that the subway is arriving.
當外部設備為耳機和智慧手錶或智慧手環時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,可以透過選擇耳機或智慧手環或智慧手錶提醒用戶地鐵到站。When the external device is earphones, smart watches or smart bracelets, the user may be listening to music or watching videos through earphones, and may not be able to hear the station broadcast on the subway. You can remind users by selecting earphones, smart bracelets or smart watches The subway arrives at the station.
即時監測所述手機的位置訊息,可以透過開啟手機地圖應用,獲取手機的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機的位置。For real-time monitoring of the location information of the mobile phone, the current location information of the mobile phone can be obtained by opening the mobile phone map application, or running the mobile phone map application in the background of the mobile phone, the mobile phone location can be obtained in real time.
當所述手機沒有連接外部設備時,則不需要即時監測手機的位置訊息。由於手機沒有連接外部設備,用戶沒有佩戴耳機,可以聽到地鐵的報站訊息,因此,不需要到站提醒,也不需要監測手機的位置訊息,可以降低監測手機位置訊息所需的功耗,延長手機的待機時間。When the mobile phone is not connected to an external device, there is no need to monitor the location information of the mobile phone in real time. Since the mobile phone is not connected to an external device, the user can hear the subway station announcement message without wearing a headset. Therefore, there is no need to arrive at the station reminder, and there is no need to monitor the location information of the mobile phone, which can reduce the power consumption and extend the monitoring of the location information of the mobile phone. The standby time of the phone.
S104、當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。S104: When the location information of the mobile terminal matches the location information of the target site, obtain an arrival reminder message, and display the arrival reminder message through the external device.
其中,所述行動終端的位置訊息與所述目標站點的位置訊息相匹配,可以理解為,所述行動終端的位置到達目標站點的預設範圍內,例如,行動終端距離目標站點的距離不大於5米,或者是行動終端位於目標站點的前一站。Wherein, the location information of the mobile terminal matches the location information of the target site, which can be understood as that the location of the mobile terminal reaches within a preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not more than 5 meters, or the mobile terminal is located at the previous stop of the target site.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。The display of the arrival reminder message by the external device can be understood as that the external device can play the arrival reminder message through voice, and the external device can also display the arrival reminder message through vibration.
其中,所述到站提醒訊息可以為預先錄製的語音、鈴聲等,到站提醒訊息也可以是振動外部設備發出的振動聲音,或者,到站提醒訊息也可以為文字訊息,外部設備透過顯示該文字訊息,又或者是,到站提醒訊息也可以是文字訊息和語音訊息的結合,透過外部設備顯示並同時播放該文字訊息。Wherein, the arrival reminder message can be a pre-recorded voice, ringtone, etc. The arrival reminder message can also be a vibration sound emitted by a vibrating external device, or the arrival reminder message can also be a text message, which is displayed by the external device. The text message, or, the arrival reminder message can also be a combination of text message and voice message, which can be displayed and played at the same time through an external device.
當行動終端的位置訊息與目標站點的位置訊息相匹配時,獲取到站提醒訊息,並透過外部設備展示所述到站提醒訊息以提醒使用者地鐵到站的訊息,可以防止使用者由於聽不到地鐵報站訊息,導致使用者坐過站的現象發生。When the location information of the mobile terminal matches the location information of the target site, the arrival reminder message is obtained, and the arrival reminder message is displayed through an external device to remind the user of the subway arrival message, which can prevent the user from listening Failure to report to the subway station may cause users to pass the station.
本申請實施例提供的公共交通到站的提醒方法,當行動終端位於公共交通站內時,確定使用者的目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。According to the method for reminding the arrival of public transportation in the embodiments of the present application, when the mobile terminal is located in the public transportation station, the user’s target site is determined, and whether an external device is connected to the mobile terminal is detected. The terminal connection means that the user is in headset mode and cannot hear the arrival reminder message broadcast on the subway. By real-time monitoring of the location information of the mobile terminal, and when the location information of the mobile terminal matches the location of the target site, it can be obtained Station reminding message, and displaying the reminding message through the external device to remind the user to get off the car, so as to prevent the phenomenon that the user sits over the station.
可以理解的,本申請實施例還提供一種公共交通到站提醒方法,請參閱圖2,圖2為本申請實施例提供的公共交通到站提醒方法的第二種流程示意圖。公共交通到站提醒方法包括以下步驟:It is understandable that the embodiment of the present application also provides a public transportation arrival reminding method. Please refer to FIG. 2. FIG. 2 is a schematic diagram of the second flow of the public transportation arrival reminding method provided by the embodiment of this application. The method of public transportation arrival reminder includes the following steps:
S201、當所述行動終端位於地鐵站內時,獲取站點選擇清單,並將所述站點選擇清單呈現在所述行動終端的顯示介面。S201: When the mobile terminal is located in a subway station, obtain a site selection list, and present the site selection list on a display interface of the mobile terminal.
站點選擇清單指用戶所在市的所有地鐵線路的地鐵站點,站點選擇清單也可以為全國的所有地鐵線路的地鐵站點。其中,站點選擇清單可以為預先儲存在行動終端內的。The station selection list refers to the subway stations of all subway lines in the city where the user is located, and the station selection list can also be the subway stations of all subway lines in the country. Among them, the site selection list can be pre-stored in the mobile terminal.
透過將所有地鐵線路的地鐵站點呈現在所述行動終端的顯示介面,便於使用者自己選擇想去的地鐵站。By presenting the subway stations of all subway lines on the display interface of the mobile terminal, it is convenient for the user to choose the subway station he wants to go to.
S202、接收用戶的選擇操作,並將所述選擇操作對應的公共交通站點確定為目標站點。S202: Receive a user's selection operation, and determine a public transportation station corresponding to the selection operation as a target station.
使用者看到手機介面呈現的站點選擇清單後,選擇自己所要到達的地鐵站,接收用戶的選擇操作,將用戶選擇的地鐵站確定為目標站點,透過使用者自己選擇所要到達的地鐵站點,不需要行動終端透過其他方式查找,可以減少行動終端內系統的運算量,同時,也可以準確地確定使用者的目標站點。After the user sees the station selection list presented on the mobile interface, he selects the subway station he wants to reach, receives the user's selection operation, determines the subway station selected by the user as the target station, and selects the subway station to be reached through the user himself It does not require the mobile terminal to search through other methods, which can reduce the amount of calculations in the system in the mobile terminal, and at the same time, it can accurately determine the user’s target site.
可以理解的,也可以透過其他方式確定使用者的目標站點,例如,當所述行動終端位於地鐵站內時,獲取所述行動終端的各個應用程式在預設時間段內的歷史紀錄訊息。It is understandable that the user's target site can also be determined in other ways. For example, when the mobile terminal is located in a subway station, the historical record information of each application of the mobile terminal in a preset time period is obtained.
其中,應用程式指手機內的地圖應用程式、微信應用程式、QQ應用程式等,歷史紀錄訊息包括時間、位置、乘車路線以及乘車路線出現的頻率等,例如,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,由此可知,在同早上八點,由B地鐵站乘坐地鐵去C地鐵站的乘車路線出現頻率較高。Among them, the application refers to the map application, WeChat application, QQ application, etc. in the mobile phone. The historical record information includes time, location, ride route and frequency of ride route, for example, on the morning of February 12, 2020 At eight o’clock, Xiao A takes the subway from B subway station to C subway station. At eight o’clock in the morning on February 12, 2020, Xiao A takes the subway from B subway station to C subway station. At eight o’clock in the morning on February 12, 2020, Xiao A takes the subway from the B subway station to the C subway station. It can be seen that at 8 o'clock in the same morning, the bus route from the B subway station to the C subway station appears more frequently.
根據所述行動終端當前的位置訊息和時間訊息從所述歷史記錄訊息中確定目的地,並將與所述目的地對應的地鐵站確定為目標站點。The destination is determined from the historical record information according to the current location information and time information of the mobile terminal, and the subway station corresponding to the destination is determined as the target station.
假如,小A當前的位置訊息為C地鐵站,當前時間為早上八點十分,由歷史記錄訊息可以查找匹配的目標站點為C地鐵站。透過手機查找歷史記錄訊息的方式匹配使用者所要去的目標站點,不需要提醒使用者自己輸入目標站點,從而可以提高用戶體驗。Suppose, the current location information of the small A is subway station C, and the current time is 8:10 in the morning, and the matching target station can be found from the historical record information as subway station C. The method of searching the historical record information through the mobile phone matches the target site that the user wants to go to, without reminding the user to enter the target site by himself, which can improve the user experience.
S203、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S203: Detect whether an external device is connected to the mobile terminal, and the external device is used to display a message.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測手機的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can be connected to the mobile terminal via Bluetooth, for example, by detecting whether the Bluetooth device of the mobile phone is in a working state, and if so, whether the Bluetooth device is connected to the external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。External devices can be used to display messages, where the displayed messages can be displaying text messages, playing voice messages, etc. The external device can be a headset, such as a Bluetooth headset or sports headset, and the external device can also be a smart bracelet or For smart watches, external devices can also include earphones and smart bracelets or watches at the same time.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。When it is determined that the mobile terminal is located in a subway station, check whether the mobile terminal is connected to an external device. When the external device is a headset, the use state of the mobile terminal can be determined, and the user's environment can be determined according to the use state of the mobile terminal, which is convenient It is better to determine whether users need to remind the location of subway operation.
當外部設備為智慧手環時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is a smart bracelet, in order to better prevent the user from passing the station, when it detects that the subway is about to arrive, the user can be reminded by vibrating the smart bracelet to get off the train to avoid the user from passing the station.
S204、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S204: When the mobile terminal is connected to an external device, monitor the location information of the mobile terminal in real time.
當確定行動終端連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測行動終端的位置訊息,當行動終端接近目標站點的位置時,提醒用戶下車。When it is determined that the mobile terminal is connected to an external device, for example, when the external device is a headset, the user may be listening to music or watching video through the headset, and may not be able to hear the station broadcast on the subway, and other methods need to be used to remind the user of the subway Arrival, for example, by real-time monitoring of the location information of the mobile terminal, when the mobile terminal approaches the location of the target site, the user is reminded to get off the car.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or smart watch, due to the large number of people in the subway station and the noisy subway environment, it is possible that the station broadcast on the subway may not be heard, and other methods are still needed to remind the user that the subway is arriving.
即時監測所述行動終端的位置訊息,可以透過開啟手機地圖應用,獲取行動終端的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機行動終端的位置。For real-time monitoring of the location information of the mobile terminal, the current location information of the mobile terminal can be obtained by opening the mobile phone map application, or running the mobile phone map application in the background of the mobile phone, the location of the mobile phone mobile terminal can be obtained in real time.
當所述行動終端沒有連接外部設備時,則不需要即時監測行動終端的位置訊息。由於行動終端沒有連接外部設備,使用者沒有佩戴耳機,可以聽到地鐵的報站訊息,因此,不需要到站提醒,也不需要監測行動終端的位置訊息,可以降低監測行動終端位置訊息所需的功耗,延長行動終端的待機時間。When the mobile terminal is not connected to an external device, there is no need to monitor the location information of the mobile terminal in real time. Since the mobile terminal is not connected to external equipment, the user can hear the subway station announcement message without wearing a headset. Therefore, there is no need to arrive at the station to remind, and there is no need to monitor the location information of the mobile terminal, which can reduce the need to monitor the location information of the mobile terminal. Power consumption extends the standby time of mobile terminals.
S205、當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。S205: When the location information of the mobile terminal matches the location information of the target site, obtain an arrival reminder message, and display the arrival reminder message through the external device.
其中,所述行動終端的位置訊息與所述目標站點的位置訊息相匹配,可以理解為,所述行動終端的位置到達目標站點的預設範圍內,例如,行動終端距離目標站點的距離不大於5米,或者是行動終端位於目標站點的前一站。Wherein, the location information of the mobile terminal matches the location information of the target site, which can be understood as that the location of the mobile terminal reaches within a preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not more than 5 meters, or the mobile terminal is located at the previous stop of the target site.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。The display of the arrival reminder message by the external device can be understood as that the external device can play the arrival reminder message through voice, and the external device can also display the arrival reminder message through vibration.
其中,所述到站提醒訊息可以為預先錄製的語音、鈴聲等,到站提醒訊息也可以是振動外部設備發出的振動聲音,或者,到站提醒訊息也可以為文字訊息,外部設備透過顯示該文字訊息,又或者是,到站提醒訊息也可以是文字訊息和語音訊息的結合,透過外部設備顯示並同時播放該文字訊息。Wherein, the arrival reminder message can be a pre-recorded voice, ringtone, etc. The arrival reminder message can also be a vibration sound emitted by a vibrating external device, or the arrival reminder message can also be a text message, which is displayed by the external device. The text message, or, the arrival reminder message can also be a combination of text message and voice message, which can be displayed and played at the same time through an external device.
當行動終端的位置訊息與目標站點的位置訊息相匹配時,獲取到站提醒訊息,並透過外部設備展示所述到站提醒訊息以提醒使用者地鐵到站的訊息,可以防止使用者由於聽不到地鐵報站訊息,導致使用者坐過站的現象發生。When the location information of the mobile terminal matches the location information of the target site, the arrival reminder message is obtained, and the arrival reminder message is displayed through an external device to remind the user of the subway arrival message, which can prevent the user from listening Failure to report to the subway station may cause users to pass the station.
本申請實施例提供的地鐵到站的提醒方法,當行動終端位於地鐵站內時,獲取站點選擇清單,接受用戶選擇操作,並將用戶選擇的地鐵站點確定使用者的目標站點,並檢測是否有外部設備與終端連接,如果檢測到有外部設備與終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播的到站提醒訊息,透過即時監測所述終端的位置訊息,並在終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。According to the method for reminding the arrival of the subway in the embodiment of the application, when the mobile terminal is located in the subway station, it obtains the site selection list, accepts the user's selection operation, and determines the user's target site for the subway station selected by the user, and detects Whether there is an external device connected to the terminal. If it is detected that an external device is connected to the terminal, it means that the user is in headset mode and cannot hear the arrival reminder message broadcast on the subway. When the location information matches the location of the target site, an arrival reminder message is acquired, and the reminder message is displayed through the external device to remind the user to get off the car, thereby preventing the phenomenon of the user from sitting over the station.
可以理解的,本申請實施例還提供一種公共交通到站提醒方法,請參閱圖3,圖3為本申請實施例提供的公共交通到站提醒方法的第三種流程示意圖。公共交通到站提醒方法包括以下步驟:It is understandable that an embodiment of the present application also provides a public transportation arrival reminding method. Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a third method for public transportation arrival reminding provided by an embodiment of this application. The method of public transportation arrival reminder includes the following steps:
S301、獲取預設時間內所述行動終端的近場通訊記錄。S301. Obtain a near field communication record of the mobile terminal within a preset time.
近場通訊是指行動終端與其他外部設備進行近距離通訊的一種通訊方式,近場通訊記錄指行動終端與其他電子設備進行近場通訊的交易紀錄,近場通訊記錄可以包括與行動終端通訊的設備名稱、設備編號、通訊的時間以及通訊的地點等。Near field communication refers to a communication method for the mobile terminal to communicate with other external devices. Near field communication records refer to the transaction records of the mobile terminal and other electronic devices for near field communication. The near field communication records can include communication with the mobile terminal. Device name, device number, communication time and communication location, etc.
其中,其他電子設備可以為地鐵站內的監測設備、也可以為商店的掃描設備,並且,這些設備具有唯一標識,以地鐵站內的監測設備為例進行說明,例如,同一地鐵站內的監測設備標識可以為A地鐵站1號監測設備、A地鐵站2號監測設備、A地鐵站3號監測設備。不同地鐵站內的標識可以為,A地鐵站1號監測設備、A地鐵站2號監測設備、B地鐵站1號監測設備、B地鐵站2號監測設備。這樣不需要開啟手機定位功能的情況下,也可以透過獲取與手機近場通訊的監測設備,從而可以確定使用者進出地鐵站內的位置,進而也可以起到降低手機功耗的技術問題。Among them, other electronic equipment can be monitoring equipment in subway stations, or scanning equipment in shops, and these devices have unique identifications. Take the monitoring equipment in subway stations as an example for illustration. For example, the identification of monitoring equipment in the same subway station can be It is the No. 1 monitoring equipment of A subway station, the No. 2 monitoring equipment of A subway station, and the No. 3 monitoring equipment of subway station A. The signs in different subway stations can be: A subway station No. 1 monitoring equipment, A subway station No. 2 monitoring equipment, B subway station No. 1 monitoring equipment, B subway station No. 2 monitoring equipment. In this way, without the need to turn on the mobile phone positioning function, the monitoring equipment for near field communication with the mobile phone can also be obtained to determine the user's position in and out of the subway station, which can also reduce the technical problem of mobile phone power consumption.
預設時間為提前設置在手機內的一個定值,例如,預設時間為1分鐘、3分鐘、5分鐘等,或者預設時間也可以為一範圍值,例如,預設時間為1-5分鐘、3-6分鐘等。The preset time is a fixed value set in the mobile phone in advance, for example, the preset time is 1 minute, 3 minutes, 5 minutes, etc., or the preset time can also be a range value, for example, the preset time is 1-5 Minutes, 3-6 minutes, etc.
S302、根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站內。S302: Determine whether the mobile terminal is located in a public transportation station according to the near field communication record.
根據近場通訊記錄判斷所述手機是否位於地鐵站內,從而可以確定用戶是否在搭乘地鐵。It is determined whether the mobile phone is located in a subway station according to the near field communication record, so that it can be determined whether the user is on the subway.
由於很多地鐵站內開設有美食街,或者很多美妝店,或者地鐵站與一些大型商場連通,因此,有時候雖然可以定位用戶的位置位於地鐵站內,但是,仍然不能確定用戶在搭乘地鐵,因此,常常出現一些誤判情況,例如,使用者雖然是位於地鐵站內,但是,用戶只是在地鐵站內逛街,並不是為了乘坐地鐵,為了更加準確的確定用戶是否位於地鐵站內,並且在乘坐地鐵,本申請透過獲取預設時間內所述終端的近場通訊記錄,根據所述近場通訊記錄判斷所述終端是否位於地鐵站內,從而可以更加準確的判斷用戶是否位於地鐵站內,且正在搭載地鐵。Because many subway stations have food courts, or many beauty shops, or subway stations are connected to some large shopping malls, sometimes although users can be located in subway stations, it is still not certain that users are taking the subway. Therefore, There are often some misjudgments. For example, although the user is located in a subway station, but the user is only shopping in the subway station, not to take the subway, in order to more accurately determine whether the user is located in the subway station and is taking the subway, this application passes Obtain the near field communication records of the terminal within a preset time, and determine whether the terminal is located in a subway station according to the near field communication records, so that it can be more accurately determined whether the user is located in a subway station and is carrying a subway.
可以理解的,所述根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站,包括:It is understandable that the judging whether the mobile terminal is located at a public transportation station according to the near field communication record includes:
判斷所述近場通訊記錄是否包含所述行動終端與公共交通站內的監測設備進行通訊的記錄;Judging whether the near-field communication record includes a record of the communication between the mobile terminal and the monitoring equipment in a public transportation station;
當所述近場通訊記錄包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站內;When the near field communication record includes the near field communication record of the mobile terminal and the monitoring equipment in the public transportation station, the mobile terminal is located in the public transportation station;
當所述近場通訊記錄不包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站外。When the near field communication record does not include the near field communication record between the mobile terminal and the monitoring equipment in the public transportation station, the mobile terminal is located outside the public transportation station.
S303、當所述行動終端位於公共交通站內時,獲取所述行動終端的多個應用程式在預設時間段內的歷史紀錄訊息。S303: When the mobile terminal is located in a public transportation station, obtain historical record information of multiple applications of the mobile terminal within a preset time period.
應用程式指手機內的地圖應用程式、微信應用程式、QQ應用程式等,歷史紀錄訊息包括時間、位置、乘車路線以及乘車路線出現的頻率等,例如,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,2020年2月12號早上八點,小A從B地鐵站乘坐地鐵去C地鐵站,假設小A當前的位置位於A地鐵站,時間為早上八點,由歷史記錄訊息可知,在早上八點,由B地鐵站乘坐地鐵去C地鐵站的乘車路線出現頻率較高,因此可以確定,小A即將去往的目的地為C地鐵站。Application refers to the map application, WeChat application, QQ application, etc. in the mobile phone. The historical record information includes time, location, ride route and frequency of ride route, for example, at 8 o'clock in the morning on February 12, 2020 , Xiao A takes the subway from B subway station to C subway station, at 8 o'clock in the morning on February 12, 2020, Xiao A takes the subway from B subway station to C subway station, February 12, 2020 at 8 o’clock in the morning, Xiao A from Take the subway from the B subway station to the C subway station. Assuming that the current location of the small A is at the A subway station, the time is 8 o'clock in the morning. According to the historical record information, at 8 o'clock in the morning, take the subway from the B subway station to the C subway station. The car route appears more frequently, so it can be determined that the destination that Xiao A will go to is the C subway station.
S304、根據所述行動終端當前的位置訊息和時間訊息從所述歷史記錄訊息中確定目的地,並將與所述目的地對應的公共交通站確定為目標站點。S304. Determine a destination from the historical record information according to the current location information and time information of the mobile terminal, and determine a public transportation station corresponding to the destination as a target station.
假如,小A當前的位置訊息為C地鐵站,當前時間為早上八點十分,由歷史記錄訊息可以查找匹配的目標站點為C地鐵站。透過終端查找歷史記錄訊息的方式匹配使用者所要去的目標站點,不需要提醒使用者自己輸入目標站點,從而可以提高用戶體驗。Suppose, the current location information of the small A is subway station C, and the current time is 8:10 in the morning, and the matching target station can be found from the historical record information as subway station C. The method of searching the historical record information through the terminal matches the target site that the user wants to go to, without reminding the user to enter the target site by himself, thereby improving the user experience.
S305、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S305. Detect whether an external device is connected to the mobile terminal, and the external device is used to display a message.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測行動終端的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can perform a Bluetooth connection with the mobile terminal, for example, by detecting whether the Bluetooth device of the mobile terminal is in a working state, and if so, obtaining whether the Bluetooth device is connected to the external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。External devices can be used to display messages, where the displayed messages can be displaying text messages, playing voice messages, etc. The external device can be a headset, such as a Bluetooth headset or sports headset, and the external device can also be a smart bracelet or For smart watches, external devices can also include earphones and smart bracelets or watches at the same time.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。When it is determined that the mobile terminal is located in a subway station, check whether the mobile terminal is connected to an external device. When the external device is a headset, the use state of the mobile terminal can be determined, and the user's environment can be determined according to the use state of the mobile terminal, which is convenient It is better to determine whether users need to remind the location of subway operation.
當外部設備包括智慧手環時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device includes a smart bracelet, in order to better prevent the user from passing the station, when it is detected that the subway is about to arrive, the user can be reminded by vibrating the smart bracelet to get off the train to avoid the user from sitting over the station.
S306、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S306: When the mobile terminal is connected to an external device, monitor the location information of the mobile terminal in real time.
當確定行動終端連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測行動終端的位置訊息,當行動終端接近目標站點的位置時,提醒用戶下車。When it is determined that the mobile terminal is connected to an external device, for example, when the external device is a headset, the user may be listening to music or watching video through the headset, and may not be able to hear the station broadcast on the subway, and other methods need to be used to remind the user of the subway Arrival, for example, by real-time monitoring of the location information of the mobile terminal, when the mobile terminal approaches the location of the target site, the user is reminded to get off the car.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or smart watch, due to the large number of people in the subway station and the noisy subway environment, it is possible that the station broadcast on the subway may not be heard, and other methods are still needed to remind the user that the subway is arriving.
即時監測所述行動終端的位置訊息,可以透過開啟手機地圖應用,獲取行動終端的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機行動終端的位置。For real-time monitoring of the location information of the mobile terminal, the current location information of the mobile terminal can be obtained by opening the mobile phone map application, or running the mobile phone map application in the background of the mobile phone, the location of the mobile phone mobile terminal can be obtained in real time.
當所述行動終端沒有連接外部設備時,則不需要即時監測行動終端的位置訊息。由於行動終端沒有連接外部設備,使用者沒有佩戴耳機,可以聽到地鐵的報站訊息,因此,不需要到站提醒,也不需要監測行動終端的位置訊息,可以降低監測行動終端位置訊息所需的功耗,延長行動終端的待機時間。When the mobile terminal is not connected to an external device, there is no need to monitor the location information of the mobile terminal in real time. Since the mobile terminal is not connected to external equipment, the user can hear the subway station announcement message without wearing a headset. Therefore, there is no need to arrive at the station to remind, and there is no need to monitor the location information of the mobile terminal, which can reduce the need to monitor the location information of the mobile terminal. Power consumption extends the standby time of mobile terminals.
S307、當所述行動終端的位置訊息與所述目標公共交通站的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。S307: When the location information of the mobile terminal matches the location information of the target public transportation station, obtain an arrival reminder message, and display the arrival reminder message through the external device.
其中,所述行動終端的位置訊息與所述目標站點的位置訊息相匹配,可以理解為,所述行動終端的位置到達目標站點的預設範圍內,例如,行動終端距離目標站點的距離不大於5米,或者是行動終端位於目標站點的前一站。Wherein, the location information of the mobile terminal matches the location information of the target site, which can be understood as that the location of the mobile terminal reaches within a preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not more than 5 meters, or the mobile terminal is located at the previous stop of the target site.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。The display of the arrival reminder message by the external device can be understood as that the external device can play the arrival reminder message through voice, and the external device can also display the arrival reminder message through vibration.
其中,所述到站提醒訊息可以為預先錄製的語音、鈴聲等,到站提醒訊息也可以是振動外部設備發出的振動聲音,或者,到站提醒訊息也可以為文字訊息,外部設備透過顯示該文字訊息,又或者是,到站提醒訊息也可以是文字訊息和語音訊息的結合,透過外部設備顯示並同時播放該文字訊息。Wherein, the arrival reminder message can be a pre-recorded voice, ringtone, etc. The arrival reminder message can also be a vibration sound emitted by a vibrating external device, or the arrival reminder message can also be a text message, which is displayed by the external device. The text message, or, the arrival reminder message can also be a combination of text message and voice message, which can be displayed and played at the same time through an external device.
當行動終端的位置訊息與目標站點的位置訊息相匹配時,獲取到站提醒訊息,並透過外部設備展示所述到站提醒訊息以提醒使用者地鐵到站的訊息,可以防止使用者由於聽不到地鐵報站訊息,導致使用者坐過站的現象發生。When the location information of the mobile terminal matches the location information of the target site, the arrival reminder message is obtained, and the arrival reminder message is displayed through the external device to remind the user of the subway arrival message, which can prevent the user from listening Failure to report to the subway station may cause users to pass the station.
可以理解的,所述透過所述外部設備展示所述到站提醒訊息,包括:It is understandable that the displaying of the arrival reminder message through the external device includes:
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes a headset, voice reminding the arrival reminding message through the headset;
當所述外部設備包括智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。When the external device includes a smart bracelet, the arrival reminder message is displayed by vibrating the smart bracelet.
透過外部設備的類型選擇對應的展示到站提醒訊息的方式,例如,透過將到站提醒訊息以語音的方式透過耳機展示給使用者,或者,透過將到站提醒訊息以振動手環的方式展示給使用者。Select the corresponding way to display the arrival reminder message through the type of external device, for example, by displaying the arrival reminder message to the user through the earphone by voice, or by displaying the arrival reminder message by vibrating the bracelet To the user.
本申請實施例提供的公共交通到站的提醒方法,透過預設時間段內行動終端的近場通訊記錄,根據近場通訊記錄判斷行動終端是否位於公共交通站,在確定行動終端位於公共交通站內時,獲取所述行動終端的多個應用程式在預設時間段內的歷史紀錄訊息,所述行動終端當前的位置訊息和時間訊息從所述歷史記錄訊息中確定目的地,並將與所述目的地對應的公共交通站確定為目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到公共交通上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標公共交通站的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。According to the method for reminding the arrival of public transportation in the embodiment of this application, the mobile terminal’s near-field communication record within a preset time period is used to determine whether the mobile terminal is located in a public transportation station based on the near-field communication record. At the time, obtain the historical record information of multiple applications of the mobile terminal within a preset time period, the current location information and time information of the mobile terminal determine the destination from the historical record information, and compare it with the The public transportation station corresponding to the destination is determined as the target station, and whether an external device is connected to the mobile terminal is detected. If an external device is detected to be connected to the mobile terminal, it means that the user is in headset mode and cannot hear the arrivals broadcast on public transportation. Station reminder message, through real-time monitoring of the location information of the mobile terminal, and when the location information of the mobile terminal matches the location of the target public transportation station, obtain the station reminder message, and display the reminder message through the external device , To remind the user to get off the car, which can prevent the user from sitting over the station.
可以理解的,本申請實施例還提供一種公共交通到站的提醒方法,請參閱圖4,圖4為本申請實施例提供的公共交通到站提醒方法的第四種流程示意圖。公共交通到站提醒方法包括以下步驟:It is understandable that the embodiment of the present application also provides a method for reminding the arrival of public transportation. Please refer to FIG. 4, which is a fourth flow diagram of the method for reminding the arrival of public transportation provided by the embodiment of this application. The method of public transportation arrival reminder includes the following steps:
S401、獲取預設時間內所述行動終端的近場通訊記錄。S401. Obtain a near field communication record of the mobile terminal within a preset time.
近場通訊是指行動終端與其他外部設備進行近距離通訊的一種通訊方式,近場通訊記錄指行動終端與其他電子設備進行近場通訊的交易紀錄,近場通訊記錄可以包括與行動終端通訊的設備名稱、設備編號、通訊的時間以及通訊的地點等。Near field communication refers to a communication method for the mobile terminal to communicate with other external devices. Near field communication records refer to the transaction records of the mobile terminal and other electronic devices for near field communication. The near field communication records can include communication with the mobile terminal. Device name, device number, communication time and communication location, etc.
其中,其他電子設備可以為地鐵站內的監測設備、也可以為商店的掃描設備,並且,這些設備具有唯一標識,以地鐵站內的監測設備為例進行說明,例如,同一地鐵站內的監測設備標識可以為A地鐵站1號監測設備、A地鐵站2號監測設備、A地鐵站3號監測設備。不同地鐵站內的標識可以為,A地鐵站1號監測設備、A地鐵站2號監測設備、B地鐵站1號監測設備、B地鐵站2號監測設備。這樣不需要開啟手機定位功能的情況下,也可以透過獲取與手機近場通訊的監測設備,從而可以確定使用者進出地鐵站內的位置,進而也可以起到降低手機功耗的技術問題。Among them, other electronic equipment can be monitoring equipment in subway stations, or scanning equipment in shops, and these devices have unique identifications. Take the monitoring equipment in subway stations as an example for illustration. For example, the identification of monitoring equipment in the same subway station can be It is the No. 1 monitoring equipment of A subway station, the No. 2 monitoring equipment of A subway station, and the No. 3 monitoring equipment of subway station A. The signs in different subway stations can be: A subway station No. 1 monitoring equipment, A subway station No. 2 monitoring equipment, B subway station No. 1 monitoring equipment, B subway station No. 2 monitoring equipment. In this way, without the need to turn on the mobile phone positioning function, the monitoring equipment for near field communication with the mobile phone can also be obtained to determine the user's position in and out of the subway station, which can also reduce the technical problem of mobile phone power consumption.
預設時間為提前設置在手機內的一個定值,例如,預設時間為1分鐘、3分鐘、5分鐘等,或者預設時間也可以為一範圍值,例如,預設時間為1-5分鐘、3-6分鐘等。The preset time is a fixed value set in the mobile phone in advance, for example, the preset time is 1 minute, 3 minutes, 5 minutes, etc., or the preset time can also be a range value, for example, the preset time is 1-5 Minutes, 3-6 minutes, etc.
S402、並根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站內。S402: Determine whether the mobile terminal is located in a public transportation station according to the near field communication record.
其中,行動終端可以是移動行動終端,包括手機、電腦、平板電腦等電子產品。Among them, the mobile terminal may be a mobile mobile terminal, including electronic products such as mobile phones, computers, and tablet computers.
根據近場通訊記錄判斷所述手機是否位於地鐵站內,從而可以確定用戶是否在搭乘地鐵。It is determined whether the mobile phone is located in a subway station according to the near field communication record, so that it can be determined whether the user is on the subway.
由於很多地鐵站內開設有美食街,或者很多美妝店,或者地鐵站與一些大型商場連通,因此,有時候雖然可以定位用戶的位置位於地鐵站內,但是,仍然不能確定用戶在搭乘地鐵,因此,常常出現一些誤判情況,例如,使用者雖然是位於地鐵站內,但是,用戶只是在地鐵站內逛街,並不是為了乘坐地鐵,為了更加準確的確定用戶是否位於地鐵站內,並且在乘坐地鐵,本申請透過獲取預設時間內所述終端的近場通訊記錄,根據所述近場通訊記錄判斷所述終端是否位於地鐵站內,從而可以更加準確的判斷用戶是否位於地鐵站內,且正在搭載地鐵。Because many subway stations have food courts, or many beauty shops, or subway stations are connected to some large shopping malls, sometimes although users can be located in subway stations, it is still not certain that users are taking the subway. Therefore, There are often some misjudgments. For example, although the user is located in a subway station, but the user is only shopping in the subway station, not to take the subway, in order to more accurately determine whether the user is located in the subway station and is taking the subway, this application passes Obtain the near field communication records of the terminal within a preset time, and determine whether the terminal is located in a subway station according to the near field communication records, so that it can be more accurately determined whether the user is located in a subway station and is carrying a subway.
可以理解的,根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站內,包括:It is understandable that judging whether the mobile terminal is located in a public transportation station according to the near field communication record includes:
判斷所述近場通訊記錄是否包含所述行動終端與公共交通站內的監測設備進行通訊的記錄;Judging whether the near-field communication record includes a record of the communication between the mobile terminal and the monitoring equipment in a public transportation station;
當所述近場通訊記錄包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站內;When the near field communication record includes the near field communication record of the mobile terminal and the monitoring equipment in the public transportation station, the mobile terminal is located in the public transportation station;
當所述近場通訊記錄不包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站外。When the near field communication record does not include the near field communication record between the mobile terminal and the monitoring equipment in the public transportation station, the mobile terminal is located outside the public transportation station.
S403、當所述行動終端位於公共交通站內時,獲取站點選擇清單,並將所述站點選擇清單呈現在所述行動終端的顯示介面。S403: When the mobile terminal is located in a public transportation station, obtain a site selection list, and present the site selection list on a display interface of the mobile terminal.
站點選擇清單指用戶所在市的所有地鐵線路的地鐵站點,站點選擇清單也可以為全國的所有地鐵線路的地鐵站點。其中,站點選擇清單可以為預先儲存在終端內的。The station selection list refers to the subway stations of all subway lines in the city where the user is located, and the station selection list can also be the subway stations of all subway lines in the country. Among them, the site selection list can be pre-stored in the terminal.
透過將所有地鐵線路的地鐵站點呈現在所述終端的顯示介面,便於使用者自己選擇想去的地鐵站。By presenting the subway stations of all subway lines on the display interface of the terminal, it is convenient for the user to choose the subway station he wants to go to.
S404、接收用戶的選擇操作,並將所述選擇操作對應的公共交通站點確定為目標站點。S404: Receive a user's selection operation, and determine a public transportation station corresponding to the selection operation as a target station.
使用者看到手機介面呈現的站點選擇清單後,選擇自己所要到達的地鐵站,接收用戶的選擇操作,將用戶選擇的地鐵站確定為目標站點,透過使用者自己選擇所要到達的地鐵站點,不需要終端透過其他方式查找,可以減少終端內系統的運算量,同時,也可以準確地確定使用者的目標站點。After the user sees the station selection list presented on the mobile interface, he selects the subway station he wants to reach, receives the user's selection operation, determines the subway station selected by the user as the target station, and selects the subway station to be reached through the user himself Point, no need for the terminal to search through other methods, which can reduce the amount of calculation of the system in the terminal, and at the same time, it can accurately determine the user's target site.
S405、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S405. Detect whether an external device is connected to the mobile terminal, and the external device is used to display a message.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測行動終端的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can perform a Bluetooth connection with the mobile terminal, for example, by detecting whether the Bluetooth device of the mobile terminal is in a working state, and if so, obtaining whether the Bluetooth device is connected to the external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。External devices can be used to display messages, where the displayed messages can be displaying text messages, playing voice messages, etc. The external device can be a headset, such as a Bluetooth headset or sports headset, and the external device can also be a smart bracelet or For smart watches, external devices can also include earphones and smart bracelets or watches at the same time.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。When it is determined that the mobile terminal is located in a subway station, check whether the mobile terminal is connected to an external device. When the external device is a headset, the use state of the mobile terminal can be determined, and the user's environment can be determined according to the use state of the mobile terminal, which is convenient It is better to determine whether users need to remind the location of subway operation.
當外部設備為智慧手環時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is a smart bracelet, in order to better prevent the user from passing the station, when it detects that the subway is about to arrive, the user can be reminded by vibrating the smart bracelet to get off the train to avoid the user from passing the station.
S406、當所述行動終端連接有外部設備時,檢測所述行動終端當前的播放模式是否為耳機模式。S406: When an external device is connected to the mobile terminal, detect whether the current play mode of the mobile terminal is a headset mode.
耳機模式指行動終端連接有耳機,並且行動終端處於音樂或影像播放模式,使用者透過帶耳機聽音樂可以避免地鐵內由於人多,噪音比較大的現象。Earphone mode means that the mobile terminal is connected with earphones and the mobile terminal is in music or video playback mode. Users can listen to music through earphones to avoid the phenomenon of high noise due to the large number of people in the subway.
當所述行動終端沒有連接外部設備時,則繼續獲取站點選擇清單,不需要監測行動終端的位置訊息。由於行動終端沒有連接外部設備,使用者可以聽到地鐵站內的站點播放訊息,不需要進行地鐵到站提醒。When the mobile terminal is not connected to an external device, it continues to obtain the site selection list without monitoring the location information of the mobile terminal. Since the mobile terminal is not connected to an external device, the user can hear the station broadcast message in the subway station, and there is no need to remind the subway station.
S407、當所述行動終端當前的播放模式為耳機模式時,則即時監測所述行動終端的位置訊息。S407: When the current play mode of the mobile terminal is the headset mode, monitor the location information of the mobile terminal in real time.
其中,耳機模式可以理解為降噪模式,例如,使用者佩戴耳機,透過耳機聽音樂,可以避免地鐵站內人多嘈雜的現象。但是,由於使用者戴上耳機聽音樂無法聽到地鐵線路上的廣播,容易出現坐過站的現象,因此,需要向使用者提供到站提醒的訊息。透過監測行動終端的位置訊息,例如,透過開啟地圖應用程式,即時獲取行動終端的位置訊息。 為了不影響其他應用的使用,地圖應用程式可以在後臺運行。Among them, the earphone mode can be understood as a noise reduction mode. For example, the user wears earphones and listens to music through the earphones, which can avoid the phenomenon of noisy people in the subway station. However, because users wear headphones to listen to music and cannot hear the broadcast on the subway line, they are prone to ride over stations. Therefore, it is necessary to provide users with a message to remind them of arrival. By monitoring the location information of the mobile terminal, for example, by opening a map application, the location information of the mobile terminal can be obtained in real time. In order not to affect the use of other applications, the map application can run in the background.
其中,即時監測所述行動終端的位置訊息可以包括:啟動所述行動終端的地圖應用程式;根據所述地圖應用程式定位所述行動終端的當前位置,並即時監測所述行動終端的位置訊息。透過開啟手機地圖應用,獲取行動終端的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機行動終端的位置。Wherein, real-time monitoring of the location information of the mobile terminal may include: starting a map application of the mobile terminal; locating the current location of the mobile terminal according to the map application, and real-time monitoring of the location information of the mobile terminal. By opening the mobile phone map application to obtain the current location information of the mobile terminal, or running the mobile phone map application in the background of the mobile phone, the location of the mobile phone mobile terminal can be obtained in real time.
S408、當所述行動終端當前的播放模式為正常模式時,則繼續獲取預設時間內所述行動終端的近場通訊記錄。S408: When the current play mode of the mobile terminal is the normal mode, continue to obtain the near field communication record of the mobile terminal within a preset time.
正常模式指行動終端當前沒有進行音樂或影像的播放,雖然,行動終端連接有耳機,但是,由於行動終端沒有進行音樂或影像的播放,使用者可以聽到地鐵內的語音報站訊息,不需要向使用者發送到站提醒訊息。The normal mode means that the mobile terminal is not currently playing music or video. Although the mobile terminal is connected with headphones, but because the mobile terminal is not playing music or video, the user can hear the voice announcement message in the subway and does not need to The user sends a reminder message to the station.
S409、當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。S409: When the location information of the mobile terminal matches the location information of the target site, obtain an arrival reminder message, and display the arrival reminder message through the external device.
其中,所述行動終端的位置訊息與所述目標站點的位置訊息相匹配,可以理解為,所述行動終端的位置到達目標站點的預設範圍內,例如,行動終端距離目標站點的距離不大於5米,或者是行動終端位於目標站點的前一站。Wherein, the location information of the mobile terminal matches the location information of the target site, which can be understood as that the location of the mobile terminal reaches within a preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not more than 5 meters, or the mobile terminal is located at the previous stop of the target site.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。The display of the arrival reminder message by the external device can be understood as that the external device can play the arrival reminder message through voice, and the external device can also display the arrival reminder message through vibration.
其中,所述到站提醒訊息可以為預先錄製的語音、鈴聲等,到站提醒訊息也可以是振動外部設備發出的振動聲音,或者,到站提醒訊息也可以為文字訊息,外部設備透過顯示該文字訊息,又或者是,到站提醒訊息也可以是文字訊息和語音訊息的結合,透過外部設備顯示並同時播放該文字訊息。Wherein, the arrival reminder message can be a pre-recorded voice, ringtone, etc. The arrival reminder message can also be a vibration sound emitted by a vibrating external device, or the arrival reminder message can also be a text message, which is displayed by the external device. The text message, or, the arrival reminder message can also be a combination of text message and voice message, which can be displayed and played at the same time through an external device.
當行動終端的位置訊息與目標站點的位置訊息相匹配時,獲取到站提醒訊息,並透過外部設備展示所述到站提醒訊息以提醒使用者地鐵到站的訊息,可以防止使用者由於聽不到地鐵報站訊息,導致使用者坐過站的現象發生。When the location information of the mobile terminal matches the location information of the target site, the arrival reminder message is obtained, and the arrival reminder message is displayed through the external device to remind the user of the subway arrival message, which can prevent the user from listening Failure to report to the subway station may cause users to pass the station.
可以理解的,所述透過所述外部設備展示所述到站提醒訊息,包括:It is understandable that the displaying of the arrival reminder message through the external device includes:
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes a headset, voice reminding the arrival reminding message through the headset;
當所述外部設備包括智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。When the external device includes a smart bracelet, the arrival reminder message is displayed by vibrating the smart bracelet.
透過外部設備的類型選擇對應的展示到站提醒訊息的方式,例如,透過將到站提醒訊息以語音的方式透過耳機展示給使用者,或者,透過將到站提醒訊息以振動手環的方式展示給使用者。Select the corresponding way to display the arrival reminder message through the type of external device, for example, by displaying the arrival reminder message to the user through the earphone by voice, or by displaying the arrival reminder message by vibrating the bracelet To the user.
本申請實施例提供的公共交通到站的提醒方法,透過預設時間段內行動終端的近場通訊記錄,根據近場通訊記錄判斷行動終端是否位於公共交通站,在確定終端位於公共交通站內時,使用者根據站點選擇清單選擇目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,並當行動終端的播放模式處於耳機模式時,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,將到站提醒訊息傳輸至外部設備,使用者接收到提醒訊息後下車,透過使用者自己確定目標站點,不僅可以提高確定目標站點的準確度,而且可以更好的防止用戶坐過站的現象發生。The method for reminding the arrival of public transportation in the embodiment of this application uses the near field communication records of the mobile terminal within a preset time period to determine whether the mobile terminal is located in a public transportation station based on the near field communication records. When it is determined that the terminal is located in the public transportation station , The user selects the target site according to the site selection list, and detects whether there is an external device connected to the mobile terminal. If an external device is detected to be connected to the mobile terminal, and when the playback mode of the mobile terminal is in headset mode, through real-time monitoring The location information of the mobile terminal, and when the location information of the mobile terminal matches the location of the target site, the arrival reminder message is transmitted to the external device, the user gets off the car after receiving the reminder message, and the user determines the target by himself The site can not only improve the accuracy of determining the target site, but also better prevent the phenomenon of users sitting over the station.
請參照圖5,圖5為本申請實施例提供的公共交通到站提醒裝置的結構示意圖,應用於行動終端中,公共交通到站提醒裝置包括:Please refer to FIG. 5, which is a schematic structural diagram of a public transportation arrival reminding device provided by an embodiment of the application, which is applied to a mobile terminal, and the public transportation arrival reminding device includes:
確定模組501,當所述行動終端位於公共交通站內時,用於確定使用者的目標站點;The determining
檢測模組502,用於檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;The
監測模組503,當所述行動終端連接有外部設備時,用於即時監測所述行動終端的位置訊息;The
處理模組504,當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,用於獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。The
本申請實施例還提供一種行動終端,請參照圖6,圖6為本申請實施例提供的行動終端的第一種結構示意圖,行動終端600包括處理器601和記憶體602。其中,處理器601與記憶體602電性連接。An embodiment of the present application also provides a mobile terminal. Please refer to FIG. 6. FIG. 6 is a schematic diagram of the first structure of the mobile terminal provided in an embodiment of the present application. The
處理器601是行動終端600的控制中心,利用各種介面和線路連接整個電子設備的各個部分,透過運行或載入儲存在記憶體602內的電腦程式,以及調用儲存在記憶體602內的資料,執行行動終端600的各種功能並處理資料。The
記憶體602可用於儲存軟體程式以及模組,處理器601透過運行儲存在記憶體602的電腦程式以及模組,從而執行各種功能應用以及資料處理。記憶體602可主要包括儲存程式區和儲存資料區,其中,儲存程式區可儲存作業系統、至少一個功能所需的電腦程式(比如聲音播放功能、圖像播放功能等)等;儲存資料區可儲存根據電子設備的使用所創建的資料等。The
此外,記憶體602可以包括高速隨機存取記憶體,還可以包括非揮發性記憶體,例如至少一個磁碟記憶體、快閃記憶體、或其他揮發性固態記憶體。相應地,記憶體602還可以包括記憶體控制器,以提供處理器601對記憶體602的連接。In addition, the
在本申請實施例中,行動終端600中的處理器601會按照如下的步驟,將一個或一個以上的電腦程式的進程對應的指令載入到記憶體602中,並由處理器601運行儲存在記憶體602中的電腦程式,從而實現各種功能,如下:In the embodiment of the present application, the
當所述行動終端位於公共交通站內時,確定使用者的目標站點;When the mobile terminal is located in a public transportation station, determining the user's target station;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected to an external device, and the external device is used to display a message;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected to an external device, the location information of the mobile terminal is monitored in real time;
當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。When the location information of the mobile terminal matches the location information of the target site, an arrival reminder message is acquired, and the arrival reminder message is displayed through the external device.
請參照圖7,圖7為本申請實施例提供的行動終端的第二種結構示意圖,與圖6所示行動終端的區別在於,行動終端還包括:攝影元件603、顯示器604、音訊電路605、射頻電路606以及電源607。其中,攝影元件603、顯示器604、音訊電路605、射頻電路606以及電源607分別與處理器601電性連接。Please refer to FIG. 7. FIG. 7 is a schematic diagram of the second structure of the mobile terminal provided by the embodiment of the application. The difference from the mobile terminal shown in FIG.
攝影元件603可以包括圖像處理電路,圖像處理電路可以利用硬體和/或軟體元件實現,可包括定義圖像信號處理(Image Signal Processing)管線的各種處理單元。圖像處理電路至少可以包括:多個攝影頭、圖像信號處理器(Image Signal Processor,ISP處理器)、控制邏輯器以及圖像記憶體等。其中每個攝影頭至少可以包括一個或多個透鏡和圖像感測器。圖像感測器可包括色彩濾鏡陣列(如Bayer濾鏡)。圖像感測器可獲取用圖像感測器的每個成像像素捕捉的光強度和波長訊息,並提供可由圖像信號處理器處理的一組原始圖像資料。The photographing
顯示器604可以用於顯示由使用者輸入的訊息或提供給使用者的訊息以及各種圖形使用者介面,這些圖形使用者介面可以由圖形、文本、圖示、影像和其任意組合來構成。The
音訊電路605可以用於透過揚聲器、傳聲器提供使用者與電子設備之間的音訊介面。The
射頻電路606可以用於收發射頻信號,以透過無線通訊與網路設備或其他電子設備建立無線通訊,與網路設備或其他電子設備之間收發信號。The
電源607可以用於給行動終端600的各個部件供電。在一些實施例中,電源607可以透過電源管理系統與處理器601邏輯相連,從而透過電源管理系統實現管理充電、放電、以及功耗管理等功能。The
在本申請實施例中,行動終端600中的處理器601會按照如下的步驟,將一個或一個以上的電腦程式的進程對應的指令載入到記憶體602中,並由處理器601運行儲存在記憶體602中的電腦程式,從而實現各種功能,如下:In the embodiment of the present application, the
當所述行動終端位於公共交通站內時,確定目標站點;When the mobile terminal is located in a public transportation station, determine the target station;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected to an external device, and the external device is used to display a message;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected to an external device, the location information of the mobile terminal is monitored in real time;
當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。When the location information of the mobile terminal matches the location information of the target site, an arrival reminder message is acquired, and the arrival reminder message is displayed through the external device.
在一些實施例中,所述處理器601還用於執行:In some embodiments, the
獲取站點選擇清單,並將所述站點選擇清單呈現在所述行動終端的顯示介面;Obtaining a site selection list, and presenting the site selection list on a display interface of the mobile terminal;
接收用戶的選擇操作,並將所述選擇操作對應的公共交通站點確定為目標站點。The user's selection operation is received, and the public transportation station corresponding to the selection operation is determined as the target station.
可以理解的是,所述處理器601還用於執行:It can be understood that the
獲取所述行動終端的多個應用程式在預設時間段內的歷史紀錄訊息;Acquiring historical record information of multiple applications of the mobile terminal in a preset time period;
根據所述行動終端當前的位置訊息和時間訊息從所述歷史記錄訊息中確定目的地,並將與所述目的地對應的公共交通站確定為目標站點。The destination is determined from the historical record information according to the current location information and time information of the mobile terminal, and the public transportation station corresponding to the destination is determined as the target station.
在一些實施例中,在當所述行動終端位於公共交通站內時,確定目標站點之前,所述處理器601還用於執行:In some embodiments, before the target station is determined when the mobile terminal is located in a public transportation station, the
獲取預設時間內所述行動終端的近場通訊記錄;Acquiring the near field communication record of the mobile terminal within a preset time;
根據所述近場通訊記錄判斷所述行動終端是否位於地鐵站內。Determine whether the mobile terminal is located in a subway station according to the near field communication record.
在一些實施例中,所述處理器601還用於執行:In some embodiments, the
判斷所述近場通訊記錄是否包含所述行動終端與地鐵站內的監測設備進行通訊的記錄;Judging whether the near-field communication record contains the record of the communication between the mobile terminal and the monitoring equipment in the subway station;
當所述近場通訊記錄包含所述行動終端與地鐵站內的監測設備進行通訊的記錄,則確定所述行動終端位於地鐵站內。When the near field communication record includes the record of the communication between the mobile terminal and the monitoring equipment in the subway station, it is determined that the mobile terminal is located in the subway station.
在一些實施例中,在檢測所述行動終端連接有外部設備之後,所述處理器601還用於執行:In some embodiments, after detecting that the mobile terminal is connected to an external device, the
檢測所述行動終端當前的播放模式是否為耳機模式;Detecting whether the current play mode of the mobile terminal is a headset mode;
當所述行動終端當前的播放模式為耳機模式時,則即時監測所述行動終端的位置訊息。When the current play mode of the mobile terminal is the headset mode, the location information of the mobile terminal is monitored in real time.
可以理解的是,所述處理器601還用於執行:It can be understood that the
啟動所述行動終端的地圖應用程式;Start the map application of the mobile terminal;
根據所述地圖應用程式即時監測所述行動終端的位置訊息。Real-time monitoring of the location information of the mobile terminal according to the map application.
在一些實施例中,所述處理器601還用於執行:In some embodiments, the
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes a headset, voice reminding the arrival reminding message through the headset;
當所述外部設備包括耳機和智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。When the external device includes an earphone and a smart bracelet, the arrival reminder message is displayed by vibrating the smart bracelet.
本申請實施例提供的行動終端,當行動終端位於地鐵站內時,確定使用者的目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。In the mobile terminal provided by the embodiments of the present application, when the mobile terminal is located in a subway station, the user’s target site is determined, and whether an external device is connected to the mobile terminal is detected. If an external device is detected to be connected to the mobile terminal, the user is indicated In headset mode, it is impossible to hear the arrival reminder message broadcast on the subway. By real-time monitoring of the location information of the mobile terminal, and when the location information of the mobile terminal matches the location of the target site, the arrival reminder message is obtained, and The reminding message is displayed through the external device to remind the user to get off the car, so as to prevent the phenomenon of the user from sitting over the station.
本申請實施例還提供一種儲存媒介,所述儲存媒介中儲存有電腦程式,當所述電腦程式在電腦上運行時,所述電腦執行上述任一實施例所述的公共交通到站提醒方法。An embodiment of the present application also provides a storage medium in which a computer program is stored. When the computer program runs on a computer, the computer executes the public transportation arrival reminding method described in any of the above embodiments.
需要說明的是,本領域普通技術人員可以理解上述實施例的各種方法中的全部或部分步驟是可以透過電腦程式來指令相關的硬體來完成,所述電腦程式可以儲存於電腦可讀儲存媒介中,所述儲存媒介可以包括但不限於:唯讀記憶體(ROM,Read Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁片或光碟等。It should be noted that those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing relevant hardware through a computer program, which can be stored in a computer-readable storage medium. Here, the storage medium may include but is not limited to: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), floppy disk or optical disk, etc.
以上對本申請實施例提供的公共交通到站提醒方法、裝置、儲存媒介及行動終端進行了詳細介紹。本文中應用了具體個例對本申請的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本申請。同時,對於本領域的技術人員,依據本申請的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本申請的限制。The method, device, storage medium, and mobile terminal for reminding the arrival of public transportation provided by the embodiments of the present application have been described in detail above. Specific examples are used in this article to illustrate the principles and implementations of the application, and the description of the above examples is only used to help understand the application. At the same time, for those skilled in the art, according to the idea of the application, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the application.
101~104:步驟
201~205:步驟
301~307:步驟
401~409:步驟
500:公共交通到站提醒裝置
501:確定模組
502:檢測模組
503:監測模組
504:處理模組
600:行動終端
601:處理器
602:記憶體
603:攝影元件
604:顯示器
605:音訊電路
606:射頻電路
607:電源101~104:
為了更清楚地說明本申請實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments.
圖1為本申請實施例提供的公共交通到站提醒方法的第一種流程示意圖。FIG. 1 is a schematic diagram of the first flow of the method for reminding the arrival of public transportation provided by an embodiment of this application.
圖2為本申請實施例提供的公共交通到站提醒方法的第二種流程示意圖。FIG. 2 is a schematic diagram of the second flow of the method for reminding the arrival of public transportation to a stop provided by an embodiment of the application.
圖3為本申請實施例提供的公共交通到站提醒方法的第三種流程示意圖。FIG. 3 is a schematic diagram of the third process of the method for reminding the arrival of public transportation at a station provided by an embodiment of the application.
圖4為本申請實施例提供的公共交通到站提醒方法的第四種流程示意圖。FIG. 4 is a schematic diagram of the fourth flow of the method for reminding the arrival of public transportation at a station provided by an embodiment of the application.
圖5為本申請實施例提供的公共交通到站提醒裝置的結構示意圖。Fig. 5 is a schematic structural diagram of a public transportation arrival reminding device provided by an embodiment of the application.
圖6為本申請實施例提供的行動終端的第一種結構示意圖。FIG. 6 is a schematic diagram of the first structure of a mobile terminal provided by an embodiment of this application.
圖7為本申請實施例提供的行動終端的第二種結構示意圖。FIG. 7 is a schematic diagram of a second structure of a mobile terminal provided by an embodiment of the application.
101~104:步驟101~104: steps
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010275124.6 | 2020-04-09 | ||
| CN202010275124.6A CN111429746A (en) | 2020-04-09 | 2020-04-09 | Public transport arrival reminder method, device, storage medium and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202139146A true TW202139146A (en) | 2021-10-16 |
| TWI779531B TWI779531B (en) | 2022-10-01 |
Family
ID=71556626
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110110706A TWI779531B (en) | 2020-04-09 | 2021-03-24 | Public transport arrival reminder method, device, storage medium and mobile terminal |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN111429746A (en) |
| TW (1) | TWI779531B (en) |
| WO (1) | WO2021203835A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI854636B (en) * | 2023-05-05 | 2024-09-01 | 健行學校財團法人健行科技大學 | Wearable schedule reminding device |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111429746A (en) * | 2020-04-09 | 2020-07-17 | Oppo广东移动通信有限公司 | Public transport arrival reminder method, device, storage medium and mobile terminal |
| CN116418831A (en) * | 2021-12-30 | 2023-07-11 | 华为技术有限公司 | A location-based service realization method, data processing method and device |
| CN115052234A (en) * | 2022-06-07 | 2022-09-13 | 展讯通信(上海)有限公司 | Earphone control method, system, device and storage medium |
| CN115240457A (en) * | 2022-07-11 | 2022-10-25 | 中国银行股份有限公司 | Arrival reminding processing method and device |
Family Cites Families (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4710579B2 (en) * | 2005-12-06 | 2011-06-29 | 日本電気株式会社 | Train radio interference avoidance system and in-train radio terminal |
| TW200828190A (en) * | 2006-12-19 | 2008-07-01 | Kinpo Elect Inc | Method for reminding station arrival and system therefor |
| JP2013135299A (en) * | 2011-12-26 | 2013-07-08 | Kddi Corp | Communication system, control method, and program |
| CN103051787B (en) * | 2012-12-12 | 2015-04-15 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for preventing mobile terminal from being stolen |
| CN103152480B (en) * | 2013-02-26 | 2015-06-03 | 广东欧珀移动通信有限公司 | Method and device for arrival prompt by mobile terminal |
| CN103546866B (en) * | 2013-10-30 | 2016-11-23 | 深圳市金立通信设备有限公司 | A kind of method of arrival reminding and terminal |
| CN103841526B (en) * | 2014-03-14 | 2018-07-06 | 迈普通信技术股份有限公司 | A kind of method and system of arrival reminding |
| CN104063741B (en) * | 2014-06-04 | 2018-05-08 | 惠州Tcl移动通信有限公司 | A kind of underground route reminding method and system based on wireless telecommunications system |
| CN105142112B (en) * | 2015-09-24 | 2018-09-04 | 广东欧珀移动通信有限公司 | Mobile terminal detects metro environment and automatically reports the bus stop the method and device of prompt automatically |
| WO2017120846A1 (en) * | 2016-01-14 | 2017-07-20 | 刘建兵 | Method and device for acquiring data during station arrival reminder, and mobile terminal |
| CN106095701A (en) * | 2016-06-12 | 2016-11-09 | 乐视控股(北京)有限公司 | A kind of quarter-bell reminding method, device and earphone |
| CN106250149A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of based reminding method and terminal |
| CN106844586A (en) * | 2017-01-10 | 2017-06-13 | 广东欧珀移动通信有限公司 | Arrival prompt method, device and computer equipment |
| CN107295182A (en) * | 2017-06-30 | 2017-10-24 | 广东欧珀移动通信有限公司 | Subway arrival reminding method and device, storage medium and terminal |
| CN107801153A (en) * | 2017-11-09 | 2018-03-13 | 广东欧珀移动通信有限公司 | Subway trip reminding method, subway trip reminding device and mobile terminal |
| CN107734188B (en) * | 2017-11-09 | 2020-08-07 | Oppo广东移动通信有限公司 | Subway travel reminder method, subway travel reminder device and mobile terminal |
| CN107995367B (en) * | 2017-12-13 | 2020-09-15 | Oppo广东移动通信有限公司 | Arrival reminder method, device, storage medium and mobile terminal |
| CN108093367B (en) * | 2017-12-13 | 2020-01-21 | Oppo广东移动通信有限公司 | Control method and device based on positioning module, storage medium and mobile terminal |
| CN108093131A (en) * | 2017-12-13 | 2018-05-29 | 广东欧珀移动通信有限公司 | Arrival reminding method and device, storage medium and mobile terminal |
| CN108347715A (en) * | 2018-01-02 | 2018-07-31 | 超空科技(北京)有限公司 | A kind of passive type NFC positioning systems and localization method |
| CN109379483B (en) * | 2018-09-07 | 2021-06-11 | 平安科技(深圳)有限公司 | Method, device, storage medium, computer equipment and system for preventing earphone from isolating prompt information |
| CN109451385A (en) * | 2018-10-16 | 2019-03-08 | 深圳壹账通智能科技有限公司 | A kind of based reminding method and device based on when using earphone |
| CN109951801B (en) * | 2019-03-29 | 2022-09-20 | 广东小天才科技有限公司 | Method and device for reminding arrival and intelligent terminal |
| CN110377685A (en) * | 2019-07-23 | 2019-10-25 | 中国联合网络通信集团有限公司 | A kind of arrival reminding method and system based on machine learning |
| CN111429746A (en) * | 2020-04-09 | 2020-07-17 | Oppo广东移动通信有限公司 | Public transport arrival reminder method, device, storage medium and mobile terminal |
-
2020
- 2020-04-09 CN CN202010275124.6A patent/CN111429746A/en active Pending
-
2021
- 2021-02-09 WO PCT/CN2021/076339 patent/WO2021203835A1/en not_active Ceased
- 2021-03-24 TW TW110110706A patent/TWI779531B/en active
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI854636B (en) * | 2023-05-05 | 2024-09-01 | 健行學校財團法人健行科技大學 | Wearable schedule reminding device |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI779531B (en) | 2022-10-01 |
| WO2021203835A1 (en) | 2021-10-14 |
| CN111429746A (en) | 2020-07-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI779531B (en) | Public transport arrival reminder method, device, storage medium and mobile terminal | |
| US9456265B2 (en) | Electronic device and control method thereof | |
| CN109062535B (en) | Voice control method, device, electronic device and computer readable medium | |
| CN104866265B (en) | Multi-media file display method and device | |
| US10064153B2 (en) | Position estimation apparatus, position estimation method, target terminal, communication method, communication terminal, recording medium, and position estimation system | |
| US20160196574A1 (en) | Discovery and Mobile device Characteristics based Advertising and Billing Framework | |
| CN107027141A (en) | Information processing method, device and mobile terminal | |
| CN108600539B (en) | Mobile terminal, position detection method and related products | |
| CN107888765B (en) | Method for switching scene mode and mobile terminal | |
| CN109130854B (en) | Speed limit reminding method and device and storage medium | |
| US20160065722A1 (en) | Systems and Methods for Managing Operating Modes of an Electronic Device | |
| CN107168851A (en) | Information processing method, device and mobile terminal | |
| US9621986B2 (en) | Electronic device, audio device, and method for supplying power to the audio device | |
| CN105468236A (en) | Message prompting method and apparatus and terminal | |
| CN105841693B (en) | Navigation method and device | |
| CN105069605A (en) | Charging prompt method and device | |
| CN105611048A (en) | Alarm clock prompt method and device, and mobile terminal | |
| CN107786714B (en) | Sound control method, apparatus and system based on vehicle-mounted multimedia equipment | |
| CN112449308A (en) | Mobile phone signal-based activity early warning method and device for active personnel | |
| KR20140121141A (en) | Apparatas and method for call forwarding according to batter capacity in an electronic device | |
| CN108668011B (en) | Output method, output device and electronic device | |
| CN111081283A (en) | Music playing method and device, storage medium and terminal equipment | |
| CN107193707B (en) | Information processing method, device and mobile terminal | |
| CN107798821A (en) | Safety reminder method, device, mobile terminal and readable storage medium | |
| CN107027160A (en) | Information processing method, device and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GD4A | Issue of patent certificate for granted invention patent |