Rail transit arrival reminder method, system, device, medium and program

The method uses acceleration and magnetic field data to determine train start and direction, combined with GPS/Wi-Fi/NFC scanning to ensure accurate arrival reminders in rail transit, addressing GPS signal limitations.

CN115320671BActive Publication Date: 2024-12-10BEIJING QIMIWO TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210956824.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-10
Publication Date
2024-12-10
Estimated Expiration
2042-08-10

AI Technical Summary

Technical Problem

Existing GPS-based arrival reminder systems for rail transit fail to accurately determine train arrival when GPS signals are weak or absent, particularly when the train stops midway.

Method used

A method utilizing acceleration data to detect train start time, magnetic field vectors to determine direction, and combination of GPS signal strength, NFC/code scanning, and Wi-Fi signal matching to locate entry into a station, followed by calculating boarding time and issuing arrival reminders based on preset times.

Benefits of technology

Accurately determines train arrival without relying on GPS, ensuring precise arrival reminders even in environments with weak GPS signals or station stops, enhancing user experience by improving positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115320671B_ABST
    Figure CN115320671B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, system, device, medium and program for reminding a rail transit station arrival, including: after determining that a target has entered the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data; obtaining the magnetic field vector change of the train, and judging the running direction of the train according to the magnetic field vector change; matching the target's riding route from the train running line information based on the running direction of the train; when the train stops, obtaining the target's boarding time, and judging the target's arrival at the destination according to the boarding time and the preset time, issuing an arrival reminder to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train from the entry station. This application solves the problem that when users take rail transit for commuting, they fail to receive the station announcement information of rail transit, resulting in missing the alighting station, thereby improving the user's experience of taking rail transit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a method, system, device, medium and program for reminding a rail transit station arrival. Background Art

[0002] With the development of urban underground rail transit and the extension of routes, arrival reminders are a function urgently needed by people who take the subway for a long time. How to accurately determine whether the train has arrived at the station is a technical difficulty.

[0003] In the existing related technologies, GPS positioning technology is used to determine the current location, calculate the route length to the next stop, estimate the driving time and remind the user to be ready before arriving at the destination. However, the disadvantage of the existing technology is that it relies on GPS signals or accurately follows the subway line to realize the arrival reminder function. It is difficult to achieve accurate arrival reminder function when the train stops midway or there is no GPS signal. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a rail transit arrival reminder method, system, device, medium and program.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for reminding a rail transit station is provided, comprising:

[0006] After determining that the target has entered the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data;

[0007] Obtaining a change in the magnetic field vector of the train, and determining a running direction of the train according to the change in the magnetic field vector;

[0008] Matching a target riding route from the train running line information based on the running direction of the train;

[0009] When the train stops, the target's boarding time is obtained, and when the target arrives at the destination based on the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the pre-set time for the target to arrive at the destination after getting on the train at the entrance station.

[0010] In some embodiments, determining whether the target is entering a station includes:

[0011] Obtaining the GPS signal strength of the target, determining whether the GPS signal strength is lower than a first preset threshold, and if so, determining whether the distance between the latitude and longitude position information of the target and the latitude and longitude position of the entry site is lower than a first preset distance, and if so, determining that the target is entering the site; or

[0012] Identify the target’s entry information through NFC or code scanning to determine the target’s entry; or

[0013] Monitor the wifi signal near the target, perform geographic matching based on the MAC address information of the wifi signal, and if there is a site within the coverage range of the wifi signal, determine that the target has entered the site.

[0014] In some embodiments, after determining that the target enters the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data, including:

[0015] Monitor the acceleration data of the target, and determine whether the absolute value of the difference between the target three-axis combined acceleration and the gravity acceleration is always greater than the second preset threshold within the first preset time. If so, determine that the train is started and record the current time as the train start time.

[0016] In some embodiments, obtaining a change in a magnetic field vector of a train, and determining a running direction of the train according to the change in the magnetic field vector, includes:

[0017] Obtaining the first orientation angle of the target and the first magnetic field vector of the train when the train is stationary for the first time after the target gets on board;

[0018] After the train starts, determine whether the target has an angular velocity change;

[0019] If the target has an angular velocity change, determine the target's rotation angle by monitoring the target's angular velocity change, correct the first magnetic field vector based on the rotation angle, and update the target's first orientation angle;

[0020] If the target does not have an angular velocity change, then the second magnetic field vector is obtained when the train is running;

[0021] Acquire a third magnetic field vector based on the first magnetic field vector and the second magnetic field vector;

[0022] The running direction of the train is acquired based on the third magnetic field vector and the first orientation angle of the target.

[0023] In some embodiments, when the train stops, the target's boarding time is obtained, and when the target arrives at the destination according to the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train at the entry station, including:

[0024] S1. Input the target station, the train start time, the destination station, and the target's ride route to obtain the preset time;

[0025] S2, acquiring the acceleration data of the train, identifying the deceleration signal of the train based on the acceleration data of the train, recording the stopping time of the current train after the train stops, obtaining the target boarding time based on the train start time and the train stopping time, and determining whether the difference between the boarding time and the preset time is greater than the preset difference;

[0026] If it is greater, it is considered as a midway stop and waits for the next deceleration signal to be recognized;

[0027] If not, it is determined that the destination site has been reached and an arrival reminder is sent to the target.

[0028] In some embodiments, it also includes:

[0029] If the station after the arrival reminder is sent to the target is not the target's destination station, determine whether there are multiple route transfers for the ride route;

[0030] If it exists, re-enter the target station, the train start time, the destination station, and the ride route;

[0031] If it does not exist, the current station is updated to the target new boarding station, and steps S1-S2 are executed again.

[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a rail transit arrival reminder system, comprising:

[0033] An acquisition module is used to monitor the acceleration data of the target after determining that the target enters the station, and obtain the train start time according to the acceleration data;

[0034] A judgment module, used to obtain the change of the magnetic field vector of the train, and judge the running direction of the train according to the change of the magnetic field vector;

[0035] A matching module, matching a target riding route from the train running line information based on the running direction of the train;

[0036] The arrival reminder module is used to obtain the target's boarding time when the train stops, and to send an arrival reminder to the target when the target arrives at the destination based on the boarding time and the preset time, wherein the preset time is the pre-set time for the target to arrive at the destination after getting on the train at the entrance station.

[0037] An embodiment of the third aspect of the present application provides an electronic device, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the steps of the rail transit arrival reminder method provided by the embodiment of the first aspect of the present application.

[0038] The embodiment of the fourth aspect of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to execute the steps of the rail transit arrival reminder method provided by the embodiment of the first aspect of the present application.

[0039] The embodiment of the fifth aspect of the present application provides a computer program product. When the instructions in the computer program product are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute the steps of the rail transit arrival reminder method provided by the embodiment of the first aspect of the present application.

[0040] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the present application determines the direction of the magnetic field generated by the motor when the train starts, and uses the data of the accelerometer to accurately determine the current line and direction of the target. The target in the present application is users carrying smart terminals such as smart phones, etc., and there is no need to use GPS for positioning. By obtaining the target's motion posture information and extracting the running characteristics of the train at each stage from the accelerometer, the magnetic field signal is used to determine the local subway line and running direction. At the same time, a variety of position correction methods are applied to ensure the accuracy of the position prediction of the current station, and improve the accuracy of the target arrival reminder. At the same time, it solves the problem of difficulty in positioning when taking rail transit when the GPS signal is weak.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] Figure 1 The present invention is a flow chart of a method for reminding a station arrival of rail transit according to an exemplary embodiment.

[0044] Figure 2 It is a block diagram of a rail transit arrival reminder system according to an exemplary embodiment.

[0045] Figure 3 The present invention is a flowchart of determining the start of a train according to an exemplary embodiment.

[0046] Figure 4 The present invention is a flowchart showing a method of identifying a target station entry based on GPS signal strength according to an exemplary embodiment.

[0047] Figure 5 The present invention is a flowchart showing a method of identifying a target entering a station based on the target's card swiping or code scanning information according to an exemplary embodiment.

[0048] Figure 6 The present invention is a flowchart showing a method of identifying a target station based on a Wi-Fi address according to an exemplary embodiment.

[0049] Figure 7 The present invention is a flowchart showing a method of determining a target station entry based on a combination of multiple schemes according to an exemplary embodiment.

[0050] Figure 8 The present invention is a flow chart showing a method for determining a running direction of a train according to an exemplary embodiment.

[0051] Fig. 9 The present invention is a flowchart of a station arrival reminder according to an exemplary embodiment.

[0052] Fig.10 The figure is a diagram showing the internal structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0054] Figure 1 is a flow chart of a method for reminding a railway transit station arrival according to an exemplary embodiment. Figure 1 As shown, the following steps are included:

[0055] In step S101, after determining that the target enters the station, the acceleration data of the target is monitored, and the train start time is obtained according to the acceleration data.

[0056] Specifically, in order to more accurately achieve the function of reminding the target when it arrives at the station, it is first necessary to monitor the target after entering the station, and obtain the start time of the train after the target boards the train by monitoring the target's acceleration data, so as to provide the train start time data for the subsequent calculation of the travel time.

[0057] In some embodiments, after determining that the target enters the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data, including:

[0058] Monitor the acceleration data of the target, and determine whether the absolute value of the difference between the target three-axis combined acceleration and the gravity acceleration is always greater than the second preset threshold within the first preset time. If so, determine that the train is started and record the current time as the train start time.

[0059] Specifically, Figure 3 As shown, it is a flow chart for determining the start of a train, which specifically includes the following steps:

[0060] 101: After confirming that the target has entered the subway station, the process of identifying the start of the train begins.

[0061] 102: After the target enters the subway station or when the absolute value of the difference between the magnitude of the combined acceleration and the magnitude of the gravity acceleration is less than A1 within T1 time, the accelerometer data is monitored in real time.

[0062] 103: Determine whether the target is in a walking state based on the accelerometer data.

[0063] 104a: If the target walking feature is identified, it is considered that the target has not yet entered the carriage or has not stopped or found a position after entering the carriage, and the target continues to be waited for to enter the carriage or to stop.

[0064] 104b: If the walking feature of the target is not recognized, the three-axis acceleration of the accelerometer is synthesized to determine whether the current combined acceleration is equal to the gravity acceleration.

[0065] 105: If the resultant acceleration is not equal to the gravitational acceleration, determine whether the absolute value of the difference between the magnitude of the three-axis resultant acceleration of the accelerometer and the magnitude of the gravitational acceleration within a time period T1 (a first preset time period) is always greater than A1 (a second preset threshold).

[0066] 106a: If the absolute value of the difference between the magnitude of the combined acceleration and the magnitude of the gravitational acceleration is always greater than A1, it is determined that the train has started to move, and the start time of the train is recorded.

[0067] In the above scheme, only the accelerometer is used to perform fusion calculation on the three-axis acceleration to determine whether the target is in the acceleration stage of the train during the T1 time period, and the train start signal is obtained. At the same time, the scenario of the target moving in the carriage is taken into consideration, and the interference of the target on the acceleration data in the moving state is filtered out, thereby improving the accuracy of recognition.

[0068] In some embodiments, determining whether the target is entering a station includes:

[0069] Obtaining the GPS signal strength of the target, determining whether the GPS signal strength is lower than a first preset threshold, and if so, determining whether the distance between the latitude and longitude position information of the target and the latitude and longitude position of the entry site is lower than a first preset distance, and if so, determining that the target is entering the site; or

[0070] Identify the target’s entry information through NFC or code scanning to determine the target’s entry; or

[0071] Monitor the wifi signal near the target, perform geographic matching based on the MAC address information of the wifi signal, and if there is a site within the coverage range of the wifi signal, determine that the target has entered the site.

[0072] Specifically, whether the target enters the station can be determined by any one of the above three methods or a combination of the three methods.

[0073] Option 1: Figure 4 As shown, the target station entry is identified based on the GPS signal strength. The specific implementation method is as follows:

[0074] A101: Store the GPS latitude and longitude information of each subway station in the current city in the device or obtain it online, and set the destination station M3 as the target.

