TWI779531B - Public transport arrival reminder method, device, storage medium and mobile terminal - Google Patents
Public transport arrival reminder method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- TWI779531B TWI779531B TW110110706A TW110110706A TWI779531B TW I779531 B TWI779531 B TW I779531B TW 110110706 A TW110110706 A TW 110110706A TW 110110706 A TW110110706 A TW 110110706A TW I779531 B TWI779531 B TW I779531B
- Authority
- TW
- Taiwan
- Prior art keywords
- mobile terminal
- external device
- station
- location information
- subway
- Prior art date
Links
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
本申請實施例提供一種公共交通到站提醒方法、裝置、儲存媒介及行動終端,公共交通到站提醒方法包括:當所述行動終端位於公共交通站內時,確定目標站點;檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,則獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。透過採用上述技術方案,可以防止用戶坐過站的現象發生。The embodiment of the present application provides a public transportation arrival reminder method, device, storage medium and mobile terminal. The public transportation arrival reminder method includes: when the mobile terminal is located in the public transportation station, determining the target site; detecting the mobile terminal Whether there is an external device connected, and the external device is used to display information; when the mobile terminal is connected with an external device, then monitor the location information of the mobile terminal in real time; When the position information of the point matches, the arrival reminder message is obtained, and the arrival reminder message is displayed through the external device. By adopting the above-mentioned technical solution, it is possible to prevent the occurrence of the phenomenon that the user sits past the station.
Description
本申請涉及通訊技術領域,特別涉及一種公共交通到站提醒方法、裝置、儲存媒介及行動終端。The present application relates to the technical field of communication, and in particular to a public transport arrival reminder method, device, storage medium and mobile terminal.
隨著經濟的發展和城市人口的增加,越來越多的人選擇乘坐公共交通,不僅出行方便,而且綠色環保。With the development of the economy and the increase of the 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 compartment, the noise inside the car is relatively loud. Many passengers wear noise-cancelling headphones when riding, which can not only listen to music, but also isolate the noise, but they often fail because they cannot hear the arrival announcement. sat on the site.
本申請實施例提供一種公共交通到站提醒方法、裝置、儲存媒介及行動終端,可以防止使用者坐過站的現象發生。The embodiment of the present application provides a public transport arrival reminder method, device, storage medium and mobile terminal, which can prevent the phenomenon that the user passes the stop.
第一方面,本申請實施例公開一種公共交通到站提醒方法,應用於行動終端中,所述方法包括:In the first aspect, the embodiment of the present application discloses a public transportation arrival reminder method, which is applied to a mobile terminal, and the method includes:
當所述行動終端位於公共交通站內時,確定目標站點;When the mobile terminal is located in a public transport station, determine the target site;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected with an external device, and the external device is used to display information;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected with 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 obtained, and the reminder message is displayed through the external device.
第二方面,本申請實施例還公開一種公共交通到站提醒裝置,應用於行動終端中,所述裝置包括:In the second aspect, the embodiment of the present application also discloses a public transport arrival reminder device, which is applied to a mobile terminal, and the device includes:
確定模組,當所述行動終端位於公共交通站內時,用於確定目標站點;A determination module, used to determine a target site when the mobile terminal is located in a public transport station;
檢測模組,用於檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;A detection module, used to detect whether the mobile terminal is connected to an external device, and the external device is used to display information;
監測模組,當所述行動終端連接有外部設備時,用於即時監測所述行動終端的位置訊息;A monitoring module, used to monitor the location information of the mobile terminal in real time when the mobile terminal is connected to an external device;
處理模組,當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,用於獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息。A processing module, when the location information of the mobile terminal matches the location information of the target site, is used to obtain the arrival reminder message, and display the reminder message through the external device.
第三方面,本申請實施例還公開一種儲存媒介,其儲存有電腦程式,當所述電腦程式在電腦上運行時,使得所述電腦執行如上所述的公共交通到站提醒方法。In the third aspect, the embodiment of the present application also discloses a storage medium, which stores a computer program, and when the computer program is run on the computer, the computer executes the method for reminding the arrival of public transport as described above.
第四方面,本申請實施例還公開一種行動終端,包括處理器和記憶體,所述記憶體儲存有電腦程式,所述處理器透過調用所述電腦程式,用於執行如上所述的公共交通到站提醒方法。In the fourth aspect, the 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 invoking the computer program. Arrival reminder method.
本申請實施例提供的公共交通到站提醒方法,當行動終端位於公共交通站內時,確定目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到公共交通上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。The public transportation arrival reminder method provided by the embodiment of the present application determines the target site when the mobile terminal is located in the public transportation station, and detects whether there is an external device connected to the mobile terminal. If it is detected that an external device is connected to the mobile terminal, it will indicate The user is in the 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, and when the location information of the mobile terminal matches the location of the target station, the arrival reminder is obtained message, and display the reminder message through the external device to remind the user to get off the bus, thereby preventing the user from passing 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. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.
本申請實施例提供一種公共交通到站提醒方法,主要應用於行動終端,例如,手機、平板、電腦等,下面以手機為例進行詳細說明。其中,公共交通可以為地鐵、公車、快車巴士等,公共交通內設有與行動終端進行近場通訊的監測設備,使用者透過行動終端付費後,可以乘坐地鐵或公車,例如,當使用者需要乘坐地鐵或公車時,透過行動終端內的IC卡與地鐵站內監測設備進行近場通訊識別,或者是與公車內的監測設備進行近場通訊識別。下面以地鐵為例進行詳細說明。The embodiment of the present application provides a public transportation arrival reminder method, which is mainly applied to mobile terminals, such as mobile phones, tablets, computers, etc. The mobile phone is used as an example to describe in detail below. Among them, the public transportation can be subway, bus, express bus, etc. The public transportation is equipped with monitoring equipment for near-field communication with the mobile terminal. After the user pays through the mobile terminal, he 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 to describe in detail.
請參閱圖1,圖1為本申請實施例提供的公共交通到站提醒方法的第一種流程示意圖,公共交通到站提醒方法包括以下步驟:Please refer to Fig. 1, Fig. 1 is the first schematic flow chart of the public transportation arrival reminder method provided by the embodiment of the present application, the public transportation arrival reminder 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 at the 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 to be on the subway line, or for the user to enter the station by swiping a mobile phone.
確定手機位於地鐵站內的方法有多種,例如,透過判斷手機的加速度,當手機的加速度大於預設加速度閾值時,則可以確定手機位於地鐵上,且地鐵正處於起步運行中。或者,透過檢測手機的信號輻射值,當信號的輻射值低於預設閾值時,則可以確定手機位於地鐵上。There are many ways to determine that the mobile phone is in the subway station. For example, by judging the acceleration of the mobile phone, when the acceleration of the mobile phone is greater than the preset acceleration threshold, it can be determined that the mobile phone is on the subway, and the subway is running. Alternatively, 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 on the subway.
確定目標站點,即獲取使用者要去的目的地,透過目的地的位置獲取目的地附近的地鐵站點,並將該地鐵站點作為目標站點,獲取目標站點的方法有多種,例如,透過手機中多個應用程式在預設時間段的歷史紀錄,根據當前時間、位置確定用戶要去的目的地,從而可以獲取使用者的目標站點。Determine the target site, that is, obtain the destination 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 site. There are many ways to obtain the target site, such as , through the historical records of multiple applications in the mobile phone in the preset time period, the destination of the user is determined according to the current time and location, so as to obtain the target site of the user.
可以理解的,也可以透過預先在手機內設置站點選擇清單,站點選擇清單可以包括用戶所在市的所有地鐵線路的地鐵站點,或者是全國的所有地鐵線路的地鐵站點,當用戶進入地鐵站時,向用戶推送站點選擇清單,根據使用者的選擇確定目標站點。Understandably, the station selection list can also be pre-set in the mobile phone. The station selection list can include the subway stations of all subway lines in the city where the user is located, or the subway stations of all subway lines in the country. When the user enters When at a subway station, push the site selection list to the user, and determine the target site according to the user's choice.
S102、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S102. Detect whether the mobile terminal is connected with an external device, and the external device is used for displaying information.
外部設備可以與手機進行藍牙連接,例如,透過檢測手機的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can be connected with the mobile phone via Bluetooth, for example, by detecting whether the Bluetooth device of the mobile phone is in a working state, and if so, obtains whether the Bluetooth device is connected with an external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。The external device can be used to display information, wherein the display information can be displaying text messages, playing voice messages, etc., wherein the external device can be a headset, such as a Bluetooth headset or a 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.
當確定手機位於地鐵站後,檢測手機是否連接有外部設備,當外部設備為耳機時,可以確定手機的使用狀態,並根據手機的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置,例如,當手機處於耳機播放狀態時,說明使用者處於隔絕外音的環境,此時,用戶聽不到車廂內到站提醒訊息,因此,需要向使用者播放到站提醒。After confirming that the mobile phone is located in the subway station, it is detected 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 environment in which the user is located can be judged according to the use status of the mobile phone, so as to better determine the use of the mobile phone. Whether the user needs to be reminded of the location of the subway operation. For example, when the mobile phone is in the earphone playing state, it means that the user is in an environment that is isolated from external sound. Arrival reminder.
當外部設備為智慧手環或智慧手錶時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is a smart bracelet or a 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 smart bracelet can be used to remind the user to get off the train, so as to avoid the user from passing the station Situation happens.
S103、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S103. When the mobile terminal is connected with an external device, monitor the location information of the mobile terminal in real time.
當確定手機連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測手機的位置訊息,當手機接近目標站點的位置時,提醒用戶下車。When it is determined that there is an external device connected to the mobile phone, 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 announcement of the station on the subway, and needs to use other methods to remind the user that the subway is coming. For example, by monitoring the location information of the mobile phone in real time, when the mobile phone is close to the location of the target station, the user is reminded to get off.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or a smart watch, due to the large number of people in the subway station and the noisy environment of the subway, it may not be possible to hear the announcement of the station on the subway, and it is still necessary to use other methods to remind users of the arrival of the subway.
當外部設備為耳機和智慧手錶或智慧手環時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,可以透過選擇耳機或智慧手環或智慧手錶提醒用戶地鐵到站。When the external devices are earphones, smart watches or smart bracelets, the user may be listening to music or watching videos through the earphones, and may not be able to hear the station broadcast on the subway. Users can be reminded by selecting earphones, smart bracelets or smart watches The subway arrives at the station.
即時監測所述手機的位置訊息,可以透過開啟手機地圖應用,獲取手機的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機的位置。To monitor the location information of the mobile phone in real time, the current location information of the mobile phone can be obtained by opening the mobile phone map application, or the mobile phone map application can be run in the background of the mobile phone to obtain the location of the mobile phone 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 and the user does not wear earphones, he can hear the station announcement message of the subway. Therefore, there is no need to remind the station or monitor the location information of the mobile phone, which can reduce the power consumption required for monitoring the location information of the mobile phone and prolong the service life. The standby time of the mobile 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, it can be understood that the location of the mobile terminal reaches the preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not greater than 5 meters, or the mobile terminal is located at the previous station of the target station.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。Wherein, the external device displays the arrival reminder message, which 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 vibrating sound from a vibrating external device, or the arrival reminder message can also be a text message, and the external device displays the The text message, or, the arrival reminder message can also be a combination of text message and voice message, and the text message is displayed and played simultaneously 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 to The phenomenon of users passing the station occurs due to the lack of subway station announcement information.
本申請實施例提供的公共交通到站的提醒方法,當行動終端位於公共交通站內時,確定使用者的目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。The method for reminding the arrival of public transportation provided by the embodiment of the present application determines the target site of the user when the mobile terminal is located in the public transportation station, and detects whether there is any external device connected to the mobile terminal. Terminal connection, indicating that the user is in the headset mode and cannot hear the arrival reminder message broadcast on the subway. By monitoring the location information of the mobile terminal in real time, and when the location information of the mobile terminal matches the location of the target station, the Stop reminder message, and display the reminder message through the external device to remind the user to get off, so as to prevent the user from passing the station.
可以理解的,本申請實施例還提供一種公共交通到站提醒方法,請參閱圖2,圖2為本申請實施例提供的公共交通到站提醒方法的第二種流程示意圖。公共交通到站提醒方法包括以下步驟:It can be understood that the embodiment of the present application also provides a public transportation arrival reminder method, please refer to FIG. 2 , which is a second schematic flowchart of the public transportation arrival reminder method provided by the embodiment of the present application. The public transport arrival reminder method includes the following steps:
S201、當所述行動終端位於地鐵站內時,獲取站點選擇清單,並將所述站點選擇清單呈現在所述行動終端的顯示介面。S201. When the mobile terminal is located in a subway station, obtain a station selection list, and present the station 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 may also be the subway stations of all subway lines in the whole country. Wherein, the site selection list may be pre-stored in the mobile terminal.
透過將所有地鐵線路的地鐵站點呈現在所述行動終端的顯示介面,便於使用者自己選擇想去的地鐵站。By presenting the subway stations of all the subway lines on the display interface of the mobile terminal, it is convenient for the user to select the desired subway station.
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 phone 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 he wants to reach through the user himself The point is that the mobile terminal is not required to search through other methods, which can reduce the calculation amount of the system in the mobile terminal, and at the same time, can accurately determine the user's target site.
可以理解的,也可以透過其他方式確定使用者的目標站點,例如,當所述行動終端位於地鐵站內時,獲取所述行動終端的各個應用程式在預設時間段內的歷史紀錄訊息。It can be understood 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 program of the mobile terminal within a preset time period is acquired.
其中,應用程式指手機內的地圖應用程式、微信應用程式、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 program refers to the map application program, WeChat application program, QQ application program, etc. in the mobile phone, and the historical record information includes time, location, bus route and frequency of occurrence of the bus route, etc., for example, on the morning of February 12, 2020 At eight o'clock, little A takes the subway from subway station B to subway station C. At eight o'clock in the morning on February 12, 2020, little A takes the subway from subway station B to subway station C. At eight o'clock in the morning on February 12, 2020, little A takes the subway from subway station B to subway station C. It can be seen that at 8 o'clock in the same morning, the bus route from subway station B to subway station C 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地鐵站。透過手機查找歷史記錄訊息的方式匹配使用者所要去的目標站點,不需要提醒使用者自己輸入目標站點,從而可以提高用戶體驗。For example, the current location information of little A is C subway station, and the current time is 8:10 in the morning, and the matching target station can be found from the historical record information to be C subway station. The method of looking up the historical record information through the mobile phone matches the target site that the user wants to go to, and there is no need to remind the user to enter the target site, thereby improving the user experience.
S203、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S203. Detect whether the mobile terminal is connected with an external device, and the external device is used for displaying information.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測手機的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can be connected with 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, obtains whether the Bluetooth device is connected with an external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。The external device can be used to display information, wherein the display information can be displaying text messages, playing voice messages, etc., wherein the external device can be a headset, such as a Bluetooth headset or a 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.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。After determining that the mobile terminal is located at the subway station, detect whether the mobile terminal is connected to an external device. When the external device is an earphone, the use status of the mobile terminal can be determined, and the environment in which the user is located can be judged according to the use status of the mobile terminal, which is convenient It is better to determine whether the user needs to be reminded of the location of the subway operation.
當外部設備為智慧手環時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is 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 at the station, the smart bracelet can be used to remind the user to get off the train, so as to avoid the user from passing the station.
S204、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S204. When the mobile terminal is connected with an external device, monitor the location information of the mobile terminal in real time.
當確定行動終端連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測行動終端的位置訊息,當行動終端接近目標站點的位置時,提醒用戶下車。When it is determined that an external device is connected to the mobile terminal, for example, when the external device is a headset, the user may be listening to music or watching a video through the headset, and may not be able to hear the station broadcast on the subway, and needs to use other methods to remind the user of the subway Arriving at a station, for example, through real-time monitoring of the location information of the mobile terminal, when the mobile terminal is close to the location of the target station, the user is reminded to get off.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or a smart watch, due to the large number of people in the subway station and the noisy environment of the subway, it may not be possible to hear the announcement of the station on the subway, and it is still necessary to use other methods to remind users of the arrival of the subway.
即時監測所述行動終端的位置訊息,可以透過開啟手機地圖應用,獲取行動終端的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機行動終端的位置。To monitor the location information of the mobile terminal in real time, you can obtain the current location information of the mobile terminal by opening the mobile phone map application, or run the mobile phone map application in the background of the mobile phone to obtain the location of the mobile terminal 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 devices and the user does not wear earphones, he can hear the station announcement message of the subway. Therefore, there is no need to remind the station, and there is no need to monitor the location information of the mobile terminal, which can reduce the monitoring required for the location information of the mobile terminal. Power consumption, extending 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, it can be understood that the location of the mobile terminal reaches the preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not greater than 5 meters, or the mobile terminal is located at the previous station of the target station.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。Wherein, the external device displays the arrival reminder message, which 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 vibrating sound from a vibrating external device, or the arrival reminder message can also be a text message, and the external device displays the The text message, or, the arrival reminder message can also be a combination of text message and voice message, and the text message is displayed and played simultaneously 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 to The phenomenon of users passing the station occurs due to the lack of subway station announcement information.
本申請實施例提供的地鐵到站的提醒方法,當行動終端位於地鐵站內時,獲取站點選擇清單,接受用戶選擇操作,並將用戶選擇的地鐵站點確定使用者的目標站點,並檢測是否有外部設備與終端連接,如果檢測到有外部設備與終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播的到站提醒訊息,透過即時監測所述終端的位置訊息,並在終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。The subway station arrival reminder method provided by the embodiment of the present application, when the mobile terminal is located in the subway station, obtains the station selection list, accepts the user's selection operation, and determines the user's target station 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 the headset mode and cannot hear the arrival reminder message broadcast on the subway. By monitoring the location information of the terminal in real time, and in the terminal When the location information matches the location of the target station, the arrival reminder message is obtained, and the reminder message is displayed through the external device to remind the user to get off, thereby preventing the user from passing the station.
可以理解的,本申請實施例還提供一種公共交通到站提醒方法,請參閱圖3,圖3為本申請實施例提供的公共交通到站提醒方法的第三種流程示意圖。公共交通到站提醒方法包括以下步驟:It can be understood that the embodiment of the present application also provides a method for reminding the arrival of public transport, please refer to FIG. 3 , which is a schematic flowchart of the third method for reminding the arrival of public transport provided by the embodiment of the present application. The public transport arrival reminder method includes the following steps:
S301、獲取預設時間內所述行動終端的近場通訊記錄。S301. Obtain near field communication records of the mobile terminal within a preset time.
近場通訊是指行動終端與其他外部設備進行近距離通訊的一種通訊方式,近場通訊記錄指行動終端與其他電子設備進行近場通訊的交易紀錄,近場通訊記錄可以包括與行動終端通訊的設備名稱、設備編號、通訊的時間以及通訊的地點等。Near field communication refers to a communication method for short-distance communication between mobile terminals and other external devices. Near field communication records refer to transaction records of near field communication between mobile terminals and other electronic devices. Near field communication records can include communications with mobile terminals. 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 devices can be monitoring equipment in the subway station or scanning equipment in the store, and these devices have unique identifications. Taking the monitoring equipment in the subway station as an example for illustration, for example, the identification of the 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 A subway station. The signs in different subway stations can be, No. 1 monitoring equipment at A subway station, No. 2 monitoring equipment at A subway station, No. 1 monitoring equipment at B subway station, and No. 2 monitoring equipment at B subway station. In this way, without turning on the positioning function of the mobile phone, it is also possible to obtain the monitoring equipment for near-field communication with the mobile phone, so as to determine the location of the user entering and exiting the subway station, and then also solve the technical problem of reducing the power consumption of the mobile phone.
預設時間為提前設置在手機內的一個定值,例如,預設時間為1分鐘、3分鐘、5分鐘等,或者預設時間也可以為一範圍值,例如,預設時間為1-5分鐘、3-6分鐘等。The preset time is a fixed value set in advance in the mobile phone, for example, the preset time is 1 minute, 3 minutes, 5 minutes, etc., or the preset time can also be a range of values, 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.
根據近場通訊記錄判斷所述手機是否位於地鐵站內,從而可以確定用戶是否在搭乘地鐵。Whether the mobile phone is located in the subway station is judged according to the near-field communication record, so as to determine whether the user is taking the subway.
由於很多地鐵站內開設有美食街,或者很多美妝店,或者地鐵站與一些大型商場連通,因此,有時候雖然可以定位用戶的位置位於地鐵站內,但是,仍然不能確定用戶在搭乘地鐵,因此,常常出現一些誤判情況,例如,使用者雖然是位於地鐵站內,但是,用戶只是在地鐵站內逛街,並不是為了乘坐地鐵,為了更加準確的確定用戶是否位於地鐵站內,並且在乘坐地鐵,本申請透過獲取預設時間內所述終端的近場通訊記錄,根據所述近場通訊記錄判斷所述終端是否位於地鐵站內,從而可以更加準確的判斷用戶是否位於地鐵站內,且正在搭載地鐵。Because many subway stations have food courts, or many beauty stores, or the subway station is connected to some large shopping malls, sometimes although the location of the user can be located in the subway station, it is still not sure that the user is taking the subway. Therefore, Some misjudgments often occur. For example, although the user is located in the subway station, the user is only shopping in the subway station, not for taking the subway. In order to more accurately determine whether the user is located in the subway station and taking the subway, this application uses the Obtain the near-field communication records of the terminal within a preset time, and judge whether the terminal is located in the subway station according to the near-field communication records, so as to more accurately determine whether the user is located in the subway station and is carrying the subway.
可以理解的,所述根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站,包括:It can be understood 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 the record of the communication between the mobile terminal and the monitoring equipment in the public transportation station;
當所述近場通訊記錄包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站內;When the near field communication record includes the near field communication record between the mobile terminal and the monitoring equipment in the public transportation station, then 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 device 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, acquire historical record information of multiple application programs 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地鐵站。Applications refer to map applications, WeChat applications, QQ applications, etc. in mobile phones. Historical information includes time, location, bus route, and frequency of bus routes. For example, at 8:00 am on February 12, 2020 , Little A takes the subway from subway station B to subway station C. At 8 am on February 12, 2020, little A takes the subway from subway station B to subway station C. At 8 am on February 12, 2020, little A goes from Take the subway from subway station B to subway station C. Assume that A’s current location is at subway station A, and the time is 8:00 in the morning. According to the historical record information, at 8:00 in the morning, take the subway from subway station B to subway station C. The car route appears frequently, so it can be determined that the destination of Little A is 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地鐵站。透過終端查找歷史記錄訊息的方式匹配使用者所要去的目標站點,不需要提醒使用者自己輸入目標站點,從而可以提高用戶體驗。For example, the current location information of little A is C subway station, and the current time is 8:10 in the morning, and the matching target station can be found from the historical record information to be C subway station. Matching the target site that the user wants to go by searching the historical record information through the terminal does not need to remind the user to enter the target site, thereby improving the user experience.
S305、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S305. Detect whether the mobile terminal is connected with an external device, and the external device is used for displaying information.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測行動終端的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can be connected with the mobile terminal via Bluetooth, for example, by detecting whether the Bluetooth device of the mobile terminal is in a working state, and if so, obtains whether the Bluetooth device is connected with an external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。The external device can be used to display information, wherein the display information can be displaying text messages, playing voice messages, etc., wherein the external device can be a headset, such as a Bluetooth headset or a 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.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。After determining that the mobile terminal is located at the subway station, detect whether the mobile terminal is connected to an external device. When the external device is an earphone, the use status of the mobile terminal can be determined, and the environment in which the user is located can be judged according to the use status of the mobile terminal, which is convenient It is better to determine whether the user needs to be reminded of the location of the 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 at the station, the smart bracelet can be used to remind the user to get off the train, so as to avoid the user from passing the station.
S306、當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息。S306. When the mobile terminal is connected with an external device, monitor the location information of the mobile terminal in real time.
當確定行動終端連接有外部設備時,例如,當外部設備為耳機時,用戶可能正在透過耳機聽音樂或看影像,有可能聽不到地鐵上的站點播報,需要借助其他方式提醒使用者地鐵到站,例如,透過即時監測行動終端的位置訊息,當行動終端接近目標站點的位置時,提醒用戶下車。When it is determined that an external device is connected to the mobile terminal, for example, when the external device is a headset, the user may be listening to music or watching a video through the headset, and may not be able to hear the station broadcast on the subway, and needs to use other methods to remind the user of the subway Arriving at a station, for example, through real-time monitoring of the location information of the mobile terminal, when the mobile terminal is close to the location of the target station, the user is reminded to get off.
當外部設備為智慧手環或智慧手錶時,由於地鐵站內人比較多,且地鐵環境比較嘈雜,也有可能聽不到地鐵上的站點播報,仍然需要借助其他方式提醒使用者地鐵到站。When the external device is a smart bracelet or a smart watch, due to the large number of people in the subway station and the noisy environment of the subway, it may not be possible to hear the announcement of the station on the subway, and it is still necessary to use other methods to remind users of the arrival of the subway.
即時監測所述行動終端的位置訊息,可以透過開啟手機地圖應用,獲取行動終端的當前位置訊息,或者是在手機的後臺運行手機地圖應用,可以即時獲取手機行動終端的位置。To monitor the location information of the mobile terminal in real time, you can obtain the current location information of the mobile terminal by opening the mobile phone map application, or run the mobile phone map application in the background of the mobile phone to obtain the location of the mobile terminal 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 devices and the user does not wear earphones, he can hear the station announcement message of the subway. Therefore, there is no need to remind the station, and there is no need to monitor the location information of the mobile terminal, which can reduce the monitoring required for the location information of the mobile terminal. Power consumption, extending 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, it can be understood that the location of the mobile terminal reaches the preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not greater than 5 meters, or the mobile terminal is located at the previous station of the target station.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。Wherein, the external device displays the arrival reminder message, which 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 vibrating sound from a vibrating external device, or the arrival reminder message can also be a text message, and the external device displays the The text message, or, the arrival reminder message can also be a combination of text message and voice message, and the text message is displayed and played simultaneously 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 to The phenomenon of users passing the station occurs due to the lack of subway station announcement information.
可以理解的,所述透過所述外部設備展示所述到站提醒訊息,包括:It can be understood that the displaying the arrival reminder message through the external device includes:
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes an earphone, voice reminder of the arrival reminder message through the earphone;
當所述外部設備包括智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。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 based on the type of external device, for example, by displaying the arrival reminder message to the user through the headset in the form of voice, or by displaying the arrival reminder message in the form of a vibrating wristband to the user.
本申請實施例提供的公共交通到站的提醒方法,透過預設時間段內行動終端的近場通訊記錄,根據近場通訊記錄判斷行動終端是否位於公共交通站,在確定行動終端位於公共交通站內時,獲取所述行動終端的多個應用程式在預設時間段內的歷史紀錄訊息,所述行動終端當前的位置訊息和時間訊息從所述歷史記錄訊息中確定目的地,並將與所述目的地對應的公共交通站確定為目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到公共交通上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標公共交通站的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。The method for reminding the arrival of public transportation provided by the embodiment of the present application judges whether the mobile terminal is located at a public transportation station according to the near-field communication records of the mobile terminal within a preset time period, and determines whether the mobile terminal is located in the public transportation station. When, obtain the historical record information of multiple application programs 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 will be related to the The public transportation station corresponding to the destination is determined as the target station, 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, it means that the user is in the earphone mode and cannot hear the arrival broadcast on public transportation. Station reminder message, by monitoring the location information of the mobile terminal in real time, and when the location information of the mobile terminal matches the location of the target public transportation station, obtain the arrival reminder message, and display the reminder message through the external device , to remind the user to get off the bus, so as to prevent the user from passing the station.
可以理解的,本申請實施例還提供一種公共交通到站的提醒方法,請參閱圖4,圖4為本申請實施例提供的公共交通到站提醒方法的第四種流程示意圖。公共交通到站提醒方法包括以下步驟:It can be understood that the embodiment of the present application also provides a method for reminding the arrival of public transport, please refer to FIG. 4 , which is a schematic flowchart of a fourth method for reminding the arrival of public transport provided by the embodiment of the present application. The public transport arrival reminder method includes the following steps:
S401、獲取預設時間內所述行動終端的近場通訊記錄。S401. Obtain near field communication records of the mobile terminal within a preset time.
近場通訊是指行動終端與其他外部設備進行近距離通訊的一種通訊方式,近場通訊記錄指行動終端與其他電子設備進行近場通訊的交易紀錄,近場通訊記錄可以包括與行動終端通訊的設備名稱、設備編號、通訊的時間以及通訊的地點等。Near field communication refers to a communication method for short-distance communication between mobile terminals and other external devices. Near field communication records refer to transaction records of near field communication between mobile terminals and other electronic devices. Near field communication records can include communications with mobile terminals. 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 devices can be monitoring equipment in the subway station or scanning equipment in the store, and these devices have unique identifications. Taking the monitoring equipment in the subway station as an example for illustration, for example, the identification of the 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 A subway station. The signs in different subway stations can be, No. 1 monitoring equipment at A subway station, No. 2 monitoring equipment at A subway station, No. 1 monitoring equipment at B subway station, and No. 2 monitoring equipment at B subway station. In this way, without turning on the positioning function of the mobile phone, it is also possible to obtain the monitoring equipment for near-field communication with the mobile phone, so as to determine the location of the user entering and exiting the subway station, and then also solve the technical problem of reducing the power consumption of the mobile phone.
預設時間為提前設置在手機內的一個定值,例如,預設時間為1分鐘、3分鐘、5分鐘等,或者預設時間也可以為一範圍值,例如,預設時間為1-5分鐘、3-6分鐘等。The preset time is a fixed value set in advance in the mobile phone, for example, the preset time is 1 minute, 3 minutes, 5 minutes, etc., or the preset time can also be a range of values, for example, the preset time is 1-5 minutes, 3-6 minutes, etc.
S402、並根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站內。S402, and judge whether the mobile terminal is located in a public transportation station according to the near field communication record.
其中,行動終端可以是移動行動終端,包括手機、電腦、平板電腦等電子產品。Wherein, the mobile terminal may be a mobile mobile terminal, including electronic products such as mobile phones, computers, and tablet computers.
根據近場通訊記錄判斷所述手機是否位於地鐵站內,從而可以確定用戶是否在搭乘地鐵。Whether the mobile phone is located in the subway station is judged according to the near-field communication record, so as to determine whether the user is taking the subway.
由於很多地鐵站內開設有美食街,或者很多美妝店,或者地鐵站與一些大型商場連通,因此,有時候雖然可以定位用戶的位置位於地鐵站內,但是,仍然不能確定用戶在搭乘地鐵,因此,常常出現一些誤判情況,例如,使用者雖然是位於地鐵站內,但是,用戶只是在地鐵站內逛街,並不是為了乘坐地鐵,為了更加準確的確定用戶是否位於地鐵站內,並且在乘坐地鐵,本申請透過獲取預設時間內所述終端的近場通訊記錄,根據所述近場通訊記錄判斷所述終端是否位於地鐵站內,從而可以更加準確的判斷用戶是否位於地鐵站內,且正在搭載地鐵。Because many subway stations have food courts, or many beauty stores, or the subway station is connected to some large shopping malls, sometimes although the location of the user can be located in the subway station, it is still not sure that the user is taking the subway. Therefore, Some misjudgments often occur. For example, although the user is located in the subway station, the user is only shopping in the subway station, not for taking the subway. In order to more accurately determine whether the user is located in the subway station and taking the subway, this application uses the Obtain the near-field communication records of the terminal within a preset time, and judge whether the terminal is located in the subway station according to the near-field communication records, so as to more accurately determine whether the user is located in the subway station and is carrying the subway.
可以理解的,根據所述近場通訊記錄判斷所述行動終端是否位於公共交通站內,包括:It can be understood 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 the record of the communication between the mobile terminal and the monitoring equipment in the public transportation station;
當所述近場通訊記錄包含所述行動終端與所述公共交通站內的監測設備近場通訊記錄時,則所述行動終端位於所述公共交通站內;When the near field communication record includes the near field communication record between the mobile terminal and the monitoring equipment in the public transportation station, then 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 device 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, acquire 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 may also be the subway stations of all subway lines in the whole country. Wherein, the site selection list may be pre-stored in the terminal.
透過將所有地鐵線路的地鐵站點呈現在所述終端的顯示介面,便於使用者自己選擇想去的地鐵站。By presenting the subway stations of all the 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 phone 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 he wants to reach through the user himself point, the terminal does not need to search through other methods, which can reduce the amount of calculation of the system in the terminal, and at the same time, can also accurately determine the user's target site.
S405、檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息。S405. Detect whether the mobile terminal is connected with an external device, and the external device is used for displaying information.
外部設備可以與行動終端進行藍牙連接,例如,透過檢測行動終端的藍牙設備是否處於工作狀態,若是,則獲取藍牙設備是否連接有外部設備。The external device can be connected with the mobile terminal via Bluetooth, for example, by detecting whether the Bluetooth device of the mobile terminal is in a working state, and if so, obtains whether the Bluetooth device is connected with an external device.
外部設備為可以用於展示訊息,其中,展示訊息可以是顯示文字訊息、播放語音訊息等,其中,外部設備可以為耳機,例如可以是藍牙耳機或運動耳機,外部設備也可以為智慧手環或智慧手錶,外部設備也可以同時包括耳機和智慧手環或手錶。The external device can be used to display information, wherein the display information can be displaying text messages, playing voice messages, etc., wherein the external device can be a headset, such as a Bluetooth headset or a 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.
當確定行動終端位於地鐵站後,檢測行動終端是否連接有外部設備,當外部設備為耳機時,可以確定行動終端的使用狀態,並根據行動終端的使用狀態來判斷使用者所處的環境,便於更好確定使用者是否需要提醒地鐵運行的位置。After determining that the mobile terminal is located at the subway station, detect whether the mobile terminal is connected to an external device. When the external device is an earphone, the use status of the mobile terminal can be determined, and the environment in which the user is located can be judged according to the use status of the mobile terminal, which is convenient It is better to determine whether the user needs to be reminded of the location of the subway operation.
當外部設備為智慧手環時,為了更好的防止用戶坐過站,當檢測到地鐵即將到站時,可以透過振動智慧手環來提醒用戶下車,以避免使用者坐過站的情況發生。When the external device is 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 at the station, the smart bracelet can be used to remind the user to get off the train, so as to avoid the user from passing the station.
S406、當所述行動終端連接有外部設備時,檢測所述行動終端當前的播放模式是否為耳機模式。S406. When the mobile terminal is connected with an external device, detect whether the current playback mode of the mobile terminal is an earphone mode.
耳機模式指行動終端連接有耳機,並且行動終端處於音樂或影像播放模式,使用者透過帶耳機聽音樂可以避免地鐵內由於人多,噪音比較大的現象。Headphone mode means that the mobile terminal is connected with headphones, and the mobile terminal is in the music or video playback mode. By listening to music with headphones, the user can avoid the phenomenon that there are many people and noise in the subway.
當所述行動終端沒有連接外部設備時,則繼續獲取站點選擇清單,不需要監測行動終端的位置訊息。由於行動終端沒有連接外部設備,使用者可以聽到地鐵站內的站點播放訊息,不需要進行地鐵到站提醒。When the mobile terminal is not connected to an external device, the site selection list is continuously obtained 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 broadcast message at the station in the subway station, and there is no need to remind the station of the subway.
S407、當所述行動終端當前的播放模式為耳機模式時,則即時監測所述行動終端的位置訊息。S407. When the current playback mode of the mobile terminal is the earphone 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 noisy phenomenon of many people in the subway station. However, since the user wears earphones to listen to music and cannot hear the broadcast on the subway line, it is easy to pass the station. Therefore, it is necessary to provide the user with an arrival reminder message. By monitoring the location information of the mobile terminal, for example, by opening a map application program, 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, monitoring the location information of the mobile terminal in real time may include: starting a map application program of the mobile terminal; locating the current location of the mobile terminal according to the map application program, and monitoring the location information of the mobile terminal in real time. By opening the mobile map application to obtain the current location information of the mobile terminal, or running the mobile map application in the background of the mobile phone, the location of the mobile terminal can be obtained in real time.
S408、當所述行動終端當前的播放模式為正常模式時,則繼續獲取預設時間內所述行動終端的近場通訊記錄。S408. When the current playback mode of the mobile terminal is the normal mode, continue to acquire the near field communication records of the mobile terminal within a preset time.
正常模式指行動終端當前沒有進行音樂或影像的播放,雖然,行動終端連接有耳機,但是,由於行動終端沒有進行音樂或影像的播放,使用者可以聽到地鐵內的語音報站訊息,不需要向使用者發送到站提醒訊息。Normal mode means that the mobile terminal is not currently playing music or video. Although the mobile terminal is connected to an earphone, since the mobile terminal is not playing music or video, the user can hear the voice station announcement message in the subway, and there is no need to call The user sends an arrival reminder message.
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, it can be understood that the location of the mobile terminal reaches the preset range of the target site, for example, the distance between the mobile terminal and the target site The distance is not greater than 5 meters, or the mobile terminal is located at the previous station of the target station.
其中,外部設備展示所述到站提醒訊息,可以理解為,外部設備可以透過語音播放所述到站提醒訊息,外部設備也可以透過振動的方式展示所述到站提醒訊息。Wherein, the external device displays the arrival reminder message, which 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 vibrating sound from a vibrating external device, or the arrival reminder message can also be a text message, and the external device displays the The text message, or, the arrival reminder message can also be a combination of text message and voice message, and the text message is displayed and played simultaneously 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 to The phenomenon of users passing the station occurs due to the lack of subway station announcement information.
可以理解的,所述透過所述外部設備展示所述到站提醒訊息,包括:It can be understood that the displaying the arrival reminder message through the external device includes:
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes an earphone, voice reminder of the arrival reminder message through the earphone;
當所述外部設備包括智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。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 based on the type of external device, for example, by displaying the arrival reminder message to the user through the headset in the form of voice, or by displaying the arrival reminder message in the form of a vibrating wristband to the user.
本申請實施例提供的公共交通到站的提醒方法,透過預設時間段內行動終端的近場通訊記錄,根據近場通訊記錄判斷行動終端是否位於公共交通站,在確定終端位於公共交通站內時,使用者根據站點選擇清單選擇目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,並當行動終端的播放模式處於耳機模式時,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,將到站提醒訊息傳輸至外部設備,使用者接收到提醒訊息後下車,透過使用者自己確定目標站點,不僅可以提高確定目標站點的準確度,而且可以更好的防止用戶坐過站的現象發生。The method for reminding the arrival of public transportation provided by the embodiment of the present application judges whether the mobile terminal is located at a public transportation station according to the near-field communication records of the mobile terminal within a preset period of time, and 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. 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, and the user gets off after receiving the reminder message, and the user determines the target by himself site, not only can improve the accuracy of determining the target site, but also can better prevent the phenomenon of users sitting past the site.
請參照圖5,圖5為本申請實施例提供的公共交通到站提醒裝置的結構示意圖,應用於行動終端中,公共交通到站提醒裝置包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a public transport arrival reminder device provided by the embodiment of the present application, which is applied to a mobile terminal. The public transport arrival reminder device includes:
確定模組501,當所述行動終端位於公共交通站內時,用於確定使用者的目標站點;
檢測模組502,用於檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;A
監測模組503,當所述行動終端連接有外部設備時,用於即時監測所述行動終端的位置訊息;The
處理模組504,當所述行動終端的位置訊息與所述目標站點的位置訊息相匹配時,用於獲取到站提醒訊息,並透過所述外部設備展示所述到站提醒訊息。The
本申請實施例還提供一種行動終端,請參照圖6,圖6為本申請實施例提供的行動終端的第一種結構示意圖,行動終端600包括處理器601和記憶體602。其中,處理器601與記憶體602電性連接。The embodiment of the present application also provides a mobile terminal. Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of the first mobile terminal provided in the embodiment of the present application. Wherein, 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, determine the user's target site;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected with an external device, and the external device is used to display information;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected with 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 obtained, 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 second structural schematic diagram of the mobile terminal provided by the embodiment of the present application. The difference from the mobile terminal shown in FIG.
攝影元件603可以包括圖像處理電路,圖像處理電路可以利用硬體和/或軟體元件實現,可包括定義圖像信號處理(Image Signal Processing)管線的各種處理單元。圖像處理電路至少可以包括:多個攝影頭、圖像信號處理器(Image Signal Processor,ISP處理器)、控制邏輯器以及圖像記憶體等。其中每個攝影頭至少可以包括一個或多個透鏡和圖像感測器。圖像感測器可包括色彩濾鏡陣列(如Bayer濾鏡)。圖像感測器可獲取用圖像感測器的每個成像像素捕捉的光強度和波長訊息,並提供可由圖像信號處理器處理的一組原始圖像資料。The
顯示器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 transport station, determine the target site;
檢測所述行動終端是否連接有外部設備,所述外部設備用於展示訊息;Detecting whether the mobile terminal is connected with an external device, and the external device is used to display information;
當所述行動終端連接有外部設備時,則即時監測所述行動終端的位置訊息;When the mobile terminal is connected with 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 obtained, 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 site corresponding to the selection operation is determined as the target site.
可以理解的是,所述處理器601還用於執行:It can be understood that the
獲取所述行動終端的多個應用程式在預設時間段內的歷史紀錄訊息;Obtain historical record information of multiple applications of the mobile terminal within 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 determining the target site when the mobile terminal is located in a public transportation station, the
獲取預設時間內所述行動終端的近場通訊記錄;Obtain the near field communication records of the mobile terminal within a preset time;
根據所述近場通訊記錄判斷所述行動終端是否位於地鐵站內。It is judged whether the mobile terminal is located in the subway station according to the near field communication record.
在一些實施例中,所述處理器601還用於執行:In some embodiments, the
判斷所述近場通訊記錄是否包含所述行動終端與地鐵站內的監測設備進行通訊的記錄;judging whether the near-field communication record includes a record of communication between the mobile terminal and the monitoring equipment in the subway station;
當所述近場通訊記錄包含所述行動終端與地鐵站內的監測設備進行通訊的記錄,則確定所述行動終端位於地鐵站內。When the near field communication record includes the record of the mobile terminal communicating with 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 with an external device, the
檢測所述行動終端當前的播放模式是否為耳機模式;Detecting whether the current playback mode of the mobile terminal is the earphone mode;
當所述行動終端當前的播放模式為耳機模式時,則即時監測所述行動終端的位置訊息。When the current playback mode of the mobile terminal is the earphone mode, the location information of the mobile terminal is monitored in real time.
可以理解的是,所述處理器601還用於執行:It can be understood that the
啟動所述行動終端的地圖應用程式;activate the map application program of the mobile terminal;
根據所述地圖應用程式即時監測所述行動終端的位置訊息。The location information of the mobile terminal is monitored in real time according to the map application program.
在一些實施例中,所述處理器601還用於執行:In some embodiments, the
當所述外部設備包括耳機時,透過所述耳機語音提醒所述到站提醒訊息;When the external device includes an earphone, voice reminder of the arrival reminder message through the earphone;
當所述外部設備包括耳機和智慧手環時,透過振動所述智慧手環展示所述到站提醒訊息。When the external device includes an earphone and a smart bracelet, the arrival reminder message is displayed by vibrating the smart bracelet.
本申請實施例提供的行動終端,當行動終端位於地鐵站內時,確定使用者的目標站點,並檢測是否有外部設備與行動終端連接,如果檢測到有外部設備與行動終端連接,說明使用者處於耳機模式,無法聽到地鐵上廣播的到站提醒訊息,透過即時監測所述行動終端的位置訊息,並在行動終端的位置訊息與目標站點的位置相匹配時,獲取到站提醒訊息,並透過所述外部設備展示所述提醒訊息,以提醒使用者下車,從而可以防止用戶坐過站的現象發生。The mobile terminal provided by the embodiment of the present application, when the mobile terminal is located in the subway station, determines the user's target site, 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, it means that the user In the headset mode, the arrival reminder message broadcast on the subway cannot be heard. By monitoring the location information of the mobile terminal in real time, and when the location information of the mobile terminal matches the location of the target site, the arrival reminder message is obtained, and The reminder message is displayed through the external device to remind the user to get off the bus, thereby preventing the user from passing the station.
本申請實施例還提供一種儲存媒介,所述儲存媒介中儲存有電腦程式,當所述電腦程式在電腦上運行時,所述電腦執行上述任一實施例所述的公共交通到站提醒方法。The embodiment of the present application also provides a storage medium, in which a computer program is stored, and when the computer program is run on the computer, the computer executes the public transport arrival reminder method described in any of the above-mentioned embodiments.
需要說明的是,本領域普通技術人員可以理解上述實施例的各種方法中的全部或部分步驟是可以透過電腦程式來指令相關的硬體來完成,所述電腦程式可以儲存於電腦可讀儲存媒介中,所述儲存媒介可以包括但不限於:唯讀記憶體(ROM,Read Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁片或光碟等。It should be noted that those skilled 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 related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium Among them, the storage medium may include but not limited to: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and the like.
以上對本申請實施例提供的公共交通到站提醒方法、裝置、儲存媒介及行動終端進行了詳細介紹。本文中應用了具體個例對本申請的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本申請。同時,對於本領域的技術人員,依據本申請的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本申請的限制。The method, device, storage medium and mobile terminal for reminding the arrival of public transport provided by the embodiment of the present application are described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application, and the descriptions of the above embodiments are only used to help understand the present application. At the same time, for those skilled in the art, based on the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting 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 illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments.
圖1為本申請實施例提供的公共交通到站提醒方法的第一種流程示意圖。FIG. 1 is a schematic flow chart of the first method for reminding the arrival of public transport provided by the embodiment of the present application.
圖2為本申請實施例提供的公共交通到站提醒方法的第二種流程示意圖。FIG. 2 is a schematic flow chart of the second method for reminding the arrival of public transport provided by the embodiment of the present application.
圖3為本申請實施例提供的公共交通到站提醒方法的第三種流程示意圖。FIG. 3 is a schematic flowchart of a third method for reminding public transport arrivals provided by the embodiment of the present application.
圖4為本申請實施例提供的公共交通到站提醒方法的第四種流程示意圖。FIG. 4 is a schematic flowchart of a fourth method for reminding public transport arrivals according to an embodiment of the present application.
圖5為本申請實施例提供的公共交通到站提醒裝置的結構示意圖。FIG. 5 is a schematic structural diagram of a public transport arrival reminder device provided in an embodiment of the present application.
圖6為本申請實施例提供的行動終端的第一種結構示意圖。FIG. 6 is a schematic diagram of a first type of structure of a mobile terminal provided by an embodiment of the present application.
圖7為本申請實施例提供的行動終端的第二種結構示意圖。FIG. 7 is a schematic diagram of a second structure of a mobile terminal provided by an embodiment of the present application.
101~104:步驟101~104: Steps
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010275124.6A CN111429746A (en) | 2020-04-09 | 2020-04-09 | Public transport arrival reminding method and device, storage medium and mobile terminal |
CN202010275124.6 | 2020-04-09 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202139146A TW202139146A (en) | 2021-10-16 |
TWI779531B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429746A (en) * | 2020-04-09 | 2020-07-17 | Oppo广东移动通信有限公司 | Public transport arrival reminding method and device, storage medium and mobile terminal |
CN116418831A (en) * | 2021-12-30 | 2023-07-11 | 华为技术有限公司 | Service implementation method based on position location, data processing method and device |
CN115240457A (en) * | 2022-07-11 | 2022-10-25 | 中国银行股份有限公司 | Arrival reminding processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200828190A (en) * | 2006-12-19 | 2008-07-01 | Kinpo Elect Inc | Method for reminding station arrival and system therefor |
CN103546866A (en) * | 2013-10-30 | 2014-01-29 | 深圳市金立通信设备有限公司 | Method and terminal for reminding user of arriving at station |
CN103841526A (en) * | 2014-03-14 | 2014-06-04 | 迈普通信技术股份有限公司 | Method and system for prompting stop arrival |
CN106250149A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of based reminding method and terminal |
WO2017120846A1 (en) * | 2016-01-14 | 2017-07-20 | 刘建兵 | Method and device for acquiring data during station arrival reminder, and mobile terminal |
CN109951801A (en) * | 2019-03-29 | 2019-06-28 | 广东小天才科技有限公司 | Method and device for reminding arrival and intelligent terminal |
Family Cites Families (19)
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 |
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 |
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 |
CN106095701A (en) * | 2016-06-12 | 2016-11-09 | 乐视控股(北京)有限公司 | A kind of quarter-bell reminding method, device and earphone |
CN106844586A (en) * | 2017-01-10 | 2017-06-13 | 广东欧珀移动通信有限公司 | Arrive at a station reminding method, device and computer equipment |
CN107295182A (en) * | 2017-06-30 | 2017-10-24 | 广东欧珀移动通信有限公司 | Subway arrival reminding method, device, storage medium and terminal |
CN107734188B (en) * | 2017-11-09 | 2020-08-07 | Oppo广东移动通信有限公司 | Subway trip reminding method, subway trip reminding device and mobile terminal |
CN107801153A (en) * | 2017-11-09 | 2018-03-13 | 广东欧珀移动通信有限公司 | Subway trip based reminding method, subway trip alarm set 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, apparatus, storage medium and mobile terminal |
CN107995367B (en) * | 2017-12-13 | 2020-09-15 | Oppo广东移动通信有限公司 | 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 |
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 reminding method and 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 active Application Filing
- 2021-03-24 TW TW110110706A patent/TWI779531B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200828190A (en) * | 2006-12-19 | 2008-07-01 | Kinpo Elect Inc | Method for reminding station arrival and system therefor |
CN103546866A (en) * | 2013-10-30 | 2014-01-29 | 深圳市金立通信设备有限公司 | Method and terminal for reminding user of arriving at station |
CN103841526A (en) * | 2014-03-14 | 2014-06-04 | 迈普通信技术股份有限公司 | Method and system for prompting stop arrival |
WO2017120846A1 (en) * | 2016-01-14 | 2017-07-20 | 刘建兵 | Method and device for acquiring data during station arrival reminder, and mobile terminal |
CN106250149A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of based reminding method and terminal |
CN109951801A (en) * | 2019-03-29 | 2019-06-28 | 广东小天才科技有限公司 | Method and device for reminding arrival and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111429746A (en) | 2020-07-17 |
TW202139146A (en) | 2021-10-16 |
WO2021203835A1 (en) | 2021-10-14 |
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) | Sound production control method and device, electronic device and computer readable medium | |
US10064153B2 (en) | Position estimation apparatus, position estimation method, target terminal, communication method, communication terminal, recording medium, and position estimation system | |
CN101523881A (en) | Method for providing an alert signal | |
US20160196574A1 (en) | Discovery and Mobile device Characteristics based Advertising and Billing Framework | |
CN111596885B (en) | Audio data processing method, server and storage medium | |
CN105939517B (en) | A kind of method and apparatus preventing mobile terminal access pseudo-base station | |
CN111107389A (en) | Method, device and system for determining live broadcast watching time length | |
CN107786714B (en) | Sound control method, apparatus and system based on vehicle-mounted multimedia equipment | |
CN111372201B (en) | Information notification method and device and computer equipment | |
CN106899908B (en) | Apparatus for processing audio, method and system | |
KR20140121141A (en) | Apparatas and method for call forwarding according to batter capacity in an electronic device | |
CN111081283A (en) | Music playing method and device, storage medium and terminal equipment | |
CN117858057A (en) | Bluetooth audio playing method, audio playing control method and system | |
CN106534439B (en) | Shock detection method, apparatus and terminal | |
CN106385514B (en) | A kind of music processing method, device and terminal | |
CN107888480A (en) | Prompting message processing method, device, storage medium and mobile terminal | |
CN104991192B (en) | Battery power failure detection method, device and mobile terminal | |
CN112449308A (en) | Mobile phone signal-based activity early warning method and device for active personnel | |
EP4391632A1 (en) | Terminal capability report method and device and storage medium | |
CN107370884A (en) | position reminding method, position reminding device and terminal | |
CN111444289A (en) | Incidence relation establishing method | |
CN112613772A (en) | Information pushing method, device, equipment and storage medium | |
CN105187625B (en) | A kind of electronic equipment and audio-frequency processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |