Content display method, terminal and storage medium

By establishing a local shared database on the terminal, multiple applications share query results to avoid duplicate downloads, the problem of repeatedly downloading the same content in the terminal device is solved, and the efficiency of using storage space and network resources is improved.

CN119807492APending Publication Date: 2025-04-11BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411865541.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the prior art, when the terminal device downloads and stores pictures or videos, it may cause different applications to repeatedly download and store the same content, resulting in waste of storage space and network resources.

Method used

By establishing a local shared database on the terminal, multiple applications can share the database, request relevant information of the content to be displayed from the server, obtain multiple identifiers, and query the target content in the local database based on these identifiers to avoid repeated downloads.

Benefits of technology

It effectively improves the efficiency of the terminal's storage space, avoids repeated downloads of the same content between different applications, thereby saving storage space and network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119807492A_ABST
    Figure CN119807492A_ABST
Patent Text Reader

Abstract

The invention provides a content display method, a terminal and a storage medium, and relates to the technical field of computers, in particular to the technical fields of storage, data sharing and the like. According to the specific implementation scheme, in response to an operation on a first application, a first request is sent to a first server; receiving a response message of the first request sent by the first server; obtaining target display content based on a query result corresponding to at least one identifier in the plurality of identifiers in a local shared database, the local shared database being shared by a plurality of applications in the terminal, and the plurality of applications including the first application; and displaying the target display content in a display area of the first application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to technical fields such as storage and data sharing. Background Art

[0002] In the prior art, applications in a terminal usually download pictures or videos to be displayed from a server. Multiple applications are often installed and run in the terminal, so each of the multiple applications will download its own pictures or videos to be displayed, which may cause different applications to repeatedly download and store the same pictures or videos, thereby wasting the storage space of the terminal and network resources. Therefore, how to improve the efficiency of using the storage space of the terminal and the efficiency of using network resources has become a technical problem that needs to be solved. Summary of the invention

[0003] The present disclosure provides a content display method, a terminal and a storage medium.

[0004] According to one aspect of the present disclosure, there is provided a content display method executed by a terminal, comprising:

[0005] In response to an operation on a first application, sending a first request to a first server, wherein the first request is used to request relevant information of content to be displayed of the first application;

[0006] receiving a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the to-be-displayed content of the first application;

[0007] Obtain target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application;

[0008] The target display content is displayed in the display area of ​​the first application.

[0009] According to another aspect of the present disclosure, there is provided a terminal, including:

[0010] a communication module, configured to send a first request to a first server in response to an operation on a first application, wherein the first request is used to request information related to content to be displayed of the first application; and receive a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the content to be displayed of the first application;

[0011] a storage query module, configured to obtain target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application;

[0012] A display module is used to display the target display content in the display area of ​​the first application.

[0013] According to another aspect of the present disclosure, there is provided a terminal, including:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.

[0017] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any method according to the embodiments of the present disclosure.

[0018] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.

[0019] By adopting the method provided in this embodiment, when the first application in the terminal has a display demand, it is possible to request the server for relevant information on the content to be displayed, obtain multiple identifiers sent by the server, and determine the content that the first application needs to display through the query results of the multiple identifiers in the local shared database. Since the local shared database can be used by multiple applications of the terminal, there is no need to store the display content separately for different applications. Therefore, the content that the first application ultimately needs to display is determined through the search results in the local shared database, which can improve the efficiency of the terminal's storage space utilization and provide a guarantee to avoid repeated downloading of the same content by different applications.

[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0022] Figure 1 is a flowchart of a content display method according to an embodiment of the present disclosure;

[0023] Figure 2 is a flowchart of a content display method according to another embodiment of the present disclosure;

[0024] Figure 3 is a flowchart of a content display method according to another embodiment of the present disclosure;

[0025] Figure 4 is a schematic block diagram of a terminal according to an embodiment of the present disclosure;

[0026] Figure 5 is a block diagram of a terminal used to implement an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0028] Figure 1 is a schematic flow chart of a content display method performed by a terminal according to an embodiment of the present disclosure, including:

[0029] S110 , in response to an operation on a first application, sending a first request to a first server, wherein the first request is used to request information related to content to be displayed of the first application.

[0030] S120: Receive a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the to-be-displayed content of the first application.

[0031] S130, obtaining target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application.

[0032] S140: Display the target display content in the display area of ​​the first application.

[0033] The solution provided in this embodiment can be applied to terminals, such as personal computers, tablet computers, mobile phones, etc.

[0034] The local shared database is shared by multiple applications in the terminal. The multiple applications in the terminal may include all applications installed and / or running by the terminal. Any application can be a software program installed on the terminal operating system, which can provide users with various functions and services, such as displaying pictures, displaying videos, click operations, etc., which are not listed one by one here.

[0035] The first application may be an application that the current user needs to use or needs to open, or an application that the user is currently using or running. The first application may be any one of multiple applications in the terminal. Since the relevant processing of each application in the multiple applications in the terminal is the same as that of the first application, the following mainly takes the first application as an example for explanation, and no repeated explanation is given below.

[0036] By adopting the method provided in this embodiment, when the first application in the terminal has a display demand, it is possible to request the server for relevant information on the content to be displayed, obtain multiple identifiers sent by the server, and determine the content that the first application needs to display through the query results of the multiple identifiers in the local shared database. Since the local shared database can be used by multiple applications of the terminal, there is no need to store the display content separately for different applications. Therefore, the content that the first application ultimately needs to display is determined through the search results in the local shared database, which can improve the efficiency of the terminal's storage space utilization and provide a guarantee to avoid repeated downloading of the same content by different applications.

