CN109032693A - 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 PDFInfo
- Publication number
- CN109032693A CN109032693A CN201810715322.2A CN201810715322A CN109032693A CN 109032693 A CN109032693 A CN 109032693A CN 201810715322 A CN201810715322 A CN 201810715322A CN 109032693 A CN109032693 A CN 109032693A
- Authority
- CN
- China
- Prior art keywords
- information data
- information
- platform
- display information
- displaying information
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic 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
Technical field
The present invention relates to field of communication technology, more particularly to a kind of load show information approach, device, electronic equipment and
Computer readable storage medium.
Background technique
With the rapid development of mobile terminals, various displaying information platforms, such as Baidu are filled in Internet market at present
Advertising platform, Tencent's social advertisement platform and Google's advertising platform etc..It is each to show that information platform provides for Android mobile client
Corresponding SDK (Software Development Kit, Software Development Kit).Application journey in Android mobile client
After sequence accesses a certain displaying information platform, the platform SDK of the displaying information platform can be downloaded, then according in platform SDK
Tool, will show that the displaying information data that provides of information platform is loaded into the application program in the form of code.User makes
When with the application program, the displaying information loaded in the application program may browse through.The displaying information can be flat for displaying information
Platform needs the advertising information or other information shown.
Usual a certain application program can access multiple displaying information platforms simultaneously, however, due to each displaying information platform
The interface that provides of platform SDK it is different, for different platform SDK, which needs to pass through different mode will
The displaying information data for showing that information platform provides is loaded into application program, and then increases the complexity that load shows information.
Summary of the invention
A kind of load of being designed to provide of the embodiment of the present invention shows information approach, device, electronic equipment and computer
Readable storage medium storing program for executing loads the complexity for showing information to reduce.Specific technical solution is as follows:
In a first aspect, in order to achieve the above object, the embodiment of the invention discloses a kind of loads to show information approach, it is above-mentioned
Method includes:
Preset each platform SDK for showing information platform is obtained, and according to each platform SDK, determines corresponding unified displaying
Information data loading classes, wherein the unified displaying information data loading classes are according to the displaying information in each platform SDK
Data loading classes are packaged;
According to the unified displaying information data loading classes, information data is shown to each platform SDK request, so that institute
It states each platform SDK and obtains displaying information data from corresponding back-end server;
When receiving the displaying information data that each platform SDK is returned, according to the displaying information data in target
Load shows information in the page.
Optionally, it is loaded in target pages described according to the displaying information data before showing information, the side
Method further include:
The displaying information data is converted into preset standard format, obtains modular display information data;
Described loaded in target pages according to the displaying information data shows information, comprising:
It is loaded in target pages according to the modular display information data and shows information.
Optionally, described loaded in target pages according to the modular display information data shows information, comprising:
According to preset displaying rules for information management, determine that the modular display information data is corresponding in target pages
Display position and display mode;
According to the modular display information data, is loaded in the display position with the display mode and show information.
Optionally, the method also includes:
When receiving the click commands of corresponding intended display information, the click commands are responded in a manner of preset.
It is optionally, described that the click commands are responded in a manner of preset, comprising:
Jump to the publicity page of the intended display information;
And/or
Download the corresponding application program of the intended display information.
Second aspect, in order to achieve the above object, the embodiment of the invention discloses a kind of loads to show massaging device, above-mentioned
Device includes:
Determining module, for obtaining preset each platform SDK for showing information platform, and according to each platform SDK, determination pair
The unified displaying information data loading classes answered, wherein the unified displaying information data loading classes are according to each platform SDK
In displaying information data loading classes be packaged;
Request module, for showing letter to each platform SDK request according to the unified displaying information data loading classes
Data are ceased, so that each platform SDK is obtained from corresponding back-end server shows information data;
Loading module, for being believed according to the displaying when receiving the displaying information data that each platform SDK is returned
Breath data load in target pages shows information.
Optionally, described device further include:
Conversion module obtains modular display Information Number for the displaying information data to be converted to preset standard format
According to;
The loading module is specifically used for loading displaying letter in target pages according to the modular display information data
Breath.
Optionally, the loading module is specifically used for determining the standard exhibition according to preset displaying rules for information management
Show information data corresponding display position and display mode in target pages;
According to the modular display information data, is loaded in the display position with the display mode and show information.
Optionally, described device further include:
Respond module, for responding institute in a manner of preset when receiving the click commands of corresponding intended display information
State click commands.
Optionally, the respond module, specifically for jumping to the publicity page of the intended display information;
And/or
Download the corresponding application program of the intended display information.
In the another aspect that the present invention is implemented, in order to achieve the above object, the embodiment of the invention also discloses a kind of electronics
Equipment, above-mentioned electronic equipment include:
Memory, for storing computer program;
Processor when for executing the program stored on the memory, realizes adding as described in above-mentioned first aspect
It carries and shows information approach.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is above-mentioned computer-readable
It is stored with instruction in storage medium, when run on a computer, realizes that the load as described in above-mentioned first aspect shows letter
Breath method.
At the another aspect that the present invention is implemented, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced
Product, when run on a computer, so that computer executes load described in above-mentioned first aspect and shows information approach.
A kind of load provided in an embodiment of the present invention shows information approach, device, electronic equipment and computer-readable storage
Medium, available preset each platform SDK for showing information platform, and according to each platform SDK, determine corresponding unified displaying
Information data loading classes, wherein unified to show that information data loading classes are to load according to the displaying information data in each platform SDK
What class was packaged, information data loading classes are shown according to unified, request to show information data to each platform SDK, so that
Each platform SDK is obtained from corresponding back-end server and is shown information data, when the displaying Information Number for receiving each platform SDK return
According to when, according to show information data load in target pages displaying information.Based on above-mentioned processing, Information Number is shown according to unified
The different displaying information for showing information platform can be uniformly loaded according to loading classes, and then reduce the complexity that load shows information.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart that a kind of load provided in an embodiment of the present invention shows information approach;
Fig. 2 is a kind of exemplary schematic diagram for requesting to show information data to each platform SDK provided in an embodiment of the present invention;
Fig. 3 is provided in an embodiment of the present invention a kind of to the exemplary schematic diagram for showing that information data is converted;
Fig. 4 is the structure chart that a kind of load provided in an embodiment of the present invention shows massaging device;
Fig. 5 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present patent application provides a kind of load and shows information approach, device, electronic equipment and computer-readable storage medium
Matter.Any application program that the above method is generally applicable in intelligent terminal (being properly termed as target terminal) (is properly termed as
Destination application), target terminal can be the equipment such as smart phone, tablet computer.Destination application can be according to access
Each displaying information platform, obtain corresponding each platform SDK, and determine unified displaying information data corresponding with each platform SDK
Loading classes show information data loading classes according to unified, request to show information data to each platform SDK so that each platform SDK from
Corresponding back-end server, which obtains, shows information data, and when receiving the displaying information data that each platform SDK is returned, target is answered
It is loaded in target pages with program according to displaying information data and shows information.Based on above-mentioned processing, can be shown according to unified
Information data loading classes uniformly load the different displaying information for showing information platform, and then reduce the complexity that load shows information
Degree.
It is described in detail again by specific embodiment to the present invention below.
Referring to Fig. 1, Fig. 1 is the flow chart that a kind of load provided in an embodiment of the present invention shows information approach, and this method can
With the following steps are included:
S101: obtaining preset each platform SDK for showing information platform, and according to each platform SDK, determines corresponding unification
Show information data loading classes.
Wherein, unified to show that information data loading classes are to carry out according to the displaying information data loading classes in each platform SDK
What encapsulation obtained.Destination application can access multiple displaying information platforms simultaneously, and destination application can be target end
Any application program installed in end, for example, wechat application program, Taobao's application program, microblogging application program or other application
Program.Preset each displaying information platform can be configured by technical staff according to business demand, specifically, showing that information is flat
Platform can be Baidu's advertising platform, Tencent's social advertisement platform or Google's advertising platform etc., and corresponding platform SDK is then respectively
BaiduSDK (Baidu's Software Development Kit), GdtSDK (Tencent's Software Development Kit), GoogleSDK (open by Google's software
Send out kit).
In an implementation, after destination application accesses multiple displaying information platforms, for each displaying information platform, mesh
The platform SDK of the available displaying information platform of application program is marked, then, destination application can be according to the multiple of acquisition
Platform SDK determines corresponding unified displaying information data loading classes.It is unified to show that information data loading classes be technical staff
Encapsulation in advance, and be written in destination application.Destination application is obtaining preset each platform for showing information platform
After SDK, corresponding unified displaying information data loading classes can be called directly, to carry out subsequent processing.
S102: showing information data loading classes according to unified, request to show information data to each platform SDK, so that each flat
Platform SDK is obtained from corresponding back-end server and is shown information data.
In an implementation, destination application can be shown when calling unified displaying information data loading classes according to unified
The unified interface that information data loading classes provide requests to show information data to each platform SDK, so that each platform SDK is from correspondence
Back-end server obtain show information data.Specifically, it is directed to advertising information, it is unified to show that information data loading classes be used
INativeAdLoader (local advertising load) class indicates.The function that I NativeAdLoader class includes may refer to table
(1)。
Table (1)
INativeAdLoader |
+void setAdListener(INativeAdLoaderListener listener) |
+void loadAd() |
+IAd getAd() |
+List getAdList(int num) |
+void setTimeOut(int timeOut) |
Wherein ,+void setAdListener (INativeAdLoaderListener listener) is advertisement monitoring
Function, for monitoring the execution of the function in INativeAdLoader class ,+void loadAd () is request of loading advertisement letter
Number, for indicating that each platform SDK request of loading ad data ,+IAd getAd () is to obtain ad data function, is used for table
Show the ad data of request ,+List getAdList (int num) is to obtain ad data tabulated function, for indicating
The ad data list of request, num indicate to obtain the number of ad data ,+void setTimeOut (int
It timeOut) is response time function, for indicating the longest response duration of request ad data, timeOut indicates longest response
Duration, if do not loaded successfully also in this duration, this carrying advertisement data failure.
Specifically, destination application can call the function in the object of INativeAdLoader class, with to each platform
SDK requests ad data.Correspondingly, each platform SDK can request ad data to corresponding background server.
S103: when receiving the displaying information data that each platform SDK is returned, according to displaying information data in target pages
Middle load shows information.
Wherein, target pages can be configured by technical staff according to business demand.Specifically, target pages can be
Any page in destination application operational process, for example, the starting page of destination application, destination application is temporary
Stop page etc..
In an implementation, after each platform SDK is obtained from corresponding back-end server shows information data, can believe showing
Breath data are sent to destination application.It, can after destination application receives the displaying information data that each platform SDK is returned
Information is shown to load in target pages.
It should be noted that destination application can be obtained from each platform SDK in advance shows information data, when user transports
When the row destination application, destination application can load in target pages shows information;Alternatively, running mesh in user
When marking application program, destination application can obtain in real time from each platform SDK and show information data, and in target pages
Load shows information.
Referring to fig. 2, Fig. 2 is a kind of unification displaying information data loading classes that pass through provided in an embodiment of the present invention to each platform
SDK request shows the exemplary schematic diagram of information data.Wherein, INativeAdLoader class is according to Baidu's advertising platform
What SDK, Tencent social advertisement platform SDK and Google advertising platform SDK were packaged.Destination application passes through
+ BaiduSdkLoader in the object BaiDuAdLoader (load Baidu's advertisement) of INativeAdLoader class
MBaiduSdkLoader (load of Baidu's Software Development Kit) function, to the ad data loading classes of BaiduSdk
BaiduSdkLoader (load of Baidu's Software Development Kit) requests ad data, and receives BaiduSdkLoader return
The ad data that Baidu's advertising platform provides;By the object GdtAdLoader of INativeAdLoader class, (load Tencent is wide
Accuse) in+GdtSdkLoader mGdtSdkLoader (load of Tencent's Software Development Kit) function, to the wide of Gd tSdk
It accuses data loading classes GdtSdkLoader (load of Tencent's Software Development Kit) and requests ad data, and receive
The ad data that Tencent's social advertisement platform that GdtSdkLoader is returned provides;Pass through the object of IN ativeAdLoader class
+ GoogleSdkLo ader mGoogleSdkLoader in GoogleAdLoader (load Google's advertisement) (open by Google's software
Send out kit load) function, to ad data loading classes GoogleSdkLoader (Google's Software Development Tools of GoogleSdk
Packet load) request ad data, and the ad data that the Google's advertising platform for receiving GoogleSdkLoader return provides.
Optionally, destination application can also carry out unified standardization processing to the displaying information data received,
To further increase the efficiency that load shows information.Specifically, loading exhibition in target pages according to displaying information data
Before showing information, this method can also include following processing step: will show that information data is converted to preset standard format, obtain
Modular display information data.Correspondingly, step S103 may include following processing step: according to modular display information data in mesh
It marks load in the page and shows information.
In an implementation, destination application can will show that information data is converted to preset standard format, obtains standard exhibition
Show information data.Specifically, being directed to advertising information, destination application can be (wide according to preset ad data interface class IAd
Accuse data-interface), each platform SDK ad data returned is converted, standard advertisement data are obtained.Destination application obtains
After taking standard advertisement data, can according to standard advertisement data in target pages carrying advertisement.The function that IAd class includes can be with
Referring to table (2).
Table (2)
IAd |
+String getAdTitle() |
+String getAdPicture() |
+String getAdLogo() |
Wherein ,+String getAdTitle () is to obtain advertisement title function, the title of the advertisement for indicating to obtain,
+ String getAdPicture () is to obtain advertising pictures function, for indicating the picture of acquisition advertisement ,+String
GetAdLogo () is to obtain advertisement trademark function, for indicating the trade mark of acquisition advertisement.
Destination application is according to the corresponding title of the available each advertisement of IAd class, picture and trade mark.Referring to Fig. 3, figure
3 for it is provided in an embodiment of the present invention it is a kind of by show information data interface class to show information data converted it is exemplary
Schematic diagram.In the object BaiDu NativeAd (Baidu's local advertising) that wherein, destination application passes through IAd class+
BaiduAd mBaiduAd (Baidu's ad data) function, ad data BaiduAd (Baidu's advertisement number that BaiduSdk is returned
According to) converted, obtain advertisement title, the picture of advertisement and the trade mark of advertisement in ad data;Pass through the object of IAd class
+ GdtAd mGdtAd (Tencent's ad data) function in GdtNativeAd (Tencent's local advertising) returns to GdtSdk wide
It accuses data GdtAd (Tencent's ad data) to be converted, obtains advertisement title in ad data, the picture of advertisement and advertisement
Trade mark;Pass through+GoogleAd mGoogleAd (the Google in the object GoogleNativeAd (Google's local advertising) of IAd class
Ad data) function, the GoogleSdk ad data GoogleAd (Google's ad data) returned is converted, is obtained wide
Accuse advertisement title, the picture of advertisement and the trade mark of advertisement in data.
In addition, being directed to advertising information, destination application can be according to preset unified displaying information management class
IAdManager (advertising management), management need displaying information data to be loaded.The function that IAdManager class includes can join
It is shown in Table (3).
Table (3)
IAdManager |
+void int AdConfig(AdConfig adConfig) |
+void loadAd() |
+IAd getAd() |
+List getAds(int count) |
Wherein ,+void int AdConfig (AdConfig adConfig) is advertisement configuration function, is needed for indicating
The advertising platform of ad data is obtained ,+void loadAd () is request of loading advertisement function, for indicating request of loading advertisement
Data ,+IAd getAd () is to obtain ad data function, for indicating the ad data of request ,+List getAds
(int count) is to obtain ad data tabulated function, for indicating that the ad data list of request, count expression obtain
Take the number of ad data.
Optionally, destination application can be in a manner of determining and load displaying information.Specifically, destination application root
It is loaded in target pages according to modular display information data and shows information, may include following processing step: according to preset exhibition
Show rules for information management, determines modular display information data corresponding display position and display mode in target pages;According to
Modular display information data is loaded with display mode in display position and shows information.
Wherein, preset displaying rules for information management can be rule of thumb configured by technical staff.
In an implementation, destination application can determine modular display information according to preset displaying rules for information management
Data corresponding display position and display mode in target pages, then, destination application is in the display position determined
It is loaded with above-mentioned display mode and shows information.Display mode can be carousel, static broadcasting or other display modes.
Optionally, destination application can also respond the click commands of user when display shows information.Specifically,
This method can also include following processing step: when receiving the click commands of corresponding intended display information, with preset side
Formula responds click commands.
In an implementation, when user is when using destination application, it may browse through the displaying loaded in destination application
Then information clicks the displaying information.When destination application receives a certain point for showing information (i.e. intended display information)
Instruction is hit, destination application can respond the click commands in a manner of preset.
Specifically, being directed to advertising information, destination application can show class according to preset unified displaying information
IAdView (advertisement attempts), management show that the display of information and response show the click commands of information.IAdView class includes
Function may refer to table (4).
Table (4)
IAdView |
+void onAdShow() |
+void onAdClick() |
Wherein ,+void onAdShow () is advertisement explicit function, for indicating the display mode of advertisement ,+void
OnAdClick () is ad click function, the mode of the click commands for indicating to answer an advertisement.
Destination application response click commands mode can be it is diversified, specifically, destination application can
Click commands are responded in a manner of following two to take.
Mode one jumps to the publicity page of intended display information.
Wherein, it can store the page link of the publicity page of intended display information in destination application.
In an implementation, when destination application receives the click commands of corresponding intended display information, target application journey
Sequence can be according to the page link for the publicity page that can directly open intended display information, to jump to intended display information
The page is publicized, is browsed for user.
Mode two, the corresponding application program of downloading intended display information.
Wherein, it can store the download link of the corresponding application program of intended display information in destination application.
In an implementation, when destination application receives the click commands of corresponding intended display information, target exhibition is opened
Show the download link of the corresponding application program of information, to download the corresponding application program of intended display information.For example, intended display
Information is the advertisement of QQ music application, then click commands of the destination application in the advertisement for receiving corresponding QQ music
When, QQ music application can be carried directly below.
It should be noted that destination application can be simultaneously with the click of above-mentioned two ways response intended display information
Instruction, in addition, the mode of destination application response click commands is not limited to above two mode.
From the foregoing, it can be seen that load based on the embodiment of the present invention shows information approach, available preset each exhibition
Show the platform SDK of information platform, and according to each platform SDK, determines corresponding unified displaying information data loading classes, wherein system
One shows that information data loading classes are to be packaged according to the displaying information data loading classes in each platform SDK, according to
It is unified to show information data loading classes, it requests to show information data to each platform SDK, so that each platform SDK is from corresponding rear end
Server, which obtains, shows information data, when receiving the displaying information data that each platform SDK is returned, according to displaying information data
Load shows information in target pages.Based on above-mentioned processing, show that information data loading classes can be unified to load according to unified
Difference shows the displaying information of information platform, and then reduces the complexity that load shows information.
Corresponding with embodiment of the method shown in FIG. 1, referring to fig. 4, Fig. 4 is a kind of load exhibition provided in an embodiment of the present invention
Show the structure chart of massaging device, comprising:
Determining module 401, for obtaining preset each platform SDK for showing information platform, and according to each platform SDK, really
Fixed corresponding unified displaying information data loading classes, wherein the unified displaying information data loading classes are according to described each flat
What the displaying information data loading classes in platform SDK were packaged;
Request module 402, for requesting exhibition to each platform SDK according to the unified displaying information data loading classes
Show information data, so that each platform SDK is obtained from corresponding back-end server shows information data;
Loading module 403, for when receiving the displaying information data that each platform SDK is returned, according to the exhibition
Show that information data loads in target pages and shows information.
Optionally, described device further include:
Conversion module obtains modular display Information Number for the displaying information data to be converted to preset standard format
According to;
The loading module 403 is specifically used for loading displaying in target pages according to the modular display information data
Information.
Optionally, the loading module 403 is specifically used for determining the mark according to preset displaying rules for information management
Standard shows information data corresponding display position and display mode in target pages;
According to the modular display information data, is loaded in the display position with the display mode and show information.
Optionally, described device further include:
Respond module, for responding institute in a manner of preset when receiving the click commands of corresponding intended display information
State click commands.
Optionally, the respond module, specifically for jumping to the publicity page of the intended display information;
And/or
Download the corresponding application program of the intended display information.
From the foregoing, it can be seen that load based on the embodiment of the present invention shows massaging device, available preset each exhibition
Show the platform SDK of information platform, and according to each platform SDK, determines corresponding unified displaying information data loading classes, wherein system
One shows that information data loading classes are to be packaged according to the displaying information data loading classes in each platform SDK, according to
It is unified to show information data loading classes, it requests to show information data to each platform SDK, so that each platform SDK is from corresponding rear end
Server, which obtains, shows information data, when receiving the displaying information data that each platform SDK is returned, according to displaying information data
Load shows information in target pages.Based on above-mentioned processing, show that information data loading classes can be unified to load according to unified
Difference shows the displaying information of information platform, and then reduces the complexity that load shows information.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 5, including memory 501 and processor 502,
Wherein,
Memory 501, for storing computer program;
Processor 502 when for executing the program stored on memory 501, realizes following steps:
Obtain the System right management service of target terminal;
Preset each platform SDK for showing information platform is obtained, and according to each platform SDK, determines corresponding unified displaying
Information data loading classes, wherein the unified displaying information data loading classes are according to the displaying information in each platform SDK
Data loading classes are packaged;
According to the unified displaying information data loading classes, information data is shown to each platform SDK request, so that institute
It states each platform SDK and obtains displaying information data from corresponding back-end server;
When receiving the displaying information data that each platform SDK is returned, according to the displaying information data in target
Load shows information in the page.
Specific implementation and relevant explanation content about each step of this method may refer to preceding method embodiment portion
Point, this will not be repeated here.
Above-mentioned electronic equipment can have the communication interface realized and communicated between above-mentioned electronic equipment and other equipment.
Above-mentioned processor 502, communication interface, memory 501 complete mutual communication by communication bus, this place
It is total that the communication bus mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI)
Line or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..This is logical
Letter bus can be divided into address bus, data/address bus, control bus etc..
Memory 501 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
It can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 502 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Electronic equipment provided in an embodiment of the present invention shows information data load according to unified when load shows information
Class can uniformly load the different displaying information for showing information platform, and then reduce the complexity that load shows information.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium
There is instruction, when run on a computer, so that computer executes load provided in an embodiment of the present invention and shows information approach.
Specifically, above-mentioned load shows information approach, comprising:
Preset each platform SDK for showing information platform is obtained, and according to each platform SDK, determines corresponding unified displaying
Information data loading classes, wherein the unified displaying information data loading classes are according to the displaying information in each platform SDK
Data loading classes are packaged;
According to the unified displaying information data loading classes, information data is shown to each platform SDK request, so that institute
It states each platform SDK and obtains displaying information data from corresponding back-end server;
When receiving the displaying information data that each platform SDK is returned, according to the displaying information data in target
Load shows information in the page.
It should be noted that above-mentioned load shows other implementations and preceding method embodiment part phase of information approach
Together, which is not described herein again.
By running the instruction stored in computer readable storage medium provided in an embodiment of the present invention, letter is shown in load
When breath, show that information data loading classes can uniformly load the different displaying information for showing information platform according to unified, and then drop
Low load shows the complexity of information.
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes load provided in an embodiment of the present invention and shows information approach.
Specifically, above-mentioned load shows information approach, comprising:
Preset each platform SDK for showing information platform is obtained, and according to each platform SDK, determines corresponding unified displaying
Information data loading classes, wherein the unified displaying information data loading classes are according to the displaying information in each platform SDK
Data loading classes are packaged;
According to the unified displaying information data loading classes, information data is shown to each platform SDK request, so that institute
It states each platform SDK and obtains displaying information data from corresponding back-end server;
When receiving the displaying information data that each platform SDK is returned, according to the displaying information data in target
Load shows information in the page.
It should be noted that above-mentioned load shows other implementations and preceding method embodiment part phase of information approach
Together, which is not described herein again.
By running computer program product provided in an embodiment of the present invention, when load shows information, according to unified exhibition
Show that information data loading classes can uniformly load the different displaying information for showing information platform, and then reduces load and show information
Complexity.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Above-mentioned computer program
Product includes one or more computer instructions.When loading on computers and executing above-mentioned computer program instructions, all or
Partly generate the process or function above-mentioned according to the embodiment of the present invention.Above-mentioned computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.Above-mentioned computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, above-mentioned computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.Above-mentioned computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.Above-mentioned usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium, computer program product embodiments, implement since it is substantially similar to method
Example, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of method that load shows information, which is characterized in that the described method includes:
Preset each platform SDK for showing information platform is obtained, and according to each platform SDK, determines corresponding unified displaying information
Data loading classes, wherein the unified displaying information data loading classes are according to the displaying information data in each platform SDK
What loading classes were packaged;
According to the unified displaying information data loading classes, information data is shown to each platform SDK request, so that described each
Platform SDK is obtained from corresponding back-end server and is shown information data;
When receiving the displaying information data that each platform SDK is returned, according to the displaying information data in target pages
Middle load shows information.
2. the method according to claim 1, wherein it is described according to the displaying information data in target pages
Before middle load shows information, the method also includes:
The displaying information data is converted into preset standard format, obtains modular display information data;
Described loaded in target pages according to the displaying information data shows information, comprising:
It is loaded in target pages according to the modular display information data and shows information.
3. according to the method described in claim 2, it is characterized in that, it is described according to the modular display information data in page object
Load shows information in face, comprising:
According to preset displaying rules for information management, the modular display information data corresponding display in target pages is determined
Position and display mode;
According to the modular display information data, is loaded in the display position with the display mode and show information.
4. the method according to claim 1, wherein the method also includes:
When receiving the click commands of corresponding intended display information, the click commands are responded in a manner of preset.
5. according to the method described in claim 4, it is characterized in that, described respond the click commands, packet in a manner of preset
It includes:
Jump to the publicity page of the intended display information;
And/or
Download the corresponding application program of the intended display information.
6. a kind of load shows massaging device, which is characterized in that described device includes:
Determining module determines corresponding for obtaining preset each platform SDK for showing information platform, and according to each platform SDK
It is unified to show information data loading classes, wherein the unified displaying information data loading classes are according in each platform SDK
Show what information data loading classes were packaged;
Request module, for showing Information Number to each platform SDK request according to the unified displaying information data loading classes
According to so that each platform SDK is obtained from corresponding back-end server shows information data;
Loading module, for when receiving the displaying information data that each platform SDK is returned, according to the displaying Information Number
According to the load displaying information in target pages.
7. device according to claim 6, which is characterized in that described device further include:
Conversion module obtains modular display information data for the displaying information data to be converted to preset standard format;
The loading module is specifically used for loading displaying information in target pages according to the modular display information data.
8. device according to claim 7, which is characterized in that the loading module is specifically used for according to preset displaying
Rules for information management determines the modular display information data corresponding display position and display mode in target pages;
According to the modular display information data, is loaded in the display position with the display mode and show information.
9. a kind of electronic equipment, which is characterized in that including memory and processor, wherein
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-5
Method step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes claim 1-5 any method and step when the computer program is executed by processor.
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 true CN109032693A (en) | 2018-12-18 |
CN109032693B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683889A (en) * | 2018-12-26 | 2019-04-26 | 北京微播视界科技有限公司 | Multiplexing method, device, electronic equipment and the readable storage medium storing program for executing of message display frame |
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 (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080034393A1 (en) * | 2006-08-02 | 2008-02-07 | Aaron Crayford | Distribution of content and advertisement |
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 |
CN106502738A (en) * | 2016-10-24 | 2017-03-15 | 福建中金在线信息科技有限公司 | Data load method and device in a kind of mobile terminal |
CN107249180A (en) * | 2017-07-20 | 2017-10-13 | 北京五八信息技术有限公司 | The general cut-in methods of LBS SDK and system |
CN107295095A (en) * | 2017-07-13 | 2017-10-24 | 百度在线网络技术(北京)有限公司 | The method and apparatus for pushing and showing advertisement |
CN107665045A (en) * | 2017-07-26 | 2018-02-06 | 上海壹账通金融科技有限公司 | Safety keyboard collocation method, device, terminal and storage medium |
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 |
-
2018
- 2018-06-29 CN CN201810715322.2A patent/CN109032693B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080034393A1 (en) * | 2006-08-02 | 2008-02-07 | Aaron Crayford | Distribution of content and advertisement |
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 |
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 |
CN107665045A (en) * | 2017-07-26 | 2018-02-06 | 上海壹账通金融科技有限公司 | Safety keyboard collocation method, device, terminal and storage medium |
CN107729452A (en) * | 2017-10-09 | 2018-02-23 | 武汉斗鱼网络科技有限公司 | Webpage loading method, device, electronic equipment and computer-readable recording medium |
Non-Patent Citations (2)
Title |
---|
王茹等: "一种基于MES的车间移动管理系统设计与实现", 《电子设计工程》 * |
郭凤琳: "基于ArcGIS、百度地图API的简单开发", 《电脑知识与技术》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683889A (en) * | 2018-12-26 | 2019-04-26 | 北京微播视界科技有限公司 | Multiplexing method, device, electronic equipment and the readable storage medium storing program for executing of message display frame |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN109032693B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055343B (en) | Data synchronization method and device for computer room | |
CN109639636A (en) | Business datum forwarding, business data processing method, device and electronic equipment | |
CN110049059A (en) | A kind of outer net equipment and Intranet communication between devices method and relevant apparatus | |
CN108401037A (en) | User terminal and the binding method of equipment, device and system | |
Rose et al. | How to manage your network using SNMP: the networking management practicum | |
CN107360261A (en) | A kind of HTTP request processing method, device and electronic equipment | |
CN109032693A (en) | Method and device for loading display information, electronic equipment and readable storage medium | |
CN106921578A (en) | The generation method and device of a kind of forwarding-table item | |
CN107329991A (en) | A kind of list access to web page and methods of exhibiting and its system | |
CN111367685B (en) | Interface calling method and device, computer equipment and storage medium | |
CN110728558A (en) | Virtual article package sending method, device, equipment and storage medium | |
CN114039875A (en) | Data acquisition method, device and system based on eBPF technology | |
CN105554096A (en) | Method and system for realizing cloud game cloud service | |
CN107888663A (en) | A kind of method of distribution of document, equipment and computer-readable medium | |
WO2016081003A1 (en) | Techniques to transform network resource requests to zero rated network requests | |
CN112422485B (en) | Communication method and device of transmission control protocol | |
CN104378393A (en) | Resource sharing method and corresponding device | |
CN104217021B (en) | Reading server, terminal device and its method for showing reading content | |
CN110413699A (en) | The cochain method and device thereof of user's ballot associated data | |
CN113726855B (en) | Service aggregation method, device, electronic equipment and computer-readable storage medium | |
CN108600255A (en) | Mock service management method, device, computer equipment and storage medium | |
CN111880996B (en) | Bare metal data acquisition method, device, equipment and readable storage medium | |
CN112910910A (en) | Method, device, equipment and storage medium for processing OPCDA protocol message | |
CN108234216B (en) | Method and device for downloading data message | |
CN111753162A (en) | Data crawling method, device, server and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |