CN111210649A - Riding reminding method and device - Google Patents

Riding reminding method and device Download PDF

Info

Publication number
CN111210649A
CN111210649A CN202010023519.7A CN202010023519A CN111210649A CN 111210649 A CN111210649 A CN 111210649A CN 202010023519 A CN202010023519 A CN 202010023519A CN 111210649 A CN111210649 A CN 111210649A
Authority
CN
China
Prior art keywords
bus
reminding
identification information
target
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010023519.7A
Other languages
Chinese (zh)
Inventor
郭进毫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010023519.7A priority Critical patent/CN111210649A/en
Publication of CN111210649A publication Critical patent/CN111210649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application is suitable for the technical field of computers, and provides a riding reminding method and riding reminding equipment, which comprise the following steps: acquiring target bus gate identification information and target position information sent by a watch; acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information; and generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information. In the mode, based on the target bus line corresponding to the acquired target bus gate identification information and the target bus stop corresponding to the target position information, the preset reminding template is combined to generate the reminding information, the user is reminded based on the reminding information, the user can know the trip condition of the user in time, the parent can master the riding state of the child in time, and meanwhile, the interaction capacity between the intelligent wearable device and the user is improved.

Description

Riding reminding method and device
Technical Field
The application belongs to the technical field of computers, and particularly relates to a riding reminding method and riding reminding equipment.
Background
With the increasing maturity of the application of Near Field Communication (NFC) technology in public transportation and the increasing popularity of smart wearable devices, more and more smart wearable devices are equipped with the NFC technology. The intelligent wearable device supporting NFC can simulate a bus card, an entrance guard card and the like, and the function of using the intelligent wearable device to swipe a bus brake to take a bus is achieved.
However, the existing intelligent wearable device has an incomplete reminding function; therefore, a riding reminding method based on the intelligent wearable device is urgently needed, so that a user can know the self traveling condition in time, parents can master the riding state of a child in time, and meanwhile, the interaction capacity between the intelligent wearable device and the user is improved.
Disclosure of Invention
In view of this, the embodiment of the application provides a riding reminding method and device, which solve the problem that the reminding function of the existing intelligent wearable device is incomplete, so that a user can timely know the self traveling condition, parents can timely master the riding state of a child, and the interaction capability between the intelligent wearable device and the user is improved.
A first aspect of an embodiment of the present application provides a riding reminding method, including:
acquiring target bus gate identification information and target position information sent by a watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information;
generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
Further, the acquiring the target bus gate identification information and the target position information sent by the watch includes:
when the identification information of the target bus gate, which is sent by the watch, is obtained, a position obtaining request is sent to the watch based on the identification information of the watch;
and receiving the target position information fed back by the watch based on the position acquisition request.
Further, this application still includes: and establishing a corresponding relation between the gate identification information of each bus and each bus line.
Further, the establishing of the corresponding relationship between each piece of bus gate identification information and each bus line includes:
acquiring the bus gate identification information and the position information of any bus; the position information is information corresponding to the current position of any bus;
acquiring a bus stop corresponding to the position information;
acquiring a bus line corresponding to the bus stop point;
and determining the bus line corresponding to the bus gate identification information based on the bus line, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, based on the bus route, determining the bus route corresponding to the bus gate identification information, and associating the bus gate identification information with the bus route corresponding to the bus gate identification information includes:
and when detecting that the bus line corresponding to the bus stop point is one, associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, based on the bus route, determining the bus route corresponding to the bus gate identification information, and associating the bus gate identification information with the bus route corresponding to the bus gate identification information further includes:
when at least two bus lines corresponding to the bus stop points are detected, acquiring a bus stop point set; the bus stop set comprises bus stops where any bus passes;
and determining a bus line corresponding to the bus gate identification information based on the bus stop set, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, preset and remind the template including with the first warning template that the wrist-watch corresponds, generate reminding information based on target bus line, target bus stop and preset and remind the template, and remind including based on reminding information:
generating first reminding information based on the target bus line, the target bus stop and the first reminding template;
and sending the first reminding information to the watch based on the identification information of the watch.
Further, the preset reminding template further comprises a second reminding template corresponding to the terminal associated with the watch, and the reminding information is generated based on the target bus line, the target bus stop and the preset reminding template, and reminding based on the reminding information comprises the following steps:
generating second reminding information based on the target bus line, the target bus stop and the second reminding template;
and acquiring the identification information of the terminal, and sending the second reminding information to the terminal based on the identification information of the terminal.
A second aspect of an embodiment of the present invention provides a riding reminding apparatus, including:
the first acquisition unit is used for acquiring the target bus gate identification information and the target position information sent by the watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
the second acquisition unit is used for acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information;
the reminding unit is used for generating reminding information based on the target bus line, the target bus stop and a preset reminding template and carrying out reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
Further, the first obtaining unit is specifically configured to:
when the identification information of the target bus gate, which is sent by the watch, is obtained, a position obtaining request is sent to the watch based on the identification information of the watch;
and receiving the target position information fed back by the watch based on the position acquisition request.
Further, the apparatus further comprises:
and the establishing unit is used for establishing the corresponding relation between the gate identification information of each bus and each bus line.
Further, the establishing unit includes:
the third acquisition unit is used for acquiring the bus gate identification information and the position information of any bus; the position information is information corresponding to the current position of any bus;
the fourth acquisition unit is used for acquiring the bus stop corresponding to the position information;
the fifth acquiring unit is used for acquiring a bus line corresponding to the bus stop point;
and the determining unit is used for determining the bus line corresponding to the bus gate identification information based on the bus line and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, the determining unit is specifically configured to:
and when detecting that the bus line corresponding to the bus stop point is one, associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, the determining unit is specifically configured to:
when at least two bus lines corresponding to the bus stop points are detected, acquiring a bus stop point set; the bus stop set comprises bus stops where any bus passes;
and determining a bus line corresponding to the bus gate identification information based on the bus stop set, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, preset and remind the template include with the first warning template that the wrist-watch corresponds, remind the unit and specifically be used for:
generating first reminding information based on the target bus line, the target bus stop and the first reminding template;
and sending the first reminding information to the watch based on the identification information of the watch.
Further, the preset reminding template further comprises a second reminding template corresponding to the terminal associated with the watch, and the reminding unit is specifically configured to:
generating second reminding information based on the target bus line, the target bus stop and the second reminding template;
and acquiring the identification information of the terminal, and sending the second reminding information to the terminal based on the identification information of the terminal.
A third aspect of the embodiments of the present invention provides another riding reminder device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the above method, where the computer program includes program instructions, and the processor is configured to call the program instructions and execute the following steps:
acquiring target bus gate identification information and target position information sent by a watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information;
generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
acquiring target bus gate identification information and target position information sent by a watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information;
generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
The riding reminding method and the riding reminding equipment provided by the embodiment of the application have the following beneficial effects:
according to the embodiment of the application, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information; and generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information. In the mode, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; then based on the target bus line that the target bus gate identification information that acquires corresponds to and the target bus stop that target position information corresponds, combine to predetermine again and remind the template and generate reminding information, remind the user based on this reminding information, can make the user in time know the trip condition of self, let father and mother in time master child's the state of riding, promote the interactive ability between intelligent wearing equipment and the user simultaneously.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a riding reminding method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a riding reminding method provided by the present application;
fig. 3 is a flowchart illustrating an implementation of a ride reminding method according to another embodiment of the present application;
FIG. 4 is a schematic view of a ride reminder device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a ride reminder device according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a vehicle taking reminding method according to an embodiment of the present invention. The main execution body of the riding reminding method in the embodiment is a riding reminding device, such as a watch server, a server, and the like, and the watch server is taken as an example in the embodiment for description. The riding reminding method shown in fig. 1 may include:
s101: acquiring target bus gate identification information and target position information sent by a watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch.
The wrist-watch in this embodiment supports the NFC function, and it can simulate out the non-contact radio frequency card that accords with the relevant standard of NFC, and then carries out data interaction with bus brake, realizes using the wrist-watch to punch the card and takes the bus. The NFC function of the watch can be started in advance, when a user presses the watch close to a gate of a bus to be taken (a target bus), the watch can acquire gate identification information of the target bus, and meanwhile the watch can acquire current position information (target position information) through built-in navigation software; the watch sends the acquired target bus gate identification information and the target position information to the watch server, and the watch server receives the target bus gate identification information and the target position information sent by the watch. The target bus gate identification information is used for uniquely identifying the bus, and is also acquired when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch; because the position information corresponding to the position where the current watch is located is the same as the position information corresponding to the position where the target bus is currently located, the target position information can also be regarded as the current position information of the target bus.
Further, the watch server acquires the target bus gate identification information and the target position information sent by the watch, wherein the NFC function of the watch is turned on in advance, when a user presses the watch close to a gate of a bus to be taken (a target bus), the watch acquires the target bus gate identification information, the watch sends the acquired target bus gate identification information to the watch server, and when the watch server receives the target bus gate identification information sent by the watch, the watch server sends a position acquisition request to the watch based on the identification information of the watch; when receiving a position acquisition request sent by a watch server, the watch acquires current position information (target position information) through built-in navigation software and feeds the acquired target position information back to the watch server; and the watch server receives target position information fed back by the watch based on the position acquisition request.
Further, in order to accurately and quickly acquire the gate identification information and the target location information of the target bus, S101 may include S1011-S1012, specifically as follows:
s1011: and when the identification information of the target bus gate, which is sent by the watch, is obtained, sending a position obtaining request to the watch based on the identification information of the watch.
And when the watch server acquires the identification information of the target bus gate, which is transmitted by the watch, the watch server transmits a position acquisition request to the watch based on the identification information of the watch. Specifically, the NFC function of the watch is started in advance, when a user presses the watch close to a gate of a bus (a target bus) to be taken, the watch can acquire identification information of the target bus gate, the watch sends the acquired identification information of the target bus gate to a watch server, and the watch server acquires the identification information of the watch when receiving the identification information of the target bus gate sent by the watch; the watch server sends a position acquisition request to the watch based on the identification information of the watch, wherein the position acquisition request is used for acquiring the current position information of the watch. The identification information of the watch can be used for uniquely identifying the watch, and the watch can carry the identification information of the watch when the identification information of the target bus gate is sent.
S1012: and receiving the target position information fed back by the watch based on the position acquisition request.
When receiving a position acquisition request sent by a watch server, the watch acquires current position information (target position information) through built-in navigation software and feeds the acquired target position information back to the watch server; and the watch server receives target position information fed back by the watch based on the position acquisition request.
S102: and acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information.
Different bus brake identification information and a bus line corresponding to each bus brake identification information are stored in the watch server in advance; the bus route can be understood as a bus number, such as a 1-way bus, a 5-way bus, a 2-way bus, and the like. When the watch server obtains the target bus gate identification information, the bus gate identification information which is the same as the target bus gate identification information can be searched, and then the target bus line corresponding to the bus gate identification information is searched. The watch server acquires the target bus stop corresponding to the target position information, wherein the target bus stop corresponding to the target position information is acquired by calling a navigation service; different position information and a bus route corresponding to each position information are stored in the watch server in advance, and when the watch server obtains the target position information, a target bus stop corresponding to the target position information is searched; the bus stop can be understood as a bus stop name, and the target bus stop is a bus stop name corresponding to the current stop position of the bus.
S103: generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
The watch server generates reminding information based on the target bus line, the target bus stop and the preset reminding template, and carries out reminding based on the reminding information. The preset reminding template can comprise a first reminding template corresponding to the watch and can also comprise a second reminding template corresponding to a terminal associated with the watch, and different reminding information is generated according to the target bus line, the target bus stop and different reminding templates; the reminding information is mainly used for reminding a user of a bus line and a bus stop when the user takes a bus; but different reminding functions can be played for different types of users according to different reminding information generated by different reminding templates. For example, first reminding information generated by combining a first reminding template corresponding to the watch is mainly used for reminding a current bus line and bus stop when a user taking a bus takes the bus; the second reminding information generated by combining a second reminding template corresponding to the terminal associated with the watch is mainly used for reminding a terminal user of the current riding state of the user using the watch; for example, the watch is used by a child, and the terminal (such as a mobile phone) associated with the watch is used by a parent of the child, at this time, the second reminding information can remind the parent of the child of the current specific riding state, so that the worry of the parent is avoided.
Further, in order to generate different pieces of reminder information for different types of users, different reminders are given, when the preset reminder template includes the first reminder template corresponding to the watch, S103 may include S1031-S1032, specifically as follows:
s1031: and generating first reminding information based on the target bus line, the target bus stop and the first reminding template.
The preset reminding template comprises a first reminding template corresponding to the watch, the first reminding template can be a preset character template, and the character template can be adjusted at any time. The watch server generates first reminding information based on the target bus line, the target bus stop and the first reminding template. For example, if the target bus route is 1 bus and the target bus stop is a city bus stop, the first reminding information generated based on the first reminding template may be: you ride a 1-way vehicle at a city station, which is only an exemplary illustration and is not limited to this. Further, the watch server may obtain a current time, and generate first reminding information based on the current time, the target bus route, the target bus stop, and the first reminding template. For example, the generated first reminder information may be: you 9 get a 1-way car at the city committee station, which is only an exemplary illustration and is not limited to this. The reminding of the joining time can enable the user to clearly master the current riding information of the user, and the user is prevented from missing important things due to unreasonable time arrangement.
S1032: and sending the first reminding information to the watch based on the identification information of the watch.
The watch server sends the first reminding information to the watch based on the identification information of the watch, and the watch can display the first reminding information on a display interface of the watch after receiving the first reminding information sent by the watch server, so that a user can conveniently check the first reminding information; the first reminding information can also be played in voice; the user can also be prompted by vibration and then displayed in the display interface of the watch.
Further, in order to generate different reminding information for different types of users and give different reminders, the preset reminding template further includes a second reminding template corresponding to a terminal associated with the watch, and at this time, S103 may further include S1033-S1034, which are specifically as follows:
s1033: and generating second reminding information based on the target bus line, the target bus stop and the second reminding template.
The preset reminding template further comprises a second reminding template corresponding to a terminal associated with the watch, the terminal is associated with the watch in advance, and the terminal can be an intelligent device such as a mobile phone and a tablet and can be associated with the watch, which is not limited to this. The second reminding template can be a preset character template which is different from the first reminding template, and the character template can be adjusted at any time. The watch server generates second reminding information based on the target bus line, the target bus stop and the second reminding template. For example, if the target bus route is 2 buses and the target bus stop is a scientific stop, the second reminding information generated based on the second reminding template may be: your children/family ride 2-way vehicles at a scientific station, which is only an exemplary illustration and is not limited thereto. Further, the watch server may obtain the current time, and generate second reminding information based on the current time, the target bus route, the target bus stop, and the second reminding template. For example, the generated second reminder information may be: your children/family 8 take 2-way vehicles at the scientific station, which is only an exemplary illustration and is not limited thereto.
S1034: and acquiring the identification information of the terminal, and sending the second reminding information to the terminal based on the identification information of the terminal.
The watch server acquires the identification information of the terminal and sends the second reminding information to the terminal based on the identification information of the terminal. Specifically, the watch server sends a terminal identification information acquisition request based on identification information of the watch, the watch feeds back identification information of the terminal to the watch server based on the terminal identification information acquisition request, and the watch server sends second reminding information to the terminal based on the identification information of the terminal. After receiving the second reminding information sent by the watch server, the terminal can display the second reminding information on a display interface of the terminal, so that a user can conveniently check the second reminding information; the second reminding information can also be played in voice; the user can be prompted by vibration and then displayed in a display interface of the terminal. The user of the terminal can know the current riding state of the child/family according to the second reminding information in time, so that the safety of the child/family is effectively guaranteed, and the interaction capacity between the watch and the user is further improved.
Referring to fig. 2, fig. 2 is a schematic view of an application scenario of a riding reminding method and a riding reminding device provided in an embodiment of the present invention. In the application scenario diagram shown in fig. 2, the watch, the terminal, and the watch server may interact with each other. For example, the watch sends the acquired identification information and the target position information of the target bus brake to the watch server, the watch server sends the generated reminding information to the watch or the terminal, and data interaction can be performed between the watch and the terminal.
According to the embodiment of the application, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information; and generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information. In the mode, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; then, based on a target bus line corresponding to the acquired target bus gate identification information and a target bus stop corresponding to the target position information, a preset reminding template is combined to generate reminding information, and a user is reminded based on the reminding information, so that the user can know the self travel condition in time; further, different reminding information can be generated for different types of users, so that different reminding can be performed, and the current riding user can know the travel condition of the current riding user in time; let terminal user in time master child, the state of riding by bus of family like father and mother, family, ensure family's trip safety, promote the interactive ability between intelligent wearing equipment and the user simultaneously.
Referring to fig. 3, fig. 3 is a schematic flow chart of a vehicle taking reminding method according to another embodiment of the present invention. The main execution body of the riding reminding method in the embodiment is a riding reminding device, such as a watch server, a server, and the like, and the watch server is taken as an example in the embodiment for description.
The difference between this embodiment and the previous embodiment is S202, in this embodiment, S201, S203-S204 are completely the same as S101, S102-S103 in the previous embodiment, and specific reference is made to the description of S101, S102-S103 in the previous embodiment, which is not repeated herein.
Further, the corresponding relation between each bus gate identification information and each bus line is pre-established, so that the target bus line corresponding to the target bus gate identification information can be ensured to be quickly obtained, and then the reminding information can be quickly and accurately generated, and S202 can be further included before S203, specifically as follows:
s202: and establishing a corresponding relation between the gate identification information of each bus and each bus line.
The watch server establishes a corresponding relation between each bus gate identification information and each bus line in advance, and stores the corresponding relation into a database. Specifically, data acquisition may be performed to a bus management department, gate identification information of each bus is acquired, a bus route of each bus is correspondingly acquired, and a corresponding relationship between the gate identification information of the bus and the bus route is established. Or acquiring the bus gate identification information and the position information of any bus; acquiring a bus stop corresponding to the position information; acquiring a bus line corresponding to the bus stop point; and determining the bus route corresponding to the bus gate identification information based on the bus route, and associating the bus gate identification information with the bus route corresponding to the bus gate identification information.
Further, in order to quickly and accurately establish a corresponding relationship between each piece of bus gate identification information and each bus route, S202 may include S2021-S2024, specifically as follows:
s2021: acquiring the bus gate identification information and the position information of any bus; the position information is information corresponding to the current position of any bus.
The method comprises the steps that a watch server obtains bus gate identification information and position information of any bus; the position information is information corresponding to the current position of any bus. At the moment, the bus gate monitoring method belongs to a data collection stage, bus gate identification information and position information of any bus can be obtained by monitoring at a bus management background, and when the fact that someone uses a watch to swipe a card to take a bus is monitored, the bus gate identification information and the position information of the background submitted by the bus are collected.
S2022: and acquiring a bus stop corresponding to the position information.
And the watch server acquires the bus stop corresponding to the position information. Specifically, the watch server calls navigation services when acquiring the position information, the navigation services include bus stops corresponding to various positions in advance, and the bus stops corresponding to the position information can be acquired by calling the navigation services.
S2023: and acquiring a bus line corresponding to the bus stop point.
And the watch server acquires the bus route corresponding to the bus stop point. Because the different bus lines can pass through the same bus stop, the result that one bus stop just corresponds to one bus line or one bus stop corresponds to a plurality of bus lines can occur.
S2024: and determining the bus line corresponding to the bus gate identification information based on the bus line, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
The watch server determines a bus line corresponding to the bus gate identification information according to the bus line corresponding to the bus stop point, and associates the bus gate identification information with the bus line corresponding to the bus gate identification information. Specifically, when the obtained bus line corresponding to the bus stop point is one, it is proved that the bus line corresponding to the bus is already clear at the moment, that is, the gate identification information of the bus corresponds to the bus line corresponding to the bus stop point, and the watch server associates the gate identification information of the bus with the bus line corresponding to the gate identification information of the bus. When the number of the bus lines corresponding to the acquired bus stops is multiple, other bus stops which can prove which bus line the bus is are need to be acquired, the bus line corresponding to the bus is determined according to the acquired other bus stops, and then the bus gate identification information is associated with the bus line corresponding to the bus gate identification information. Although different bus lines have the same bus stop, the bus stops are different bus lines, and the bus stops capable of identifying each bus line always exist; and more bus stops of the bus can be obtained until the bus route corresponding to the bus is judged. Further, when acquiring other bus stops which can prove that the bus is in which bus line, because the bus gate identification information of the bus is already determined, different position information of the bus can be continuously acquired based on the bus gate identification information; when receiving the bus gate identification information and the position information sent by different watches, the bus gate identification information processing method obtains the position information with the same bus gate identification information, determines different bus stops according to the position information, and then determines the bus line corresponding to the bus according to the different bus stops.
Further, when the bus route corresponding to the bus stop point is obtained, different results can be obtained. Executing S20241 when the bus line corresponding to the bus stop point is acquired as one bus line; executing S20242-S20243 when at least two bus lines corresponding to the bus stop points are acquired; the method comprises the following specific steps:
s20241: and when detecting that the bus line corresponding to the bus stop point is one, associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
When the bus line corresponding to the acquired bus stop point is one, the bus line corresponding to the bus is proved to be clear at the moment, namely the gate identification information of the bus corresponds to the bus line corresponding to the bus stop point, and the watch server associates the gate identification information of the bus with the bus line corresponding to the gate identification information of the bus.
S20242: when at least two bus lines corresponding to the bus stop points are detected, acquiring a bus stop point set; the bus stop set comprises bus stops where any bus passes.
When the number of the bus routes corresponding to the obtained bus stops is at least two, other bus stops which can prove which bus route the bus belongs to are also needed to be obtained, and the bus route corresponding to the bus is determined according to the obtained other bus stops. Specifically, a bus stop set can be obtained, wherein the bus stop set comprises bus stops where any bus passes through; the method can acquire different position information of the bus, and can be understood as acquiring each stop place of the bus so as to acquire the bus stop where the bus passes. It is worth to be noted that what the bus route corresponding to the bus is to be determined finally, it is not necessarily determined until all bus stops where the bus passes are known, and some buses may only need a few bus stops to determine the bus route corresponding to the bus stop.
S20243: and determining a bus line corresponding to the bus gate identification information based on the bus stop set, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
The watch server determines a bus line corresponding to the bus gate identification information based on the bus stop set, and associates the bus gate identification information with the bus line corresponding to the bus gate identification information. Specifically, the bus stop in the bus stop set is a bus stop through which any bus passes, that is, which bus route the bus passes can be determined according to the bus stop in the bus stop set. And after the bus route corresponding to the bus gate identification information is determined, the watch server associates the bus gate identification information with the bus route corresponding to the bus gate identification information.
According to the embodiment of the application, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information; and generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information. In the mode, the bus taking reminding device acquires the target bus gate identification information and the target position information which are sent by the watch; then, based on a target bus line corresponding to the acquired target bus gate identification information and a target bus stop corresponding to the target position information, a preset reminding template is combined to generate reminding information, and a user is reminded based on the reminding information, so that the user can know the self travel condition in time; further, different reminding information can be generated for different types of users, so that different reminding can be performed, and the current riding user can know the travel condition of the current riding user in time; let terminal user in time master child, the state of riding by bus of family like father and mother, family, ensure family's trip safety, promote the interactive ability between intelligent wearing equipment and the user simultaneously.
Referring to fig. 4, fig. 4 is a schematic view of a riding reminder device according to an embodiment of the present application. The device comprises units for performing the steps in the embodiments corresponding to fig. 1 and 3. Please refer to the related description of the embodiments corresponding to fig. 1 and fig. 3. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, including:
the first obtaining unit 310 is used for obtaining the target bus gate identification information and the target position information sent by the watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
a second obtaining unit 320, configured to obtain a target bus route corresponding to the target bus brake identification information, and obtain a target bus stop corresponding to the target position information;
the reminding unit 330 is configured to generate reminding information based on the target bus line, the target bus stop and a preset reminding template, and remind based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
Further, the first obtaining unit 310 is specifically configured to:
when the identification information of the target bus gate, which is sent by the watch, is obtained, a position obtaining request is sent to the watch based on the identification information of the watch;
and receiving the target position information fed back by the watch based on the position acquisition request.
Further, the apparatus further comprises:
and the establishing unit is used for establishing the corresponding relation between the gate identification information of each bus and each bus line.
Further, the establishing unit includes:
the third acquisition unit is used for acquiring the bus gate identification information and the position information of any bus; the position information is information corresponding to the current position of any bus;
the fourth acquisition unit is used for acquiring the bus stop corresponding to the position information;
the fifth acquiring unit is used for acquiring a bus line corresponding to the bus stop point;
and the determining unit is used for determining the bus line corresponding to the bus gate identification information based on the bus line and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, the determining unit is specifically configured to:
and when detecting that the bus line corresponding to the bus stop point is one, associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, the determining unit is specifically configured to:
when at least two bus lines corresponding to the bus stop points are detected, acquiring a bus stop point set; the bus stop set comprises bus stops where any bus passes;
and determining a bus line corresponding to the bus gate identification information based on the bus stop set, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
Further, the preset reminding template includes a first reminding template corresponding to the watch, and the reminding unit 330 is specifically configured to:
generating first reminding information based on the target bus line, the target bus stop and the first reminding template;
and sending the first reminding information to the watch based on the identification information of the watch.
Further, the preset reminding template further includes a second reminding template corresponding to the terminal associated with the watch, and the reminding unit 330 is specifically configured to:
generating second reminding information based on the target bus line, the target bus stop and the second reminding template;
and acquiring the identification information of the terminal, and sending the second reminding information to the terminal based on the identification information of the terminal.
Referring to fig. 5, fig. 5 is a schematic view of a ride reminder device according to another embodiment of the present application. As shown in fig. 5, the apparatus 4 of this embodiment includes: a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer readable instructions 42, the steps in each of the above embodiments of the ride reminder method, for example, S101 to S103 shown in fig. 1, are implemented. Alternatively, the processor 40, when executing the computer readable instructions 42, implements the functions of the units in the embodiments described above, such as the functions of the units 310 to 330 shown in fig. 4.
Illustratively, the computer readable instructions 42 may be divided into one or more units, which are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more elements may be a series of computer readable instruction segments capable of performing certain functions, which are used to describe the execution of the computer readable instructions 42 in the device 4. For example, the computer readable instructions 42 may be divided into a first acquisition unit, a second acquisition unit, and a reminder unit, each unit functioning as described above.
The apparatus may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 5 is merely an example of a device 4 and does not constitute a limitation of device 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the device may also include input output components, network access components, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the device 4, such as a hard disk or a memory of the device 4. The memory 41 may also be an external storage device of the device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device 4. Further, the memory 41 may also comprise both an internal storage unit and an external storage of the device 4. The memory 41 is used to store the computer readable instructions and other programs and data required by the device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not cause the essential features of the corresponding technical solutions to depart from the spirit scope of the technical solutions of the embodiments of the present application, and are intended to be included within the scope of the present application.

Claims (10)

1. A riding reminding method is applied to a watch server and comprises the following steps:
acquiring target bus gate identification information and target position information sent by a watch; the target bus gate identification information is information collected when the watch brushes the gate of the current bus through NFC; the target position information is the current position information of the watch;
acquiring a target bus route corresponding to the target bus brake identification information and acquiring a target bus stop corresponding to the target position information;
generating reminding information based on the target bus line, the target bus stop and a preset reminding template, and reminding based on the reminding information; the reminding information is used for reminding the user of the bus line and the bus stop when the user takes a bus.
2. A bus taking reminding method as defined in claim 1, wherein the obtaining of the target bus gate identification information and the target location information sent by the watch comprises:
when the identification information of the target bus gate, which is sent by the watch, is obtained, a position obtaining request is sent to the watch based on the identification information of the watch;
and receiving the target position information fed back by the watch based on the position acquisition request.
3. A bus taking reminding method as defined in claim 1, wherein before the obtaining of the target bus route corresponding to the target bus brake identification information and the obtaining of the target bus stop corresponding to the target position information, further comprising:
and establishing a corresponding relation between the gate identification information of each bus and each bus line.
4. A bus taking reminding method as claimed in claim 3, wherein the establishing of the correspondence between each bus gate identification information and each bus route comprises:
acquiring the bus gate identification information and the position information of any bus; the position information is information corresponding to the current position of any bus;
acquiring a bus stop corresponding to the position information;
acquiring a bus line corresponding to the bus stop point;
and determining the bus line corresponding to the bus gate identification information based on the bus line, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
5. A bus taking reminding method as defined in claim 4, wherein the determining the bus route corresponding to the bus gate identification information based on the bus route and the associating the bus gate identification information with the bus route corresponding to the bus gate identification information comprises:
and when detecting that the bus line corresponding to the bus stop point is one, associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
6. A bus taking reminding method as defined in claim 4, wherein the determining the bus route corresponding to the bus gate identification information based on the bus route and associating the bus gate identification information with the bus route corresponding to the bus gate identification information further comprises:
when at least two bus lines corresponding to the bus stop points are detected, acquiring a bus stop point set; the bus stop set comprises bus stops where any bus passes;
and determining a bus line corresponding to the bus gate identification information based on the bus stop set, and associating the bus gate identification information with the bus line corresponding to the bus gate identification information.
7. A riding prompt method according to any one of claims 1 to 6, wherein the preset prompt template comprises a first prompt template corresponding to the watch, and the generating of the prompt information based on the target bus route, the target bus stop and the preset prompt template and the prompting based on the prompt information comprises:
generating first reminding information based on the target bus line, the target bus stop and the first reminding template;
and sending the first reminding information to the watch based on the identification information of the watch.
8. A bus taking reminding method according to claim 7, wherein the preset reminding template further comprises a second reminding template corresponding to a terminal associated with the watch, and the generating of the reminding information based on the target bus route, the target bus stop and the preset reminding template and the reminding based on the reminding information comprises:
generating second reminding information based on the target bus line, the target bus stop and the second reminding template;
and acquiring the identification information of the terminal, and sending the second reminding information to the terminal based on the identification information of the terminal.
9. A ride reminder device comprising a memory, a processor and computer readable instructions stored in the memory and executable on the processor, wherein the processor when executing the computer readable instructions implements the method of any of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN202010023519.7A 2020-01-09 2020-01-09 Riding reminding method and device Pending CN111210649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010023519.7A CN111210649A (en) 2020-01-09 2020-01-09 Riding reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010023519.7A CN111210649A (en) 2020-01-09 2020-01-09 Riding reminding method and device

