CN108986508B - Method and terminal for displaying route information - Google Patents

Method and terminal for displaying route information Download PDF

Info

Publication number
CN108986508B
CN108986508B CN201810825895.0A CN201810825895A CN108986508B CN 108986508 B CN108986508 B CN 108986508B CN 201810825895 A CN201810825895 A CN 201810825895A CN 108986508 B CN108986508 B CN 108986508B
Authority
CN
China
Prior art keywords
target
bus
bus route
information
image
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
Application number
CN201810825895.0A
Other languages
Chinese (zh)
Other versions
CN108986508A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810825895.0A priority Critical patent/CN108986508B/en
Publication of CN108986508A publication Critical patent/CN108986508A/en
Application granted granted Critical
Publication of CN108986508B publication Critical patent/CN108986508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096855Systems involving transmission of navigation instructions to the vehicle where the output is provided in a suitable form to the driver

Abstract

The embodiment of the invention discloses a method and a terminal for displaying route information, which are applied to the technical field of communication and can solve the problem that in the prior art, time is probably consumed for getting to a destination station according to a bus route selected by a passenger. The method comprises the following steps: receiving target input of a user on the image preview interface under the condition that the first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. The method is applied to a scene for displaying the route information.

Description

Method and terminal for displaying route information
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a terminal for displaying route information.
Background
When a passenger takes a bus to go from one stop (denoted as a source stop) to another stop (namely, a stop near a destination point, denoted as a destination stop), multiple bus routes which can be taken can be inquired in a bus stop board of the source stop, and in order to save time, the passenger usually selects the bus route (denoted as a first bus route) with fewer stops passing between the source stop and the destination stop. However, the time for the bus of the first bus route to reach the departure stop may be late, so that the passenger may wait for a long time at the source stop, and thus it may take a long time to get to the destination stop by taking the bus according to the bus route selected by the passenger.
Disclosure of Invention
The embodiment of the invention provides a method and a terminal for displaying route information, which are used for solving the problem that time is possibly consumed for getting to a destination station according to a bus route selected by a passenger in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for displaying route information is provided, and is applied to a terminal, and the method includes: receiving target input of a user on the image preview interface under the condition that the first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop.
In a second aspect, a terminal is provided, which includes: the device comprises a receiving module and a display module; the receiving module is used for receiving target input of a user on the image preview interface under the condition that the first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; the display module is used for responding to the target input received by the receiving module and displaying the first time information in the image preview interface; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop.
In a third aspect, a terminal is provided, the terminal comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the method of displaying route information according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of displaying route information according to the first aspect.
In the embodiment of the invention, under the condition that the image preview interface displays the first preview image, target input of a user on the image preview interface is received, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. According to the scheme, the first time information can be displayed in the image preview interface by receiving the target input of the user on the image preview interface, so that the time of the target bus route reaching the source station from the position of the target bus can be obtained according to the first time information on the image preview interface, and therefore when a passenger selects the bus route, the passenger can select the bus route which reaches the target station at the fastest speed by combining the number of stations which pass from the source station to the target station and the first time information, and the time consumed by taking a bus to the target station is shortened.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a first schematic diagram illustrating a method for displaying route information according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an interface for displaying first time information in an image preview interface by a terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a method for displaying route information according to an embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating a method for displaying route information according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an interface of a terminal displaying first time information and second time information in an image preview interface according to an embodiment of the present invention;
fig. 7 is a fourth schematic diagram illustrating a method for displaying route information according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an interface of a terminal displaying first time information and third time information in an image preview interface according to an embodiment of the present invention;
fig. 9 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a hardware schematic diagram of a terminal according to an embodiment 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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first time information and the second time information, etc. are for distinguishing different time information, not for describing a specific order of the time information.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the method for displaying route information according to the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for displaying route information provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for displaying route information may operate based on the android operating system shown in fig. 1. That is, the processor or the terminal may implement the method for displaying route information provided by the embodiment of the present invention by running the software program in the android operating system.
The embodiment of the invention provides a method and a terminal for displaying route information, wherein under the condition that a first preview image is displayed on an image preview interface, target input of a user on the image preview interface is received, and the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. According to the scheme, the first time information can be displayed in the image preview interface by receiving the target input of the user on the image preview interface, so that the time of the target bus route reaching the source station from the position of the target bus can be obtained according to the first time information on the image preview interface, and therefore when a passenger selects the bus route, the passenger can select the bus route which reaches the target station at the fastest speed by combining the number of stations which pass from the source station to the target station and the first time information, and the time consumed by taking a bus to the target station is shortened.
The terminal in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. The mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution subject of the method for displaying route information provided in the embodiment of the present invention may be the terminal (including a mobile terminal and a non-mobile terminal), or may also be a functional module and/or a functional entity capable of implementing the method for displaying route information in the terminal, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal as an example to exemplarily describe the method for displaying route information provided by the embodiment of the present invention.
As shown in fig. 2, the method for displaying route information according to the embodiment of the present invention includes the following steps S11-S13.
And S11, the terminal displays the first preview image on the image preview interface.
The first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located.
Optionally, in the embodiment of the present invention, the user may trigger the terminal to start the camera to open the image preview interface. The image preview interface may be an image preview interface in an application in the terminal.
Optionally, the first preview image may be a preview image including image information of a bus stop board of the source station.
Optionally, the embodiment of the invention can be applied to a scene that a user selects a bus route to a destination stop at a source stop. After the user may trigger the terminal to turn on the camera to open the image preview interface, the user may direct the camera to the bus stop board at the source station, so that the terminal displays the first preview image including the image information of the bus stop board at the source station on the image preview interface, i.e., S11 described above.
And S12, the terminal receives target input of the user on the image preview interface.
Wherein the target inputs information for entering the destination site.
Optionally, the terminal may display a prompt message on the image preview interface to prompt the user to input the information of the destination point.
Optionally, the terminal may display the prompt information on the image preview interface to prompt the user to input the information of the destination point when it is recognized that the image information of the bus stop board is displayed in the image preview interface.
Optionally, the information of the destination site may be a name of the destination site.
S13, the terminal displays the first time information in the image preview interface in response to the target input.
The first time information is used for indicating the time of a target bus route from the position of the target bus to a source stop, and the target bus route is at least one bus route comprising the source stop and the target stop.
Generally, a bus route can correspond to a plurality of buses. The target bus can be one bus of a plurality of buses corresponding to the target bus route.
Optionally, in the embodiment of the present invention, the target bus may be one of the buses corresponding to the target bus route and closest to the source station.
Optionally, the augmented reality AR technology may be adopted to display the first time information in an overlaid manner on the first preview image in the image preview interface.
Optionally, the first time information may be displayed in a blank area on the first preview image in an overlapping manner, or the first time information may be displayed in an overlapping manner in an area corresponding to the information of the target bus route on the first preview image.
The time information (for example, the first time information, and the second time information and the third time information described below) in the embodiment of the present invention may be information of a time period or information of a time point. For example, the first time information may be a time period (e.g., 5 minutes) for a target bus of the target bus route to reach the source station from a location where the target bus is located; the first time information may also be a point in time (e.g., 16:10) at which a target bus of the target bus route arrives at the source stop from where the target bus is located.
Illustratively, assume that a first preview image of a bus stop board including a stop of "suburb" (i.e., a source stop in the embodiment of the present invention) is displayed in the image preview interface, and information of three bus lines is included as shown in fig. 3, and "983" of the three bus lines shown in fig. 3 (i.e., three bus lines of "660", "983", and "939" in the figure) is assumed as a destination bus route (i.e., a bus route including the source stop and the destination stop). As shown in fig. 3, the first time information (labeled "arrival: 15 minutes" in fig. 3) may be displayed superimposed on the area corresponding to the information of "983" buses. The first time information in fig. 3 is information of one time period.
Wherein, in fig. 3 "arrive: 15 minutes "is used to indicate a period of time taken for the target bus of the" 983 "bus route to reach the station" subvillage "from the position where the target bus is located.
Optionally, after the terminal receives the target input of the user on the first preview interface, before the terminal displays the first time information in the image preview interface, the terminal may receive the first time information sent by the server. The first time information may be calculated by the server according to a route from the position of the target bus to the source station, an average speed of the target bus, and road condition information.
Optionally, the average speed of the target bus may be a historical average speed of the target bus. For example, the average value of the vehicle speed of the target bus from the position where the target bus is located to the source station may be calculated every time the target bus travels one week.
Alternatively, the server may determine the route of the target bus from the location of the target bus to the source station according to the following method.
The server can receive the position information (recorded as position information 1) of the position where the target bus is located reported by the target bus and the position information (recorded as position information 2) of the position where the terminal is located reported by the terminal, so that the server can determine a route from the position where the target bus is located to a stop corresponding to the position where the terminal is located according to the position information 1 and the position information 2, namely determine a route from the position where the target bus is located to a source stop.
The target bus is provided with a Positioning device, the Positioning device can adopt a Global Positioning System (Global Positioning System, abbreviated in English: GPS) to determine the position information and report the position information to the server, and the terminal can adopt a Positioning function of the terminal to determine the position information 2 and report the position information to the server.
The embodiment of the invention provides a method for displaying route information, which comprises the steps of receiving target input of a user on an image preview interface under the condition that a first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. According to the scheme, the first time information can be displayed in the image preview interface by receiving the target input of the user on the image preview interface, so that the time of the target bus route reaching the source station from the position of the target bus can be obtained according to the first time information on the image preview interface, and therefore when a passenger selects the bus route, the passenger can select the bus route which reaches the target station at the fastest speed by combining the number of stations which pass from the source station to the target station and the first time information, and the time consumed by taking a bus to the target station is shortened.
Optionally, with reference to fig. 2, as shown in fig. 4, after the above step S12 and before the step S13, the method for displaying route information according to the embodiment of the present invention further includes the following steps S14 to S16.
And S14, the terminal acquires information of at least one bus route from the first preview image.
Optionally, the terminal may acquire information of at least one bus route from the first preview image by using an image recognition technology or an Optical Character Recognition (OCR) technology.
Illustratively, the terminal may recognize names of all stops included in each of the at least one bus route by using an OCR technology.
And S15, the terminal determines a target bus route according to the information of at least one bus route and the information of the destination station.
Optionally, after the terminal determines the target bus route, the terminal may highlight the information of the target bus route in the first preview image.
Illustratively, as shown in fig. 3, after determining that the "983" bus route is the target bus route, the information of the bus route may be framed in a square frame in the first preview image displayed in fig. 3 to prompt the user that the bus route is the target bus route.
In the embodiment of the invention, the terminal can determine the bus route including the destination station in the information of at least one bus route, namely, the target bus route is determined.
And S16, the terminal acquires first time information according to the target bus route.
Optionally, after receiving a target input of a user on the image preview interface, the method for displaying route information provided by the embodiment of the present invention further includes: the terminal displays second time information in the image preview interface in response to the target input.
Alternatively, in conjunction with fig. 2, as shown in fig. 5, S13 may be replaced with S13A described below.
S13A, the terminal displays the first time information and the second time information in the image preview interface in response to the target input.
The second time information is used for indicating the time of the bus of the target bus route from the source stop to the destination stop.
Optionally, in this embodiment of the present invention, the second time information is similar to the first time information, and may also be sent to the terminal by the server. The method for calculating the second time information by the terminal is similar to the method for calculating the first time information by the terminal, and is not described herein again.
Illustratively, in conjunction with fig. 3, as shown in fig. 6, if "983" is the destination bus route (i.e., the bus route including the source stop and the destination stop). As shown in fig. 6, both the first time information (identified as "arrival: 15 minutes" in fig. 6) and the second time information (identified as "arrival: 25 minutes" in fig. 6) may be displayed superimposed in the area corresponding to the information of "983" bus lines in fig. 6. The first time information and the second time information in fig. 6 are both information of time periods.
Wherein, in fig. 6 "arrive: 15 minutes "is used to indicate a period of time taken for the target bus of the" 983 "bus route to reach the station" subvillage "from the position where the target bus is located. In fig. 6, "reach: 25 minutes "is used to indicate the time period taken by the destination bus of the" 983 "bus route from the" suburb "station (i.e., the source station) to the destination station.
Compared with the route information displaying method shown in fig. 2, the route information displaying method shown in fig. 5 can display the first time information and the second time information, and because the user can know the time from the source station to the destination station of the target bus route from the position of the target bus according to the first time information and know the time from the source station to the destination station of the bus of the target bus route according to the second time information, when the passenger selects the bus route, the passenger can select the bus route which reaches the destination station as soon as possible by combining the first time information and the second time information, and the time consumed by taking the bus to the destination station is shortened.
Optionally, after receiving a target input of a user on the image preview interface, the method for displaying route information provided by the embodiment of the present invention further includes: the terminal displays the third time information in the image preview interface in response to the input.
Alternatively, as described in fig. 7 in conjunction with fig. 2, the above S13 may be replaced with the following S13B.
S13B, the terminal displays the first time information and the third time information in the image preview interface in response to the target input.
And the third time information is used for indicating the time of the target bus from the position of the target bus to the destination station.
Optionally, in this embodiment of the present invention, the third time information is similar to the first time information, and may also be sent to the terminal by the server. And the method for calculating the third time information by the terminal is similar to the method for calculating the first time information by the terminal, and is not described herein again.
Illustratively, in conjunction with fig. 3, as shown in fig. 8, if "983" is the destination bus route (i.e., the bus route including the source stop and the destination stop). As shown in fig. 8, both the first time information (identified as "arrival: 15 minutes" in fig. 8) and the third time information (identified as "arrival: 40 minutes" in fig. 8) may be displayed superimposed in the area corresponding to the information of "983" bus lines in fig. 8. The first time information and the third time information in fig. 8 are both information of time periods.
Wherein, in fig. 8 "arrive: 15 minutes "is used to indicate a period of time taken for the target bus of the" 983 "bus route to reach the station" subvillage "from the position where the target bus is located. In fig. 8, "reach: 40 minutes "is used to indicate the time period taken by the target bus of the" 983 "bus route from the location of the target bus to the destination station.
Compared with the method for displaying route information shown in fig. 2, the method for displaying route information shown in fig. 7 can display the first time information and the third time information, and because the user can know the time when the target bus of the target bus route reaches the source station according to the first time information and the time when the target bus reaches the destination station from the position where the target bus is located according to the third time information, when the passenger selects the bus route, the passenger can select the bus route which reaches the destination station the fastest, and the time consumed for taking a bus to the destination station is shortened.
As shown in fig. 9, an embodiment of the present invention provides a terminal 130, where the terminal 130 includes: a receiving module 131 and a display module 132.
The receiving module 131 is configured to receive a target input of a user on the image preview interface when the image preview interface displays the first preview image; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; a display module 132 for displaying the first time information in the image preview interface in response to the target input received by the receiving module 131; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop.
Optionally, as shown in fig. 10, the terminal 130 further includes an obtaining module 133.
The obtaining module 133 is configured to obtain information of at least one bus route from the first preview image after the receiving module 131 receives the target input of the user on the image preview interface and before the displaying module 132 displays the first time information in the image preview interface; determining a target bus route according to the information of at least one bus route and the information of the target stop; and acquiring first time information according to the target bus route.
Optionally, the display module 132 is further configured to highlight the information of the target bus route in the first preview image after the obtaining module 133 determines the target bus route.
Optionally, the display module 132 is further configured to, after the receiving module 131 receives a target input of the user on the image preview interface, display third time information in the image preview interface in response to the target input; the third time information is used for indicating the time of the target bus from the position of the target bus to the destination station.
Optionally, the display module 132 is further configured to, after the receiving module 131 receives a target input of the user on the image preview interface, display third time information in the image preview interface in response to the target input; the third time information is used for indicating the time of the target bus from the position of the target bus to the destination station.
Optionally, the display module 132 is specifically configured to display the first time information in an overlaid manner on the first preview image in the image preview interface by using an augmented reality AR technology.
The terminal provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again in order to avoid repetition.
The embodiment of the invention provides a terminal, which receives target input of a user on an image preview interface under the condition that a first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. According to the scheme, the first time information can be displayed in the image preview interface by receiving the target input of the user on the image preview interface, so that the time of the target bus route reaching the source station from the position of the target bus can be obtained according to the first time information on the image preview interface, and therefore when a passenger selects the bus route, the passenger can select the bus route which reaches the target station at the fastest speed by combining the number of stations which pass from the source station to the target station and the first time information, and the time consumed by taking a bus to the target station is shortened.
Fig. 11 is a hardware schematic diagram of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 does not constitute a limitation of the terminal, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the 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.
A user input unit 107, configured to receive a target input of a user on the image preview interface when the image preview interface displays the first preview image; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; a processor 110 for displaying first time information in the image preview interface in response to the target input received by the receiving module; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop.
The embodiment of the invention provides a terminal, which receives target input of a user on an image preview interface under the condition that a first preview image is displayed on the image preview interface, wherein the target input is used for inputting information of a target site; the first preview image comprises information of at least one bus route, each bus route in the at least one bus route is a bus route comprising a source station, and the source station is a station corresponding to the position where the terminal is located; displaying first time information in an image preview interface in response to the target input; the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is at least one bus route comprising the source stop and the target stop. According to the scheme, the first time information can be displayed in the image preview interface by receiving the target input of the user on the image preview interface, so that the time of the target bus route reaching the source station from the position of the target bus can be obtained according to the first time information on the image preview interface, and therefore when a passenger selects the bus route, the passenger can select the bus route which reaches the target station at the fastest speed by combining the number of stations which pass from the source station to the target station and the first time information, and the time consumed by taking a bus to the target station is shortened.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound 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 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, 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 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 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 terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 11, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. 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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 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 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; alternatively, the processor 110 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 the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The embodiment of the present invention further provides a terminal, where the terminal may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and in order to avoid repetition, details are not described here again.
The computer-readable storage medium according to an embodiment of the present invention is characterized in that 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 executed by the terminal in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. 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 (11)

1. A method for displaying route information, which is applied to a terminal, is characterized in that the method comprises the following steps:
receiving input of a user for triggering and starting a camera of the terminal;
responding to the input of starting the camera in a triggering manner, and displaying a first preview image on an image preview interface under the condition that the camera is aligned with a bus stop board of a source station, wherein the first preview image is a preview image of image information of the bus stop board including the source station, the first preview image includes information of at least one bus route, each bus route in the at least one bus route is a bus route including the source station, and the source station is a station corresponding to the position where the terminal is located;
receiving target input of a user on the image preview interface, wherein the target input is used for inputting information of a target site;
displaying first time information in the image preview interface in response to the target input; the first time information is time information sent by a server, the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is the bus route of at least one bus route including the source stop and the target stop.
2. The method of claim 1, wherein after receiving a user target input on the image preview interface, prior to displaying the first time information in the image preview interface, the method further comprises:
acquiring information of the at least one bus route from the first preview image;
determining the target bus route according to the information of the at least one bus route and the information of the target stop;
and acquiring the first time information according to the target bus route.
3. The method of claim 2, wherein after determining the target bus route, the method further comprises:
highlighting the information of the target bus route in the first preview image.
4. The method of any of claims 1-3, wherein after receiving a user target input on the image preview interface, the method further comprises:
displaying second time information in the image preview interface in response to the target input; the second time information is used for indicating the time of the bus of the target bus route from the source stop to the destination stop.
5. The method of any of claims 1-3, wherein after receiving a user target input on the image preview interface, the method further comprises:
displaying third time information in the image preview interface in response to the target input; the third time information is used for indicating the time of the target bus from the position of the target bus to the destination station.
6. A terminal, comprising: the device comprises a receiving module and a display module;
the receiving module is used for receiving the input of a user for triggering and starting a camera of the terminal;
the display module is configured to respond to the input of the triggering start camera received by the receiving module, and display a first preview image on an image preview interface when the camera is aligned with a bus stop board of a source station, where the first preview image is a preview image of image information of the bus stop board including the source station, the first preview image includes information of at least one bus route, each bus route in the at least one bus route is a bus route including the source station, and the source station is a station corresponding to a position where the terminal is located;
the receiving module is further configured to receive a target input of a user on the image preview interface, where the target input is used to input information of a destination site;
the display module is further used for responding to the target input received by the receiving module and displaying first time information in the image preview interface; the first time information is time information sent by a server, the first time information is used for indicating the time of a target bus route from the position of the target bus to the source stop, and the target bus route is the bus route of at least one bus route including the source stop and the target stop.
7. The terminal of claim 6, further comprising an acquisition module;
the obtaining module is used for obtaining the information of the at least one bus route from the first preview image after the receiving module receives the target input of the user on the image preview interface and before the display module displays the first time information in the image preview interface; determining the target bus route according to the information of the at least one bus route and the information of the target stop; and acquiring the first time information according to the target bus route.
8. The terminal of claim 7,
the display module is further configured to highlight the information of the target bus route in the first preview image after the acquisition module determines the target bus route.
9. A terminal according to any of claims 6-8,
the display module is further used for responding to the target input after the receiving module receives the target input of the user on the image preview interface, and displaying second time information in the image preview interface; the second time information is used for indicating the time of the bus of the target bus route from the source stop to the destination stop.
10. A terminal according to any of claims 6-8,
the display module is further used for responding to the target input after the receiving module receives the target input of the user on the image preview interface, and displaying third time information in the image preview interface; the third time information is used for indicating the time of the target bus from the position of the target bus to the destination station.
11. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of displaying route information according to any one of claims 1 to 5.
CN201810825895.0A 2018-07-25 2018-07-25 Method and terminal for displaying route information Active CN108986508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825895.0A CN108986508B (en) 2018-07-25 2018-07-25 Method and terminal for displaying route information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825895.0A CN108986508B (en) 2018-07-25 2018-07-25 Method and terminal for displaying route information

