CN117009684A - Content display method, device and computer readable storage medium - Google Patents

Content display method, device and computer readable storage medium Download PDF

Info

Publication number
CN117009684A
CN117009684A CN202210452761.5A CN202210452761A CN117009684A CN 117009684 A CN117009684 A CN 117009684A CN 202210452761 A CN202210452761 A CN 202210452761A CN 117009684 A CN117009684 A CN 117009684A
Authority
CN
China
Prior art keywords
content
information
target
display
content area
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
CN202210452761.5A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202210452761.5A priority Critical patent/CN117009684A/en
Publication of CN117009684A publication Critical patent/CN117009684A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The embodiment of the application discloses a content display method, a content display device and a computer readable storage medium, wherein service demand information of each content area in the current application is obtained; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters. Therefore, by configuring the display parameters of each content area in advance according to the service demand information of each content area in the current application, when a content display request is received, corresponding target content information is directly obtained according to the target content area identifier included in the content display request, and the target content information is displayed according to the configured display parameters, so that the content display flow is simplified, and the content display efficiency is further improved.

Description

Content display method, device and computer readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a content display method, a content display device, and a computer readable storage medium.
Background
In recent years, with the rapid development of internet technology, content promotion via the internet has become a new form of information dissemination and has become widely used. Among them, internet advertisement (hereinafter referred to as advertisement) has become an important way for users to obtain information, and advertisers to promote popularity and promote products as a common way of content promotion on the internet. In the current advertisement service line, there is a need for receiving advertisements of a third party, advertisement contents are obtained and displayed by accessing an advertisement development kit (Software Development Kit, SDK) of the third party, and when special service needs such as limiting the display times of advertisement contents at a certain place or limiting the display times of different accounts exist in the content display service, the existing content display method generally solves the service needs of each content display service by respectively performing corresponding processing on corresponding service ends according to the service needs of the content display service.
In the research and practice process of the prior art, the prior content display method needs to be correspondingly processed in a service end according to service requirements, which is not beneficial to the optimization of the subsequent content display service, so that the content display process is complicated, and the content display efficiency is lower.
Disclosure of Invention
The embodiment of the application provides a content display method, a content display device and a computer readable storage medium, which can simplify the content display flow and further improve the content display efficiency.
The embodiment of the application provides a content display method, which comprises the following steps:
acquiring service demand information of each content area in the current application;
configuring the display parameters of the content area based on the service demand information to obtain the configured display parameters;
receiving a content presentation request, wherein the content presentation request comprises a target content area identifier;
acquiring target content information corresponding to the content display request according to the target content area identifier;
and displaying the target content information based on the configured display parameters.
Correspondingly, the embodiment of the application provides a content display device, which comprises:
the business requirement information acquisition unit is used for acquiring business requirement information of each content area in the current application;
the display parameter configuration unit is used for configuring the display parameters of the content area based on the service demand information to obtain the configured display parameters;
a request receiving unit, configured to receive a content presentation request, where the content presentation request includes a target content area identifier;
A content information obtaining unit, configured to obtain target content information corresponding to the content display request according to the target content area identifier;
and the content display unit is used for displaying the target content information based on the configured display parameters.
In an embodiment, the content presentation unit includes:
a target content area determining subunit, configured to determine a target content area in the currently applied content area set based on the target content area identifier;
the target display parameter identification subunit is used for identifying the target display parameters corresponding to the target content area in the configured display parameters;
and the display subunit is used for displaying the target content information through the target content area according to the target display parameters.
In one embodiment, the display subunit comprises:
the determining module is used for determining the display authority corresponding to the target content area according to the target display parameters;
the authentication module is used for acquiring the display permission and carrying out authentication processing on the target content area;
and the display module is used for displaying the target content information through the target content area when the authentication is passed.
In an embodiment, the content information acquisition unit includes:
searching a configuration content data table and a basic content data table corresponding to the content display request in a resource database according to the target content area identifier, wherein the configuration content data table is used for storing configuration content information configured based on service authority, and the basic content data table is used for storing basic content information configured by default;
when the configuration content information corresponding to the target content area identifier is acquired from the configuration content data table, determining the configuration content information as target content information;
and when the configuration content information is not acquired in the configuration content data table, acquiring basic content information corresponding to the target content area identifier in the basic content data table, and determining the basic content information as target content information.
In an embodiment, the content display apparatus further includes:
a content area identifier obtaining unit, configured to obtain a content area identifier of each content area in the current application;
a content data acquisition unit, configured to acquire content data corresponding to the content area based on the content area identifier;
And the storage unit is used for analyzing the content data to obtain content information corresponding to each content area, and storing the content information into a resource database.
In an embodiment, the content data acquisition unit is configured to:
acquiring current version information of the current application;
and acquiring content data corresponding to the content area from the cloud through a content development kit corresponding to the current application based on the content area identifier and the current version information.
In an embodiment, the content display apparatus further includes:
a route jump link obtaining unit, configured to obtain a route jump link corresponding to the target content information when a route jump request for the target content information is received;
the analyzing unit is used for analyzing the route jump link through the content development kit corresponding to the current application to obtain route jump information, wherein the route jump information comprises an end point page address;
and the jumping unit is used for jumping the current page to the destination page corresponding to the destination page address based on the route jumping information.
In addition, the embodiment of the application also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any content display method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein the memory stores an application program, and the processor is used for running the application program in the memory to realize the content display method provided by the embodiment of the application.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the content presentation method provided by the embodiment of the application.
The embodiment of the application obtains the service demand information of each content area in the current application; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters. By configuring the display parameters of each content area according to the service demand information of each content area in the current application in advance, when a content display request is received, the corresponding target content information is directly obtained according to the target content area identifier included in the content display request, and the target content information is displayed according to the configured display parameters, so that the content display process is simplified, the content display rate is improved, meanwhile, the mode of configuring the display parameters of each content area according to the service demand information of each content area in the current application is unified, the follow-up optimization of the content display service and the expansion of the embedded point demand are facilitated, and the content display efficiency is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an implementation scenario of a content display method according to an embodiment of the present application;
fig. 2 is a flow chart of a content display method according to an embodiment of the present application;
FIG. 3 is another flow chart of a content display method according to an embodiment of the present application;
fig. 4 is a timing diagram of a content display method according to an embodiment of the present application;
FIG. 5 is another timing diagram of a content display method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a content display apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a content display method, a content display device and a computer readable storage medium. The content display device may be integrated in a computer device, which may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform. The terminal may be, but not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, or other devices capable of performing page drawing. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
Referring to fig. 1, taking an example that a content display apparatus is integrated in a computer device, fig. 1 is a schematic diagram of an implementation scenario of a content display method according to an embodiment of the present application, where the computer device may be a terminal, and the terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart watch, or other various computer devices capable of performing parameter setting, but is not limited thereto. The computer equipment can acquire the service demand information of each content area in the current application; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters.
It should be noted that, the schematic view of the implementation environment of the content display method shown in fig. 1 is only an example, and the implementation environment of the content display method described in the embodiment of the present application is for more clearly describing the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided by the embodiment of the present application. Those skilled in the art can know that with the evolution of page drawing and the appearance of new business scenes, the technical scheme provided by the application is also applicable to similar technical problems.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described from the point of view of a content presentation device, which may be integrated in a computer apparatus, which may be a terminal, to which the present application is not limited.
Referring to fig. 2, fig. 2 is a flowchart illustrating a content display method according to an embodiment of the application. The content display method comprises the following steps:
in step 101, service requirement information of each content area in the current application is acquired.
The Application may be an Application (APP), and the content area may be an area carrying content, where content information is placed in a page. The content may be a carrier for transmitting related information according to a specific purpose, for example, may be an internet advertisement (for short, advertisement), the content information may be resource information corresponding to the content, may be data for constructing the content, for example, may include data such as pictures, texts, videos, links, etc., taking the content as an advertisement as an example, the content information may be an advertisement resource, and the content area may be an advertisement space, and may be used for placing advertisements in a page. The service requirement information may be information including service requirements corresponding to content areas, and may be used to characterize the service requirements corresponding to each content area, where the service requirements may be requirements set forth for each service, may represent an organization or a client high-level objective, for example, may limit the number of times a certain advertisement slot is displayed in a current application, or may limit the number of times a certain advertisement slot is displayed in different accounts, and other service requirements.
The method for acquiring the service requirement information of each content area in the current application may be various, for example, a developer may configure the service requirement information according to the service requirement of each content area, so that the service requirement information of each content area may be acquired.
In step 102, display parameters of the content area are configured based on the service requirement information, so as to obtain configured display parameters.
The presentation parameter may be a parameter for controlling a presentation behavior of the content information in the content area, for example, may be a parameter for controlling the number of times the content information is presented in the content area, may be a parameter for controlling the number of times the content information is presented by the same user, may be a parameter for setting a skip destination of the content information in the content area, for example, may set the skip destination of the content information in the content area to a native page in APP, a fifth generation internet hypertext markup language page (h 5 page), or a page of an applet, etc. The configured display parameter may be a display parameter after configuring display information of the content area based on the service requirement information.
The method for configuring the display parameters of the content area based on the service requirement information may be various, for example, information matched with each display parameter may be extracted from the service requirement information and the parameters may be configured, and for the display parameters of the information which is not extracted from the service requirement information, the parameters may not be configured. Alternatively, for the service requirement information for which no matched presentation parameter is found, a new presentation parameter may be created for the content area according to the service requirement information.
In step 103, a content presentation request is received.
The content presentation request may be a request for acquiring content information to present, for example, an advertisement presentation request. The content presentation request may include a target content area identifier, which may be a content area identifier of a content area corresponding to a service end that triggers the content presentation request. The content area identification may be information identifying one content area, for example, a unique code (Identity document, abbreviated as id) corresponding to each content area, from which the corresponding content area can be determined. For example, for a certain open screen advertisement in the current application, its content area identifier may be set to page_start, for a popup advertisement in the MALL in the current application, its content area identifier may be set to pop_mall, for a top PAGE BANNER Advertisement (BANNER) of the current application, its content area identifier may be set to banner_main, etc.
In step 104, according to the target content area identifier, the target content information corresponding to the content display request is obtained.
The target content information may be content information corresponding to the target content area identifier, and the content information corresponding to the target content area identifier, that is, the target content information, may be determined according to an association relationship between the content area identifier and the content area and an association relationship between the content area and the content information.
Alternatively, content information corresponding to each content area may be obtained from the cloud in advance according to the content area identifier corresponding to each content area in the current application, so that the content information corresponding to each content area may be stored in the resource database. The resource database can be a preset database for storing content information corresponding to the content area, and can comprise a database corresponding to the current application, a cache and the like, so that when the content display request is received, the target content information corresponding to the content display request can be quickly searched in the resource database according to the target content area identifier corresponding to the content display request to display the content, the content display rate is improved, and the content display efficiency is further improved.
Optionally, taking the content area as an advertisement space as an example, the content information corresponding to each advertisement space can be obtained from the cloud according to the content area identifier corresponding to each advertisement space in the current application through an advertisement development kit (Software Development Kit, SDK), so that the advertisement resources (i.e. content information) corresponding to each advertisement space can be stored in a resource database. The advertisement development kit (i.e., advertisement SDK) may refer to a software development kit provided by a third party service provider for implementing related functions such as accessing internet advertisements, advertisement delivery, and the like.
In step 105, the target content information is presented based on the configured presentation parameters.
After the target content information is acquired, the display behavior of the target content information in the content area can be controlled according to the configured display parameters corresponding to the target content area, so that the service requirement corresponding to the target content area can be met, and the content display efficiency is improved.
In an embodiment, in the current advertisement service line, there is a need for receiving a third party advertisement, and advertisement content is obtained and displayed by accessing an advertisement development kit of the third party, when special service needs such as limiting the display times of advertisement content at a place or limiting the display times of different accounts exist in the advertisement content display service, in the prior art, the service needs of each content display service are generally solved by respectively performing corresponding processing on corresponding service ends according to the service needs of the advertisement content display service. However, the method for performing corresponding processing in the service end according to the service requirement is not beneficial to the optimization of the subsequent content display service, so that the content display process is complicated, and the content display efficiency is low. Therefore, the embodiment of the application provides a content display method, by configuring the display parameters of each advertisement position in advance according to the service requirement corresponding to each advertisement position in the current application by using the advertisement SDK, then, when a content display request is received, target advertisement resources (namely target content information) can be obtained according to the target content area identifier included in the content display request, so that the display behavior of the target advertisement resources in the corresponding advertisement position can be controlled according to the configured display parameters corresponding to the target content area, thereby realizing the service requirement corresponding to the target advertisement position.
From the above, the present application obtains the service requirement information of each content area in the current application; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters. By configuring the display parameters of each content area according to the service demand information of each content area in the current application in advance, when a content display request is received, the corresponding target content information is directly obtained according to the target content area identifier included in the content display request, and the target content information is displayed according to the configured display parameters, so that the content display process is simplified, the content display rate is improved, meanwhile, the mode of configuring the display parameters of each content area according to the service demand information of each content area in the current application is unified, the follow-up optimization of the content display service and the expansion of the embedded point demand are facilitated, and the content display efficiency is further improved.
According to the method described in the above embodiments, examples are described in further detail below.
In this embodiment, a specific description will be given by taking the specific integration of the content presentation device in a terminal as an example.
For better describing the embodiments of the present application, please refer to fig. 3, fig. 3 is another flow chart of the content display method according to the embodiment of the present application. The specific flow is as follows:
in step 201, the terminal obtains a content area identifier of each content area in the current application, obtains current version information of the current application, and obtains content data corresponding to the content area from the cloud end through a content development kit corresponding to the current application based on the content area identifier and the current version information.
The current version information may be version information of a current application, and the content development kit may be a software development kit integrated in the current application, may be a software development kit provided by a third party service provider for implementing related functions of accessing content, content delivery, presentation, and the like, and may be an advertisement SDK, for example. The content data may be data of a content resource corresponding to a content area acquired from the cloud.
Optionally, the content area identifier and the current version information of the current application can be obtained when the current application is started each time, and the content data corresponding to the content area can be obtained from the cloud according to the content area identifier and the current version information so as to update the existing content data, meanwhile, in the running process of the current application, the content data can be obtained from the cloud every certain time (for example, 30-60 minutes) to update the content data, so that the accuracy of the content data is ensured, and meanwhile, the load pressure of the server can be reduced by random update.
For example, taking content as an advertisement, a content area as an advertisement space, and content information as an advertisement resource as an example, please refer to fig. 4, fig. 4 is a timing diagram of a content display method provided by the embodiment of the present application, which may include a process that a terminal obtains and updates advertisement data from a cloud through an advertisement SDK, where a service end may call the advertisement SDK for an APP to obtain an advertisement group resource to implement a specific service process, where the advertisement group resource may be an advertisement resource of an advertisement group, an advertisement group may be an entity formed by at least one advertisement space in an APP page, the terminal may request advertisement data in units of the advertisement group when requesting advertisement data through the advertisement SDK, and accordingly, an advertisement group code may be a content area identifier corresponding to the advertisement space in the advertisement group. The data download interface (DownloadApi) may be an advertisement data download framework at the APP end. Therefore, the terminal can acquire the advertisement group code corresponding to each advertisement position in the current application, and meanwhile, can acquire the current version information of the current application, and acquire the advertisement data corresponding to each advertisement position in the APP from the cloud through the advertisement SDK corresponding to the current application based on the advertisement group code and the current version information.
In step 202, the terminal parses the content data to obtain content information corresponding to each content area, and stores the content information in the resource database.
The terminal may analyze the content data acquired from the cloud end, so as to obtain content information corresponding to each content area, and optionally, may configure an id for the content information corresponding to each content area, so that the content information may be stored in the resource database according to the content information id, and when the resource database is updated, the content information corresponding to the content information id may be updated according to the newly acquired content information.
In order to further meet the service requirement, two content information may be configured for each content area according to the actual service requirement, and the content information may include configuration content information and basic content information, where the configuration content information may be content information configured for the content area according to the service requirement, where the configuration content information may have a limitation of service rights, for example, a limitation of display time, a display number of times, a payment renewal and other service rights, and the basic content information may be content information of default display corresponding to the content area, for example, assuming that the display time of the configuration content information corresponding to a certain content area is seven days, the configuration content information corresponding to the content area may be acquired for display in the first seven days, and after seven days, the terminal may not acquire the configuration content information corresponding to the content area, so that the basic content information corresponding to the content area may be acquired for display, and after the advertiser performs renewal for the configuration content information corresponding to the content area, the terminal may also perform content display by acquiring the configuration content information corresponding to the content area.
The terminal analyzes the content data to obtain content information corresponding to each content area, and stores the content information in the resource database in various manners, for example, the content information can be downloaded and updated to the resource database, wherein the content information is downloaded in the resource database in advance, so that the terminal can directly obtain and display the content information from the local when receiving the content display request, and the content display speed is improved. Optionally, when the content information identifiers are the same, only the skip link and the throwing time of updating the content information can be supported, and the resource link and the throwing party information cannot be changed, so that the complete performance of the content display service can be ensured, and meanwhile, the services such as service demand statistics such as frequency limit control of content display and the expansion processing of subsequent buried point tasks can be facilitated.
The manner of downloading the content information may be various, for example, the second level cache of the content information may be implemented by a disk cache method (DiskLruCache), or a third party framework may be adopted, such as an android picture loading library (Glide), etc. Optionally, when updating the resource of the content information, the deleted content information may be temporarily cached, and may be used to handle the situation that the content information is taken off the shelf and then taken on the shelf again.
Optionally, after downloading the content information, the information summary value (MD 5 value) of each content information may be checked to ensure the integrity and accuracy of the content information to be displayed. After the verification is passed, the resource database is updated.
In an embodiment, please continue to refer to fig. 4, after the advertisement data is obtained from the cloud end and parsed into the advertisement resource, the content information stored in the resource database may be updated according to the advertisement resource id (i.e. the content information identifier). After the advertisement data is obtained, the advertisement resource can be downloaded according to the resource link in the advertisement data, so that the local link returned by the data downloading interface can be received, then the advertisement resource file can be downloaded through the local link, and the resource verification can be performed according to the MD5 value of the advertisement resource file, so that the integrity and the accuracy of the content information are ensured, and after the verification is passed, the resource database is updated.
In step 203, the terminal obtains service requirement information of each content area in the current application, configures display parameters of the content area based on the service requirement information, and obtains the configured display parameters.
The terminal may acquire the service requirement information of each content area in the current application in various manners, for example, a developer may configure the service requirement information according to the service requirement of each content area, so that the terminal may acquire the service requirement information of each content area.
After the service requirement information of each content area in the current application is acquired, the display parameters of the content area can be configured based on the service requirement information, wherein, the terminal can configure the display parameters of the content area in various modes based on the service requirement information, for example, the terminal can extract information matched with each display parameter in the service requirement information and configure the parameters, and the display parameters of the matched information which are not extracted in the service requirement information can not be configured. Alternatively, for the service requirement information for which no matched presentation parameter is found, a new presentation parameter may be created for the content area according to the service requirement information.
For example, since the currently applied advertisement space in each version is fixed and the service requirement is also fixed, the relevant display parameters of each advertisement space can be configured in advance according to the service requirement corresponding to each advertisement space, so that the service end can directly obtain the finally required advertisement resource through the content area identifier for displaying.
In step 204, the terminal receives the content display request, and searches the configuration content data table and the basic content data table corresponding to the content display request in the resource database according to the target content area identifier.
Wherein the content presentation request may include a target content area identification, the configuration content data table (configTable) may be used to store configuration content information configured based on the service rights, and the base content data table (deapoutttable) may be used to store base content information configured by default. When the content information is acquired from the resource database, the configuration content information may be preferentially acquired from the configuration content data table, and when the configuration content information does not exist in the configuration content data table, the acquisition of the data in the base content data table may be attempted.
In an embodiment, please refer to fig. 5, fig. 5 is another timing diagram of a content display method provided by the embodiment of the present application, which may include a process that a service end obtains advertisement resources from an advertisement SDK, and it should be noted that a process that a terminal provided in fig. 4 obtains and updates advertisement data from a cloud through the advertisement SDK and a process that a service end provided in fig. 5 obtains advertisement resources from the advertisement SDK may be asynchronous processes. The service end may request an advertisement resource to perform content display according to an advertisement group code (groupCode), when receiving a content display request, the advertisement SDK may perform restriction check on the content display request first, may perform restriction check according to an Account identifier (Account id) of a user, a display time (showTime) and other information requests, so as to determine whether the content display request meets a restriction rule (limit), thereby performing restriction check according to the Account identifier of the user, the display time and other information of the user, after the verification passes, may request the advertisement resource from a resource database through the advertisement group code, the current time and other information, after acquiring the advertisement resource returned from the resource database, may perform restriction check on the integrity and accuracy of the advertisement resource according to the MD5 value of the advertisement resource, after the verification passes, may return the advertisement resource corresponding to the content display request to the service end, after the advertisement resource is displayed by APP, may call the interface of the advertisement SDK to update the display time, the display time and other information corresponding to the advertisement position, so as to perform statistics on subsequent advertisement display conditions.
Wherein, in the process of requesting advertisement resources from the resource database by using the advertisement group codes and acquiring the data of the advertisement resources returned by the resource database, various situations can exist:
1. the advertisement resources of the current advertisement group are not processed after the data is not requested or the data is requested, and an empty array is returned at the moment, and the service end does not display the advertisement resources.
2. The request is sent to the data, the processing of partial advertisement resources in the current advertisement group is completed, and partial advertisement resources are returned.
3. And after the data is requested, all advertisement resources in the current advertisement group are processed and returned.
In step 205, when the configuration content information corresponding to the target content area identifier is acquired in the configuration content data table, the terminal determines the configuration content information as target content information, and when the configuration content information is not acquired in the configuration content data table, acquires the base content information corresponding to the target content area identifier in the base content data table, and determines the base content information as target content information.
The method comprises the steps that content information corresponding to a content area can be configured according to service authority determined by service requirements, so that configuration content information is obtained, when a content display request is received, the configuration content information can be preferentially obtained and displayed to preferentially meet the service requirements, at the moment, no additional processing is needed for the content information, when the configuration content information corresponding to a target content area does not exist in a configuration content data table, basic content information corresponding to the target content area identification can be obtained in a basic content data table, and the basic content information is determined to be target content information. And then, content display is carried out based on the basic content information, so that the normal operation of the content display process is ensured.
In step 206, the terminal determines a target content area in the currently applied content area set based on the target content area identifier, and identifies a target display parameter corresponding to the target content area from the configured display parameters.
The target content area may identify a corresponding content area for the target content area, and the target display parameter may be a configured display parameter corresponding to the target content area.
Optionally, when the display parameters of each content area are configured according to the service requirement information, the configured display parameters corresponding to each content area are associated with the corresponding content area, so that after the target content information is acquired, the content display can be directly performed according to the configured display parameters corresponding to the target content area.
In step 207, the terminal determines the display authority corresponding to the target content area according to the target display parameter, performs authentication processing on the target content area based on the display authority, and displays the target content information through the target content area when the authentication is passed.
The display permission may be permission to display the target content area, for example, permission including display times, display time, display times control of display objects, and the like.
The method for performing authentication processing on the target content area based on the display authority may have various modes, for example, assuming that the display authority includes authority for controlling the maximum display time of the target content area to display in the current application to be 10 times, at this time, the display time of the target content area to display in the current application may be obtained, when the display time is greater than the maximum display time, it is indicated that the authentication is not passed at this time, the content of the target content area is not displayed, and when the display time is not greater than the maximum display time, it is indicated that the authentication is passed at this time, and the target content information may be displayed through the target content area.
In step 208, when receiving the route jump request for the target content information, the terminal obtains a route jump link corresponding to the target content information, parses the route jump link through the content development kit corresponding to the current application to obtain route jump information, and jumps the current page to the destination page corresponding to the destination page address based on the route jump information.
The route jump request may be a request for performing route jump triggered by a user touching the target content information, the route jump link may be a uniform resource locator (uniform resource locator; URL) for performing route jump carried by the route jump request, and the route jump information may be information of a route jump process corresponding to the route jump request, and may include information such as a destination page address and a route parameter.
Optionally, a routing table (which may include an address and a required parameter of each page of the APP, may support an APP native page, an H5 page and an applet page) provided by the APP in advance, and a routing jump link corresponding to each content area is configured according to a preset protocol header, and at the same time, a corresponding tool class may be provided in the advertisement SDK, through which the routing and the parameters thereof are resolved, and further, the routing jump may be performed through a routing middleware (router). When route configuration is carried out according to a routing table provided by the APP, the routing can be skipped to any interfaces such as an APP original page, an H5 page, an applet page and the like, the content display efficiency is improved, and a protocol header is the forefront part of a website, such as https:// and the like.
As can be seen from the above, in the embodiment of the present application, the content area identifier of each content area in the current application is obtained through the terminal, the current version information of the current application is obtained, and based on the content area identifier and the current version information, the content data corresponding to the content area is obtained from the cloud through the content development kit corresponding to the current application; the terminal analyzes the content data to obtain content information corresponding to each content area, and stores the content information into a resource database; the terminal obtains service demand information of each content area in the current application, configures display parameters of the content areas based on the service demand information, and obtains the configured display parameters; the terminal receives the content display request, and searches a configuration content data table and a basic content data table corresponding to the content display request in a resource database according to the target content area identifier; when the configuration content information corresponding to the target content area identifier is acquired in the configuration content data table, the terminal determines the configuration content information as target content information, and when the configuration content information is not acquired in the configuration content data table, acquires basic content information corresponding to the target content area identifier in the basic content data table and determines the basic content information as target content information; the terminal determines a target content area in the currently applied content area set based on the target content area identifier, and identifies a target display parameter corresponding to the target content area from the configured display parameters; the terminal determines the display authority corresponding to the target content area according to the target display parameters, performs authentication processing on the target content area based on the display authority, and displays the target content information through the target content area when the authentication is passed; when receiving a route jump request aiming at the target content information, the terminal acquires a route jump link corresponding to the target content information, analyzes the route jump link through a content development kit corresponding to the current application to obtain route jump information, and jumps the current page to a destination page corresponding to the destination page address based on the route jump information. According to the method, the content data corresponding to each content area in the current application are uniformly acquired through the content development kit and stored in the resource database, meanwhile, the display parameters of each content area are configured in advance according to the service demand information of each content area in the current application, when a content display request is received, the corresponding target content information is directly acquired according to the target content area identification included in the content display request, and the target content information is displayed according to the target display parameters corresponding to the target content area, so that the content display flow is simplified, the content display speed is improved, meanwhile, the mode of configuring the display parameters of each content area according to the service demand information of each content area in the current application is uniformly adopted, the follow-up optimization of the content display service and the expansion of the embedded point demand are facilitated, the development cost of the newly-increased content area is effectively reduced, and the content display efficiency is further improved.
In order to better implement the above method, the embodiment of the present application further provides a content display device, which may be integrated in a terminal.
For example, as shown in fig. 6, a schematic structural diagram of a content display apparatus according to an embodiment of the present application may include a service requirement information obtaining unit 301, a display parameter configuration unit 302, a request receiving unit 303, a content information obtaining unit 304, and a content display unit 305, as follows:
a service requirement information acquiring unit 301, configured to acquire service requirement information of each content area in a current application;
the display parameter configuration unit 302 is configured to configure display parameters of the content area based on the service requirement information, so as to obtain configured display parameters;
a request receiving unit 303, configured to receive a content presentation request, where the content presentation request includes a target content area identifier;
a content information obtaining unit 304, configured to obtain, according to the target content area identifier, target content information corresponding to the content display request;
and the content display unit 305 is configured to display the target content information based on the configured display parameter.
In one embodiment, the content presentation unit 305 includes:
A target content area determination subunit configured to determine a target content area in the currently applied content area set based on the target content area identification;
the target display parameter identification subunit is used for identifying the target display parameters corresponding to the target content area in the configured display parameters;
and the display subunit is used for displaying the target content information through the target content area according to the target display parameters.
In one embodiment, the display subunit comprises:
the determining module is used for determining the display authority corresponding to the target content area according to the target display parameters;
the authentication module is used for carrying out authentication processing on the target content area based on the display authority;
and the display module is used for displaying the target content information through the target content area when the authentication is passed.
In one embodiment, the content information obtaining unit 304 includes:
searching a configuration content data table and a basic content data table corresponding to the content display request in a resource database according to the target content area identifier, wherein the configuration content data table is used for storing configuration content information configured based on service authority, and the basic content data table is used for storing basic content information configured by default;
When the configuration content information corresponding to the target content area identifier is acquired from the configuration content data table, determining the configuration content information as target content information;
when the configuration content information is not acquired in the configuration content data table, acquiring basic content information corresponding to the target content area identifier in the basic content data table, and determining the basic content information as target content information.
In an embodiment, the content display apparatus further includes:
a content area identifier obtaining unit, configured to obtain a content area identifier of each content area in the current application;
a content data obtaining unit, configured to obtain content data corresponding to the content area based on the content area identifier;
and the storage unit is used for analyzing the content data to obtain content information corresponding to each content area and storing the content information into the resource database.
In an embodiment, the content data acquisition unit is configured to:
acquiring current version information of the current application;
and acquiring content data corresponding to the content area from the cloud through a content development kit corresponding to the current application based on the content area identifier and the current version information.
In an embodiment, the content display apparatus further includes:
a route jump link obtaining unit, configured to obtain a route jump link corresponding to the target content information when a route jump request for the target content information is received;
the analyzing unit is used for analyzing the route jump link through the content development kit corresponding to the current application to obtain route jump information, wherein the route jump information comprises an end page address;
and the jumping unit is used for jumping the current page to the destination page corresponding to the destination page address based on the route jumping information.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the above, in the embodiment of the present application, the service requirement information of each content area in the current application is acquired by the service requirement information acquiring unit 301; the display parameter configuration unit 302 configures display parameters of the content area based on the service demand information to obtain configured display parameters; the request receiving unit 303 receives a content presentation request; the content information obtaining unit 304 obtains target content information corresponding to the content display request according to the target content area identifier; the content presentation unit 305 presents the target content information based on the configured presentation parameters. By configuring the display parameters of each content area according to the service demand information of each content area in the current application in advance, when a content display request is received, the corresponding target content information is directly obtained according to the target content area identifier included in the content display request, and the target content information is displayed according to the configured display parameters, so that the content display process is simplified, the content display rate is improved, meanwhile, the mode of configuring the display parameters of each content area according to the service demand information of each content area in the current application is unified, the follow-up optimization of the content display service and the expansion of the embedded point demand are facilitated, and the content display efficiency is further improved.
The embodiment of the application also provides a computer device, as shown in fig. 7, which shows a schematic structural diagram of the computer device according to the embodiment of the application, where the computer device may be a terminal, specifically:
the computer device may include one or more processors 401 of a processing core, memory 402 of one or more computer readable storage media, a power supply 403, and an input unit 404, among other components. Those skilled in the art will appreciate that the computer device structure shown in FIG. 7 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and page rendering by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of charge, discharge, and power consumption management may be performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may also include an input unit 404, which input unit 404 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions as follows:
acquiring service demand information of each content area in the current application; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters.
The specific implementation of each operation may be referred to the previous embodiments, and will not be described herein. It should be noted that, the computer device provided in the embodiment of the present application and the method applicable to content display in the above embodiment belong to the same concept, and detailed implementation processes of the computer device are shown in the above method embodiment, which is not repeated here.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the content presentation methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring service demand information of each content area in the current application; configuring display parameters of the content area based on the service demand information to obtain configured display parameters; receiving a content display request; acquiring target content information corresponding to the content display request according to the target content area identifier; and displaying the target content information based on the configured display parameters.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the instructions stored in the computer readable storage medium can execute the steps in any content display method provided by the embodiments of the present application, the beneficial effects that any content display method provided by the embodiments of the present application can be achieved, and detailed descriptions of the foregoing embodiments are omitted herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the various alternative implementations provided in the above embodiments.
The foregoing has outlined some of the more detailed description of the method, apparatus and computer readable storage medium of the present application for the purposes of illustrating the principles and embodiments of the present application and for the purposes of providing a more detailed description of the method and apparatus of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (10)

1. A content presentation method, comprising:
acquiring service demand information of each content area in the current application;
configuring the display parameters of the content area based on the service demand information to obtain the configured display parameters;
receiving a content presentation request, wherein the content presentation request comprises a target content area identifier;
acquiring target content information corresponding to the content display request according to the target content area identifier;
and displaying the target content information based on the configured display parameters.
2. The content presentation method as claimed in claim 1, wherein the presenting the target content information based on the configured presentation parameters includes:
determining a target content area in the currently applied content area set based on the target content area identification;
identifying target display parameters corresponding to the target content area from the configured display parameters;
and displaying the target content information through the target content area according to the target display parameters.
3. The content presentation method as claimed in claim 2, wherein the presenting the target content information through the target content area according to the target presentation parameter comprises:
Determining the display authority corresponding to the target content area according to the target display parameters;
based on the display authority, carrying out authentication processing on the target content area;
and when the authentication is passed, displaying the target content information through the target content area.
4. The content presentation method as claimed in claim 1, wherein the obtaining the target content information corresponding to the content presentation request according to the target content area identifier includes:
searching a configuration content data table and a basic content data table corresponding to the content display request in a resource database according to the target content area identifier, wherein the configuration content data table is used for storing configuration content information configured based on service authority, and the basic content data table is used for storing basic content information configured by default;
when the configuration content information corresponding to the target content area identifier is acquired from the configuration content data table, determining the configuration content information as target content information;
and when the configuration content information is not acquired in the configuration content data table, acquiring basic content information corresponding to the target content area identifier in the basic content data table, and determining the basic content information as target content information.
5. The method for displaying content according to claim 4, wherein before obtaining the target content information corresponding to the content display request according to the target content area identifier, the method further comprises:
acquiring a content area identifier of each content area in the current application;
acquiring content data corresponding to the content area based on the content area identifier;
and analyzing the content data to obtain content information corresponding to each content area, and storing the content information into a resource database.
6. The content presentation method as claimed in claim 5, wherein the acquiring content data corresponding to the content area based on the content area identification comprises:
acquiring current version information of the current application;
and acquiring content data corresponding to the content area from the cloud through a content development kit corresponding to the current application based on the content area identifier and the current version information.
7. The content presentation method as claimed in claim 1, wherein after the presenting of the target content information based on the configured presentation parameters, further comprising:
when a route jump request aiming at the target content information is received, a route jump link corresponding to the target content information is acquired;
Analyzing the route jump link through the content development tool package corresponding to the current application to obtain route jump information, wherein the route jump information comprises an end page address;
and based on the route jump information, jumping the current page to the destination page corresponding to the destination page address.
8. A content presentation device, comprising:
the business requirement information acquisition unit is used for acquiring business requirement information of each content area in the current application;
the display parameter configuration unit is used for configuring the display parameters of the content area based on the service demand information to obtain the configured display parameters;
a request receiving unit, configured to receive a content presentation request, where the content presentation request includes a target content area identifier;
a content information obtaining unit, configured to obtain target content information corresponding to the content display request according to the target content area identifier;
and the content display unit is used for displaying the target content information based on the configured display parameters.
9. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the content presentation method of any one of claims 1 to 7.
10. A computer device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps in the content presentation method according to any one of claims 1 to 7.
CN202210452761.5A 2022-04-27 2022-04-27 Content display method, device and computer readable storage medium Pending CN117009684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210452761.5A CN117009684A (en) 2022-04-27 2022-04-27 Content display method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210452761.5A CN117009684A (en) 2022-04-27 2022-04-27 Content display method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117009684A true CN117009684A (en) 2023-11-07