[0037] In some implementations, the operation on the first application may be: a click operation on the icon of the first application in the display area of ​​the terminal. If the terminal is a personal computer, the click operation may refer to a mouse click operation; if the terminal is a mobile phone, the click operation may refer to a touch click operation.

[0038] Among them, the click operation on the icon of the first application in the display area of ​​the terminal can be used to open or start the first application.

[0039] The sending of the first request to the first server in response to the operation on the first application may include: generating the first request in response to a click operation on the icon of the first application in the display area of ​​the terminal, and sending the first request to the first server.

[0040] The first request may be information related to the content to be displayed when the first application is opened or started. The content to be displayed when the first application is opened or started may also be referred to as the opening screen content to be displayed of the first application.

[0041] The first request includes: relevant information of the terminal and / or relevant information of the first application. The relevant information of the terminal may include at least one of the following: an identifier of the terminal, a device model of the terminal, a device type of the terminal, a location of the terminal, etc. The relevant information of the first application includes at least one of the following: a type of the first application, a user identifier corresponding to the first application, etc.

[0042] The operations performed by the first server side include: receiving a first request sent by the terminal; obtaining multiple identifiers based on the first request; generating a response message to the first request based on the multiple identifiers; and sending a response message to the first request to the terminal.

[0043] The first server side obtains multiple identifiers based on the first request, which may include: searching for a first identifier corresponding to the first display content matching the first request among the identifiers corresponding to the multiple candidate display contents in the first server; and using the first identifier and multiple sub-identifiers corresponding to the first identifier as the multiple identifiers. Any candidate display content includes one of the following: a candidate video, a candidate picture, etc.

[0044] The specific processing method of searching for the first identifier corresponding to the first display content matching the first request among the identifiers corresponding to the multiple candidate display contents in the first server may be related to the matching strategy specifically configured on the first server side. For example, the matching strategy may include selecting the identifier corresponding to the display content based on at least one of the terminal's location, the time of the request, the type of application, the identifier of the application, and the like. For example, assuming that the matching strategy includes selecting the identifier corresponding to the display content based on the terminal's location and the type of application, correspondingly, the identifier corresponding to each candidate display content may be pre-configured with the corresponding regional range and the type of one or more applications that can be matched. The first server may be based on the regional range corresponding to the identifiers of the multiple candidate display contents and the type of one or more applications that can be matched, and determine from the multiple candidate display content identifiers one that matches the terminal's location and the type of the first application carried in the first request as the first identifier corresponding to the first display content matching the first request. It should be understood that this is only an exemplary description, and all possible ways for the first server to specifically determine the first identifier are not limited or exhaustive.

[0045] The generating a response message of the first request based on the multiple identifiers includes: using the multiple identifiers and the download addresses corresponding to the multiple identifiers as the response message of the first request.

[0046] The multiple identifiers include a first identifier and multiple sub-identifiers corresponding to the first identifier. The download addresses corresponding to the multiple identifiers include: a download address of a first display content corresponding to the first identifier among the multiple identifiers, and a download address of a sub-display content corresponding to each of the multiple sub-identifiers corresponding to the first identifier.

[0047] In one embodiment, the multiple identifiers include a first identifier and multiple sub-identifiers corresponding to the first identifier; determining the target display content based on the query result corresponding to at least one of the multiple identifiers in the local shared database includes one of the following: when the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the first display content corresponding to the first identifier exists in the local shared database, using the first display content as the target display content; when the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the display content corresponding to the first identifier does not exist in the local shared database, determining the target display content based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database.

[0048] Here, the first identifier among the multiple identifiers can be understood as an identifier used to associate or correspond to the total display content (i.e., the first display content). The first identifier can be a unique identifier corresponding to the first display content, and the first identifier can be a hash value, or a string obtained by other encryption methods, or a string obtained by other methods that can have a unique identification function, etc. Taking the first identifier as a hash value as an example, the first identifier can be calculated based on the hash function for the first display content.

[0049] Each of the multiple sub-identifiers corresponding to the first identifier can be understood as an identifier used to associate or correspond to a portion of the display content (sub-display content), and all sub-display contents corresponding to all sub-identifiers corresponding to the first identifier are used together to constitute or compose the first display content. However, it should be pointed out that any sub-identifier does not necessarily have a corresponding relationship with only the first identifier. In other words, the sub-display content corresponding to any sub-identifier may not only be used to constitute or compose the first display content.

[0050] Each of the multiple sub-identifiers may be a unique identifier corresponding to its corresponding sub-display content. Each sub-identifier may also be a hash value, or a character string obtained by other encryption methods, or a character string obtained by other methods that can function as a unique identifier, etc.

[0051] Specifically, determining the target display content based on the query result corresponding to at least one of the multiple identifiers in the local shared database may include: querying in the local database based on the first identifier among the multiple identifiers to obtain the query result corresponding to the first identifier in the local database; judging whether the query result corresponding to the first identifier in the local shared database is the first display content corresponding to the first identifier in the local shared database; if so, using the first display content as the target display content; if not, obtaining the target display content based on the query results corresponding to the multiple sub-identifiers corresponding to the first identifier.

[0052] Searching in a local database based on a first identifier among the multiple identifiers to obtain a query result corresponding to the first identifier in the local database may include: traversing all stored identifiers saved in the local shared database, and when the first identifier is included in all stored identifiers saved in the local shared database, determining that the query result corresponding to the first identifier in the local database is that the first display content corresponding to the first identifier exists in the local shared database; and when the first identifier is not included in all stored identifiers saved in the local shared database, determining that the query result corresponding to the first identifier in the local database is that the first display content corresponding to the first identifier does not exist in the local shared database.

[0053] Using the first display content as the target display content includes: extracting the first display content from the local shared database, and using the first display content as the target display content.

[0054] When the query result corresponding to the first identifier among the multiple identifiers is that the display content corresponding to the first identifier does not exist in the local shared database, it can mean that the local shared database may not have saved the display content corresponding to the first identifier, but at this time, the multiple sub-identifiers corresponding to the first identifier may or may not have corresponding sub-display content in the local shared database, and therefore the query results of the multiple sub-identifiers can be further combined to finally obtain the target display content.

[0055] In this way, since the local shared database can be used by multiple applications of the terminal, there is no need to store and display content separately for different applications. Therefore, when there is content corresponding to the first identifier in the local shared database, it means that the content corresponding to the first identifier may have been downloaded by other applications, and the first application can directly extract and display the content. In this way, the efficiency of the storage space utilization of the terminal can be improved, and repeated downloading of the same content by different applications can be avoided.

[0056] In one embodiment, the target display content is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database, including: in a case where it is determined that the sub-display content corresponding to each sub-identifier exists in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database, the target display content is generated based on the sub-display content corresponding to each sub-identifier.

[0057] Specifically, in a case where it is determined that the sub-display content corresponding to each sub-identifier in the local shared database exists in the local shared database based on the query result corresponding to each sub-identifier in the multiple sub-identifiers, the target display content is generated based on the sub-display content corresponding to each sub-identifier, including: searching in the local database based on each sub-identifier in the multiple identifiers to obtain the query result corresponding to each sub-identifier in the local database; judging whether the query result corresponding to each sub-identifier in the local database in the multiple sub-identifiers is all the sub-display content corresponding to the sub-identifier existing in the local shared database; if the query result corresponding to each sub-identifier in the local database in the multiple sub-identifiers is all the sub-display content corresponding to the sub-identifier existing in the local shared database, it is determined that the sub-display content corresponding to each sub-identifier exists in the local shared database, and the target display content is generated based on the sub-display content corresponding to each sub-identifier.

[0058] Taking any one of the multiple sub-identifiers corresponding to the first identifier as the jth sub-identifier as an example (j is a positive integer), searching in the local database based on each sub-identifier among the multiple identifiers to obtain the query result corresponding to each sub-identifier in the local database may include: traversing all the stored identifiers saved in the local shared database, and when the jth sub-identifier is included in all the stored identifiers saved in the local shared database, determining that the query result corresponding to the jth sub-identifier in the local database is that the sub-display content corresponding to the jth sub-identifier exists in the local shared database; when the jth sub-identifier is not included in all the stored identifiers saved in the local shared database, determining that the query result corresponding to the jth sub-identifier in the local database is that the sub-display content corresponding to the jth sub-identifier does not exist in the local shared database.

[0059] The response message to the first request may further include: an ordering of the multiple sub-identifiers corresponding to the first identifier.

[0060] The generating of the target display content based on the sub-display content corresponding to each sub-identifier may be: extracting the sub-display content corresponding to each sub-identifier from a local shared database; and generating the first display content corresponding to the first identifier based on the ranking corresponding to multiple sub-identifiers and the sub-display content corresponding to each sub-identifier.

[0061] For example, the sub-display content corresponding to each sub-identifier may include a partial video or a video slice; accordingly, the first display content may be a complete video. Based on the order corresponding to multiple sub-identifiers and the sub-display content corresponding to each sub-identifier, generating the first display content corresponding to the first identifier may refer to splicing the video slices corresponding to each sub-identifier based on the order corresponding to the multiple sub-identifiers to obtain the complete video corresponding to the first identifier. Among them, the specific splicing method may be: based on the order of the order corresponding to the multiple sub-identifiers, the video slice corresponding to the sub-identifier ranked first is arranged at the earliest playback position of the complete video, and so on, the video slice corresponding to the sub-identifier ranked last is arranged at the latest playback position of the complete video. It should be pointed out that this is only an exemplary description. In actual processing, other methods can also be used for splicing, which are not limited or exhaustive here.

[0062] For example, the sub-display content corresponding to each sub-identifier may include a partial image; accordingly, the first display content may be a complete image. Generating the first display content corresponding to the first identifier based on the order corresponding to multiple sub-identifiers and the sub-display content corresponding to each sub-identifier may refer to splicing the partial images corresponding to each sub-identifier based on the order corresponding to the multiple sub-identifiers to obtain the complete image corresponding to the first identifier. Among them, the specific splicing method may be: based on the order of the order corresponding to the multiple sub-identifiers, the partial image corresponding to the sub-identifier ranked first is arranged above the complete image, and so on, the partial image corresponding to the sub-identifier ranked last is arranged below the complete image. It should be pointed out that this is only an exemplary description. In actual processing, other methods can also be used for splicing, which are not limited or exhaustive here.

[0063] In this way, when it is determined based on the query result corresponding to each of the multiple sub-identifiers that the sub-display content corresponding to each sub-identifier exists in the local shared database, the target display content can be generated based on the sub-display content corresponding to each sub-identifier. In this way, it is not necessary to download the first display content for the first application, and the first display content can be obtained based on the sub-display content corresponding to the multiple sub-identifiers stored in the local shared database, thereby avoiding the problem of resource waste caused by repeated downloading of the same content by different applications.

[0064] In one embodiment, the determining the target display content based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: downloading the data packet corresponding to the first identifier based on the download address corresponding to the first identifier contained in the response message of the first request, when it is determined that the sub-display content corresponding to each sub-identifier does not exist in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database; obtaining the first display content corresponding to the first identifier based on the data packet corresponding to the first identifier, and saving the first identifier and the first display content corresponding to it in the local shared database in association; and using the first display content as the target display content.

[0065] Among them, in the case where it is determined that the sub-display content corresponding to each sub-identifier among the multiple sub-identifiers does not exist in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database, downloading the data packet corresponding to the first identifier based on the download address corresponding to the first identifier contained in the response message of the first request can include: searching in the local database based on each sub-identifier among the multiple identifiers to obtain the query result corresponding to each sub-identifier in the local database; judging whether the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local database is that the sub-display content corresponding to the sub-identifier exists in the local shared database; if the query result corresponding to each sub-identifier in the local database is that the sub-display content corresponding to the sub-identifier does not exist in the local shared database, then it is determined that the sub-display content corresponding to each sub-identifier does not exist in the local shared database, and the data packet corresponding to the first identifier is downloaded based on the download address corresponding to the first identifier contained in the response message of the first request.

[0066] Downloading the data packet corresponding to the first identifier based on the download address corresponding to the first identifier included in the response message to the first request may refer to downloading the data packet corresponding to the first identifier from a second server based on the download address corresponding to the first identifier included in the response message to the first request. The second server may be different from the first server, for example, the second server may be a server of a content provider; or the second server may be the same as the first server, which is not limited in this embodiment.

[0067] In one case, the data packet corresponding to the first identifier may include the first display content corresponding to the first identifier.

[0068] In this case, obtaining the first display content corresponding to the first identifier based on the data packet corresponding to the first identifier may include: directly extracting the first display content corresponding to the first identifier from the data packet corresponding to the first identifier.

[0069] In one case, the data packet corresponding to the first identifier may include multiple sub-identifiers corresponding to the first identifier, the order corresponding to the multiple sub-identifiers, and the sub-display content corresponding to each of the multiple sub-identifiers.

[0070] In this case, the first display content corresponding to the first identifier is obtained based on the data packet corresponding to the first identifier, including: extracting multiple sub-identifiers corresponding to the first identifier, the ranking corresponding to the multiple sub-identifiers, and the sub-display content corresponding to each sub-identifier of the multiple sub-identifiers from the data packet corresponding to the first identifier, and associating each sub-identifier and its corresponding sub-display content and saving them in the local shared database; generating the first display content corresponding to the first identifier based on the ranking corresponding to the multiple sub-identifiers and the sub-display content corresponding to each sub-identifier.

[0071] Taking the jth sub-identifier among the multiple sub-identifiers as an example, the associating and storing each sub-identifier and its corresponding sub-display content in the local shared database may be associating and storing the jth sub-identifier and its corresponding jth sub-display content in the local shared database.

[0072] The generating of the first display content corresponding to the first identifier based on the order corresponding to the multiple sub-identifiers and the sub-display content corresponding to each sub-identifier is the same as the above embodiment and will not be repeated here.

[0073] In this way, only when it is determined that the local shared database of the terminal contains neither the display content corresponding to the first identifier nor the sub-display content corresponding to all the sub-identifiers, will the data packet corresponding to the first identifier be downloaded to obtain the first display content. In this way, the probability of downloading content from the server can be minimized. In addition, the first display content in the downloaded data packet corresponding to the first identifier is associated with the first identifier and stored in the local shared database. When other applications need to display the first display content, they can directly use the first display content in the shared database without re-downloading it, which can provide a basis for avoiding repeated downloading of the same content by different applications.

[0074] In this way, the sub-display contents corresponding to the multiple sub-identifiers can be combined into a complete first display content through the sorting corresponding to the multiple sub-identifiers, so that the first application can properly display the first display content; on this basis, each sub-identifier and its corresponding sub-display content are associated and saved in the local shared database, so that when other applications need to obtain the sub-display content corresponding to one or some of the multiple sub-identifiers corresponding to the first identifier, the sub-display content corresponding to one or some of the sub-identifiers can be directly extracted from the local shared database without re-downloading, which can reduce the problem of resource waste caused by repeated downloading of the same sub-display content by different applications.

[0075] In one embodiment, the determining the target display content based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: when it is determined that the sub-display content corresponding to each sub-identifier does not exist in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database, downloading the sub-display content corresponding to each sub-identifier based on the download address corresponding to each sub-identifier included in the response message of the first request, and associating each sub-identifier and its corresponding sub-display content and saving them in the local shared database; generating the first display content corresponding to the first identifier based on the sub-display content corresponding to each sub-identifier, and associating the first identifier with the first display content and saving them in the local shared database; using the first display content as the target display content.

[0076] Still taking the jth sub-identifier as an example, based on the download address corresponding to each sub-identifier included in the response message of the first request, downloading the sub-display content corresponding to each sub-identifier can be: based on the download address corresponding to the jth sub-identifier included in the response message of the first request, downloading the sub-display content corresponding to the jth sub-identifier from the second server. Since the method of downloading the sub-display content corresponding to each sub-identifier is the same, it will not be described one by one.