[0075] A102: Monitor the GPS satellite signal strength information obtained by the GPS sensor, and determine whether the signal strength is lower than the threshold R1 (first preset threshold) set by the program.

[0076] A103a: If the GPS signal strength is not lower than R1 or there is no station whose distance from the current position is less than S1 (the first preset distance), it is considered that the target has not entered the subway station.

[0077] A103b: If the GPS signal strength is lower than R1, the latitude and longitude position information acquired by the GPS sensor at this time is compared with the latitude and longitude position information stored in 101a.

[0078] A104: Determine whether there is a station M1 whose distance from the current target location is less than S1 (first preset distance).

[0079] A105: If there is a site M1 within the range S1 near the target, it is determined that the target has entered the M1 site.

[0080] Option 2: Figure 5 As shown, the target entry is identified based on the target card swiping or code scanning information. The specific implementation method is as follows:

[0081] A201: The target enters the subway station by swiping a card using NFC or scanning a QR code.

[0082] A202: Determine the current station M1 where the target is located by identifying the station entry information brought out when swiping the card or scanning the code.

[0083] A203: Identified as a target and entered subway station M1.

[0084] Option 3: Figure 6 As shown in the figure, the target station is identified based on the Wi-Fi address. The specific implementation method is as follows:

[0085] A301: Monitor Wi-Fi signals near the target.

[0086] A302: The Mac address of the identified Wi-Fi signal is transmitted to the cloud for geographic information matching to identify the approximate range of the target.

[0087] A303: Determine whether there is a Wi-Fi signal around the location of site M1.

[0088] A304: If there is a station M1 near the coverage of this Wi-Fi signal, it is determined that the target has entered the subway station M1.

[0089] Option 4: Figure 7 As shown, based on the combination of multiple schemes to determine the target station entry, the specific implementation method is:

[0090] S1a: Monitor GPS signals to determine whether the target has entered the subway station.

[0091] S1b: The target manually selects the subway station.

[0092] S1c: The target uses his mobile phone to swipe the card / scan the QR code to enter the subway station.

[0093] S1d: Receive Wi-Fi signals within the subway station.

[0094] The target's station entry information can be obtained through steps S1a, S1b, S1c, and S1d. After S1b, S1c, and S1d are triggered, the target's station entry information can be directly obtained without other judgments. Since S1a uses GPS positioning, there is the possibility of signal loss and large positioning error. Therefore, when such a situation occurs, it is necessary to further judge the station entry site.

[0095] S2a: GPS determines that there are multiple subway stations near the target.

[0096] S2b: When the device is just turned on or is indoors or underground, there is no GPS signal.

[0097] S2c: There is only one subway station near the target.

[0098] S3: If situations S2a and S2b occur, further auxiliary measures must be taken to locate the current site.

[0099] S4a: After recognizing that the train is starting, the target is reminded to manually select the station.

[0100] S4b: Monitor Wi-Fi signals to determine whether the user is within the subway station.

[0101] S5: Obtain the target's current subway station through S1b, S1c, S1d, S2c, S4a, and S4b.

[0102] The above-mentioned schemes of the present application are different from the traditional method of directly using GPS signals to locate and confirm the target's location. Scheme 1 determines whether the target has entered an underground building by identifying the strength of the received GPS satellite signal, and adopts the area matching method to obtain the target's entry point. First, it reduces the power consumption of GPS, and second, it can achieve the seamless start of the arrival reminder function later; Scheme 2 obtains the current station by obtaining the target's entry information, which is similar to manual triggering of the target, but does not require the target to set the entry point separately; Scheme 3 obtains the entry information by identifying the Wi-Fi address near the subway station, and can confirm the target's location in the absence of GPS signals; Scheme 4, through the combination of three different schemes, can achieve the acquisition of the target's entry position under weak GPS signals or no GPS signals, which serves as a trigger for the subsequent arrival reminder function.

[0103] In step S102, the change in magnetic field vector of the train is obtained, and the running direction of the train is determined according to the change in magnetic field vector.