Family

ID=88573149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210452761.5A Pending CN117009684A (en) 2022-04-27 2022-04-27 Content display method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117009684A (en)

Similar Documents

Publication Publication Date Title
US10713034B2 (en) Updating web resources
CN106575298B (en) Rapid presentation of web sites containing dynamic content and stale content
US10694353B2 (en) Updating web resources
RU2604326C2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
CN110096660B (en) Method and device for loading page pictures and electronic equipment
JP7397094B2 (en) Resource configuration method, resource configuration device, computer equipment, and computer program
CN102761623A (en) Resource self-adaptive downloading method, system, data storage server and communication system
CN109981719A (en) Information processing method and its system, computer system and computer readable medium
CN113656087A (en) Applet starting method, device, equipment and storage medium
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
CN109962972B (en) Offline packet reassembly method and system
WO2017000929A1 (en) Client-based media information delivery method and device
CN111625250B (en) Application updating method and device, storage medium and electronic equipment
CN112417336A (en) Page display method and device, electronic equipment and storage medium
CN103631621A (en) Method and device for prompting information
CN107391132B (en) Method, device and equipment for target App to execute preset action
CN103793459B (en) Webpage opening method and device
CN117009684A (en) Content display method, device and computer readable storage medium
CN116304403A (en) Webpage access method and device, computer equipment and storage medium
CN111679842A (en) Application program hot update processing method, device and system
CN111753226A (en) Page loading method and device
CN115061785A (en) Information issuing method and device, storage medium and server
CN113608737A (en) Page generation method, device, equipment and medium
CN113760581A (en) MQTT-based method and system for synchronizing attribute information of intelligent terminal
CN113971191A (en) Data import method and device and computer readable storage 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