CN108920572B - Bus information processing method and mobile terminal - Google Patents
Bus information processing method and mobile terminal Download PDFInfo
- Publication number
- CN108920572B CN108920572B CN201810652700.7A CN201810652700A CN108920572B CN 108920572 B CN108920572 B CN 108920572B CN 201810652700 A CN201810652700 A CN 201810652700A CN 108920572 B CN108920572 B CN 108920572B
- Authority
- CN
- China
- Prior art keywords
- bus
- stop
- board image
- target
- bus number
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/42—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Aviation & Aerospace Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a bus information processing method and a mobile terminal, which are used for automatically determining the driving direction and position of a bus. The method comprises the following steps: acquiring stop name information of a target bus number corresponding to the bus stop board image based on the acquired bus stop board image; determining the driving direction of a target bus number based on the stop name information; and determining and displaying the vehicle position information of the target bus number running along the running direction, and realizing the automatic determination of the running direction and the position of the target bus number by the method.
Description
Technical Field
The invention relates to the field of mobile terminals, in particular to a public transportation information processing method and a mobile terminal.
Background
Along with the continuous development of public traffic system towards the modernization direction, when the user went on a journey at present, information such as bus route, bus road conditions and bus arrival condition can be inquired through mobile terminal's APP, have made things convenient for people's life greatly.
At present, when a user inquires bus information, the displayed bus information generally cannot autonomously determine the driving direction of the number of buses that the user expects to take, for example, when the user tries to check the uplink running condition of a 1-way bus, the running condition of the 1-way bus in the opposite downlink direction can be displayed frequently.
Disclosure of Invention
The embodiment of the invention provides a bus information processing method and a mobile terminal, which are used for automatically determining the driving direction and position of a bus.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for processing public transportation information is provided, which includes: acquiring stop name information of a target bus number corresponding to the bus stop board image based on the acquired bus stop board image; determining the driving direction of a target bus number based on the stop name information; and determining and displaying the vehicle position information of the target bus number running along the running direction.
In a second aspect, a mobile terminal is provided, including: the bus stop name information acquisition module is used for acquiring the bus stop name information of a target bus number corresponding to the bus stop board image based on the acquired bus stop board image; the driving direction determining module is used for determining the driving direction of the target bus number based on the stop name information; and the position information display module is used for determining and displaying the vehicle position information of the target bus number running along the running direction.
In a third aspect, a mobile terminal is provided, comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the invention, the stop name information of the target bus number corresponding to the bus stop board image is obtained based on the obtained bus stop board image, the driving direction of the target bus number is determined based on the stop name information, the position information of the target bus number is determined, and the automatic determination of the driving direction and the position of the target bus number is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of a bus information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a bus stop board image in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a bus stop board image template in accordance with an embodiment of the present invention;
FIG. 4 is a schematic view of displaying bus operation information on a bus stop board image in accordance with an embodiment of the present invention;
FIG. 5 is a schematic illustration of bus operation information displayed in one embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for processing public transportation information, including the following steps:
s110: and acquiring stop name information of the target bus number corresponding to the bus stop board image based on the acquired bus stop board image.
Since a bus stop board is generally arranged at each stop of the bus, the bus stop board image of the bus number can be obtained by shooting the bus stop boards.
The acquired bus stop board image generally comprises information of bus number, starting station name, terminal station name, current stop station name, stop names of all stops along the way, driving direction and the like, as shown in fig. 2, fig. 2 is a schematic diagram of the bus stop board image, and the bus number displayed at the upper left corner of the bus stop board image is road number; the originating station name is originating station 0; the terminal station name is the terminal station 6, the current stop station name is the stop station 4, the station names of the respective stops along the way are shown by arrows with reference to fig. 2, and information of the driving direction and the like.
In this embodiment, the bus stop board image of the bus number can be obtained by shooting through the mobile terminal, and certainly, in other embodiments, the bus stop board image can also be stored in the mobile terminal in advance, and the bus stop board image of the bus number can be obtained through searching.
As mentioned above, the bus stop board image generally includes information of bus number, start station name, end station name, current stop station name, stop names of all stops along the way, driving direction, and the like, so that the step can specifically acquire stop name information of the target bus number corresponding to the bus stop board image in an OCR (Optical Character Recognition) manner.
For example, in fig. 2, obtaining stop name information for a stop bus includes: an origination station 0 and a destination station 6; as another example, all stop name information for a bus is obtained in fig. 2: an origin station 0, a stop station 1, a stop station 2, a stop station 3, a stop station 4, a stop station 5, a terminal station 6.
In order to improve the execution efficiency of step S110 and improve the accuracy of the obtained stop name information, preferably, as an embodiment, step S110 may determine, according to an attribute of the bus stop image (for example, an aspect ratio of the bus stop image), a bus stop image template corresponding to the bus stop image from a plurality of pre-stored bus stop image templates;
and identifying the stop name information of the target bus number corresponding to the bus stop board image according to the position of the stop name information in the bus stop board image template corresponding to the bus stop board image.
Before the embodiment is executed, a plurality of bus stop image templates may be pre-stored, and the positions of the characters (stop names) in the bus stop image templates are determined, as shown in a first area 310 and a second area 320 in fig. 3, so that the bus stop image templates corresponding to the bus stop images are determined first, then the positions of the stop names in the bus stop images are determined according to the positions of the stop names in the bus stop image templates, and finally the stop name information in the bus stop images is obtained through OCR recognition according to the positions of the stop names in the bus stop images, so that the execution efficiency of the embodiment is improved, and the accuracy of the obtained stop name information is improved.
It should be noted that the bus stop board image acquired in step S110 may include a plurality of bus numbers at the same time, and the target bus number mentioned in this embodiment may be one of the plurality of bus numbers. Alternatively, the target bus number is a plurality of bus numbers passing through the current position, and since the bus stop board image acquired in step S110 is the bus stop board image of the current position, the plurality of bus numbers passing through the current position (the target bus number) also correspond to the bus stop board image acquired in step S110.
S120: and determining the driving direction of the target bus number based on the stop name information.
In step S110, stop name information is obtained, and the driving direction of the target bus may be obtained according to the sequence of the stop names. For example, in fig. 2, obtaining stop name information for a stop bus includes: the bus stop sign image comprises an initial station 0 and a terminal station 6, wherein the traveling direction of the bus corresponding to the bus stop sign image can be determined from the initial station 0 to the terminal station 6 when the initial station 0 is in front and the terminal station 6 is behind.
Of course, the step may also be performed by combining other information on the bus stop board image, such as the arrow direction in fig. 2, and the stop name information to determine the driving direction of the target bus, so as to improve the accuracy of the determined driving direction.
In addition, if the bus stop board image acquired in step S110 includes a plurality of bus stop board images shown in fig. 2 at the same time, the operations of step S110, step S120 and step S130 may be continuously executed according to the number of buses (i.e., the target number of buses) corresponding to the point position of the user on the screen of the mobile terminal.
Because the number of buses stopped at one bus stop is possibly more, the target number of buses can also be a plurality of numbers of buses passing through the current position, and at the moment, the step S120 specifically can be as follows: and determining the driving directions of the plurality of bus passes through the current position based on the stop name information according to the stored information of the plurality of bus passes through the current position. This embodiment can integrate in advance all bus number information (including the traffic direction) that each bus stop passed through, like this, the user need not to find the bus stop board of specific number, only needs to shoot through S110 and acquires arbitrary bus stop board image, can learn the direction of travel of all bus numbers through this place, avoids user one to seek bus stop board and waste time, is convenient for promote user experience.
S130: and determining and displaying the vehicle position information of the target bus number running along the running direction.
By determining and displaying the vehicle position information of the target bus number driven in the driving direction, the user can know the running condition of the target bus number more clearly, and the getting-on preparation is made in advance; meanwhile, the user can conveniently decide whether to take the target bus, and the user experience is improved. The vehicle position information of the target bus number can be specifically acquired from a server of a bus company.
According to the bus information processing method provided by the embodiment of the invention, the stop name information of the target bus number corresponding to the bus stop board image is obtained based on the obtained bus stop board image, the driving direction of the target bus number is determined based on the stop name information, the position information of the target bus number is determined, and the automatic determination of the driving direction and the position of the target bus number is realized.
Preferably, after determining and displaying the vehicle position information of the target bus number traveling in the traveling direction in the above embodiment, the embodiment may further include the steps of:
the estimated time for the target number of buses running in the running direction to reach the current position is determined and displayed based on the vehicle position information of the target number of buses running in the running direction, where only the target number of buses running in the running direction and before the current position may be considered, and the target number of buses running in the running direction but having passed through may not be considered.
By determining and displaying the vehicle position information of the target bus number running along the running direction and determining and displaying the estimated time for the target bus number running along the running direction to reach the current position, a user can know the running condition of the target bus number more clearly, and the getting-on preparation is made in advance; meanwhile, the user can conveniently decide whether to take the target bus, and the user experience is improved.
Optionally, as shown in fig. 2, a stop name is displayed on the bus stop board image acquired in step S110, where the vehicle position information of the target bus number traveling along the traveling direction is displayed specifically: displaying vehicle position information of a target bus number running along the running direction on the bus stop board image based on the position of a stop name displayed on the bus stop board image;
displaying the predicted time length of the target bus running along the running direction to reach the current position, wherein the predicted time length specifically comprises the following steps: and displaying the predicted time length of the target bus number running along the running direction to reach the current position on the bus stop board image based on the vehicle position information of the target bus number displayed on the bus stop board image.
In the above embodiment, referring to fig. 4 specifically, it is determined that one route-by-route bus is located at the stop 3, and when the time to reach the current position (stop 4) is expected to be 2 minutes, the identifier of one bus is displayed above the text stop 3, and the time to reach the current position is displayed in the identifier of the bus for 2 minutes;
and determining that another bus is positioned at the stop station 1, and predicting that the time reaching the current position (the stop station 4) is 30 minutes, displaying the identifier of one bus above the character stop station 1, and displaying the time reaching the current position in the identifier of the bus for 30 minutes.
This embodiment can utilize augmented reality technique, shows on bus stop board image and follows the vehicle position information of the target bus number that the traffic direction was gone shows simultaneously and follows the estimated duration that the target bus number that the traffic direction was gone arrived the current position, and convenience of customers looks over the operation information of target bus number, further promotes user experience.
Of course, in other embodiments, the vehicle position information of the target bus number running along the running direction may also be displayed in other areas of the mobile terminal by using characters, and the predicted time length for the target bus number running along the running direction to reach the current position may also be displayed at the same time, which may specifically refer to the display content of the display interface of fig. 5: one bus is located at stop 3, and the time to reach the current position (stop 4) is expected to be 2 minutes; another bus is located at stop 1 and is expected to reach the current location (stop 4) for 30 minutes.
In the above embodiments, after determining and displaying the predicted time length for the target bus running along the running direction to reach the current position, the following steps may be further included:
determining a payment mode of a target bus number running along the running direction; and when the preset duration is less than or equal to a preset value, reminding a user to open a payment page corresponding to the payment mode according to the payment mode.
The payment display method provided by the above embodiment may be applied to a mobile terminal, and the payment method may include: near field communication NFC payment mode and two-dimensional code payment mode, wherein, remind the user to open the payment page that corresponds with payment mode according to payment mode includes: when the mobile terminal supports the NFC payment mode of the target bus number, reminding a user to open a payment page corresponding to the NFC payment mode; and when the mobile terminal does not support the NFC payment mode of the target bus number, reminding a user to open a payment page corresponding to the two-dimensional code payment mode.
The specific implementation process may be as follows:
and when the predicted time for the target bus running along the running direction to reach the current position is less than or equal to a preset value, judging whether the current mobile terminal supports an NFC payment mode.
If the current mobile terminal supports an NFC payment mode, judging whether the current mobile terminal is bound with a bus card at the current location (such as the current city), and if the current mobile terminal is bound with the bus card at the current location, opening an NFC payment page to prepare for payment; if the current mobile terminal is not bound with the bus card at the current location, popping up a two-dimensional code payment page;
and if the current mobile terminal does not support the NFC payment mode, directly popping up a two-dimensional code payment page.
The payment page displaying mode can also be adjusted according to the use habits of the user, for example, although the mobile terminal of the user supports the NFC payment mode and is bound with a bus card at the current location, the user selects to open the two-dimensional code for payment several times continuously, and then the two-dimensional code payment page is popped up by default subsequently.
If the mobile terminal of the user does not open the NFC payment mode and the two-dimensional code payment, prompting the user to open a bus card bound with the NFC at the current location or open the two-dimensional code payment mode according to the condition that the local bus supports the payment mode.
According to the embodiment, the bus stop board image is shot through the camera, the bus direction is finally judged by utilizing the image recognition and OCR technologies, and the method is combined with the existing bus taking payment mode, so that the whole bus taking application scene is smoother and more natural.
The bus information processing method according to the embodiment of the invention is described in detail above with reference to fig. 1 to 5. A mobile terminal according to an embodiment of the present invention will be described in detail with reference to fig. 6, and fig. 6 is a schematic structural diagram of a mobile terminal 600 according to an embodiment of the present invention. As shown in fig. 6, the mobile terminal 600 includes:
a stop name information obtaining module 601, configured to obtain stop name information of a target bus number corresponding to an obtained bus stop board image based on the obtained bus stop board image;
a driving direction determining module 602, configured to determine a driving direction of a target bus number based on the stop name information;
and the position information display module 603 is configured to determine and display vehicle position information of the target bus number corresponding to the bus stop board image.
In the embodiment of the invention, the stop name information of the target bus number corresponding to the bus stop board image is obtained based on the obtained bus stop board image, the driving direction of the target bus number is determined based on the stop name information, the position information of the target bus number is determined, and the automatic determination of the driving direction and the position of the target bus number is realized.
Optionally, as an embodiment, the terminal further includes: and the duration display module is used for determining and displaying the predicted duration of the target bus number running along the running direction to the current position based on the vehicle position information of the target bus number running along the running direction.
Optionally, as an embodiment, the position information displaying module 603 is configured to display, on the bus stop board image, vehicle position information of a target bus number traveling in the traveling direction based on a position of a stop name displayed on the bus stop board image;
and the duration display module is used for displaying the estimated duration of the target bus number running along the running direction to the current position on the bus stop board image based on the vehicle position information of the target bus number displayed on the bus stop board image.
Optionally, as an embodiment, the stop name information obtaining module 601 is configured to determine, according to an attribute of the bus stop board image, a bus stop board image template corresponding to the bus stop board image from a plurality of pre-stored bus stop board image templates;
and identifying the stop name information of the target bus number corresponding to the bus stop board image according to the position of the stop name information in the bus stop board image template corresponding to the bus stop board image.
Optionally, as an embodiment, the terminal further includes: the payment page display module is used for determining the payment mode of the target bus number running along the running direction; and when the preset duration is less than or equal to a preset value, displaying a payment page corresponding to the payment mode.
The mobile terminal according to the embodiment of the present invention may refer to the flow of the public transportation information processing method corresponding to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the mobile terminal are respectively for implementing the corresponding flow in the public transportation information processing method, and are not described herein again for brevity.
Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to obtain stop name information of a target bus number corresponding to an obtained bus stop image based on the obtained bus stop image; determining the driving direction of a target bus number based on the stop name information; and determining and displaying the vehicle position information of the target bus number running along the running direction.
In the embodiment of the invention, the stop name information of the target bus number corresponding to the bus stop board image is obtained based on the obtained bus stop board image, the driving direction of the target bus number is determined based on the stop name information, the position information of the target bus number is determined, and the automatic determination of the driving direction and the position of the target bus number is realized.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement the processes of the method embodiments shown in fig. 1 to fig. 5, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiments shown in fig. 1 to 5, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (9)
1. A public transportation information processing method is characterized by comprising the following steps:
acquiring a bus stop board image, wherein the bus stop board image simultaneously comprises a plurality of bus stop boards, and determining a bus stop board image template corresponding to the bus stop board image from a plurality of pre-stored bus stop board image templates based on the attribute of the bus stop board image; identifying the bus number and the stop name information corresponding to the bus stop board image based on the position of the stop name information in the bus stop board image template corresponding to the bus stop board image, determining the bus number corresponding to the point position of a user on a screen of a mobile terminal as a target bus number, and acquiring the stop name information of the target bus number corresponding to the bus stop board image based on the bus stop board image;
determining the driving direction of a target bus number based on the stop name information;
determining and displaying vehicle position information of a target bus number running along the running direction;
when the target bus number is a plurality of bus numbers passing through the current position, the driving direction of the target bus number is determined based on the stop name information, and the method specifically comprises the following steps: and determining the driving directions of the plurality of bus passes through the current position based on the stop name information according to the stored information of the plurality of bus passes through the current position.
2. The method of claim 1, wherein after determining and displaying vehicle location information for a target bus number driven in the direction of travel, the method further comprises:
and determining and displaying the predicted time length for the target bus number running along the running direction to reach the current position based on the vehicle position information of the target bus number running along the running direction.
3. The method as claimed in claim 2, wherein said displaying vehicle location information for a target bus number driven in said driving direction comprises: displaying vehicle position information of a target bus number running along the running direction on the bus stop board image based on the position of a stop name displayed on the bus stop board image;
the display of the estimated time for the target bus running along the running direction to reach the current position comprises the following steps: and displaying the predicted time length of the target bus number running along the running direction to reach the current position on the bus stop board image based on the vehicle position information of the target bus number displayed on the bus stop board image.
4. The method of claim 2, wherein after determining and displaying an expected length of time for a target bus trip in the direction of travel to reach the current location, the method further comprises:
determining a payment mode of a target bus number running along the running direction;
and when the expected duration is less than or equal to a preset value, displaying a payment page corresponding to the payment mode.
5. A mobile terminal, comprising:
the system comprises a stop station name information acquisition module, a stop station image acquisition module and a stop station image acquisition module, wherein the stop station image acquisition module is used for acquiring a plurality of bus stop plates, and the bus stop plate image acquisition module determines a bus stop plate image template corresponding to the bus stop plate image in a plurality of pre-stored bus stop plate image templates based on the attributes of the bus stop plate image; identifying the bus number and the stop name information corresponding to the bus stop board image based on the position of the stop name information in the bus stop board image template corresponding to the bus stop board image, determining the bus number corresponding to the point position of a user on a screen of a mobile terminal as a target bus number, and acquiring the stop name information of the target bus number corresponding to the bus stop board image based on the bus stop board image;
the driving direction determining module is used for determining the driving direction of the target bus number based on the stop name information;
the position information display module is used for determining and displaying the vehicle position information of the target bus number running along the running direction;
and when the target bus number is a plurality of bus numbers passing through the current position, the driving direction determining module is specifically used for determining the driving directions of the plurality of bus numbers passing through the current position based on the stop name information according to the stored information of the plurality of bus numbers passing through the current position.
6. The terminal of claim 5, wherein the terminal further comprises:
and the duration display module is used for determining and displaying the predicted duration of the target bus number running along the running direction to the current position based on the vehicle position information of the target bus number running along the running direction.
7. The terminal of claim 6,
the position information display module is used for displaying the vehicle position information of the target bus number running along the running direction on the bus stop board image based on the position of the stop name displayed on the bus stop board image;
and the duration display module is used for displaying the estimated duration of the target bus number running along the running direction to the current position on the bus stop board image based on the vehicle position information of the target bus number displayed on the bus stop board image.
8. The terminal of claim 6, wherein the terminal further comprises:
the payment page display module is used for determining a payment mode of the target bus number running along the running direction after the expected time length of the target bus number running along the running direction reaching the current position is determined and displayed;
and when the expected duration is less than or equal to a preset value, displaying a payment page corresponding to the payment mode.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652700.7A CN108920572B (en) | 2018-06-22 | 2018-06-22 | Bus information processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652700.7A CN108920572B (en) | 2018-06-22 | 2018-06-22 | Bus information processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108920572A CN108920572A (en) | 2018-11-30 |
CN108920572B true CN108920572B (en) | 2021-01-08 |
Family
ID=64420471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810652700.7A Active CN108920572B (en) | 2018-06-22 | 2018-06-22 | Bus information processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108920572B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020149476A (en) * | 2019-03-14 | 2020-09-17 | トヨタ自動車株式会社 | Program, information processing device, and control method |
CN112129307B (en) * | 2020-09-28 | 2022-10-11 | 北京百度网讯科技有限公司 | Method and device for generating bus route information, electronic equipment and storage medium |
CN112434697A (en) * | 2020-11-20 | 2021-03-02 | 北京百度网讯科技有限公司 | Method, apparatus, device and storage medium for outputting information |
CN114158119B (en) * | 2021-12-09 | 2024-03-01 | 北京百度网讯科技有限公司 | Driving direction identification method and device, electronic equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106410A (en) * | 2013-01-10 | 2013-05-15 | 北京万集科技股份有限公司 | Method and system for achieving intelligent bus stop board |
CN103177030A (en) * | 2011-12-24 | 2013-06-26 | 富泰华工业(深圳)有限公司 | Referral information system and referral information method |
CN104361024A (en) * | 2014-10-22 | 2015-02-18 | 百度在线网络技术(北京)有限公司 | Bus information inquiring and feedback method, mobile terminal and server |
CN104468726A (en) * | 2014-11-06 | 2015-03-25 | 北京邮电大学 | City perceptual information system based on bus |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101067424B1 (en) * | 2008-07-28 | 2011-09-27 | 삼성전자주식회사 | A method for indicating traffic information is based on widget of mobile terminal and an apparatus thereof |
CN103794073A (en) * | 2012-11-03 | 2014-05-14 | 西安道恒交通设备科技有限公司 | System capable of displaying bus operation status at bus stop board |
CN104424812B (en) * | 2013-08-28 | 2017-10-13 | 中国电信股份有限公司 | A kind of public transport arrival time forecasting system and method |
JP6366280B2 (en) * | 2014-01-16 | 2018-08-01 | キヤノン株式会社 | Video signal determination apparatus, video signal determination method, and program |
US10409857B2 (en) * | 2014-07-29 | 2019-09-10 | Oath Inc. | Method and system of generating and using a geographical hierarchy model |
CN106327907A (en) * | 2016-11-16 | 2017-01-11 | 安徽省光阴碎片智能科技有限公司 | Bus arrival time estimation method |
CN106652560B (en) * | 2016-12-12 | 2019-05-14 | 珠海格力电器股份有限公司 | Road safety method and device |
-
2018
- 2018-06-22 CN CN201810652700.7A patent/CN108920572B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103177030A (en) * | 2011-12-24 | 2013-06-26 | 富泰华工业(深圳)有限公司 | Referral information system and referral information method |
CN103106410A (en) * | 2013-01-10 | 2013-05-15 | 北京万集科技股份有限公司 | Method and system for achieving intelligent bus stop board |
CN104361024A (en) * | 2014-10-22 | 2015-02-18 | 百度在线网络技术(北京)有限公司 | Bus information inquiring and feedback method, mobile terminal and server |
CN104468726A (en) * | 2014-11-06 | 2015-03-25 | 北京邮电大学 | City perceptual information system based on bus |
Also Published As
Publication number | Publication date |
---|---|
CN108920572A (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536365B (en) | Image sharing method and terminal | |
CN110636174B (en) | Bus code calling method and mobile terminal | |
CN108920572B (en) | Bus information processing method and mobile terminal | |
CN108924037B (en) | Display method of rich media communication RCS message and mobile terminal | |
CN109462885B (en) | Network slice registration method and terminal | |
CN109523253B (en) | Payment method and device | |
CN104518945B (en) | A kind of transmission, the methods, devices and systems of reception social network information | |
CN110456395B (en) | Positioning method and terminal equipment | |
CN107846518B (en) | Navigation state switching method, mobile terminal and computer readable storage medium | |
CN107734170B (en) | Notification message processing method, mobile terminal and wearable device | |
WO2019141130A1 (en) | Payment method and terminal device | |
CN107748640B (en) | Screen-off display method and mobile terminal | |
CN109062634B (en) | Application starting method and mobile terminal | |
CN107734172B (en) | Information display method and mobile terminal | |
CN108668328B (en) | Network switching method and mobile terminal | |
CN108282759B (en) | Service processing method and mobile communication terminal | |
US20180012428A1 (en) | Method, device, and system for processing vehicle diagnosis and information | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN110796438B (en) | Message sending method and mobile terminal | |
CN104917905B (en) | Processing method, terminal and the server of Stranger Calls | |
CN109151741B (en) | Multimedia message receiving method and terminal | |
CN109982273B (en) | Information reply method and mobile terminal | |
CN109005297B (en) | Display method of navigation application and mobile terminal | |
CN108366167B (en) | Message reminding method and mobile terminal | |
CN108196663B (en) | Face recognition method and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |