CN110727882B - Information presentation method, electronic device and computer readable medium - Google Patents

Information presentation method, electronic device and computer readable medium Download PDF

Info

Publication number
CN110727882B
CN110727882B CN201910919243.8A CN201910919243A CN110727882B CN 110727882 B CN110727882 B CN 110727882B CN 201910919243 A CN201910919243 A CN 201910919243A CN 110727882 B CN110727882 B CN 110727882B
Authority
CN
China
Prior art keywords
information
application
weather
destination
terminal
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
CN201910919243.8A
Other languages
Chinese (zh)
Other versions
CN110727882A (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201910919243.8A priority Critical patent/CN110727882B/en
Publication of CN110727882A publication Critical patent/CN110727882A/en
Application granted granted Critical
Publication of CN110727882B publication Critical patent/CN110727882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the disclosure discloses an information display method, an electronic device and a computer readable medium. One embodiment of the method comprises: acquiring travel information via a first application, the travel information including departure place information, destination information, and arrival time to a destination; responding to a trigger operation of a user in a first application, and acquiring departure place weather information, destination weather information and weather comparison information based on travel information through the first application; and displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application. The embodiment realizes the automatic acquisition and display of the travel-related weather information, particularly the weather comparison information.

Description

Information presentation method, electronic device and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an information presentation method, an electronic device, and a computer-readable medium.
Background
With the development of internet technology and the popularization of electronic devices such as mobile phones, people's daily life has changed dramatically. People can meet various demands such as traveling, entertainment, learning, shopping, and the like through various electronic devices and various applications installed thereon. In the aspect of travel, the weather application provides an important reference basis for people's travel. The relevant weather application may display the corresponding weather data according to the location selected by the user.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose an information presentation method, an electronic device, and a computer-readable medium.
In a first aspect, some embodiments of the present disclosure provide a method for presenting information by a first application on a terminal, wherein the method includes: acquiring travel information via a first application, the travel information including departure place information, destination information, and arrival time to a destination; responding to a trigger operation of a user in a first application, and acquiring departure place weather information, destination weather information and weather comparison information based on the travel information through the first application; and displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In a second aspect, some embodiments of the present disclosure provide an information displaying method applied to a terminal, where the method includes: in response to detecting a travel information acquisition operation of a user in a first application, sending a travel information acquisition request to a second application via the first application; receiving travel information sent by a second application through a first application, wherein the travel information comprises departure place information, destination information and arrival time of a destination; obtaining departure place weather information, destination weather information and weather comparison information based on the travel information through a first application; and displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In a third aspect, some embodiments of the present disclosure provide an information displaying method applied to a terminal, where the method includes: in response to the fact that the triggering operation of the user on the travel information in the second application is detected, the first application is called, and the travel information is sent to the first application through the second application, wherein the travel information comprises departure place information, destination information and arrival time of the arrival destination; obtaining departure place weather information, destination weather information and weather comparison information based on the travel information through the first application; and displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In a fourth aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device, on which one or more programs are stored, which, when executed by one or more processors, cause the one or more processors to implement the method as described in any one of the implementations of the first, second, and third aspects.
In a fifth aspect, some embodiments of the disclosure provide a computer readable medium on which a computer program is stored, wherein the program when executed by a processor implements a method as described in any implementation manner of the first, second, third aspects.
One of the above-described various embodiments of the present disclosure has the following advantageous effects: and acquiring the weather information of the departure place, the weather information of the destination and weather comparison information based on the travel information. On the basis, the departure place weather information, the destination weather information and the weather comparison information are displayed on the same page of the first application. Therefore, the steps that a user manually inquires the departure place weather information and the destination weather information and manually compares the departure place weather information and the destination weather information are avoided, and the weather information related to the journey, particularly the weather comparison information, is automatically acquired and displayed.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
fig. 2 is a flow diagram of some embodiments of a method of presenting information by a first application on a terminal according to the present disclosure;
fig. 3 is an exemplary diagram of obtaining travel information via a first application in a method of presenting information by the first application on a terminal according to some embodiments of the present disclosure;
fig. 4 is another exemplary diagram of obtaining trip information via a first application in a method of presenting information by the first application on a terminal according to some embodiments of the disclosure;
FIG. 5 is an exemplary diagram of presentation of origin weather information, destination weather information, and weather comparison information in the same page of a first application in a method of presenting information by a first application on a terminal according to some embodiments of the disclosure;
FIG. 6 is a timing diagram of some embodiments of an information presentation method according to some embodiments of the present disclosure;
FIG. 7 is another timing diagram of some embodiments of an information presentation method according to some embodiments of the present disclosure;
FIG. 8 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which methods of exposing information by a first application on a terminal may apply some embodiments of the present disclosure.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background application server providing support for applications installed on the terminal devices 101, 102, 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
A typical weather-type application may display corresponding weather data based on a location selected by a user. According to actual needs, corresponding weather data can be displayed according to the position of the user. When a user has a trip plan, the weather data of a departure place and a destination need to be manually inquired and compared. The present disclosure will be described in detail with reference to examples in order to make the advantages of the examples of the present disclosure more apparent.
With continued reference to fig. 2, a flow 200 of some embodiments of a method of presenting information by a first application on a terminal in accordance with the present disclosure is shown. The method for displaying information through the first application on the terminal comprises the following steps:
in step 201, trip information is obtained via a first application.
In some embodiments, the trip information may be obtained first via the first application. The trip information may include departure point information, destination point information, and arrival time to the destination point, among others.
Optionally, the travel information may further include route point information, time of arrival at a route point, and the like, as needed.
In some embodiments, the first application may be an application that supports implementing various functions, including but not limited to: a weather-like application, a ticket-booking-like application, a trip-like application, a map-like application, etc. In practice, the trip information may be acquired via the first application in various ways.
In some alternative implementations, the user may enter the trip information in the first application. The travel information is acquired in response to detecting a travel input operation in a first application by a user using a terminal.
As an example, as shown in fig. 3, the first application may be a weather-type application 303 installed on a smartphone 301. On this basis, in response to detection of a travel input operation, a travel input page for a user to input travel information is displayed. So that the user can input the trip information in the trip input page 302.
Alternatively, the current location may be detected via the first application, and the current location information may be used as the origin information. In practice, the current location information may be acquired via the first application by calling a location detection interface function provided in the terminal system. The departure place is often the current position, so that the step of inputting the departure place by a user can be omitted by taking the current position information as the departure place information, and the operation is simpler and more efficient.
As an example, as shown in fig. 4, the first application may be an airline reservation class application 402 installed on a smartphone 401. A user may order a ticket through the ticket reservation class application 402. On the basis, when the user orders the air ticket, the first application obtains the travel information from the air ticket information. Optionally, when the user subscribes to multiple tickets, the travel information may be obtained from the ticket information by means of user selection and the like.
In some optional implementation manners, after the user reserves the itinerary or the ticket through some ticket booking applications or itinerary reservation class applications, the terminal may receive a short message or a notification message that the reservation is successful. In these implementations, obtaining the trip information via the first application includes: reading the content of the short message or the notification message in response to monitoring that the terminal receives the short message or the notification message; responsive to detecting that the content contains travel information, the travel information is obtained via the first application. In these implementations, by reading the travel information in the short message or the notification message, compared with the step of the user inputting the travel information, the step of the user inputting the travel information is omitted, and the travel information can be acquired more accurately.
In some optional implementations, obtaining the travel information via the first application includes: the trip information is acquired, via the first application, from a second application operating on the same terminal as the first application.
As an example, the second application may be a travel class application. Optionally, before obtaining the travel information from a second application operating on the same terminal as the first application via the first application, user authorization may also be obtained to enable the first application to obtain the travel information from the second application.
In some optional implementations, the first application and the second application satisfy any one of the following situations: the first application and the second application are installed on the terminal; the first application and the second application are operated depending on a third application, wherein the third application is installed on the terminal; the first application is installed on the terminal, the second application runs in dependence on a fourth application, and the fourth application is installed on the terminal; the second application is installed on the terminal, the first application runs in dependence on a fifth application, and the fifth application is installed on the terminal. In these implementations, the first application and the second application can be in various forms, increasing the applicable scenarios of the method.
In some optional implementations, obtaining, via a first application, trip information from a second application operating at the same terminal as the first application includes: travel information sent by the second application is received via the first application.
Step 202, in response to a trigger operation of a user in a first application, obtaining departure place weather information, destination weather information and weather comparison information based on the travel information via the first application.
The triggering operation of the user in the first application may be an operation executed by the user or an operation triggered by the operation executed by the user. The present application is not limited thereto. As an example, the trigger operation may be a user click operation to view the weather icon in fig. 3 or fig. 4.
On the basis, in response to the triggering operation of the user in the first application, the starting place weather information, the destination weather information and the weather comparison information can be acquired based on the travel information through the first application in various ways.
In some optional implementations, obtaining, via the first application, the departure weather information, the destination weather information, and the weather comparison information based on the travel information includes: sending a first acquisition request to a first server via a first application, the first acquisition request comprising travel information; the method includes receiving origin weather information, destination weather information and weather comparison information sent by a first server through a first application, wherein the weather comparison information is determined by the first server based on the origin weather information and the destination weather information.
In some optional implementations, obtaining, via the first application, the origin weather information, the destination weather information, and the weather comparison information based on the trip information includes: sending a second acquisition request to the first server via the first application, the second acquisition request including trip information; receiving the departure place weather information and the destination weather information sent by the first server through the first application; weather comparison information is determined based on the origin weather information and the destination weather information via the first application.
In some alternative implementations, the origin weather information includes weather data for the origin from a current time to an arrival time. The destination weather information includes weather data for the destination from the current time to the arrival time. The weather comparison information includes at least one of: the weather data of the destination at the current time and the weather data of the departure place at the current time, the weather data of the destination at the arrival time and the weather data of the departure place at the current time, and the weather data of the destination at the arrival time and the weather data of the departure place at the arrival time.
According to the requirement, the weather comparison information can also comprise weather change dressing prompt information, travel advice information, dangerous weather early warning information and the like.
And step 203, displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In some embodiments, on the basis of step 202, the departure weather information, the destination weather information, and the weather comparison information may be presented in various forms in the same page of the first application according to actual needs.
In practice, at least one display container may be included in a page to display different content.
Optionally, the page may include a first display container, a second display container, and a third display container, so that the travel-related weather information is displayed in the same page of the first application, where the first display container, the second display container, and the third display container include: the method includes displaying destination weather information in a first display container, displaying departure weather information in a second display container, and displaying weather difference information in a third display container. As an example, reference may be made to fig. 5, which shows an exemplary diagram illustrating origin (shanghai) weather information, destination (beijing) weather information, and weather comparison information on the same page of the first application. In the diagram shown in fig. 5, the origin (shanghai) weather information includes weather data of the origin (shanghai) from the current time to several hours in the future. The destination (beijing) weather information includes weather data for the destination (beijing) from the current time to hours in the future. The weather comparison information comprises comparison information between weather data of a destination at an arrival time and weather data of the departure place at the current time. That is, the "15. In addition, the weather comparison information also comprises weather change dressing prompt information (suggesting to carry long-sleeve clothes) and travel suggestion information (changing from middle rain to heavy rain, remembering to carry rain gear).
In some optional implementations, in response to detecting that the current position of the terminal changes, a display style and/or a display position of at least one of the first display container and the second display container is adjusted. Therefore, the interactivity and the operation convenience of the first application and the user are improved.
As an example, when the user arrives at the destination, the current position of the terminal becomes the destination, and the display style and the display position of the first display container may be adjusted. For example, the first display container may be resized and adjusted to the top of the screen to better show the destination weather information.
As an example, when the user leaves the departure location, the current position of the terminal may be any position of the route, and the size, color, and transparency of the second container may be adjusted, so as to fade the display of the content in the second container.
As an example, as the user gets closer to the destination, in response to detecting that the current location of the terminal changes and the distance of the current location from the destination continues to decrease, the sizes in the first display and the second display may be adjusted such that the first display container continues to increase and the second display container continues to decrease.
According to the method for displaying information through the first application on the terminal, the weather information related to the journey is obtained based on the journey information, and the weather information related to the journey is displayed, so that the steps that a user manually inquires the weather information of the departure place and the weather information of the destination and manually compares the weather information are avoided, and the weather information related to the journey, particularly the weather comparison information, is automatically obtained and displayed. The starting place weather information, the destination weather information and the weather comparison information are displayed in the same page, so that the display of the weather information related to the journey is more visual and richer.
On the basis of the method for displaying information through the first application on the terminal provided by the above embodiment, the information displaying method will be further described with reference to the embodiments, so as to further reflect the interaction between the first application and the second application.
With further reference to fig. 6, a timing diagram of some embodiments of the information presentation method is shown. The information display method is applied to a terminal and comprises the following steps:
step 601, in response to detecting a travel information acquisition operation of a user in a first application, sending a travel information acquisition request to a second application via the first application.
In some embodiments, the travel information acquisition operation may be, for example, a click operation, a slide operation, or the like on the travel information acquisition icon, or may be an operation triggered by the execution of a related operation. The first application and the second application may be applications that can be installed and run on the terminal, or applications that run depending on other applications.
As an example, the first application may be a weather-type application, which may be installed and run on the terminal. The second application may be a travel class application and the second class application may be installed and run on the terminal.
As an example, the first application may also be a weather-like applet and the second application may also be a trip-like applet. The host applications of the first application and the second application are installed and run on the terminal. At this time, the first application and the second application may communicate through the host application. Specifically, the host application may forward the travel information acquisition request.
Optionally, before obtaining the travel information from the second application via the first application, user authorization may also be obtained to enable the first application to obtain the travel information from the second application. As an example, a user authorization page may be displayed to obtain authorization for travel information.
In some optional implementations, before step 601, the method may further include step 600 of obtaining current location information.
In step 602, the journey information sent by the second application is received via the first application.
Wherein, as an example, the travel information may be acquired by the second application from a corresponding second server. As an example, the trip information may include departure point information, destination point information, and arrival time to the destination.
Step 603, obtaining the departure place weather information, the destination weather information and the weather comparison information based on the travel information through the first application.
As an example, step 603 may comprise step 603a and step 603b.
Step 603a, sending a weather information acquisition request to the first server through the first application, where the weather information acquisition request includes the trip information.
Step 603b, receiving the departure place weather information, the destination weather information and the weather comparison information sent by the first server through the first application.
And step 604, displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In some embodiments, the content not elaborated in steps 602-604 may refer to the description in those embodiments corresponding to fig. 2, and will not be described herein again.
The scheme described by the embodiments corresponding to fig. 6 acquires the travel information from the second application via the first application, and realizes interaction between the weather-class application and the travel-class application, so that the acquisition of the travel information is more intelligent.
On the basis of the embodiment corresponding to fig. 6, the information presentation method will be further described on the basis of the interaction between the first application and the second application, so as to further embody the call of the second application to the first application and the jump to the first application.
Referring now to FIG. 7, shown is a timing diagram of some embodiments of an information presentation method. The information display method is applied to a terminal and comprises the following steps:
step 701, in response to detecting that the user performs a trigger operation on the travel information in the second application, invoking the first application and sending the travel information to the first application via the second application.
In some embodiments, the travel information includes origin information, destination information, and arrival time to the destination. The trigger operation on the trip information may be an operation for acquiring trip-related weather information. As an example, a click operation in fig. 4 for viewing a weather icon may be possible. On this basis, the first application may be invoked in response to detecting the trigger operation. In practice, the call to the first application may be implemented by a call method between various applications. As an example, the call to the first application may be implemented by the package name and path of the first application. As an example, the first application may also be invoked via a system-provided invocation protocol. For example, the first application may be invoked by a URL Scheme corresponding to the first application. In addition, the trip information may also be sent to the first application.
Step 702, obtaining, via the first application, origin weather information, destination weather information, and weather comparison information based on the travel information.
In some embodiments, step 702 includes step 702a and step 702b. The specific implementation of step 702a and step 702b may refer to step 603a and step 603b in the embodiments corresponding to fig. 6, and is not described herein again.
And 703, displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
In some embodiments, before step 701, step 700 of receiving the trip information selected by the user in the at least one trip information may be further included.
In some embodiments, the content not elaborated in steps 701 to 703 may refer to the description in those embodiments corresponding to fig. 2, and will not be described herein again.
The solutions described in the embodiments corresponding to fig. 7 acquire the origin weather information, the destination weather information, and the weather comparison information by calling the first application. In the process, the trip application jumps to the weather application to display the weather information related to the trip.
With continued reference to fig. 8, a schematic structural diagram of an electronic device (e.g., terminal device in fig. 1) 800 suitable for use in implementing some embodiments of the present disclosure is shown. The terminal device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806, including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., include output devices 807, such as Liquid Crystal Displays (LCDs), speakers, vibrators, etc.; a storage device 808 including, for example, a memory card; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 8 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through communications device 809, or installed from storage device 808, or installed from ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring travel information via a first application, the travel information including departure place information, destination information, and arrival time to a destination; responding to a trigger operation of a user in a first application, and acquiring departure place weather information, destination weather information and weather comparison information based on travel information through the first application; and displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (15)

1. A method of presenting information by a first application on a terminal, wherein the method comprises:
acquiring travel information via a first application, the travel information including departure place information, destination information, and arrival time to a destination;
responding to a trigger operation of a user in the first application, and acquiring departure place weather information, destination weather information and weather comparison information based on the travel information through the first application;
displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application;
in response to detecting that the current position of the terminal changes, adjusting a display style and/or a display position of at least one of a first display container and a second display container, wherein the current position of the terminal is any position of a trip route represented by the trip information, the first display container is used for displaying the destination weather information, and the second display container is used for displaying the departure place weather information;
wherein the adjusting the display style and/or the display position of at least one of the first display container and the second display container in response to detecting that the current position of the terminal changes comprises:
in response to a distance between a current location of the terminal and a destination decreasing, resizing the first display container and the second display container such that the first display container increases and the second display container decreases.
2. The method of claim 1, wherein the origin weather information includes weather data for the origin from a current time to the arrival time, the destination weather information includes weather data for the destination from the current time to the arrival time, and the weather comparison information includes at least one of: the comparison information between the weather data of the destination at the current time and the weather data of the departure place at the current time, the comparison information between the weather data of the destination at the arrival time and the weather data of the departure place at the current time, and the comparison information between the weather data of the destination at the arrival time and the weather data of the departure place at the arrival time.
3. The method of claim 1 or 2, wherein the obtaining, via the first application, origin weather information, destination weather information, and weather comparison information based on the travel information comprises:
sending a first acquisition request to a first server via the first application, the first acquisition request including the trip information;
receiving, via the first application, the origin weather information, the destination weather information, and the weather comparison information transmitted by the first server, wherein the weather comparison information is determined by the first server based on the origin weather information and the destination weather information.
4. The method of claim 1 or 2, wherein the obtaining, via the first application, origin weather information, destination weather information, and weather comparison information based on the travel information comprises:
sending a second acquisition request to a first server via the first application, the second acquisition request including the trip information;
receiving the origin weather information and the destination weather information transmitted by the first server via the first application;
determining, via the first application, the weather comparison information based on the origin weather information and the destination weather information.
5. The method of claim 1, wherein the page further comprises a third display container in which the weather comparison information is presented.
6. The method of claim 1, wherein the obtaining trip information via a first application comprises:
obtaining, via the first application, trip information from a second application operating at the same terminal as the first application.
7. The method of claim 6, wherein said obtaining, via the first application, travel information from a second application operating at the same terminal as the first application comprises:
receiving, via the first application, the travel information sent by the second application.
8. The method of claim 7, wherein prior to the receiving, via the first application, the travel information sent by the second application, the method further comprises:
obtaining user authorization to obtain travel information from the second application via the first application.
9. The method of claim 1, wherein the obtaining trip information via a first application comprises:
the travel information is acquired in response to detecting a travel input operation of a user using the terminal in the first application.
10. The method of claim 1, wherein the obtaining trip information via a first application comprises:
in response to monitoring that the terminal receives a short message or a notification message, reading the content of the short message or the notification message;
in response to detecting that the content includes the travel information, obtaining, via the first application, the travel information.
11. The method of claim 6, wherein the first application and the second application satisfy any of:
the first application and the second application are installed on the terminal;
the first application and the second application are operated depending on a third application, wherein the third application is installed on the terminal;
the first application is installed on the terminal, the second application runs in dependence on a fourth application, and the fourth application is installed on the terminal;
the second application is installed on the terminal, the first application runs in dependence on a fifth application, and the fifth application is installed on the terminal.
12. An information display method is applied to a terminal, wherein the method comprises the following steps:
in response to detecting a travel information acquisition operation of a user in a first application, sending a travel information acquisition request to a second application via the first application;
receiving travel information sent by the second application via the first application, wherein the travel information comprises departure place information, destination information and arrival time of a destination;
obtaining, via the first application, origin weather information, destination weather information, and weather comparison information based on the travel information;
displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application;
in response to detecting that the current position of the terminal changes, adjusting a display style and/or a display position of at least one of a first display container and a second display container, wherein the current position of the terminal is any position of a trip route represented by the trip information, the first display container is used for displaying the destination weather information, and the second display container is used for displaying the departure place weather information;
wherein, in response to detecting that the current position of the terminal changes, adjusting the display style and/or the display position of at least one of the first display container and the second display container comprises:
in response to a distance between a current location of the terminal and a destination decreasing, resizing the first display container and the second display container such that the first display container increases and the second display container decreases.
13. An information display method is applied to a terminal, wherein the method comprises the following steps:
in response to detecting that a user triggers travel information in a second application, calling the first application and sending the travel information to the first application via the second application, wherein the travel information comprises departure place information, destination information and arrival time of a destination;
obtaining, via the first application, origin weather information, destination weather information, and weather comparison information based on the travel information;
displaying the departure place weather information, the destination weather information and the weather comparison information in the same page of the first application;
in response to detecting that the current position of the terminal changes, adjusting a display style and/or a display position of at least one of a first display container and a second display container, wherein the current position of the terminal is any position of a trip route represented by the trip information, the first display container is used for displaying the destination weather information, and the second display container is used for displaying the departure place weather information;
wherein the adjusting the display style and/or the display position of at least one of the first display container and the second display container in response to detecting that the current position of the terminal changes comprises:
in response to a distance between a current location of the terminal and a destination decreasing, resizing the first display container and the second display container such that the first display container increases and the second display container decreases.
14. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-13.
15. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 13.
CN201910919243.8A 2019-09-26 2019-09-26 Information presentation method, electronic device and computer readable medium Active CN110727882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910919243.8A CN110727882B (en) 2019-09-26 2019-09-26 Information presentation method, electronic device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910919243.8A CN110727882B (en) 2019-09-26 2019-09-26 Information presentation method, electronic device and computer readable medium

Publications (2)

Publication Number Publication Date
CN110727882A CN110727882A (en) 2020-01-24
CN110727882B true CN110727882B (en) 2022-12-02

Family

ID=69219533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910919243.8A Active CN110727882B (en) 2019-09-26 2019-09-26 Information presentation method, electronic device and computer readable medium

Country Status (1)

Country Link
CN (1) CN110727882B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003827A (en) * 2020-07-28 2022-02-01 华为技术有限公司 Weather information display method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004177137A (en) * 2002-11-25 2004-06-24 Alpine Electronics Inc Navigation system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657178A (en) * 2016-02-19 2016-06-08 珠海市魅族科技有限公司 Method and mobile terminal for displaying weather information
CN107230046B (en) * 2017-06-20 2021-03-02 维沃移动通信有限公司 Travel information prompting method and mobile terminal
CN107832874A (en) * 2017-10-27 2018-03-23 朱秋华 A kind of weather based reminding method, device, equipment and computer-readable recording medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004177137A (en) * 2002-11-25 2004-06-24 Alpine Electronics Inc Navigation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嵌入式车载语音导航仪设计与实现;张东等;《西安工程科技学院学报》;20060730;第20卷(第02期);199-202 *

Also Published As

Publication number Publication date
CN110727882A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
US20160019553A1 (en) Information interaction in a smart service platform
CN110633126B (en) Information display method and device and electronic equipment
CN110658961B (en) Information display method and device and electronic equipment
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN111597467A (en) Display method and device and electronic equipment
CN113741755A (en) Information processing method and device, terminal and storage medium
CN113741756A (en) Information processing method, device, terminal and storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN114565476A (en) Information processing method, device, terminal and storage medium
CN111309415A (en) UI (user interface) information processing method and device of application program and electronic equipment
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN114417782A (en) Display method and device and electronic equipment
CN110806834A (en) Information processing method and device based on input method, electronic equipment and medium
CN110727882B (en) Information presentation method, electronic device and computer readable medium
CN110517415B (en) Method and apparatus for outputting information
CN110069186B (en) Method and equipment for displaying operation interface of application
CN110619101B (en) Method and apparatus for processing information
CN114417214A (en) Information display method and device and electronic equipment
CN115016878A (en) Information processing method and device and electronic equipment
CN110568976B (en) Method, device, equipment and storage medium for controlling application display
CN111309417A (en) Data display method and device in application program, electronic equipment and readable medium
CN112307717A (en) Text labeling information display method and device, electronic equipment and medium
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN111538552A (en) Gift panel configuration method and device, readable medium and electronic equipment
CN112307394A (en) Information display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant