Disclosure of Invention
Aiming at the defects and improvement demands of the prior art, the invention provides a method and a system for reminding arrival of a public transport means, and aims to provide a more accurate and more targeted method and system for reminding arrival of the public transport means, thereby solving the technical problems that the reminding is not in time and the reminding mode is not targeted in the prior art.
In order to achieve the above object, the present invention provides a method for reminding arrival of a public transportation means, comprising the steps of:
S1, receiving a destination site selected by a user;
s2, judging whether the destination site selected by the user is about to be reached, if so, receiving current state information of the user, which is sent by a camera in a public transport means and a probe on a road surface;
s3, judging whether the current state of the user is eye-closed rest, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, sending a stop reminding instruction to the display screen in the public transport means.
Further, the step S2 specifically includes the steps of:
and acquiring real-time position data of the public transportation means, judging whether the destination site selected by the user is about to be reached or not according to the real-time position data of the public transportation means, and if so, receiving current state information of the user, which is sent by a camera in the public transportation means and a probe on a road surface, in a preset time before the destination site selected by the user is reached.
Further, the step S3 specifically includes the steps of:
Judging whether the current state of the user is eye-closing rest or not, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, judging the gaze direction of the user, and sending a station reminding instruction to a display screen corresponding to the gaze direction of the user.
Further, before step S1, the method further includes the steps of:
And establishing connection with a camera in the public transportation means and a probe on the road surface through Wi-Fi, and establishing connection with a display screen in the public transportation means and a smart watch of a user through Bluetooth.
Further, after step S3, the method further includes the steps of:
and receiving an instruction execution result returned by the intelligent watch of the user or a display screen in the public transport means.
Correspondingly, a system for reminding the arrival of the public transport means is also provided, which comprises:
the first receiving module is used for receiving the destination site selected by the user;
the first judging module is used for judging whether the destination site selected by the user is about to be reached or not;
The second receiving module is used for receiving the current state information of the user sent by the camera in the public transport means and the probe on the road surface when the user arrives at the destination site selected by the user;
The second judging module is used for judging whether the current state of the user is eye-closing rest or not;
and the sending module is used for sending a station reminding instruction to the intelligent watch of the user or the display screen in the public transport means.
Further, the method further comprises the following steps:
And the acquisition module is used for acquiring the real-time position data of the public transport means.
Further, the method further comprises the following steps:
And the third judging module is used for judging the gaze direction of the user when the current state of the user is a non-eye-closing rest.
Further, the method further comprises the following steps:
the Wi-Fi module is used for establishing connection with a camera in the public transport means and a probe on the road surface through Wi-Fi;
And the Bluetooth module is used for establishing connection with the display screen in the public transportation means and the intelligent watch of the user through Bluetooth.
Further, the method further comprises the following steps:
and the third receiving module is used for receiving the instruction execution result returned by the intelligent watch of the user or the display screen in the public transport means.
Compared with the prior art, the invention has the following advantages:
The user presets the destination site on the mobile phone APP, and when the public transport means is about to arrive at the destination site, the current state information of the user is acquired through the camera in the public transport means and the probe on the road surface, and the user is reminded of arriving at the station in a proper mode according to the current state information of the user, so that accurate, timely and targeted arriving at the station reminding service is provided for the user, psychological burden of the user is relieved, and the user can do own things in concentration.
Detailed Description
The following are specific embodiments of the present invention and the technical solutions of the present invention will be further described with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
Example 1
The embodiment provides a method for reminding a public transport means of arrival, as shown in fig. 1, comprising the following steps:
S11, receiving a destination site selected by a user;
s12, judging whether the destination site selected by the user is about to be reached, if so, receiving current state information of the user, which is sent by a camera in a public transport means and a probe on a road surface;
S13, judging whether the current state of the user is eye-closed rest, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, sending a stop reminding instruction to the display screen in the public transport means.
Further, the step S12 specifically includes the steps of:
and acquiring real-time position data of the public transportation means, judging whether the destination site selected by the user is about to be reached or not according to the real-time position data of the public transportation means, and if so, receiving current state information of the user, which is sent by a camera in the public transportation means and a probe on a road surface, in a preset time before the destination site selected by the user is reached.
Further, the step S13 specifically includes the steps of:
Judging whether the current state of the user is eye-closing rest or not, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, judging the gaze direction of the user, and sending a station reminding instruction to a display screen corresponding to the gaze direction of the user.
After a user takes a public transportation tool, a destination site is manually selected through a mobile phone APP, after the user selects the destination site on the APP, the mobile phone acquires real-time position data of the public transportation tool through probes on a road surface and GPS positioning, when the user detects that the destination site is about to arrive, the current state information of the user detected through cameras in the public transportation tool and probes on the road surface is received within preset time before the user arrives at the destination site, and the current state information is mainly used for judging whether the user is awake or has a rest when the user closes eyes. The preset time may be one minute, but should not be too short, so as not to delay the time for reminding the user of arriving at the station.
When the user is in a wake-up state, as the display screen is arranged in the public transportation means in various places such as glass, door handles, door frames and the ground, the camera in the public transportation means and the probe on the road surface are used for judging the gaze direction of the user, the gaze direction of the user is used for selecting the display screen corresponding to the gaze direction of the user, the display screen sends a stop reminding instruction to the corresponding display screen, and after receiving the stop reminding instruction sent by the mobile phone of the user, the display screen displays the words of XXX passengers, namely, stop, please get off the vehicle, so that the user can see the words.
When the user is in the eye-closing resting state, the mobile phone APP sends a prompt arrival instruction to the intelligent watch worn by the user, and after the intelligent watch receives the prompt arrival instruction, the intelligent watch sends vibration to wake up the user so that the user can know that the user is about to arrive at the station, and the user can get off conveniently.
Further, before step S11, the method further includes the steps of:
And establishing connection with a camera in the public transportation means and a probe on the road surface through Wi-Fi, and establishing connection with a display screen in the public transportation means and a smart watch of a user through Bluetooth.
After a user takes a public transport means and before a destination site is preset, the Wi-Fi and Bluetooth functions of the mobile phone are firstly turned on so as to establish connection with a camera in the public transport means, a probe on a road surface, a display screen in the public transport means and a smart watch of the user, and the subsequent arrival reminding function can be normally used.
Accordingly, there is also provided a system for reminding arrival of a public transportation means, as shown in fig. 2, comprising:
A first receiving module 11, configured to receive a destination site selected by a user;
A first judging module 12, configured to judge whether a destination site selected by a user is about to be reached;
a second receiving module 13, configured to receive current state information of a user sent by a camera in a public transportation vehicle and a probe on a road surface when the user will arrive at a destination site selected by the user;
A second judging module 14, configured to judge whether the current state of the user is a closed-eye rest;
and the sending module 15 is used for sending a station reminding instruction to a smart watch of the user or a display screen in the public transportation means.
Further, the method further comprises the following steps:
an acquisition module 16 for acquiring real-time location data of the public transportation means.
Further, the method further comprises the following steps:
And a third judging module 17, configured to judge the gaze direction of the user when the current state of the user is a non-eye-closure rest.
The first receiving module 11 receives a destination site selected by a user, the acquiring module 16 acquires real-time position data of the public transportation means, the first judging module 12 judges whether the destination site is about to be reached according to the real-time position data of the public transportation means acquired by the acquiring module 16, if the destination site is about to be reached, the second receiving module 13 receives current state information of the user sent by a camera in the public transportation means and a probe on a road surface, the second judging module 14 judges whether the user has closed eyes and has a rest according to the current state information of the user received by the second receiving module 13, and if the user has closed eyes and has a rest, the sending module 15 sends a stop reminding instruction to the intelligent watch of the user; if not, the third judging module 17 further judges the gaze direction of the user, and finally the sending module 15 sends a station reminding instruction to the display screen corresponding to the gaze direction of the user judged by the third judging module 17.
Further, the method further comprises the following steps:
Wi-Fi module 18, which is used for establishing connection with the camera in the public transport means and the probe on the road surface through Wi-Fi;
The bluetooth module 19 is configured to establish a connection with a display screen in a public transportation means and a smart watch of a user through bluetooth.
Before the receiving module 11 receives the destination site selected by the user, the Wi-Fi module 18 establishes connection with the camera in the public transportation vehicle and the probe on the road surface through Wi-Fi, and the bluetooth module 19 establishes connection with the display screen in the public transportation vehicle and the smart watch of the user through bluetooth.
According to the embodiment, the destination site is preset on the mobile phone APP by the user, the real-time position information of the public transportation means is obtained, when the public transportation means is about to arrive at the destination site, the current state information of the user is obtained through the camera in the public transportation means and the probes on the road surface, the arrival reminding is carried out on the user according to the current state information of the user in a proper mode, accurate, timely and targeted arrival reminding service is provided for the user, psychological burden of the user is relieved, and the user can concentrate on doing things of the user.
Example two
The embodiment provides a method for reminding arrival of public transportation means, as shown in fig. 3, comprising the following steps:
s21, receiving a destination site selected by a user;
s22, judging whether the destination site selected by the user is about to be reached, if so, receiving current state information of the user, which is sent by a camera in the public transport means and a probe on the road surface;
s23, judging whether the current state of the user is eye-closed rest, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, sending a stop reminding instruction to the display screen in the public transport means.
Further, the step S22 specifically includes the steps of:
and acquiring real-time position data of the public transportation means, judging whether the destination site selected by the user is about to be reached or not according to the real-time position data of the public transportation means, and if so, receiving current state information of the user, which is sent by a camera in the public transportation means and a probe on a road surface, in a preset time before the destination site selected by the user is reached.
Further, the step S23 specifically includes the steps of:
Judging whether the current state of the user is eye-closing rest or not, if so, sending a station-arrival reminding instruction to the intelligent watch of the user; if not, judging the gaze direction of the user, and sending a station reminding instruction to a display screen corresponding to the gaze direction of the user.
Further, before step S21, the method further includes the steps of:
And establishing connection with a camera in the public transportation means and a probe on the road surface through Wi-Fi, and establishing connection with a display screen in the public transportation means and a smart watch of a user through Bluetooth.
Further, after step S23, the method further includes the steps of:
and receiving an instruction execution result returned by the intelligent watch of the user or a display screen in the public transport means.
Unlike the first embodiment, the step S23 further includes the steps of:
and receiving an instruction execution result returned by the intelligent watch of the user or a display screen in the public transport means.
After receiving the arrival reminding instruction sent by the mobile phone APP of the user, the display screen in the smart watch or the public transportation means carries out arrival reminding on the user according to the instruction, and the instruction execution result is fed back to the mobile phone APP no matter what the instruction execution result is, so that the mobile phone APP knows the instruction execution result, judges whether further operation is needed according to the instruction execution result, and delays the arrival reminding on the user due to the fact that the instruction is not normally executed possibly caused by system errors due to the smart watch and the display screen, feeds back the execution result in time, and the mobile phone APP of the user can timely send the arrival reminding instruction again, so that the smart watch or the display screen can accurately execute the arrival reminding instruction.
Compared with the first embodiment, the present embodiment has the following advantages:
And feeding back the result of instruction execution, so that the arrival reminding function is improved and more accurate.
Accordingly, there is also provided a system for reminding arrival of a public transportation means, as shown in fig. 4, comprising:
A first receiving module 20, configured to receive a destination site selected by a user;
a first judging module 21, configured to judge whether a destination site selected by a user is about to be reached;
The second receiving module 22 is configured to receive current state information of the user sent by the camera in the public transportation means and the probe on the road surface when the destination site selected by the user is to be reached;
a second judging module 23, configured to judge whether the current state of the user is a closed-eye rest;
and the sending module 24 is used for sending the station reminding instruction to the intelligent watch of the user or the display screen in the public transportation tool.
Further, the method further comprises the following steps:
An acquisition module 25 for acquiring real-time location data of the public transportation means.
Further, the method further comprises the following steps:
And a third judging module 26, configured to judge the gaze direction of the user when the current state of the user is a non-eye-closure rest.
Further, the method further comprises the following steps:
the Wi-Fi module 27 is used for establishing connection with a camera in the public transport means and a probe on the road surface through Wi-Fi;
The bluetooth module 28 is used for establishing connection with the display screen in the public transportation means and the smart watch of the user through bluetooth.
Further, the method further comprises the following steps:
and the third receiving module 29 is configured to receive an instruction execution result returned by the smart watch of the user or the display screen in the public transportation means.
Unlike the first embodiment, a third receiving module 29 is also included.
And the third receiving module 29 is configured to receive an instruction execution result returned by the smart watch of the user or the display screen in the public transportation means.
After the sending module 24 sends the arrival reminding instruction to the smart watch or the in-public-vehicle display screen of the user, the third receiving module 29 receives the instruction execution result returned by the smart watch or the in-public-vehicle display screen of the user.
And feeding back the result of instruction execution, so that the arrival reminding function is improved and more accurate.
The specific embodiments described herein are offered by way of example only to illustrate the spirit of the invention. Those skilled in the art may make various modifications or additions to the described embodiments or substitutions thereof without departing from the spirit of the invention or exceeding the scope of the invention as defined in the accompanying claims.