Publications (2)

Publication Number Publication Date
CN108986508A CN108986508A (en) 2018-12-11
CN108986508B true CN108986508B (en) 2020-09-18

Family

ID=64550935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825895.0A Active CN108986508B (en) 2018-07-25 2018-07-25 Method and terminal for displaying route information

Country Status (1)

Country Link
CN (1) CN108986508B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114822062A (en) * 2021-12-21 2022-07-29 阿里巴巴新加坡控股有限公司 Traffic station prompting method and device and storage medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667340A (en) * 2009-09-23 2010-03-10 宇龙计算机通信科技(深圳)有限公司 Method, device and system for obtaining traffic information
KR101429250B1 (en) * 2010-08-20 2014-09-25 주식회사 팬택 Terminal device and method for providing step object information
CN103065491B (en) * 2012-12-03 2016-04-20 董笑宇 Waiting system is exempted from a kind of bus location, small and medium-sized cities based on GPS
WO2014137337A1 (en) * 2013-03-06 2014-09-12 Intel Corporation Methods and apparatus for using optical character recognition to provide augmented reality
CN103198647B (en) * 2013-03-25 2015-08-05 江苏科技大学 A kind of urban intelligent transportation query system based on Internet of Things
JP5931793B2 (en) * 2013-04-24 2016-06-08 株式会社 ヴァル研究所 Guidance information providing system, portable terminal, computer program
CN104243900A (en) * 2013-06-21 2014-12-24 中兴通讯股份有限公司 Vehicle arrival time prediction system and method
JP2016162433A (en) * 2015-03-05 2016-09-05 国立大学法人埼玉大学 Bus operation information distribution system
CN104836847A (en) * 2015-04-08 2015-08-12 重庆甲虫网络科技有限公司 Intelligent public traffic network AR application system
DE102015219692A1 (en) * 2015-10-12 2017-04-13 Siemens Aktiengesellschaft Method for providing travel information and information system
CN105528413A (en) * 2015-12-03 2016-04-27 惠州Tcl移动通信有限公司 Bus arrival reminding method and system
CN105973252A (en) * 2016-05-31 2016-09-28 珠海市魅族科技有限公司 Method for route planning and terminal
CN106197443B (en) * 2016-06-28 2020-02-21 联想(北京)有限公司 Information processing method and electronic equipment
CN106448155B (en) * 2016-08-29 2019-12-13 北京工业大学 System for transmitting congestion degree in bus in real time based on bus IC card
CN107154964B (en) * 2017-04-05 2020-01-21 杭州网易云音乐科技有限公司 Mobile terminal information pushing method and device

Also Published As

Publication number Publication date
CN108986508A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN110221737B (en) Icon display method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN109862504B (en) Display method and terminal equipment
CN110058754B (en) Option display method and terminal device
CN110058836B (en) Audio signal output method and terminal equipment
CN111142723B (en) Icon moving method and electronic equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN109901761B (en) Content display method and mobile terminal
CN109523253B (en) Payment method and device
CN111126995A (en) Payment method and electronic equipment
CN109358931B (en) Interface display method and terminal
CN108984066B (en) Application icon display method and mobile terminal
CN108804151B (en) Method and terminal for restarting application program
CN108551525B (en) State determination method of movement track and mobile terminal
CN110753155A (en) Proximity detection method and terminal equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN109992192B (en) Interface display method and terminal equipment
CN109979045B (en) Information output method and terminal equipment
CN110940339A (en) Navigation method and electronic equipment
CN108536404B (en) Display control method, bendable terminal and computer readable storage medium
CN110769162B (en) Electronic equipment and focusing method
CN110148167B (en) Distance measuring method and terminal equipment
CN109829707B (en) Interface display method and terminal 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
GR01 Patent grant
GR01 Patent grant