CN113268292A - Method and device for displaying information, electronic equipment and storage medium - Google Patents

Method and device for displaying information, electronic equipment and storage medium Download PDF

Info

Publication number
CN113268292A
CN113268292A CN202010093751.8A CN202010093751A CN113268292A CN 113268292 A CN113268292 A CN 113268292A CN 202010093751 A CN202010093751 A CN 202010093751A CN 113268292 A CN113268292 A CN 113268292A
Authority
CN
China
Prior art keywords
information
displayed
target
target video
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010093751.8A
Other languages
Chinese (zh)
Inventor
孙国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010093751.8A priority Critical patent/CN113268292A/en
Publication of CN113268292A publication Critical patent/CN113268292A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for displaying information, electronic equipment and a storage medium, and relates to the technical field of computers. One embodiment of the method comprises: acquiring first information to be displayed; acquiring a first target picture or a first target video corresponding to the first information to be displayed; sending the first target picture or the first target video corresponding to the first information to be displayed to a terminal; and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal. The implementation mode enables the user to know the required information while using the application program, other application programs do not need to be opened, the query time of the user is saved, and the page display effect of the application program is enriched.

Description

Method and device for displaying information, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying information, an electronic device, and a storage medium.
Background
Some information is needed to be known. Therefore, the application program for acquiring the information becomes one of the necessary application programs in the mobile phone, and some mobile phones pre-install the application programs in new mobile phones as application programs pre-manufactured by the system. In addition, without a mobile phone pre-installed with the application programs, a user generally downloads one application program and installs the application program in the mobile phone when using the mobile phone, so that the user can conveniently know information at any time. When the user wants to know the information, the application program needs to be downloaded and opened first, and the required information can be displayed after the application program is accessed.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information display method, an information display apparatus, an electronic device, and a storage medium, which enable a user to know required information and simplify user operations.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of displaying information, the method including: acquiring first information to be displayed; acquiring a first target picture or a first target video corresponding to the first information to be displayed; sending the first target picture or the first target video corresponding to the first information to be displayed to a terminal; and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
Optionally, the step of obtaining a first target picture or a first target video corresponding to the first information to be displayed is: and acquiring a first target picture or a first target video corresponding to the first information to be displayed and consistent with the size of the first display area.
Optionally, the step of acquiring a first target picture or a first target video corresponding to the first information to be displayed includes: and pre-establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video.
Optionally, the method further comprises the following steps: recording the time length after the first information to be displayed is acquired, and executing the following steps at preset time intervals: acquiring second information to be displayed; acquiring a second target picture or a second target video corresponding to the second information to be displayed; sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal; and replacing the first target picture or the first target video on a first display area of an application program of the terminal with the second target picture or the second target video.
Optionally, the method further comprises the following steps: acquiring second information to be displayed; acquiring a second target picture or a second target video corresponding to the second information to be displayed; sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal; and displaying the second target picture or the second target video as a background on a second display area of an application program of the terminal.
Optionally, after the first target picture or the first target video is displayed as a background on the first display area, the method further includes the following steps: and changing the colors of the icons and the characters of the first display area according to the color of the first target picture or the first target video, so that the color of the first target picture or the first target video is different from the color of the icons and the characters of the first display area.
According to a second aspect of the embodiments of the present invention, there is provided a method for displaying information, applied to a terminal, including: acquiring first information to be displayed; acquiring a first target picture or a first target video corresponding to the first information to be displayed; displaying the first target picture or the first target video as a background on a first display area of an application.
According to a third aspect of the embodiments of the present invention, there is provided an apparatus for displaying information, applied to a terminal, including: the first acquisition module is used for acquiring first information to be displayed; the second acquisition module is used for acquiring a first target picture or a first target video corresponding to the first information to be displayed; a display module: displaying the first target picture or the first target video as a background on a first display area of an application.
According to a fourth aspect of the embodiments of the present invention, there is provided an electronic device that displays information, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method as in any one of the information display methods described above.
According to a fifth aspect of embodiments of the present invention, there is provided a computer readable medium for displaying information, having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as in any one of the information displaying methods described above.
One embodiment of the above invention has the following advantages or benefits: the information to be displayed, which needs to be known by the user, is made into the background display of the application program, so that the user can know the required information while using the application program, other application programs do not need to be opened, and the query time of the user is saved. Meanwhile, due to the fact that background display is used, display of other contents of the application program cannot be influenced, and the page display effect of the application program is enriched.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic view of a main flow of an information display method according to an embodiment of the present invention;
fig. 2 is a schematic view of a main flow of an information display method according to an embodiment of the present invention;
fig. 3 is a schematic view of a main flow of an information display method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of main blocks of an information display apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a second acquisition module of an information display device according to an embodiment of the invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 7 is a block diagram of a computer system suitable for use with a terminal device implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of main steps of a method for displaying information according to an embodiment of the present invention, and as shown in fig. 1, the method for displaying information in the embodiment of the present invention mainly includes the following steps S101 to S104:
s101: acquiring first information to be displayed;
s102: acquiring a first target picture or a first target video corresponding to the first information to be displayed;
s103: sending the first target picture or the first target video corresponding to the first information to be displayed to a terminal;
s104: and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
Step S101, acquiring first information to be displayed. The first information to be displayed may be information that the user needs to know, such as weather information, application program usage duration, or literature or advertisements. The method for acquiring the first information to be displayed comprises the following steps: sending a request for acquiring first information to be displayed, and receiving the first information to be displayed. The method for acquiring the first information to be displayed may also be directly acquiring the first information to be displayed at the server or receiving the first information to be displayed sent by the terminal.
In some embodiments of the present disclosure, the first information to be displayed is weather information, and the weather information may be current weather information or a forecast of the weather information. Weather information is acquired by the following method: receiving position information and time information of a terminal, which are sent by the terminal; the server side sends a weather information request to a weather information server according to the position information and the time information; weather information corresponding to location information and time information of a terminal is received. The position information of the terminal can be latitude and longitude information, and the time information can be current time or preset time.
Step S102: and acquiring a first target picture or a first target video corresponding to the first information to be displayed.
In some embodiments of the present disclosure, the method for acquiring the first target picture or the first target video corresponding to the first information to be displayed is: pre-establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video; matching the acquired first information to be displayed with the preset database containing the corresponding relation; and determining the matched first target picture or first target video as a picture or video corresponding to the first information to be displayed.
For example, in a pre-established database, a picture a corresponds to a sunny day, a picture B corresponds to a cloudy day, if weather information is cloudy, the picture B is determined as a picture corresponding to the cloudy day according to the cloudy information, and a predefined cloudy picture, that is, the picture B is obtained.
The corresponding relation between the first information to be displayed and the first target picture or the first target video is defined by the user. The first target picture or the first target video may be a picture with a background color, a picture with only an icon, a picture with a background color combined with an icon or a character, or a moving picture. For example, the first target picture or the first target video corresponding to a sunny day is a blue background plus sun icon or a sun-only icon, and the first target picture or the first target video corresponding to a cloudy day is a gray background plus cloud icon or a cloud-only icon. For example, the usage duration of the application program, the corresponding first target picture or first target video may be a picture with a background color, or may be a timeline icon. If the corresponding first target picture or the first target video is only a picture with a background color, the corresponding relation between the first information to be displayed and the first target picture or the first target video can be informed to the user in a prompt message mode when the application program is started.
In some embodiments of the present disclosure, step S102 is: and acquiring a first target picture or a first target video with a specific size corresponding to the first information to be displayed, wherein the specific size is the size consistent with the size of the first display area. There are two methods for acquiring the first target picture or the first target video with the specific size corresponding to the first information to be displayed, which are as follows.
Firstly, a database containing the corresponding relation between first information to be displayed and a first target picture and/or a first target video is established in advance, wherein the first target picture or the first target video in the database has the specific size; then, matching the acquired first information to be displayed with the preset database containing the corresponding relation; and finally, determining the matched first target picture or first target video as a picture or video corresponding to the first information to be displayed.
Secondly, firstly, the terminal sends a picture obtaining request to the server, wherein the picture obtaining request comprises first information to be displayed and the specific size of the first target picture or the first target video; then, after receiving a picture acquisition request sent by the terminal, the server analyzes the first information to be displayed and the specific size of the first target picture or the first target video in the picture acquisition request; secondly, the server side determines a first target picture or a first target video corresponding to the first information to be displayed in a preset corresponding relation between the first information to be displayed and the first target picture or the first target video; and finally, the server side processes the first target picture or the first target video according to the specific size to obtain the first target picture or the first target video with the specific size.
By acquiring the first target picture or the first target video with the specific size corresponding to the first information to be displayed, the embodiment of the disclosure may obtain the required size by adjusting the size of the first target picture or the first target video.
The size of the first target picture or the first target video can be set by a person skilled in the art according to practical situations, and is not particularly limited.
Step S104: and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
The first display area may be anywhere in the application, and may be, for example, a navigation bar such as a top navigation bar or a bottom navigation bar, an active content display area, a vacant area unused on the screen of the mobile phone. The position of the first display area on the application program and the size of the first display area can be customized by a software developer. The size of the first display area may be the same as the size of the first target picture or the first target video, or may be larger or smaller than the first target picture or the first target video.
In some embodiments of the present disclosure, the method of displaying the first target picture or the first target video as a background on the first display area is: and adding a control for displaying pictures at the bottommost layer position of the first display area, and displaying the first target picture or the first target video on the control.
For example, the weather information acquired at the server is clear, the first target picture or the first target video corresponding to the clear is a in the database, and the server determines that the first target picture or the first target video corresponding to the weather information is picture a. The terminal can acquire the picture A and set the picture A as a background picture of the first display area of the application program.
There are many trigger conditions for acquiring the first information to be displayed. For example, the first information to be displayed is acquired every preset time period. The preset time period is a preset time interval, and the specific time interval of the preset time period is not limited herein. Assuming that the preset time period is 3 hours, the server will obtain the first information to be displayed every 3 hours. For another example, when a preset time point is reached, the server side can automatically acquire the first information to be displayed.
In some embodiments of the present disclosure, an information display method includes the steps of: the terminal acquires the position information and the time information of the terminal; the terminal sends the position information and the time information to a server; the server side sends a weather information request to a weather information server according to the position information and the time information; the server receives weather information corresponding to the position information and the time information of the terminal; the server side determines a first target picture or a first target video corresponding to the received weather information in a preset corresponding relation between the weather information and the first target picture or the first target video; sending the determined first target picture or first target video to a terminal; the terminal receives a first target picture or a first target video which is sent by the server and corresponds to the weather information, and sets the received first target picture or the received first target video as a background picture.
The method comprises the steps of obtaining position information and time information of a terminal, wherein real-time positioning devices are arranged in the terminal, and a real-time positioning system can be used for determining the current position information of the terminal. Of course, if the real-time positioning device is not installed in the terminal or the installed real-time positioning device is not turned on, the position information of the terminal needs to be determined in other ways, for example: and determining the position information of the base station corresponding to the terminal as the position information of the terminal. In a specific implementation, the location information of the terminal may be obtained by performing a positioning operation on the terminal through a satellite positioning manner or a positioning technology such as a base station, WiFi, advanced forward link triangulation, and the like.
In this embodiment, after receiving the weather information from the weather information service end, the service end determines the first target picture or the first target video corresponding to the received weather information in the preset database of the service end without transmitting the weather information to the terminal, which saves transmission steps and can frequently update the database as required.
In some embodiments of the present disclosure, further comprising the steps of: recording the time length after the first information to be displayed is acquired, and executing the following steps at preset time intervals: acquiring second information to be displayed; acquiring a second target picture or a second target video corresponding to the second information to be displayed; sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal; and replacing the first target picture or the first target video on a first display area of an application program of the terminal with the second target picture or the second target video. The second information to be displayed and the first information to be displayed may be the same type of information, such as weather information, for example, weather information at different times. The information may also be different types of information, for example, the first information to be displayed is weather information, and the second information to be displayed is application use duration.
In some embodiments of the present disclosure, further comprising the steps of: acquiring second information to be displayed; acquiring a second target picture or a second target video corresponding to the second information to be displayed; sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal; and displaying the second target picture or the second target video as a background on a second display area of an application program of the terminal. The embodiment can display different information in different display areas, so that a user can know more information at the same time, and the page display effect of the application program is enriched.
In some embodiments of the present disclosure, after displaying the first target picture or first target video as a background on the first display area, the method further comprises the steps of: and changing the colors of the icons and the characters of the first display area according to the color of the first target picture or the first target video, so that the color of the first target picture or the first target video is different from the color of the icons and the characters of the first display area. Specifically, if the first target picture or the first target video is dark, the icons and characters in the first display area are set to be light color; and if the first target picture or the first target video is light color, setting the icons and the characters of the first display area to be dark color. According to the method and the device, the colors of the icons and the characters of the first display area are changed, so that the first target picture or the first target video and the icons and the characters of the first display area are not influenced when being displayed in the first display area at the same time, a user can clearly recognize the icons and the characters, and the use of an application program is not influenced.
Fig. 2 is a schematic diagram of main steps of a method for displaying information according to an embodiment of the present invention, and as shown in fig. 2, the method for displaying information in the embodiment of the present invention, applied to a terminal, mainly includes the following steps S201 to S203:
s201: acquiring first information to be displayed;
s202: acquiring a first target picture or a first target video corresponding to the first information to be displayed;
s203: displaying the first target picture or the first target video as a background on a first display area of an application program.
The method provided by the invention can be applied to the terminal with the application program, and the terminal can be a smart phone, a tablet personal computer or a smart television and other equipment.
In step S201, first information to be displayed is acquired. The first information to be displayed may be information that the user needs to know, such as weather information, application program usage duration, or literature or advertisements. The method for acquiring the first information to be displayed comprises the following steps: and sending a request for acquiring first information to be displayed, and receiving the first information to be displayed returned by the server. The method for acquiring the first information to be displayed can also be used for directly acquiring the first information to be displayed at the terminal.
In some embodiments of the disclosure, the first information to be displayed is an application use duration, and the application use duration is obtained by the following method: and acquiring the time information when the application program is opened and the current time information, and obtaining the service duration of the application program by subtracting the time information and the current time information. The application program usage duration may also be obtained by: and starting timing when the application program is opened, and acquiring the use duration of the application program every other preset time period.
In some embodiments of the present disclosure, the first information to be displayed is weather information, and the weather information may be current weather information or a forecast of the weather information. Weather information is acquired by the following method: acquiring position information and time information of a terminal; sending the position information and the time information of the terminal to a server; the server side sends a weather information request to the weather information server side according to the position information and the time information; the server receives weather information corresponding to the location information and the time information of the terminal.
The method comprises the steps of obtaining position information and time information of a terminal, wherein real-time positioning devices are arranged in the terminal, and a real-time positioning system can be used for determining the current position information of the terminal. Of course, if the real-time positioning device is not installed in the terminal or the installed real-time positioning device is not turned on, the position information of the terminal needs to be determined in other ways, for example: and determining the position information of the base station corresponding to the terminal as the position information of the terminal. In a specific implementation, the location information of the terminal may be obtained by performing a positioning operation on the terminal through a satellite positioning manner or a positioning technology such as a base station, WiFi, advanced forward link triangulation, and the like.
Step S202, a first target picture or a first target video corresponding to the first information to be displayed is obtained.
In some embodiments of the present disclosure, the method for acquiring the first target picture or the first target video corresponding to the first information to be displayed is: pre-establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video; matching the acquired first information to be displayed with the preset database containing the corresponding relation; and determining the matched first target picture or first target video as a picture showing the first information to be displayed.
For example, in a pre-established database, a sunny day corresponds to the picture a, a cloudy day corresponds to the picture B, and if the weather information is cloudy, a predefined cloudy picture, that is, the picture B, is obtained according to the cloudy information.
The corresponding relation between the first information to be displayed and the first target picture or the first target video is defined by the user. The first target picture or the first target video may be a picture with a background color, a picture with only an icon, a picture with a background color combined with an icon or a character, or a moving picture. For example, the first target picture or the first target video corresponding to a sunny day is a blue background plus sun icon or a sun-only icon, and the first target picture or the first target video corresponding to a cloudy day is a gray background plus cloud icon or a cloud-only icon. For example, the usage duration of the application program, the corresponding first target picture or first target video may be a picture with a background color, or may be a timeline icon. If the corresponding first target picture or the first target video is only a picture with a background color, the corresponding relation between the first information to be displayed and the first target picture or the first target video can be informed to the user in a prompt message mode when the application program is started.
The database containing the corresponding relationship between the first information to be displayed and the first target picture or the first target video may be established on a server or in a terminal. The following are described separately.
First, the terminal may obtain a first target picture or a first target video corresponding to the first information to be displayed in the server. Firstly, a terminal sends a picture obtaining request to a server, wherein the picture obtaining request comprises first information to be displayed. Then, the server determines a first target picture or a first target video corresponding to the first information to be displayed in a preset corresponding relationship between the first information to be displayed and the first target picture or the first target video. And thirdly, the server side sends the determined first target picture or first target video to the terminal. And finally, the terminal receives a first target picture or a first target video which is sent by the server and corresponds to the first information to be displayed. The server can update the corresponding relation between the first information to be displayed and the first target picture or the first target video regularly, so that the terminal does not need to update the application program.
Secondly, the terminal may obtain a first target picture or a first target video corresponding to the first information to be displayed from a local picture library. The obtaining of the first target picture or the first target video corresponding to the first information to be displayed may comprise the following sub-steps: first, the terminal determines a first target picture or a first target video corresponding to first information to be displayed in a corresponding relationship between the first information to be displayed and the first target picture or the first target video, which is preset in a picture library. Then, the terminal may obtain the first target picture or the first target video in the picture library. Because the database is stored in the terminal, the terminal can quickly determine the first target picture or the first target video corresponding to the first information to be displayed, and time and flow are saved.
In some embodiments of the present disclosure, step S202 is: and acquiring a first target picture or a first target video with a specific size corresponding to the first information to be displayed, wherein the specific size is the size consistent with the size of the first display area. There are three methods for acquiring the first target picture or the first target video with the specific size corresponding to the first information to be displayed, which are as follows.
Firstly, a database containing the corresponding relation between first information to be displayed and a first target picture and/or a first target video is established in advance, wherein the first target picture or the first target video in the database is in the specific size; matching the acquired first information to be displayed with the preset database containing the corresponding relation; and determining the matched first target picture or first target video as the picture or video showing the first information to be displayed.
And secondly, a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video is established in advance, and the database is arranged in the server. Firstly, the terminal sends a picture obtaining request to the server, wherein the picture obtaining request comprises first information to be displayed and the specific size of the first target picture or the first target video. Then, after the server receives a picture acquisition request sent by the terminal, the server determines a first target picture or a first target video corresponding to the first information to be displayed in a preset corresponding relationship between the first information to be displayed and the first target picture or the first target video, and processes the first target picture or the first target video according to the specific size to obtain the first target picture or the first target video with the specific size. And thirdly, the server side sends the determined first target picture or the determined first target video with the specific size to the terminal. And finally, the terminal receives the first target picture or the first target video with the specific size, which is sent by the server and corresponds to the first information to be displayed.
Thirdly, the step of obtaining the first target picture or the first target video with the specific size corresponding to the first information to be displayed may comprise the sub-steps of: and pre-establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video in the terminal. First, the terminal determines a first target picture or a first target video corresponding to first information to be displayed in a picture library. Then, the terminal may obtain the first target picture or the first target video in the picture library, and process the first target picture or the first target video, for example, obtain the first target picture or the first target video with the specific size in a filling manner.
By acquiring the first target picture or the first target video with the specific size corresponding to the first information to be displayed, the embodiment of the disclosure may obtain the first target picture or the first target video with the specific size by adjusting the size of the first target picture or the first target video.
The size of the first target picture or the first target video can be set by a person skilled in the art according to practical situations, and is not particularly limited.
Step S203: displaying the first target picture or the first target video as a background on a first display area of an application program.
The first display area may be anywhere in the application, and may be, for example, a navigation bar such as a top navigation bar or a bottom navigation bar, an active content display area, a vacant area unused on the screen of the mobile phone. The position of the first display area on the application program and the size of the first display area can be customized by a software developer. The size of the first display area may be the same as the size of the first target picture or the first target video, or may be larger or smaller than the first target picture or the first target video.
In some embodiments of the present disclosure, the method for displaying the first target picture as a background on the first display area is: and adding a control for displaying pictures at the bottommost layer position of the first display area, and displaying the first target picture on the control.
For example, when the weather information acquired by the terminal is clear, the first target picture corresponding to the clear weather information in the database is picture a, and the terminal determines that the first target picture corresponding to the weather information is picture a. The terminal can acquire the picture a, then the terminal can determine the picture a as the background picture of the first display area, and set the picture a as the background picture of the first display area of the application program.
There are many trigger conditions for acquiring the first information to be displayed. For example, when the terminal receives an instruction for starting an application program input by a user, the first information to be displayed is acquired. For another example, after the application program of the terminal is started, the current weather information of the area where the terminal is located is obtained every preset time period. The preset time period is a preset time interval, the preset time period may be 0.5 hour or 3 hours, the specific time interval of the preset time period is not limited herein, and the preset time period may be manually set by a user or may be set by a developer. Assuming that the preset time period is 3 hours, after the application program of the terminal is started, the terminal may obtain the current weather information of the area where the terminal is located every 3 hours. For another example, no matter the terminal is in a standby state or a power-on state, the mobile terminal will automatically acquire the current weather information of the area where the terminal is located when a preset time point is reached. If the preset time points are 0 point, 12 points and 24 points, the terminal will automatically acquire the current weather information of the area where the terminal is located as long as the terminal detects that the current time reaches 0 point, 12 points or 24 points. And updating the weather information to enable the user to acquire the updated weather information.
In some embodiments of the present disclosure, an information display method further includes the steps of: acquiring second information to be displayed; acquiring a second target video or a second target picture for displaying the second information to be displayed; displaying the second target video or the second target picture as a background on a second display area. The step of acquiring the second information to be displayed may be performed simultaneously with the step of acquiring the first information to be displayed or may be performed at a certain time interval before and after the step of acquiring the first information to be displayed.
According to the method and the device, the first target picture or the first target video used for displaying the first information to be displayed is arranged in the first display area as the background, the second target video or the second target picture used for displaying the second information to be displayed is arranged in the second display area as the background, different information can be displayed in different display areas, a user can know more information at the same time, and the page display effect of an application program is enriched.
In some embodiments of the present disclosure, after displaying the first target picture or the first target video as a background on the first display area, the information display method further includes the steps of: changing the colors of the icons and the characters of the first display area according to the color of the first target picture or the first target video, and if the first target picture or the first target video is dark, setting the icons and the characters of the first display area to be light color; and if the first target picture or the first target video is light color, setting the icons and the characters of the first display area to be dark color.
According to the method and the device, the colors of the icons and the characters of the first display area are changed, so that the first target picture or the first target video and the icons and the characters of the first display area are not influenced when being displayed in the first display area at the same time, a user can clearly recognize the icons and the characters, and the use of an application program is not influenced.
Fig. 3 is a schematic diagram of main steps of an information display method according to an embodiment of the present invention, and as shown in fig. 3, the information display method in the embodiment of the present invention mainly includes the following steps S301 to S306:
s301: acquiring first information to be displayed;
s302: acquiring a first target picture or a first target video corresponding to the first information to be displayed;
s303: displaying the first target picture or the first target video as a background on a first display area of an application program;
s304: recording the time length after the first information to be displayed is obtained, and obtaining second information to be displayed at preset time intervals;
s305: acquiring a second target video or a second target picture corresponding to second information to be displayed;
s306: and replacing the first target picture or the first target video on the first display area with the second target video or the second target picture.
The preset time is a preset time interval, and the preset time can be manually set by a user or set by a developer. The specific time interval of the preset time duration is not limited, and if the preset display time duration is 1 hour, the terminal may acquire the second information to be displayed after acquiring the first information to be displayed for 1 hour.
According to the method, the background picture of the first display area is replaced at preset time intervals, and different information to be displayed can be displayed in the first display area according to needs. The user can know more needed information in the same display area at different time, the diversified information requirements of the user are met, and the first display area can play a greater role.
Fig. 4 is a block diagram of an information display device according to an embodiment of the present invention, and as shown in fig. 4, an information display device in an embodiment of the present invention includes: a first obtaining module 401, configured to obtain first information to be displayed; a second obtaining module 402, configured to obtain a first target picture or a first target video corresponding to the first information to be displayed; a display module 403, configured to display the first target picture or the first target video as a background on the first display area.
In some embodiments of the disclosure, the second obtaining module 402 is configured to obtain a first target picture or a first target video corresponding to the first information to be displayed and corresponding to the size of the first display area.
In some embodiments of the present disclosure, the first obtaining module 401 includes a first sending sub-module 4011, configured to send a request for obtaining the first information to be displayed; the first receiving sub-module 4012 is configured to receive the first information to be displayed.
In some embodiments of the present disclosure, the information display apparatus further comprises: a color changing module 404, configured to change colors of the icons and the characters in the first display area according to the color of the first target picture or the first target video, and if the first target picture or the first target video is a dark color, the icons and the characters in the first display area are set to be a light color; and if the first target picture or the first target video is light color, setting the icons and the characters of the first display area to be dark color.
Fig. 5 is a block diagram of an information display device according to an embodiment of the present invention, and as shown in fig. 5, the second obtaining module 402 in the embodiment of the present invention includes: the database module 4021 is used for establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video in advance; the matching sub-module 4022 is configured to match the first information to be displayed with a preset database containing a corresponding relationship; the determining sub-module 4023 is configured to determine the matched first target picture or first target video as a picture showing the first information to be displayed.
Fig. 6 shows an exemplary system architecture 600 of an information display method or an information display apparatus to which embodiments of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604 and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. Various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 601, 602, and 603.
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server providing various services, such as a background management server providing support for pictures or information acquired by the user using the terminal device 601, 602, 603. The background management server side can analyze and process the received data such as the first information to be displayed acquisition request and feed back the processing results such as the first information to be displayed to the terminal device.
It should be noted that, an information display method provided by the embodiment of the present invention is generally executed by a terminal device or a terminal device and a server, and accordingly, an information display apparatus is generally disposed in the terminal device or the terminal device and the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, 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 in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can 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 the present invention, 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 the present invention, 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 also 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 invention. 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 or flowchart illustration, and combinations of blocks in the block diagrams 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 modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprising: the device comprises a first acquisition module, a second acquisition module and a display module. The names of these modules do not in some cases constitute a limitation on the module itself, and for example, the first acquiring module may also be described as a "module that acquires first information to be displayed".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring first information to be displayed; acquiring a first target picture or a first target video corresponding to the first information to be displayed; sending the first target picture or the first target video corresponding to the first information to be displayed to a terminal; and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
According to the technical scheme of the embodiment of the invention, the information to be displayed, which needs to be known by the user, is made into the background display of the application program, so that the user can know the needed information while using the application program, other application programs do not need to be opened, and the query time of the user is saved. Meanwhile, due to the fact that background display is used, display of other contents of the application program cannot be influenced, and the page display effect of the application program is enriched.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of displaying information, the method comprising:
acquiring first information to be displayed;
acquiring a first target picture or a first target video corresponding to the first information to be displayed;
sending the first target picture or the first target video corresponding to the first information to be displayed to a terminal;
and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
2. The method according to claim 1, wherein the step of obtaining the first target picture or the first target video corresponding to the first information to be displayed is: and acquiring a first target picture or a first target video corresponding to the first information to be displayed and consistent with the size of the first display area.
3. The method according to claim 1, wherein the step of obtaining the first target picture or the first target video corresponding to the first information to be displayed comprises: and pre-establishing a database containing the corresponding relation between the first information to be displayed and the first target picture and/or the first target video.
4. The method of claim 1, further comprising the steps of: recording the time length after the first information to be displayed is acquired, and executing the following steps at preset time intervals:
acquiring second information to be displayed;
acquiring a second target picture or a second target video corresponding to the second information to be displayed;
sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal;
and replacing the first target picture or the first target video on a first display area of an application program of the terminal with the second target picture or the second target video.
5. The method of claim 1, further comprising the steps of:
acquiring second information to be displayed;
acquiring a second target picture or a second target video corresponding to the second information to be displayed;
sending the second target picture or the second target video corresponding to the second information to be displayed to a terminal;
and displaying the second target picture or the second target video as a background on a second display area of an application program of the terminal.
6. The method according to claim 1, wherein after displaying the first target picture or first target video as a background on the first display area, the method further comprises the steps of: and changing the colors of the icons and the characters of the first display area according to the color of the first target picture or the first target video, so that the color of the first target picture or the first target video is different from the color of the icons and the characters of the first display area.
7. A method for displaying information is applied to a terminal, and is characterized in that the method comprises the following steps:
acquiring first information to be displayed;
acquiring a first target picture or a first target video corresponding to the first information to be displayed;
and displaying the first target picture or the first target video as a background on a first display area of an application program of the terminal.
8. An apparatus for displaying information, comprising:
the first acquisition module is used for acquiring first information to be displayed;
the second acquisition module is used for acquiring a first target picture or a first target video corresponding to the first information to be displayed;
a display module: displaying the first target picture or the first target video as a background on a first display area of an application.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010093751.8A 2020-02-14 2020-02-14 Method and device for displaying information, electronic equipment and storage medium Pending CN113268292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010093751.8A CN113268292A (en) 2020-02-14 2020-02-14 Method and device for displaying information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010093751.8A CN113268292A (en) 2020-02-14 2020-02-14 Method and device for displaying information, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113268292A true CN113268292A (en) 2021-08-17