[0104] Specifically, since there are multiple trains in the subway environment, in order to determine the specific running direction of the train, the specific running direction of the train can be determined by obtaining the change in the magnetic field vector of the train.

[0105] In some embodiments, obtaining a change in a magnetic field vector of a train, and determining a running direction of the train according to the change in the magnetic field vector, includes:

[0106] Obtaining the first orientation angle of the target and the first magnetic field vector of the train when the train is stationary for the first time after the target gets on board;

[0107] After the train starts, determine whether the target has an angular velocity change;

[0108] If the target has an angular velocity change, determine the target's rotation angle by monitoring the target's angular velocity change, correct the first magnetic field vector based on the rotation angle, and update the target's first orientation angle;

[0109] If the target does not have an angular velocity change, then the second magnetic field vector is obtained when the train is running;

[0110] Acquire a third magnetic field vector based on the first magnetic field vector and the second magnetic field vector;

[0111] The running direction of the train is acquired based on the third magnetic field vector and the first orientation angle of the target.

[0112] Specifically, Figure 8 As shown in FIG. 1 , it is a flow chart for determining the running direction of a train, which specifically includes the following steps:

[0113] B101: Calculate the target orientation angle D1 when the train is stationary through the geomagnetic sensor, save the three-axis data of the geomagnetic sensor at this time as the magnetic field vector V1, and wait for the train to start.

[0114] B102: The train started normally.

[0115] B103: Monitor gyroscope data.

[0116] B104: Determine whether the target has angular velocity changes.

[0117] B105a: If the target has obvious angular velocity changes, it is considered that the target is turning inside the car.

[0118] B106a: Calculate the target's moving direction and rotation angle D2 based on the angular velocity data of the gyroscope.

[0119] B107a: Use the direction of D2 to correct the direction of the magnetic field vector V1, and update the target direction D1 at this time to D1+D2.

[0120] B105b: If there is no angular velocity change of the target, start reading the geomagnetic sensor data at that time.

[0121] B106b: Save the three-axis data of the geomagnetic sensor at this time as the magnetic field vector V2.

[0122] B107b: Since subway trains are driven by motors, and the operation of motors will bring about changes in the surrounding magnetic field, it has been verified in practice that the magnetic field generated by the motors during the acceleration process can be easily captured by geomagnetic sensors, and the direction of the magnetic field is cross-correlated with the direction of travel of the train. Therefore, the direction of the superimposed magnetic field generated by the operation of the train motors can be obtained through vector calculation (V2-V1), thereby determining the running direction A2 of the train relative to the target direction.

[0123] B108: The train running direction angle A1 is calculated from A2 and D1 to obtain the train running direction relative to the target.

[0124] The present application uses the magnetic field generated by the motor when the train starts to judge the direction through the above-mentioned scheme, and combines the data of the gyroscope and accelerometer to accurately locate the user's current line and direction. In other words, the terminal no longer needs to use GPS for positioning, but extracts the operation characteristics of the train at each stage from the accelerometer, and uses the magnetic field signal to judge the local subway line and running direction. At the same time, it applies a variety of position correction methods to ensure the accuracy of the position prediction of the current station, which can realize the judgment of the train's current direction under any circumstances.

[0125] In step S103, the target riding route is matched from the train running line information based on the running direction of the train.

[0126] Specifically, by obtaining subway route information, the target's current route is obtained by comparing the train's running direction with the obtained subway route information.

[0127] In step S104, when the train stops, the target's boarding time is obtained, and when the target arrives at the destination based on the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the pre-set time for the target to arrive at the destination after getting on the train at the entrance station.

[0128] Specifically, when the train stops, that is, when it arrives at the destination, the target's travel time is obtained and compared with the preset time. If it is within the threshold range, it indicates arrival at the station, and an arrival reminder is sent to the target. The preset time is pre-set based on the normal running time of the train.

[0129] In some embodiments, when the train stops, the target's boarding time is obtained, and when the target arrives at the destination according to the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train at the entry station, including:

[0130] S1. Input the target station, the train start time, the destination station, and the target's ride route to obtain the preset time;

