CN109032693B - Method and device for loading display information, electronic equipment and readable storage medium - Google Patents

Method and device for loading display information, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN109032693B
CN109032693B CN201810715322.2A CN201810715322A CN109032693B CN 109032693 B CN109032693 B CN 109032693B CN 201810715322 A CN201810715322 A CN 201810715322A CN 109032693 B CN109032693 B CN 109032693B
Authority
CN
China
Prior art keywords
display information
information data
loading
platform
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810715322.2A
Other languages
Chinese (zh)
Other versions
CN109032693A (en
Inventor
颜小飞
郭芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201810715322.2A priority Critical patent/CN109032693B/en
Publication of CN109032693A publication Critical patent/CN109032693A/en
Application granted granted Critical
Publication of CN109032693B publication Critical patent/CN109032693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for loading display information, electronic equipment and a readable storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining preset platform SDKs of all display information platforms, determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs, requesting the display information data from the platform SDKs according to the unified display information data loading classes so that the platform SDKs obtain the display information data from corresponding rear-end servers, and loading display information in a target page according to the display information data when the display information data returned by the platform SDKs are received. Based on the processing, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, and the complexity of loading the display information is further reduced.

Description

Method and device for loading display information, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for loading display information, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of mobile terminals, the internet market is currently full of various display information platforms, such as a Baidu advertisement platform, an Tencent social advertisement platform, a Google advertisement platform, and the like. Each presentation information platform provides a corresponding SDK (Software Development Kit) for the android mobile client. After an application program in the android mobile client is accessed to a certain display information platform, a platform SDK of the display information platform can be downloaded, and then display information data provided by the display information platform is loaded into the application program in a code mode according to a tool in the platform SDK. When the user uses the application program, the user can browse the display information loaded in the application program. The display information may be advertisement information or other information that the display information platform needs to display.
Generally, a certain application program can be accessed to multiple display information platforms at the same time, however, since interfaces provided by platform SDKs of the display information platforms are different, for different platform SDKs, the application program needs to load display information data provided by the display information platforms into the application program in different ways, thereby increasing complexity of loading display information.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for loading display information, electronic equipment and a computer readable storage medium, so as to reduce the complexity of loading the display information. The specific technical scheme is as follows:
in a first aspect, to achieve the above object, an embodiment of the present invention discloses a method for loading display information, where the method includes:
the method comprises the steps of obtaining preset platform SDKs of all display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs;
requesting display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from a corresponding back-end server;
and when the display information data returned by the SDKs of the platforms are received, loading display information in a target page according to the display information data.
Optionally, before the loading the display information in the target page according to the display information data, the method further includes:
converting the display information data into a preset standard format to obtain standard display information data;
the loading of the display information in the target page according to the display information data includes:
and loading display information in a target page according to the standard display information data.
Optionally, the loading the display information in the target page according to the standard display information data includes:
determining a corresponding display position and a corresponding display mode of the standard display information data in a target page according to a preset display information management rule;
and loading display information in the display mode at the display position according to the standard display information data.
Optionally, the method further includes:
and when a click command corresponding to the target display information is received, responding to the click command in a preset mode.
Optionally, the responding to the click command in a preset manner includes:
skipping to the propaganda page of the target display information;
and/or the presence of a gas in the gas,
and downloading the application program corresponding to the target display information.
In a second aspect, to achieve the above object, an embodiment of the present invention discloses an apparatus for loading and displaying information, where the apparatus includes:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for acquiring preset platform SDKs of all display information platforms and determining corresponding unified display information data loading classes according to the platform SDKs, and the unified display information data loading classes are obtained by packaging the display information data loading classes in the platform SDKs;
the request module is used for requesting the display information data from the platform SDKs according to the unified display information data loading class so as to enable the platform SDKs to acquire the display information data from the corresponding back-end server;
and the loading module is used for loading the display information in the target page according to the display information data when the display information data returned by the SDKs of the platforms are received.
Optionally, the apparatus further comprises:
the conversion module is used for converting the display information data into a preset standard format to obtain standard display information data;
and the loading module is specifically used for loading the display information in the target page according to the standard display information data.
Optionally, the loading module is specifically configured to determine, according to a preset display information management rule, a display position and a display mode of the standard display information data in a target page;
and loading display information in the display mode at the display position according to the standard display information data.
Optionally, the apparatus further comprises:
and the response module is used for responding to the click command in a preset mode when the click command corresponding to the target display information is received.
Optionally, the response module is specifically configured to skip to a publicity page of the target display information;
and/or the presence of a gas in the gas,
and downloading the application program corresponding to the target display information.
In another aspect of the present invention, to achieve the above object, an embodiment of the present invention further discloses an electronic device, where the electronic device includes:
a memory for storing a computer program;
a processor, configured to implement the method for loading and displaying information according to the first aspect when executing the program stored in the memory.
In another aspect of the present invention, there is also provided a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium runs on a computer, the method for loading presentation information according to the first aspect is implemented.
In another aspect of the present invention, an embodiment of the present invention further provides a computer program product including instructions, which when run on a computer, causes the computer to execute the method for loading presentation information according to the first aspect.
The method, the device, the electronic equipment and the computer readable storage medium for loading the display information provided by the embodiment of the invention can acquire the preset platform SDKs of each display information platform and determine the corresponding unified display information data loading class according to each platform SDK, wherein the unified display information data loading class is obtained by packaging according to the display information data loading class in each platform SDK, the display information data is requested from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from the corresponding back-end server, and when the display information data returned by each platform SDK is received, the display information is loaded in the target page according to the display information data. Based on the processing, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, and the complexity of loading the display information is further reduced.
Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for loading presentation information according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an example of requesting presentation information data from each platform SDK according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of converting presentation information data according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for loading and displaying information according to an embodiment of the present invention;
fig. 5 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a method and a device for loading display information, electronic equipment and a computer readable storage medium. The method can be generally applied to any application program (which may be called a target application program) in a smart terminal (which may be called a target terminal), and the target terminal may be a device such as a smart phone and a tablet computer. The target application program can acquire corresponding platform SDKs according to the accessed display information platforms, determine unified display information data loading classes corresponding to the platform SDKs, request display information data from the platform SDKs according to the unified display information data loading classes, enable the platform SDKs to acquire display information data from corresponding back-end servers, and load display information in a target page according to the display information data when receiving the display information data returned by the platform SDKs. Based on the processing, the display information of different display information platforms can be loaded uniformly according to the uniform display information data loading class, and the complexity of loading the display information is further reduced.
The present invention will be described in detail with reference to specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a method for loading presentation information according to an embodiment of the present invention, where the method may include the following steps:
s101: and acquiring preset platform SDKs of all the display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs.
And the unified display information data loading class is obtained by packaging according to the display information data loading class in each platform SDK. The target application program can be simultaneously accessed to a plurality of information display platforms, and the target application program can be any application program installed in the target terminal, such as a WeChat application program, a Taobao application program, a microblog application program or other application programs. Each preset display information platform can be set by technical personnel according to service requirements, specifically, the display information platform can be a hundred-degree advertisement platform, an Tencent social advertisement platform or a Google advertisement platform, and the corresponding platform SDKs are Baidu SDK (Baidu software development kit), GdtSDK (Tencent software development kit) and Google SDK (Google software development kit), respectively.
In implementation, after the target application program accesses the multiple display information platforms, the target application program may acquire the platform SDKs of the display information platforms for each display information platform, and then the target application program may determine the corresponding unified display information data loading classes according to the acquired multiple platform SDKs. The unified presentation information data load class may be pre-packaged for a technician and written into the target application. After the target application program obtains the preset platform SDK of each display information platform, the target application program can directly call the corresponding unified display information data loading class for subsequent processing.
S102: and requesting the display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from the corresponding back-end server.
In implementation, when the target application calls the unified presentation information data loading class, the target application may request the presentation information data from each platform SDK according to a unified interface provided by the unified presentation information data loading class, so that each platform SDK acquires the presentation information data from the corresponding back-end server. Specifically, for advertisement information, the unified presentation information data loading class may be represented by an intative adloader (local ad loading) class. The I native adloader class contains functions that can be seen in table (1).
Watch (1)
INativeAdLoader
+void setAdListener(INativeAdLoaderListener listener)
+void loadAd()
+IAd getAd()
+List getAdList(int num)
+void setTimeOut(int timeOut)
The advertisement monitoring system comprises a, + void setaddListener (InativeAdLoaderListener) which is an advertisement monitoring function and is used for monitoring the execution of a function in an InativeAdLoader class, + void loadAd () which is a request loading advertisement function and is used for representing the request of loading advertisement data to each platform SDK, + IAd getAD () which is a get advertisement data function and is used for representing the advertisement data which is requested to be obtained, + List getList (int num) which is a get advertisement data List function and is used for representing the advertisement data List which is requested to be obtained, num represents the number of the obtained advertisement data, and, + setTimeOut which is a response time function and is used for representing the longest response time when the advertisement data is requested, timeOut represents the longest response time, and if the advertisement data is not loaded in the time, the advertisement data loading at this time fails.
Specifically, the target application may call a function in the object of the InativeAdLoader class to request advertisement data from the platform SDKs. Accordingly, each platform SDK may request advertisement data from a corresponding background server.
S103: and when the display information data returned by the SDK of each platform are received, the display information is loaded in the target page according to the display information data.
The target page can be set by a technician according to business requirements. Specifically, the target page may be any page in the running process of the target application, for example, a start page of the target application, a pause page of the target application, and the like.
In implementation, after each platform SDK acquires the presentation information data from the corresponding backend server, the presentation information data may be sent to the target application. And after the target application program receives the display information data returned by the SDK of each platform, the display information can be loaded in the target page.
It should be noted that the target application program may obtain the display information data from each platform SDK in advance, and when the user runs the target application program, the target application program may load the display information in the target page; or, when the user runs the target application program, the target application program may obtain the presentation information data from each platform SDK in real time, and load the presentation information in the target page.
Referring to fig. 2, fig. 2 is a schematic diagram of an example that requests presentation information data from each platform SDK through a unified presentation information data loading class according to an embodiment of the present invention. The InativeAdLoader class is obtained by packaging according to a Baidu advertisement platform SDK, an Tencent social advertisement platform SDK and a Google advertisement platform SDK. The target application program loads the BaiduSdkLoader request advertisement data of the BaiduSdkLoader type to the advertisement data of the BaiduSdk through a + BaiduSdkLoader function in an InativeAdLoader type object BaiduAdLoader (load hundred degree advertisement), and receives the advertisement data provided by the hundred degree advertisement platform returned by the BaiduSdkLoader; through a + GdtSkdkLoader mGdtSkdkLoader (flight message software development kit loading) function in an object GdtAdLoader (flight message advertisement loading) of the InativeAdLoader class, requesting advertisement data to an advertisement data loading class GdtSkdkLoader (flight message software development kit loading) of Gd tSdk, and receiving advertisement data provided by a flight message social advertisement platform returned by the GdtSkdkLoader; through a + GoogleSdkLoader mGoogleSdkLoader function IN a Google Ad Loader (Google software development kit loading) object of an IN ativeAdLoader class, Google SdkLoader (Google software development kit loading) request advertisement data of a Google Sdkloader class is loaded to the advertisement data of the Google Sdk, and advertisement data provided by a Google Ad platform returned by the Google SdkLoader is received.
Optionally, the target application program may further perform uniform normalized processing on the received display information data, so as to further improve the efficiency of loading the display information. Specifically, before loading the presentation information in the target page according to the presentation information data, the method may further include the following processing steps: and converting the display information data into a preset standard format to obtain standard display information data. Accordingly, step S103 may include the following processing steps: and loading the display information in the target page according to the standard display information data.
In implementation, the target application program may convert the presentation information data into a preset standard format to obtain standard presentation information data. Specifically, for advertisement information, the target application may convert advertisement data returned by the SDKs of the platforms according to a preset advertisement data interface type IAd (advertisement data interface) to obtain standard advertisement data. After the target application program obtains the standard advertisement data, the target application program can load the advertisement in the target page according to the standard advertisement data. The functions contained in class IAd can be seen in table (2).
Watch (2)
IAd
+String getAdTitle()
+String getAdPicture()
+String getAdLogo()
Wherein, + String getAddress () is a get advertisement title function for representing a title of an obtained advertisement, + String getPicture () is a get advertisement picture function for representing a picture of an obtained advertisement, + String getLogi () is a get advertisement trademark function for representing a trademark of an obtained advertisement.
The target application may obtain the title, picture and trademark corresponding to each advertisement according to IAd category. Referring to fig. 3, fig. 3 is a schematic diagram of an example of converting presentation information data through a presentation information data interface class according to an embodiment of the present invention. The target application program converts advertisement data Baidu Ad (Baidu advertisement data) returned by the Baidu Sdk through a + Baidu Ad mBaiduAd (Baidu advertisement data) function in an object Baidu NativeAd (Baidu local advertisement) of IAd types to obtain an advertisement title, an advertisement picture and an advertisement trademark in the advertisement data; converting advertisement data GdtAd (Tencent advertisement data) returned by GdtSdk through a function of + GdtAd mGdtAd (Tencent advertisement data) in an object GdtNativeAd (Tencent local advertisement) of IAd types to obtain an advertisement title, an advertisement picture and an advertisement trademark in the advertisement data; the advertisement data google advertisement data returned by google sdk is converted through a function of + google ad mgoogle advertisement data in the target google native ad of type IAd, so as to obtain the advertisement title, the advertisement picture and the advertisement trademark in the advertisement data.
In addition, for advertisement information, the target application program may manage display information data that needs to be loaded according to a preset unified display information management type IAdManager (advertisement management). The functions contained in the IAdManager class can be seen in Table (3).
Watch (3)
IAdManager
+void int AdConfig(AdConfig adConfig)
+void loadAd()
+IAd getAd()
+List getAds(int count)
The system comprises a + void int AdConfig (AdConfig) which is an advertisement configuration function and is used for representing an advertisement platform needing to acquire advertisement data, a + void load ad () which is a request loading advertisement function and is used for representing the request for loading the advertisement data, an + IAd getAd () which is an advertisement data acquiring function and is used for representing the advertisement data which is requested to be acquired, a + List getAds (int count) which is an advertisement data acquiring List function and is used for representing the advertisement data List which is requested to be acquired, and count which represents the number of the acquired advertisement data.
Optionally, the target application may also determine the manner in which the presentation information is loaded. Specifically, the target application program loads the presentation information in the target page according to the standard presentation information data, and may include the following processing steps: determining a corresponding display position and a corresponding display mode of the standard display information data in the target page according to a preset display information management rule; and loading the display information in a display mode at the display position according to the standard display information data.
The preset display information management rule can be set by a technician according to experience.
In implementation, the target application program may determine, according to a preset display information management rule, a display position and a display mode corresponding to the standard display information data in the target page, and then the target application program loads the display information at the determined display position in the display mode. The display mode can be carousel, static play or other display modes.
Optionally, the target application may also respond to a click instruction of the user when displaying the presentation information. Specifically, the method can further comprise the following processing steps: and when a click command corresponding to the target display information is received, responding to the click command in a preset mode.
In implementation, when the user is using the target application, the user may browse the presentation information loaded in the target application and then click on the presentation information. When the target application receives a click command for a certain presentation information (i.e. target presentation information), the target application may respond to the click command in a predetermined manner.
Specifically, for advertisement information, the target application may manage display of the presentation information and respond to a click command of the presentation information according to a preset unified presentation information presentation class IAdView (advertisement attempt). The IAdView class contains functions that can be seen in Table (4).
Watch (4)
IAdView
+void onAdShow()
+void onAdClick()
Here, + void onAdShow () is an advertisement display function for representing a display manner of an advertisement, + void onadslick () is an advertisement click function for representing a manner of responding to a click command of an advertisement.
The manner in which the target application responds to the click command may be various, and specifically, the target application may respond to the click command in the following two manners.
And in the first mode, jumping to a propaganda page of target display information.
The target application program may store a page link of a promotion page of the target presentation information.
In implementation, when the target application program receives a click instruction corresponding to the target display information, the target application program may jump to the advertisement page of the target display information according to the page link of the advertisement page of the target display information that can be directly opened, so as to allow the user to browse the advertisement page.
And in the second mode, downloading the application program corresponding to the target display information.
The target application program may store a download link of the application program corresponding to the target display information.
In implementation, when the target application program receives a click instruction corresponding to the target display information, a download link of the application program corresponding to the target display information is opened to download the application program corresponding to the target display information. For example, if the target presentation information is an advertisement of a QQ music application, the target application may download the QQ music application directly when receiving a click command for the advertisement corresponding to the QQ music.
The target application may respond to the click command of the target presentation information in the two ways, and the way in which the target application responds to the click command is not limited to the two ways.
As can be seen from the above, based on the method for loading display information provided in the embodiments of the present invention, the preset platform SDKs of each display information platform may be obtained, and the corresponding unified display information data loading class is determined according to each platform SDK, where the unified display information data loading class is obtained by packaging according to the display information data loading class in each platform SDK, and according to the unified display information data loading class, the display information data is requested from each platform SDK, so that each platform SDK obtains the display information data from the corresponding back-end server, and when the display information data returned by each platform SDK is received, the display information is loaded in the target page according to the display information data. Based on the processing, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, and the complexity of loading the display information is further reduced.
Corresponding to the embodiment of the method shown in fig. 1, referring to fig. 4, fig. 4 is a structural diagram of an information loading and displaying device provided in the embodiment of the present invention, including:
the determining module 401 is configured to obtain preset platform SDKs of each display information platform, and determine a corresponding unified display information data loading class according to each platform SDK, where the unified display information data loading class is obtained by packaging according to the display information data loading class in each platform SDK;
a request module 402, configured to request the display information data from each platform SDK according to the unified display information data loading class, so that each platform SDK obtains the display information data from a corresponding back-end server;
and a loading module 403, configured to load, when the display information data returned by the SDKs of the platforms is received, display information in a target page according to the display information data.
Optionally, the apparatus further comprises:
the conversion module is used for converting the display information data into a preset standard format to obtain standard display information data;
the loading module 403 is specifically configured to load the display information in the target page according to the standard display information data.
Optionally, the loading module 403 is specifically configured to determine, according to a preset display information management rule, a corresponding display position and a corresponding display mode of the standard display information data in a target page;
and loading display information in the display mode at the display position according to the standard display information data.
Optionally, the apparatus further comprises:
and the response module is used for responding to the click command in a preset mode when the click command corresponding to the target display information is received.
Optionally, the response module is specifically configured to skip to a publicity page of the target display information;
and/or the presence of a gas in the gas,
and downloading the application program corresponding to the target display information.
As can be seen from the above, the information loading and displaying device provided in the embodiments of the present invention can obtain the preset platform SDKs of each display information platform, and determine the corresponding unified display information data loading class according to each platform SDK, where the unified display information data loading class is obtained by packaging according to the display information data loading class in each platform SDK, and request the display information data from each platform SDK according to the unified display information data loading class, so that each platform SDK obtains the display information data from the corresponding back-end server, and when receiving the display information data returned by each platform SDK, loads the display information in the target page according to the display information data. Based on the processing, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, and the complexity of loading the display information is further reduced.
An electronic device according to an embodiment of the present invention is further provided, as shown in fig. 5, and includes a memory 501 and a processor 502, wherein,
a memory 501 for storing a computer program;
the processor 502 is configured to implement the following steps when executing the program stored in the memory 501:
acquiring system authority management service of a target terminal;
the method comprises the steps of obtaining preset platform SDKs of all display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs;
requesting display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from a corresponding back-end server;
and when the display information data returned by the SDKs of the platforms are received, loading display information in a target page according to the display information data.
For specific implementation and related explanation of each step of the method, reference may be made to the foregoing method embodiment, which is not described herein again.
The electronic device may be provided with a communication interface for realizing communication between the electronic device and another device.
The processor 502, the communication interface, and the memory 501 are configured to communicate with each other via a communication bus, where the communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory 501 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor 502 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
According to the electronic equipment provided by the embodiment of the invention, when the display information is loaded, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, so that the complexity of loading the display information is reduced.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is stored with instructions, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute the method for loading the display information provided by the embodiment of the invention.
Specifically, the method for loading and displaying information includes:
the method comprises the steps of obtaining preset platform SDKs of all display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs;
requesting display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from a corresponding back-end server;
and when the display information data returned by the SDKs of the platforms are received, loading display information in a target page according to the display information data.
It should be noted that other implementation manners of the method for loading and displaying information are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the instructions stored in the computer-readable storage medium provided by the embodiment of the invention, when the display information is loaded, the display information of different display information platforms can be uniformly loaded according to the uniform display information data loading class, so that the complexity of loading the display information is reduced.
The embodiment of the invention also provides a computer program product containing instructions, which when running on a computer, enables the computer to execute the method for loading the display information provided by the embodiment of the invention.
Specifically, the method for loading and displaying information includes:
the method comprises the steps of obtaining preset platform SDKs of all display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs;
requesting display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from a corresponding back-end server;
and when the display information data returned by the SDKs of the platforms are received, loading display information in a target page according to the display information data.
It should be noted that other implementation manners of the method for loading and displaying information are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the computer program product provided by the embodiment of the invention, when the display information is loaded, the display information of different display information platforms can be loaded uniformly according to the uniform display information data loading class, so that the complexity of loading the display information is reduced.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described above in accordance with the embodiments of the invention may be generated, in whole or in part, when the computer program instructions described above are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method for loading presentation information, the method comprising:
the method comprises the steps of obtaining preset platform SDKs of all display information platforms, and determining corresponding unified display information data loading classes according to the platform SDKs, wherein the unified display information data loading classes are obtained by packaging according to the display information data loading classes in the platform SDKs;
requesting display information data from each platform SDK according to the unified display information data loading class so that each platform SDK acquires the display information data from a corresponding back-end server;
when display information data returned by the SDKs of the platforms are received, loading display information in a target page according to the display information data;
the method further comprises the following steps: and managing display information display and responding to a click instruction of the display information according to the preset unified display information management class and the display information data needing to be loaded.
2. The method of claim 1, wherein prior to said loading presentation information in a destination page according to said presentation information data, said method further comprises:
converting the display information data into a preset standard format to obtain standard display information data;
the loading of the display information in the target page according to the display information data includes:
and loading display information in a target page according to the standard display information data.
3. The method of claim 2, wherein loading presentation information in a destination page according to the standard presentation information data comprises:
determining a corresponding display position and a corresponding display mode of the standard display information data in a target page according to a preset display information management rule;
and loading display information in the display mode at the display position according to the standard display information data.
4. The method of claim 1, further comprising:
and when a click command corresponding to the target display information is received, responding to the click command in a preset mode.
5. The method of claim 4, wherein responding to the click command in a predetermined manner comprises:
skipping to the propaganda page of the target display information;
and/or the presence of a gas in the gas,
and downloading the application program corresponding to the target display information.
6. An apparatus for loading presentation information, the apparatus comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for acquiring preset platform SDKs of all display information platforms and determining corresponding unified display information data loading classes according to the platform SDKs, and the unified display information data loading classes are obtained by packaging the display information data loading classes in the platform SDKs;
the request module is used for requesting the display information data from the platform SDKs according to the unified display information data loading class so as to enable the platform SDKs to acquire the display information data from the corresponding back-end server;
the loading module is used for loading display information in a target page according to the display information data when the display information data returned by the SDKs of the platforms are received;
and the management module manages the display information data to be loaded according to the preset unified display information management class, manages the display of the display information according to the preset unified display information display class and responds to the click instruction of the display information.
7. The apparatus of claim 6, further comprising:
the conversion module is used for converting the display information data into a preset standard format to obtain standard display information data;
and the loading module is specifically used for loading the display information in the target page according to the standard display information data.
8. The apparatus according to claim 7, wherein the loading module is specifically configured to determine, according to a preset display information management rule, a corresponding display position and a corresponding display manner of the standard display information data in a target page;
and loading display information in the display mode at the display position according to the standard display information data.
9. The apparatus of claim 6, further comprising:
and the response module is used for responding to the click command in a preset mode when the click command corresponding to the target display information is received.
10. The apparatus according to claim 9, wherein the response module is specifically configured to jump to a promotion page of the target presentation information;
and/or the presence of a gas in the gas,
and downloading the application program corresponding to the target display information.
11. An electronic device comprising a memory and a processor, wherein,
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-5.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN201810715322.2A 2018-06-29 2018-06-29 Method and device for loading display information, electronic equipment and readable storage medium Active CN109032693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810715322.2A CN109032693B (en) 2018-06-29 2018-06-29 Method and device for loading display information, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810715322.2A CN109032693B (en) 2018-06-29 2018-06-29 Method and device for loading display information, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109032693A CN109032693A (en) 2018-12-18
CN109032693B true CN109032693B (en) 2021-09-24

Family

ID=65521367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810715322.2A Active CN109032693B (en) 2018-06-29 2018-06-29 Method and device for loading display information, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109032693B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683889B (en) * 2018-12-26 2020-03-27 北京微播视界科技有限公司 Message display frame multiplexing method and device, electronic equipment and readable storage medium
CN110276032A (en) * 2019-06-26 2019-09-24 深圳市迅雷网络技术有限公司 Information data acquisition methods, device, system and computer storage medium to be presented
CN111738798A (en) * 2020-06-23 2020-10-02 京东数字科技控股有限公司 Method and device for generating commodity information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491111A (en) * 2012-06-08 2014-01-01 阿里巴巴集团控股有限公司 Wireless application release method, wireless application implementation method, wireless application release device and wireless application implementation device
CN103559040A (en) * 2013-11-12 2014-02-05 厦门卓讯信息技术有限公司 System and method based on SDK for rapidly building mobile internet application module
CN107729452A (en) * 2017-10-09 2018-02-23 武汉斗鱼网络科技有限公司 Webpage loading method, device, electronic equipment and computer-readable recording medium
CN107918619A (en) * 2016-10-10 2018-04-17 北京奇虎科技有限公司 Advertisement demonstration method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761900B2 (en) * 2006-08-02 2010-07-20 Clarendon Foundation, Inc. Distribution of content and advertisement
CN106502738A (en) * 2016-10-24 2017-03-15 福建中金在线信息科技有限公司 Data load method and device in a kind of mobile terminal
CN107295095A (en) * 2017-07-13 2017-10-24 百度在线网络技术(北京)有限公司 The method and apparatus for pushing and showing advertisement
CN107249180A (en) * 2017-07-20 2017-10-13 北京五八信息技术有限公司 The general cut-in methods of LBS SDK and system
CN107665045B (en) * 2017-07-26 2019-08-16 深圳壹账通智能科技有限公司 Safety keyboard configuration method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491111A (en) * 2012-06-08 2014-01-01 阿里巴巴集团控股有限公司 Wireless application release method, wireless application implementation method, wireless application release device and wireless application implementation device
CN103559040A (en) * 2013-11-12 2014-02-05 厦门卓讯信息技术有限公司 System and method based on SDK for rapidly building mobile internet application module
CN107918619A (en) * 2016-10-10 2018-04-17 北京奇虎科技有限公司 Advertisement demonstration method and device
CN107729452A (en) * 2017-10-09 2018-02-23 武汉斗鱼网络科技有限公司 Webpage loading method, device, electronic equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN109032693A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN111666497B (en) Application program loading method and device, electronic equipment and readable storage medium
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
CN111372115B (en) Application program access method and device and communication system
US8856365B2 (en) Computer-implemented method, computer system and computer readable medium
CN110365724B (en) Task processing method and device and electronic equipment
CN112817657B (en) Application program starting item loading method, device, system and storage medium
CN109117153B (en) Application processing method, device, terminal and storage medium
CN111782988B (en) Method, apparatus, computer system and storage medium for determining source of application program
CN110113391B (en) Client online method and device and client operation method and device
CN111125057B (en) Method and device for processing service request and computer system
CN112650804B (en) Big data access method, device, system and storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN110618811B (en) Information presentation method and device
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN108037914B (en) Method and device for developing android native system by combining js
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN113726855B (en) Service aggregation method, device, electronic equipment and computer-readable storage medium
CN115061785A (en) Information issuing method and device, storage medium and server
CN112433741B (en) Page processing method, device and system, electronic equipment and storage medium
CN110475141B (en) Video playing method and system based on RN, electronic equipment and storage medium
CN108399223B (en) Data acquisition method and device and electronic equipment
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium
CN110888690A (en) Application starting method and device, electronic equipment and storage medium
CN110750746A (en) Data receiving and pushing method, device, equipment and readable medium
CN113791777A (en) Picture display method and device, computer readable storage medium and electronic equipment

Legal Events

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