Publications (1)

Publication Number Publication Date
CN111210649A true CN111210649A (en) 2020-05-29

Family

ID=70788820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010023519.7A Pending CN111210649A (en) 2020-01-09 2020-01-09 Riding reminding method and device

Country Status (1)

Country Link
CN (1) CN111210649A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820102A (en) * 2020-12-30 2021-05-18 支付宝(杭州)信息技术有限公司 Bus taking reminding method and device for public transport vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886742A (en) * 2014-03-27 2014-06-25 深圳市九洲电器有限公司 Method and system for reminding passenger to take bus
CN104574654A (en) * 2014-12-22 2015-04-29 常州大学 Intelligent bus card swiping management system and method
CN105608921A (en) * 2015-12-30 2016-05-25 广州三星通信技术研究有限公司 Method and equipment for prompting public transport line in electronic device
CN105974861A (en) * 2016-03-21 2016-09-28 江苏智通交通科技有限公司 RFID-based public transport vehicle passenger safety monitoring system and method
CN106716068A (en) * 2016-11-23 2017-05-24 深圳前海达闼云端智能科技有限公司 Route planning method, device and equipment
CN107339999A (en) * 2017-06-28 2017-11-10 维沃移动通信有限公司 A kind of information prompting method and mobile terminal
CN108053677A (en) * 2017-12-07 2018-05-18 汤庆佳 A kind of intelligent public transportation system based on Quick Response Code
CN109448313A (en) * 2018-09-26 2019-03-08 北京小米移动软件有限公司 Vehicle identification method, device, equipment and storage medium
CN109862540A (en) * 2017-11-30 2019-06-07 北京嘀嘀无限科技发展有限公司 Information cuing method, equipment and system
CN209486705U (en) * 2018-12-06 2019-10-11 广东超群信息科技有限公司 A kind of smart city man school leads to management system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886742A (en) * 2014-03-27 2014-06-25 深圳市九洲电器有限公司 Method and system for reminding passenger to take bus
CN104574654A (en) * 2014-12-22 2015-04-29 常州大学 Intelligent bus card swiping management system and method
CN105608921A (en) * 2015-12-30 2016-05-25 广州三星通信技术研究有限公司 Method and equipment for prompting public transport line in electronic device
CN105974861A (en) * 2016-03-21 2016-09-28 江苏智通交通科技有限公司 RFID-based public transport vehicle passenger safety monitoring system and method
CN106716068A (en) * 2016-11-23 2017-05-24 深圳前海达闼云端智能科技有限公司 Route planning method, device and equipment
CN107339999A (en) * 2017-06-28 2017-11-10 维沃移动通信有限公司 A kind of information prompting method and mobile terminal
CN109862540A (en) * 2017-11-30 2019-06-07 北京嘀嘀无限科技发展有限公司 Information cuing method, equipment and system
CN108053677A (en) * 2017-12-07 2018-05-18 汤庆佳 A kind of intelligent public transportation system based on Quick Response Code
CN109448313A (en) * 2018-09-26 2019-03-08 北京小米移动软件有限公司 Vehicle identification method, device, equipment and storage medium
CN209486705U (en) * 2018-12-06 2019-10-11 广东超群信息科技有限公司 A kind of smart city man school leads to management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820102A (en) * 2020-12-30 2021-05-18 支付宝(杭州)信息技术有限公司 Bus taking reminding method and device for public transport vehicle