[0077] The associating and storing each sub-identification and its corresponding sub-display content in the local shared database is the same as the above embodiment and will not be described again here.

[0078] The generating of the first display content corresponding to the first identifier based on the sub-display content corresponding to each sub-identifier may be: generating the first display content corresponding to the first identifier based on the ranking corresponding to each sub-identifier and the sub-display content corresponding to each sub-identifier. The method of generating the first display content corresponding to the first identifier based on the ranking corresponding to each sub-identifier and the sub-display content corresponding to each sub-identifier is the same as the above embodiment and will not be described in detail here.

[0079] In this way, the sub-display content corresponding to each sub-identifier will be downloaded to form the first display content only when it is determined that the local shared database of the terminal contains neither the display content corresponding to the first identifier nor the sub-display content corresponding to all the sub-identifiers. In this way, the probability of downloading content from the server can be minimized. In addition, the sub-display content corresponding to the downloaded sub-identifier is associated with the sub-identifier and stored in the local shared database. When other applications need to use the sub-display content corresponding to the sub-identifier, there is no need to download it again, which can provide a basis for avoiding repeated downloading of the same content by different applications.

[0080] In one embodiment, the determining the target display content based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: when it is determined that sub-display content corresponding to one or more first sub-identifiers among the multiple sub-identifiers exists in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers, and sub-display content corresponding to one or more second sub-identifiers among the multiple sub-identifiers does not exist, based on the download address corresponding to each second sub-identifier included in the response message of the first request, downloading the second sub-display content corresponding to each second sub-identifier and the associated second sub-display content stored in the local shared database; generating the target display content based on the first sub-display content corresponding to each first sub-identifier among the one or more first sub-identifiers and the second sub-display content corresponding to each second sub-identifier.

[0081] Among them, when it is determined that sub-display content corresponding to one or more first sub-identifiers among the multiple sub-identifiers exists in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database, and sub-display content corresponding to one or more second sub-identifiers among the multiple sub-identifiers does not exist, downloading the second sub-display content corresponding to each second sub-identifier based on the download address corresponding to each second sub-identifier contained in the response message of the first request can include: searching in the local database based on each sub-identifier among the multiple identifiers to obtain the query result corresponding to each sub-identifier in the local database; judging whether the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local database is that the sub-display content corresponding to the sub-identifier exists in the local shared database; if sub-display content corresponding to one or more first sub-identifiers among the multiple sub-identifiers exists in the local shared database, and sub-display content corresponding to one or more second sub-identifiers among the multiple sub-identifiers does not exist, downloading the second sub-display content corresponding to each second sub-identifier based on the download address corresponding to each second sub-identifier contained in the response message of the first request.

[0082] The manner of associating each second sub-identifier with the second sub-display content corresponding to each second sub-identifier and storing it in the local shared database is the same as the manner of associating each sub-identifier with its corresponding sub-display content and storing it in the local shared database, which will not be repeated here.

[0083] The generating the target display content based on the first sub-display content corresponding to each first sub-identifier and the second sub-display content corresponding to each second sub-identifier includes: extracting the first sub-display content corresponding to each first sub-identifier from the local shared database; sorting each first sub-identifier and each second sub-identifier based on the sorting corresponding to the multiple sub-identifiers; and sorting and combining the first sub-display content corresponding to each first sub-identifier and the second sub-display content corresponding to each second sub-identifier based on each sorted first sub-identifier and each second sub-identifier to obtain the first display content corresponding to the first identifier.

[0084] In this way, when it is determined that the local shared database of the terminal does not contain the display content corresponding to the first identifier, but contains the sub-display content corresponding to at least one sub-identifier of all the sub-identifiers, the sub-display content corresponding to each of the remaining sub-identifiers can be downloaded to form the first display content. In this way, the amount of data downloaded from the server can be reduced. In addition, the sub-display content corresponding to the downloaded sub-identifier is associated with the sub-identifier and stored in the local shared database. When other applications need to use the sub-display content corresponding to the sub-identifier, there is no need to download it again, which can provide a basis for avoiding repeated downloading of the same content by different applications.

[0085] Combination Figure 2 An exemplary description of the above implementation is provided, including:

[0086] S201 : In response to an operation on a first application, a first request is sent to a first server, wherein the first request is used to request information related to content to be displayed of the first application.

[0087] S202: Receive a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the to-be-displayed content of the first application.

[0088] S203, query the local shared database,

[0089] If the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the first display content corresponding to the first identifier exists in the local shared database, execute S206;

[0090] In a case where it is determined that the local shared database contains sub-display content corresponding to each sub-identifier among the multiple sub-identifiers based on the query result corresponding to the local shared database, first display content corresponding to the first identifier is generated based on the sub-display content corresponding to each sub-identifier, and S206 is executed;

[0091] When it is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database that the sub-display content corresponding to each sub-identifier does not exist in the local shared database, or when sub-display content corresponding to one or more first sub-identifiers among the multiple sub-identifiers exists in the local shared database, and sub-display content corresponding to one or more second sub-identifiers among the multiple sub-identifiers does not exist, execute S204.

[0092] S204: Execute download processing, which may specifically include one of the following:

[0093] S2041: based on the download address corresponding to the first identifier included in the response message of the first request, download the data packet corresponding to the first identifier, and execute S205.

[0094] S2042: based on the download address corresponding to each second sub-identifier included in the response message of the first request, download the second sub-display content corresponding to each second sub-identifier, and execute S205.

[0095] S2043: based on the download address corresponding to each sub-identifier included in the response message of the first request, download the sub-display content corresponding to each sub-identifier, and execute S205.

[0096] S205, determining whether the download is successful, specifically including one of the following:

[0097] S2051, if the data packet corresponding to the first identifier is downloaded successfully, the first identifier is associated with the first display content and stored in the local shared database, each sub-identifier and its corresponding sub-display content are associated and stored in the local shared database, and the first display content corresponding to the first identifier is obtained based on the data packet corresponding to the first identifier. Then S206 is executed; if the data packet corresponding to the first identifier is not downloaded successfully, S207 is executed.

[0098] S2052, when the second sub-display content corresponding to each second sub-identifier is downloaded successfully, each second sub-identifier and its corresponding second sub-display content are associated and saved in the local shared database, and the target display content is generated based on the first sub-display content corresponding to each first sub-identifier among the one or more first sub-identifiers and the second sub-display content corresponding to each second sub-identifier, and S206 is executed; when the second sub-display content corresponding to each second sub-identifier is downloaded unsuccessfully, S207 is executed.

[0099] S2053, when the sub-display content corresponding to each sub-identifier is downloaded successfully, each sub-identifier and its corresponding sub-display content are associated and saved in the local shared database, and based on the sub-display content corresponding to each sub-identifier, the first display content corresponding to the first identifier is generated, and then S206 is executed; when the sub-display content corresponding to each sub-identifier is downloaded unsuccessfully, S207 is executed.

[0100] S206: Display the target display content (ie, the first display content) in the display area of ​​the first application, and then end the process.

[0101] S207: Do not display the first application in the display area.

[0102] In one embodiment, before sending a first request to a first server in response to an operation on a first application, the method further includes: sending a second request to the first server in response to an operation on a second application, wherein the second request is used to request relevant information of content to be displayed of the second application; receiving a response message to the second request sent by the first server, wherein the response message to the second request includes multiple identifiers corresponding to the content to be displayed of the second application; obtaining the target display content of the second application based on query results corresponding to the multiple identifiers in a local shared database, and displaying the target display content of the second application in a display area of ​​the second application.

[0103] The manner of sending the second request to the first server in response to the operation on the second application is the same as the manner of sending the first request to the first server in response to the operation on the first application, and will not be repeated here.

[0104] The operation performed by the first server side includes: receiving a second request sent by the terminal; obtaining multiple identifiers based on the second request; generating a response message of the second request based on the multiple identifiers; and sending a response message of the second request to the terminal. The method of obtaining multiple identifiers based on the second request; and generating a response message of the second request based on the multiple identifiers is the same as the method of obtaining multiple identifiers based on the first request; and generating a response message of the second request based on the multiple identifiers, and will not be repeated here.

[0105] The obtaining of query results corresponding to the multiple identifiers based on the multiple identifiers and the local shared database is the same as the above implementation method and will not be repeated here.

[0106] The process of obtaining the target display content of the second application based on the query results corresponding to the multiple identifiers is the same as the description of the related process of the first application mentioned above, and will not be repeated here.

[0107] Combination Figure 3 The above-mentioned implementation modes are exemplarily described, including:

[0108] S301, the processing performed by the second application specifically includes:

[0109] In response to an operation on a second application, a second request is sent to a server (such as a first server); a response message to the second request sent by the server (such as the first server) is received; based on the multiple identifiers and a local shared database, query results corresponding to the multiple identifiers are obtained; when it is determined that the local shared database contains sub-display content corresponding to each sub-identifier in the multiple sub-identifiers in the local shared database based on the query result corresponding to the local shared database, based on the download address corresponding to the first identifier contained in the response message to the second request, a data packet corresponding to the first identifier is downloaded from a server (such as a second server); based on the data packet corresponding to the first identifier, a first display content corresponding to the first identifier is obtained, and the first identifier and the first display content corresponding to the first identifier are associated and saved in the local shared database; and the target display content is displayed in a display area of ​​the second application.

[0110] S302, the processing performed by the first application specifically includes: sending a first request to a server (such as the first server) in response to an operation on the first application; receiving a response message to the first request sent by the server (such as the first server), wherein the response message to the first request includes multiple identifiers corresponding to the content to be displayed of the first application; and when the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the first display content corresponding to the first identifier exists in the local shared database, taking the first display content as the target display content and displaying it.

[0111] Figure 4 FIG. 1 shows a schematic block diagram of a terminal provided by an embodiment of the present disclosure. Figure 3 As shown, including:

[0112] The communication module 401 is used to send a first request to a first server in response to an operation on a first application, wherein the first request is used to request relevant information of the content to be displayed of the first application; and receive a response message to the first request sent by the first server, wherein the response message to the first request includes multiple identifiers corresponding to the content to be displayed of the first application;

[0113] A storage query module 402, configured to obtain target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application;

[0114] The display module 403 is used to display the target display content in the display area of ​​the first application.

[0115] The multiple identifiers include a first identifier and multiple sub-identifiers corresponding to the first identifier; the storage query module is used to execute one of the following: when the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the first display content corresponding to the first identifier exists in the local shared database, use the first display content as the target display content; when the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the display content corresponding to the first identifier does not exist in the local shared database, determine the target display content based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database.

[0116] The storage query module is used to generate the target display content based on the sub-display content corresponding to each sub-identifier in the local shared database, when it is determined that the sub-display content corresponding to each sub-identifier in the local shared database exists in the local shared database based on the query result corresponding to each sub-identifier in the multiple sub-identifiers.