Family

ID=77227484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010093751.8A Pending CN113268292A (en) 2020-02-14 2020-02-14 Method and device for displaying information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113268292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961299A (en) * 2021-11-17 2022-01-21 拉扎斯网络科技(上海)有限公司 Content display method, content display apparatus, electronic device, storage medium, and program product
CN117278732A (en) * 2022-04-29 2023-12-22 河北雄安三千科技有限责任公司 Display area control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850370A (en) * 2014-02-17 2015-08-19 阿里巴巴集团控股有限公司 Method and device for displaying order information in background display region
CN106407027A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An information display method for a mobile terminal and a mobile terminal
CN110309475A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of webpage representation method, apparatus, terminal device and storage medium
CN110347464A (en) * 2019-06-26 2019-10-18 腾讯科技(深圳)有限公司 User interface rendering method, device, medium and the electronic equipment of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850370A (en) * 2014-02-17 2015-08-19 阿里巴巴集团控股有限公司 Method and device for displaying order information in background display region
CN106407027A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An information display method for a mobile terminal and a mobile terminal
CN110347464A (en) * 2019-06-26 2019-10-18 腾讯科技(深圳)有限公司 User interface rendering method, device, medium and the electronic equipment of application program
CN110309475A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of webpage representation method, apparatus, terminal device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961299A (en) * 2021-11-17 2022-01-21 拉扎斯网络科技(上海)有限公司 Content display method, content display apparatus, electronic device, storage medium, and program product
CN117278732A (en) * 2022-04-29 2023-12-22 河北雄安三千科技有限责任公司 Display area control method and device

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN109408189B (en) Dynamic adjustment method, device, equipment and medium for client interface layout
CN110658961B (en) Information display method and device and electronic equipment
CN109040326A (en) The method and apparatus of PUSH message
JP7533844B2 (en) Live distribution room creation method, device, electronic device, and storage medium
CN111427647B (en) Page display method and device of application program, storage medium and electronic equipment
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN110658960A (en) Message processing method and device and electronic equipment
WO2024022403A1 (en) Task processing method and apparatus, device, and storage medium
CN113268292A (en) Method and device for displaying information, electronic equipment and storage medium
CN112947918A (en) Data display method and device
CN111694629A (en) Information display method and device and electronic equipment
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN110134905B (en) Page update display method, device, equipment and storage medium
CN110147283B (en) Display content switching display method, device, equipment and medium
CN110619101B (en) Method and apparatus for processing information
CN111641693A (en) Session data processing method and device and electronic equipment
CN116483239A (en) Interaction method, interaction device, electronic equipment and storage medium
CN114969593A (en) Media content presentation method, device, equipment, storage medium and program product
CN115174282A (en) Information interaction method, device, equipment and medium
CN111259287B (en) Page content display method and device, electronic equipment and storage medium
JP2024500300A (en) Information interaction methods, devices, and equipment
CN113568695A (en) Corner mark processing method and device for boarder application
CN114385096A (en) Display control method, device, terminal and storage medium
CN111240718A (en) Theme updating method and device, electronic equipment and medium

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