[0131] S2, acquiring the acceleration data of the train, identifying the deceleration signal of the train based on the acceleration data of the train, recording the stopping time of the current train after the train stops, obtaining the target boarding time based on the train start time and the train stopping time, and determining whether the difference between the boarding time and the preset time is greater than the preset difference;

[0132] If it is greater, it is considered as a midway stop and waits for the next deceleration signal to be recognized;

[0133] If not, it is determined that the destination site has been reached and an arrival reminder is sent to the target.

[0134] Specifically, the start time of the train obtained in step S101, the riding route obtained in steps S102 and S103, and the target's entry station and destination station can be manually or automatically input into the target's mobile terminal, so that the preset time for the train to arrive at the destination station from the entry station can be obtained, the acceleration data of the train can be monitored by an accelerometer, the deceleration signal of the train can be obtained, and the stop time of the current train can be recorded. The target's riding time is obtained through the train start time and the train stop time. When the difference between the riding time and the preset time is greater than the preset difference, it indicates an intermediate stop. If the difference is not greater than the preset difference, it indicates arrival at the station, and an arrival reminder is issued to the target. This solution uses the accelerometer in the mobile terminal to identify the train's stop signal. Since the acceleration changes significantly when the train stops, it is easy to identify. After the train stops, the difference between the boarding time and the stopping time is calculated and compared with the preset value, so as to identify whether the train is in the intermediate stop state or the arrival stop state. On this basis, the user's arrival recognition reminder work is carried out, filtering out the parking interference during the train's journey; at the same time, the method of directly accumulating stations is used to speed up the recognition speed at non-transfer stations, thereby improving the accuracy of arrival prediction.

[0135] Furthermore, it also includes:

[0136] If the station after the arrival reminder is sent to the target is not the target's destination station, determine whether there are multiple route transfers for the ride route;

[0137] If yes, re-enter the train start time, the destination station, and the ride route;

[0138] If it does not exist, the current station is updated to the target new boarding station, and steps S1-S2 are executed again.

[0139] Specifically, if after sending an arrival reminder to the target, it is found that the station is not the target station, it indicates two situations. First, the route you are taking has multiple route transfers, that is, the user needs to get off the train and change to another subway. In this case, you only need to re-obtain and input the target station, start time, destination station, and route of the train. The target station can be found through Figure 4 , 6 The start time, destination station, and ride route can also be obtained by the above steps. The second situation is that the train is delayed. At this time, it is only necessary to update the current stop station to the new boarding station, re-obtain the train start time and the preset time to arrive at the destination station, and re-execute steps S1-S2.

[0140] In combination with specific implementation methods, such as Fig. 9 The figure is a flowchart of arrival reminder, which specifically includes the following steps:

[0141] C101: Input the target boarding station M1, boarding time, line and train running direction, and the user's destination station M3.

[0142] C102: monitor accelerometer data.

[0143] C103: Determine whether the signal for the train to slow down and stop is detected.

[0144] C104: If a signal for the train to slow down and stop is identified, the duration T1 from the train start time to the train stop time is calculated.

[0145] C105: Compare the duration T1 with the duration T2 of a train normally traveling from station M1 in direction A1 to the next station M2.

[0146] C106: Determine whether the difference between T1 and T2 is large.

[0147] C107a: If the difference between T1 and T2 is large, the train is considered to have stopped midway and is not included in the station calculation. The train continues to wait for the train stop signal to be recognized.

[0148] C107b: If the duration of T1 and T2 is similar, the train is judged to have stopped at the station and the user's current station is updated to M2.

[0149] C108: Determine whether M2 is the user's destination site M3.

[0150] C109a: If M2 is the user's destination station M3, the device sends a reminder signal to inform the user of the arrival. C109b: If M2 is not the user's destination station, determine whether M2 has multiple line transfers.

[0151] C110a: If M2 has multiple lines, re-enter the boarding station, the line it is on, the train running direction, and the user's destination station M3.

[0152] C110b: If M2 does not have multiple lines, update the information of the M1 site to the current site M2, return to step 102, and continue to calculate the next site.