[0117] The communication module is configured to download a data packet corresponding to the first identifier based on a download address corresponding to the first identifier included in a response message to the first request, when it is determined that the sub-display content corresponding to each sub-identifier in the local shared database does not exist in the local shared database based on a query result corresponding to each sub-identifier in the multiple sub-identifiers.

[0118] The storage query module is used to obtain the first display content corresponding to the first identifier based on the data packet corresponding to the first identifier, and associate the first identifier and the first display content corresponding to it and store them in the local shared database; and use the first display content as the target display content.

[0119] The storage query module is used to extract multiple sub-identifiers corresponding to the first identifier, the ranking corresponding to the multiple sub-identifiers, and the sub-display content corresponding to each of the multiple sub-identifiers from the data packet corresponding to the first identifier, and associate each sub-identifier and its corresponding sub-display content and save them in the local shared database; based on the ranking corresponding to the multiple sub-identifiers and the sub-display content corresponding to each sub-identifier, generate the first display content corresponding to the first identifier.

[0120] The communication module is used for, when it is determined based on the query result corresponding to each sub-identifier in the local shared database that the sub-display content corresponding to each sub-identifier among the multiple sub-identifiers does not exist in the local shared database, downloading the sub-display content corresponding to each sub-identifier based on the download address corresponding to each sub-identifier included in the response message to the first request, and associating each sub-identifier with the sub-display content corresponding to the sub-identifier and storing it in the local shared database;

[0121] The storage query module is used to generate the first display content corresponding to the first identifier based on the sub-display content corresponding to each sub-identifier, and associate the first identifier with the first display content and store them in the local shared database; and use the first display content as the target display content.

[0122] The communication query module is used for, when it is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database that there are sub-display contents corresponding to one or more first sub-identifiers among the multiple sub-identifiers in the local shared database, and there are no sub-display contents corresponding to one or more second sub-identifiers among the multiple sub-identifiers, downloading the second sub-display contents corresponding to each second sub-identifier based on the download address corresponding to each second sub-identifier included in the response message to the first request, and associating each second sub-identifier with the second sub-display contents corresponding to the second sub-identifier and storing them in the local shared database;

[0123] The storage query module is used to generate the target display content based on the first sub-display content corresponding to each first sub-identifier among the one or more first sub-identifiers and the second sub-display content corresponding to each second sub-identifier.

[0124] For the description of specific functions and examples of each module and submodule of the device in the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.

[0125] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0126] According to an embodiment of the present disclosure, the present disclosure also provides a terminal, a readable storage medium and a computer program product.

[0127] Figure 5 A schematic block diagram of an example terminal 500 that can be used to implement an embodiment of the present disclosure is shown. The terminal is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The terminal can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0128] like Figure 5As shown, the terminal 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the terminal 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0129] A number of components in the terminal 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the terminal 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0130] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the above method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the terminal 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, at least one step of the method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the above method in any other appropriate manner (e.g., by means of firmware).

[0131] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0132] The program code for implementing the method of the present disclosure may be written in any combination of at least one programming language. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0133] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on at least one line, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0134] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0135] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0136] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0137] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0138] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A content display method executed by a terminal, comprising: In response to an operation on a first application, sending a first request to a first server, wherein the first request is used to request relevant information of content to be displayed of the first application; receiving a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the to-be-displayed content of the first application; Obtain target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application; The target display content is displayed in the display area of ​​the first application.

2. The method according to claim 1, wherein: The multiple identifiers include a first identifier and multiple sub-identifiers corresponding to the first identifier; The obtaining of target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database includes one of the following: When the query result corresponding to the first identifier among the multiple identifiers in the local shared database indicates that the first display content corresponding to the first identifier exists in the local shared database, use the first display content as the target display content; When the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the display content corresponding to the first identifier does not exist in the local shared database, the target display content is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database.

3. The method according to claim 2, wherein: The determining the target display content based on the query result corresponding to each sub-identifier in the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: When it is determined that the local shared database contains sub-display content corresponding to each sub-identifier among the multiple sub-identifiers based on the query result corresponding to the local shared database, the target display content is generated based on the sub-display content corresponding to each sub-identifier.

4. The method according to claim 2, wherein: The determining the target display content based on the query result corresponding to each sub-identifier in the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: In a case where it is determined that the local shared database does not contain the sub-display content corresponding to each sub-identifier among the multiple sub-identifiers based on the query result corresponding to the local shared database, downloading the data packet corresponding to the first identifier based on the download address corresponding to the first identifier included in the response message to the first request; Based on the data packet corresponding to the first identifier, obtain the first display content corresponding to the first identifier, and associate the first identifier and the first display content corresponding to the first identifier and store them in the local shared database; The first display content is used as the target display content.

5. The method according to claim 4, wherein: The obtaining, based on the data packet corresponding to the first identifier, the first display content corresponding to the first identifier includes: Extracting multiple sub-identifiers corresponding to the first identifier, the order corresponding to the multiple sub-identifiers, and the sub-display content corresponding to each of the multiple sub-identifiers from the data packet corresponding to the first identifier, and associating each sub-identifier with the corresponding sub-display content and storing them in the local shared database; Based on the order corresponding to the multiple sub-identifiers and the sub-display content corresponding to each sub-identifier, the first display content corresponding to the first identifier is generated.

6. The method according to claim 2, wherein: The determining the target display content based on the query result corresponding to each sub-identifier in the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: In a case where it is determined that the sub-display content corresponding to each sub-identifier in the local shared database does not exist in the local shared database based on the query result corresponding to each sub-identifier in the multiple sub-identifiers, downloading the sub-display content corresponding to each sub-identifier based on the download address corresponding to each sub-identifier included in the response message to the first request, and associating each sub-identifier with the sub-display content corresponding to the sub-identifier and storing it in the local shared database; Based on the sub-display content corresponding to each sub-identifier, generate the first display content corresponding to the first identifier, and associate the first identifier with the first display content and store them in the local shared database; The first display content is used as the target display content.

7. The method according to claim 2, wherein: The determining the target display content based on the query result corresponding to each sub-identifier in the multiple sub-identifiers corresponding to the first identifier in the local shared database includes: In a case where it is determined that sub-display contents corresponding to one or more first sub-identifiers among the multiple sub-identifiers exist in the local shared database based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database, and sub-display contents corresponding to one or more second sub-identifiers among the multiple sub-identifiers do not exist, based on the download address corresponding to each second sub-identifier included in the response message to the first request, download the second sub-display contents corresponding to each second sub-identifier, and associate each second sub-identifier with the second sub-display contents corresponding to the second sub-identifier and store them in the local shared database; The target display content is generated based on the first sub-display content corresponding to each first sub-identifier among the one or more first sub-identifiers and the second sub-display content corresponding to each second sub-identifier.

8. A terminal, comprising: a communication module, configured to send a first request to a first server in response to an operation on a first application, wherein the first request is used to request information related to content to be displayed of the first application; and receive a response message to the first request sent by the first server, wherein the response message to the first request includes a plurality of identifiers corresponding to the content to be displayed of the first application; a storage query module, configured to obtain target display content based on a query result corresponding to at least one of the multiple identifiers in a local shared database, wherein the local shared database is shared by multiple applications in the terminal, and the multiple applications include the first application; A display module is used to display the target display content in the display area of ​​the first application.

9. The terminal according to claim 8, wherein: The multiple identifiers include a first identifier and multiple sub-identifiers corresponding to the first identifier; the storage query module is used to perform one of the following: when the query result corresponding to the first identifier in the multiple identifiers in the local shared database is that the first display content corresponding to the first identifier exists in the local shared database, use the first display content as the target display content; When the query result corresponding to the first identifier among the multiple identifiers in the local shared database is that the display content corresponding to the first identifier does not exist in the local shared database, the target display content is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers corresponding to the first identifier in the local shared database.

10. The terminal according to claim 9, wherein: The storage query module is used to generate the target display content based on the sub-display content corresponding to each sub-identifier in the local shared database, when it is determined that the sub-display content corresponding to each sub-identifier in the local shared database exists in the local shared database based on the query result corresponding to each sub-identifier in the multiple sub-identifiers.

11. The terminal according to claim 9, wherein: The communication module is configured to download a data packet corresponding to the first identifier based on a download address corresponding to the first identifier included in a response message to the first request, when it is determined that the sub-display content corresponding to each sub-identifier in the local shared database does not exist in the local shared database based on a query result corresponding to each sub-identifier in the multiple sub-identifiers. The storage query module is used to obtain the first display content corresponding to the first identifier based on the data packet corresponding to the first identifier, and associate the first identifier and the first display content corresponding to it and store them in the local shared database; and use the first display content as the target display content.

12. The terminal according to claim 11, wherein: The storage query module is used to extract multiple sub-identifiers corresponding to the first identifier, the ranking corresponding to the multiple sub-identifiers, and the sub-display content corresponding to each of the multiple sub-identifiers from the data packet corresponding to the first identifier, and associate each sub-identifier and its corresponding sub-display content and save them in the local shared database; based on the ranking corresponding to the multiple sub-identifiers and the sub-display content corresponding to each sub-identifier, generate the first display content corresponding to the first identifier.

13. The terminal according to claim 9, wherein: The communication module is used for, when it is determined based on the query result corresponding to each sub-identifier in the local shared database that the sub-display content corresponding to each sub-identifier among the multiple sub-identifiers does not exist in the local shared database, downloading the sub-display content corresponding to each sub-identifier based on the download address corresponding to each sub-identifier included in the response message to the first request, and associating each sub-identifier with the sub-display content corresponding to the sub-identifier and storing it in the local shared database; The storage query module is used to generate the first display content corresponding to the first identifier based on the sub-display content corresponding to each sub-identifier, and associate the first identifier with the first display content and store them in the local shared database; The first display content is used as the target display content.

14. The terminal according to claim 9, wherein: The communication query module is used for, when it is determined based on the query result corresponding to each sub-identifier among the multiple sub-identifiers in the local shared database that there are sub-display contents corresponding to one or more first sub-identifiers among the multiple sub-identifiers in the local shared database, and there are no sub-display contents corresponding to one or more second sub-identifiers among the multiple sub-identifiers, downloading the second sub-display contents corresponding to each second sub-identifier based on the download address corresponding to each second sub-identifier included in the response message to the first request, and associating each second sub-identifier with the second sub-display contents corresponding to the second sub-identifier and storing them in the local shared database; The storage query module is used to generate the target display content based on the first sub-display content corresponding to each first sub-identifier among the one or more first sub-identifiers and the second sub-display content corresponding to each second sub-identifier.

15. A terminal, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

17. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.