Similar Documents

Publication Publication Date Title
CN108344417A (en) A kind of air navigation aid, navigation device method and mobile terminal
CN209248468U (en) Mobile device for the position monitoring based on state
CN105453069A (en) Situational crowd-sourced response system
TW201947478A (en) Affair assistance method and apparatus, and electronic device
CN109561132B (en) Information pushing method and device, server and terminal
CN108848274A (en) Message reminding method, device and equipment
CN105246031A (en) Information intelligence prompting method of terminal equipment and system
CN111210649A (en) Riding reminding method and device
CN109996188B (en) Method, device and equipment for reminding abnormal travel information
US20150242820A1 (en) Automated reminder system
CN112129303A (en) Film viewing schedule arranging method, arranging system, storage medium and electronic equipment
JP2022002121A (en) Emergency contact system
CN112396707B (en) Riding fee calculation method and device
CN113658026A (en) Information processing method, device, equipment and storage medium for emergency rescue
CN106991087A (en) A kind of method of distributed transactions, apparatus and system
EP3705997A2 (en) Method for providing routine and electronic device supporting same
CN114462563B (en) Transaction processing method, device, equipment and storage medium
CN110650245B (en) Reminding method, reminding device, mobile terminal and computer readable storage medium
EP1218847B1 (en) Method and device for interactive communication between a transport service offer and a request for same
CN113689015A (en) Ticket reminding processing method and device
CN104363295A (en) Bus seat-offering reminding system based on intelligent mobile and method for using bus seat-offering reminding system
CN113781837A (en) Riding safety implementation method, device, medium and electronic equipment
Desai et al. IoT based post crash assistance system
CN111826883A (en) Washing control method and device, washing machine and storage medium
CN113223319A (en) Method and device for reminding rail transit of arriving at station and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529