[0153] Of course, the time to initiate the arrival reminder can be set by the user. It does not have to be a reminder before the arrival. The user can also be notified a few stops in advance to prepare to get off the bus. The application of this solution is not limited to wearable devices. The arrival reminder function can also be realized by using existing mobile phone hardware in conjunction with an App that uses this method.

[0154] Figure 2 is a block diagram of a rail transit arrival reminder system according to an exemplary embodiment. Figure 2 The system includes an acquisition module 201, a judgment module 202, a matching module 203 and an arrival reminder module 204.

[0155] The acquisition module 201 is used to monitor the acceleration data of the target after determining that the target enters the station, and obtain the train start time according to the acceleration data;

[0156] The judging module 202 is used to obtain the change of the magnetic field vector of the train, and judge the running direction of the train according to the change of the magnetic field vector;

[0157] A matching module 203 matches a target riding route from the train running line information based on the running direction of the train;

[0158] The arrival reminder module 204 is used to obtain the target's boarding time when the train stops, and to send an arrival reminder to the target when it is judged that the target has arrived at the destination based on the boarding time and the preset time, wherein the preset time is the pre-set time for the target to arrive at the destination after getting on the train at the entrance station.

[0159] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0160] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig.10 As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for reminding the arrival of rail transit is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0161] Those skilled in the art will understand that Fig.10The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0162] In one embodiment, the rail transit arrival reminder system provided by the present application can be implemented in the form of a computer program. The computer program can be used in Fig.10 The memory of the electronic device can store various program modules constituting the arrival reminder system of the rail transit.

[0163] The memory in the electronic device stores at least one instruction, at least one program, code set or instruction set, and the instruction, program, code set or instruction set are loaded and executed by the processor to implement the arrival reminder method of rail transit according to any one of the above embodiments. For example, the arrival reminder method of rail transit includes: after determining that the target enters the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data; obtaining the magnetic field vector change of the train, and judging the running direction of the train according to the magnetic field vector change; matching the target's riding route from the train running line information based on the running direction of the train; when the train stops, obtaining the target's boarding time, and judging the target's arrival at the destination according to the boarding time and the preset time, issuing an arrival reminder to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train from the entry station.

[0164] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: after determining that a target enters a station, monitoring the acceleration data of the target, and obtaining the train start time based on the acceleration data; obtaining the magnetic field vector change of the train, and judging the running direction of the train based on the magnetic field vector change; matching the target's riding route from the train running line information based on the running direction of the train; when the train stops, obtaining the target's boarding time, and judging that the target arrives at the destination based on the boarding time and the preset time, issuing an arrival reminder to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train from the entry station.

[0165] In one embodiment, a computer program product is provided. When the instructions in the computer program product are executed by the processor of a mobile terminal, the mobile terminal is enabled to perform the following steps: after determining that a target enters a station, monitoring the acceleration data of the target, and obtaining the train start time based on the acceleration data; obtaining the magnetic field vector change of the train, and judging the running direction of the train based on the magnetic field vector change; matching the target's riding route from the train running line information based on the running direction of the train; when the train stops, obtaining the target's boarding time, and judging that the target arrives at the destination based on the boarding time and the preset time, issuing an arrival reminder to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train from the entry station.

[0166] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0167] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0168] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for reminding a rail transit station. It is characterized in that include: After determining that the target has entered the station, monitoring the acceleration data of the target, and obtaining the train start time according to the acceleration data; Obtaining a change in the magnetic field vector of the train, and determining a running direction of the train according to the change in the magnetic field vector; Matching a target riding route from the train running line information based on the running direction of the train; When the train stops, the target's boarding time is obtained, and when the target arrives at the destination according to the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train at the entry station; The step of obtaining the change in magnetic field vector of the train and determining the running direction of the train according to the change in magnetic field vector includes: Obtaining the first orientation angle of the target and the first magnetic field vector of the train when the train is stationary for the first time after the target gets on board; After the train starts, determine whether the target has an angular velocity change; If the target has an angular velocity change, determine the target's rotation angle by monitoring the target's angular velocity change, correct the first magnetic field vector based on the rotation angle, and update the target's first orientation angle; If the target does not have an angular velocity change, then the second magnetic field vector is obtained when the train is running; Acquire a third magnetic field vector based on the first magnetic field vector and the second magnetic field vector; The running direction of the train is acquired based on the third magnetic field vector and the first orientation angle of the target.

2. The rail transit arrival reminder method according to claim 1, It is characterized in that Determining whether the target has entered the station includes: Obtaining the GPS signal strength of the target, determining whether the GPS signal strength is lower than a first preset threshold, and if so, determining whether the distance between the latitude and longitude position information of the target and the latitude and longitude position of the entry site is lower than a first preset distance, and if so, determining that the target is entering the site; or Identify the target’s entry information through NFC or code scanning to determine the target’s entry; or Monitor the wifi signal near the target, perform geographic matching based on the MAC address information of the wifi signal, and if there is a site within the coverage range of the wifi signal, determine that the target has entered the site.

3. The rail transit arrival reminder method according to claim 1, It is characterized in that After determining that the target has entered the station, the acceleration data of the target is monitored, and the train start time is obtained according to the acceleration data, including: Monitor the acceleration data of the target, and determine whether the absolute value of the difference between the target three-axis combined acceleration and the gravity acceleration is always greater than the second preset threshold within the first preset time. If so, determine that the train is started and record the current time as the train start time.

4. The rail transit arrival reminder method according to claim 1, It is characterized in that When the train stops, the target's boarding time is obtained, and when the target arrives at the destination according to the boarding time and the preset time, an arrival reminder is issued to the target, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train at the entry station, including: S1. Input the target station, the train start time, the destination station, and the target's ride route to obtain the preset time; S2, acquiring the acceleration data of the train, identifying the deceleration signal of the train based on the acceleration data of the train, recording the stopping time of the current train after the train stops, obtaining the target boarding time based on the train start time and the train stopping time, and determining whether the difference between the boarding time and the preset time is greater than the preset difference; If it is greater, it is considered as a midway stop and waits for the next deceleration signal to be recognized; If not, it is determined that the destination site has been reached and an arrival reminder is sent to the target.

5. The rail transit arrival reminder method according to claim 4, It is characterized in that Also includes: If the station after the arrival reminder is sent to the target is not the target's destination station, determine whether there are multiple route transfers for the ride route; If it exists, re-enter the target station, the train start time, the destination station, and the ride route; If it does not exist, the current station is updated to the target new boarding station, and steps S1-S2 are executed again.

6. A rail transit arrival reminder system, It is characterized in that include: An acquisition module is used to monitor the acceleration data of the target after determining that the target enters the station, and obtain the train start time according to the acceleration data; A judgment module, used to obtain the change of the magnetic field vector of the train, and judge the running direction of the train according to the change of the magnetic field vector; A matching module, matching a target riding route from the train running line information based on the running direction of the train; The arrival reminder module is used to obtain the boarding time of the target when the train stops, and send an arrival reminder to the target when the target arrives at the destination according to the boarding time and the preset time, wherein the preset time is the preset time for the target to arrive at the destination after getting on the train at the entry station; The judgment module is specifically used to obtain the first orientation angle of the target and the first magnetic field vector of the train when the train is stationary for the first time after the target gets on the train; After the train starts, determine whether the target has an angular velocity change; If the target has an angular velocity change, determine the target's rotation angle by monitoring the target's angular velocity change, correct the first magnetic field vector based on the rotation angle, and update the target's first orientation angle; If the target does not have an angular velocity change, then the second magnetic field vector is obtained when the train is running; Acquire a third magnetic field vector based on the first magnetic field vector and the second magnetic field vector; The running direction of the train is acquired based on the third magnetic field vector and the first orientation angle of the target.

7. An electronic device, It is characterized in that It includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the rail transit arrival reminder method according to any one of claims 1-5.

8. A non-transitory computer-readable storage medium, It is characterized in that When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute the arrival reminder method for rail transit according to any one of claims 1-5.

9. A computer program product, It is characterized in that When the instructions in the computer program product are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the arrival reminder method for rail transit according to any one of claims 1-5.