CN110069731A - Data processing method, device, electronic equipment and computer readable storage medium - Google Patents
Data processing method, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110069731A CN110069731A CN201910213986.3A CN201910213986A CN110069731A CN 110069731 A CN110069731 A CN 110069731A CN 201910213986 A CN201910213986 A CN 201910213986A CN 110069731 A CN110069731 A CN 110069731A
- Authority
- CN
- China
- Prior art keywords
- application identities
- page data
- app store
- application
- data
- 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
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of data processing method, device, electronic equipment and computer readable storage mediums, this method comprises: detecting whether that meet App Store jumps condition in advance according to the data for showing interface;If satisfied, obtaining application identities to be recommended;Obtain the corresponding page data of application identities to be recommended described in App Store;Cache the corresponding page data of the application identities to be recommended.Technical solution provided by the invention is when needing to call App Store, first App Store page data information cache is got off, then in subsequent calls App Store, it does not need to be called by api interface, the data of caching can directly be utilized, by loading the corresponding App Store page data information of application identities in advance, the calling speed of App Store is accelerated, is improved efficiency.
Description
Technical field
The present embodiments relate to Data cache technology fields, and in particular to a kind of data processing method, device, electronics are set
Standby and computer readable storage medium.
Background technique
App Store (a part of iTunes Store), is the service of iPhone, iPod Touch, iPad and Mac
Software, allowing user to browse and download from iTunes Store or Mac App Store and is some is that iPhone SDK or Mac are developed
Application program.
It is all the unified standard api interface provided by iOS system but now when calling App Store
(Application Programming Interface, application programming interface) is called, so that calling speed very
Slowly.
The description of the above-mentioned discovery procedure to problem, is only used to facilitate the understanding of the technical scheme, and does not represent and holds
Recognizing above content is the prior art.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, the embodiment of the invention provides
A kind of data processing method, device, electronic equipment and computer readable storage medium.
In view of this, the embodiment of the present invention provides a kind of data processing method, comprising:
According to the data for showing interface, detect whether that meet App Store jumps condition in advance;
If meet the App Store jumps condition in advance, application identities to be recommended are obtained;
Obtain the corresponding page data of application identities to be recommended described in App Store;
Cache the corresponding page data of the application identities to be recommended.
Further, the method also includes:
When receiving the skip operation of App Store, obtain that the skip operation is corresponding to jump application identities;
Judge whether to be cached with and described jumps the corresponding page data of application identities;
If jumping the corresponding page data of application identities described in being cached with, obtains the described of caching and jump application identities pair
The page data answered, and the page data got described in displaying.
It is further, described to detect whether that meet App Store jumps condition in advance, comprising:
Obtain the content information of displayed content in the displaying interface;
Judge in the content information whether to include application identities;
When the content information contains application identities, determine that meet App Store jumps condition in advance.
Further, the method also includes:
When the content information does not contain application identities, whether detect in the content information comprising URL;
When containing URL, URL Redirection processing is carried out to the URL, obtains a new displaying interface;
Whether judge in the new displaying interface comprising application identities;
If comprising determining that meet App Store jumps condition in advance.
Further, the corresponding page data of application identities to be recommended described in the acquisition App Store, comprising:
Verify whether the application identities to be recommended are application identities in App Store;
If the application identities to be recommended are verified as application identities in App Store, for the application identities to be recommended
Distribute an application example;
The corresponding page data of the application identities to be recommended is cached to by the api interface of the application example described
In application example.
Further, the corresponding page data of the application identities to be recommended is being cached to it in the application example
Before, further includes:
Obtain the remaining space for storing the buffer queue of application example;
Judge whether the size of the corresponding page data of the application identities is greater than the remaining space of the buffer queue;
If the size of the corresponding page data of the application identities is less than or equal to the remaining space of the buffer queue,
The application example for caching page data is added to buffer queue;
Otherwise, the data of the buffer queue squadron head are first removed, then the application example for caching page data is added to
Buffer queue.
Further, the data for showing interface include:
H5 page data, player page data and/or channel page Feed flow data.
A kind of data processing equipment, comprising:
Detection module, for detecting whether that meet App Store jumps condition in advance according to the data for showing interface;
First obtains module, for jumping condition in advance when the corresponding data in displaying interface meet the App Store, obtains
Application identities to be recommended;
Second obtains module, for obtaining the corresponding page data of application identities to be recommended described in App Store;
First cache module, for caching the corresponding page data of the application identities to be recommended.
Further, further includes:
Third obtains module, for it is corresponding to obtain the skip operation when receiving the skip operation of App Store
Jump application identities;
First judgment module described jumps the corresponding page data of application identities for judging whether to be cached with;
4th obtains module, if for be cached with it is described jump the corresponding page data of application identities, obtain caching
It is described to jump the corresponding page data of application identities, and the page data got described in displaying.
Further, the detection module includes:
First acquisition submodule, for obtaining the content information of displayed content in the displaying interface;
First judging submodule, for judging in the content information whether to include application identities;
First determines submodule, for when the content information contains application identities, determining that meet App Store jumps in advance
Turn condition.
Further, the detection module includes:
Detection sub-module, for when the content information does not contain application identities, detect in the content information whether
Include URL;
Submodule is handled, for URL Redirection processing being carried out to the URL, obtaining one when containing URL
New displaying interface;
Second judgment submodule, for whether judging in the new displaying interface comprising application identities;
Second determination submodule, for when in new displaying interface including application identities, it is pre- that determination meets App Store
Jump condition.
Further, the second acquisition module includes:
Submodule is verified, for verifying whether the application identities to be recommended are application identities in App Store;
Distribution sub module is described if being verified as application identities in App Store for the application identities to be recommended
Application identities to be recommended distribute an application example;
Cache sub-module, for the api interface by the application example by the corresponding page of the application identities to be recommended
Face data is cached in the application example.
Further, described second module is obtained further include:
Second acquisition submodule, for obtaining the remaining space of the buffer queue for storing application example;
Third judging submodule, for judging it is described slow whether the size of the corresponding page data of the application identities is greater than
Deposit the remaining space of queue;
Third determines submodule, is less than or equal to for the size when the corresponding page data of the application identities described slow
When depositing the remaining space of queue, the application example for caching page data is added to buffer queue;
4th determines submodule, is greater than the buffer queue for the size when the corresponding page data of the application identities
When remaining space, the data of buffer queue squadron head are first removed, then the application example for caching page data are added to slow
Deposit queue.
A kind of electronic equipment, including processor, communication interface, memory and communication bus, wherein processor, communication connect
Mouthful, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described method and step.
A kind of computer readable storage medium is stored with data processing method journey on the computer readable storage medium
The step of sequence, the data processing method program realizes any of the above-described described data processing method when being executed by processor.
Compared with the immediate prior art, whether the embodiment of the present invention is detected current full by showing the data at interface
Sufficient App Store jumps condition in advance, when satisfaction jumps condition, obtains application identities to be recommended, then obtains in App Store
The corresponding page data of the application identities, finally caches page data.The embodiment of the present invention, which is worked as, to be needed to call App
When Store, first App Store page data information cache is got off, then in subsequent calls App Store, does not need to lead to
Api interface is crossed to be called, it can be directly using the data of caching, by loading the corresponding App Store of application identities in advance
Page data information accelerates the calling speed of App Store, improves efficiency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention
Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is a kind of data processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart for data processing method that another embodiment of the present invention provides;
Fig. 3 detects whether to meet the method flow diagram that App Store jumps condition in advance to be provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart for data processing method that another embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
For when opening some webpages, will appear some application identities in addition to watching content on the page, wished in user
When hoping the click mark, the slow problem of built-in App Store is opened.At a kind of data provided by one embodiment of the present invention
Reason method, to realize the speed for quickly opening built-in App Store, as shown in Figure 1, this method comprises:
S101 detects whether that meet App Store jumps condition in advance according to the data for showing interface;
The displaying interface can be for for some webpages or some other users browsing the page, such as: it is clear
Look at the device page or some App pages etc..
When user opens a video App, it will appear some contents relevant to video in the homepage of video App
Whether information also will appear some other information, at this moment will be detected on the page and be contained according to the content information of page presentation
There is the condition that App Store is jumped that meets.
Such as: user wants to download some shopping App on the page of video App, at this moment just needs to detect on current page
It whether include to jump to the pre- of App Store to jump condition, that is, whether detect on the page includes answering for shopping App
The downloading page of the shopping App in App Store can be jumped directly to by the mark if having with mark.
S102 obtains application identities to be recommended if meet the App Store jumps condition in advance;
In the present embodiment, judge whether that meeting App Store to jump condition in advance is to obtain and jump required application
Mark.Application identities are to identify the condition of some application, when user want downloading some in application, system just needs to identify works as
Whether the preceding page includes this using corresponding application identities, could obtain the application identities of application to be recommended when it is present,
To further obtain the downloading page of the application.
For this purpose, in the embodiment of the present application, referring to step S103, obtaining the application identities institute to be recommended in App Store
Corresponding page data is not to directly acquire page data, but first determine application identities, then to obtain application identities corresponding
Page data.
S103 obtains the corresponding page data of application identities to be recommended described in App Store;
When obtaining page data, the corresponding relationship of application identities and page data is obtained first, then according to the correspondence
Page data corresponding with application identities in Relation acquisition App Store.
Corresponding relationship herein should be the corresponding relationship carried in App Store program, be that system has editted
Program.
S104 caches the corresponding page data of the application identities to be recommended.
Finally page data corresponding to the application program of above-mentioned acquisition is cached, is called directly so as to subsequent, no
It needs to download from App Store again.
In the embodiment of the present application, by showing whether the data at interface currently meet App Store and jump in advance to detect
Condition, obtains application identities to be recommended, then obtains the corresponding page data of the application identities in App Store, finally will
Page data caches.The embodiment of the present application passes through the corresponding App Store page data information of buffered in advance application identities,
When needing to call built-in App Store, first App Store page data information cache is got off, then in subsequent calls App
It when Store, does not need to be called by api interface, directly can load out by the data cached, accelerate App
The calling speed of Store, improves efficiency.
In another embodiment of the application, as shown in Fig. 2, the data processing method further include:
S201, when receiving the skip operation of App Store, obtain the skip operation it is corresponding jump using mark
Know;
S202, judge whether to be cached with and described jump the corresponding page data of application identities;
If S203, be cached with it is described jump the corresponding page data of application identities, obtain the described of caching and jump application
Identify corresponding page data, and the page data got described in displaying.
After the completion of data buffer storage, when receiving the skip operation of App Store, the corresponding jump of acquisition skip operation first
Turn application identities, further determine whether to have cached and jump the corresponding page data of application identities, if being cached with corresponding
Page data obtains this and jumps the corresponding page data of application identities, can also be shown to the page data of acquisition.
After skip operation in order to solve to receive App Store, it can not get and jump the corresponding page of application identities
The case where face data, this method may comprise steps of:
If S204, it is uncached it is described jump the corresponding page data of application identities, obtain and jumped described in App Store
The corresponding page data of application identities;
The corresponding page data of application identities is jumped described in S205, caching.
In the present embodiment, it when receiving the skip operation of App Store, first obtains corresponding jump of skip operation and answers
With mark, then judge whether that buffered in advance jumps the corresponding page data of application identities and then directly obtains if buffered
Take caching jumps the corresponding page data of application identities, if not caching the page data, then further obtains App
This in Store jumps the corresponding page data of application identities, then caches this again and jumps the corresponding page data of application identities, together
When the data of acquisition can also be shown or some other operations.
In another embodiment of the application, when there is a displaying interface, before data cached, need first in current page
Face detects whether data cached condition, as shown in figure 3, detecting whether that meet App Store jumps condition in advance, comprising:
S301, the content information for showing displayed content in interface is obtained;
Due to the type of the page be it is diversified, first to obtain the content information of current page all shown,
Quickly to learn all information of current page, condition is provided for subsequent judgement.
S302, judge in the content information whether to include application identities;
The related content comprising application identities is detected whether from the page info of above-mentioned acquisition, to further judge
Whether data cached condition is had.
S303, when the content information contains application identities, determine and meet App Store and jump condition in advance;
In some applications, data cached condition can also be judged whether there is by other conditions, such as below step institute
Show.
S304, when the content information does not contain application identities, whether detect in the content information comprising URL;
When can't detect the related content containing application identities in the whole content information in current page, detection is current
It whether include URL (Uniform Resource Locator, uniform resource locator) in the content information of the page.
S305, when contain URL when, to the URL carry out URL Redirection processing, obtain new displaying circle
Face;
If detect URL information in the content information of current page, which is at URL Redirection
Reason, to jump to a new displaying interface.
S306, whether judge in the new displaying interface comprising application identities;
When jumping to new displaying interface, start above-mentioned steps, whether detect in the displaying interface includes using mark
Know.
If S307, comprising determining and meeting App Store and jump condition in advance.
In the present embodiment, App Store jump in advance condition be exactly judge in current page information either with or without application identities or
It is URL.By taking the player page as an example, after opening a player, first the page is loaded out.At this moment the player page is obtained
Then the whole content information of displaying has searched whether application identities or URL in whole content informations, if found
One of which is exactly to meet App Store to jump condition in advance.
In another embodiment of the application, it is contemplated that there may be problems for the reliability of some data, in order to improve data
Reliability, as shown in figure 4, this method may also comprise the following steps::
Whether S401, the verification application identities to be recommended are application identities in App Store;
When detect show interface in include application identities when, first verify whether the application identities are in App Store
Application identities.Verification at this can be twin check or other verifications.By taking twin check as an example, App Store
In each application identities can have a corresponding code, input current application identities in a program, then by this application mark
Know compared with the code of each application program in App Store, if the code with some application program in App Store
Unanimously, then illustrate that the application program is reliably, can to continue the processing of data, if with each in App Store
The code of application program is inconsistent, then the title application program is insecure, needs to abandon the application program, and notify
User's application program is unreliable, issues early warning to user, user is prevented to continue to operate.
If S402, the application identities to be recommended are verified as application identities in App Store, for the application to be recommended
Mark one application example of distribution;
S403, the corresponding page data of the application identities to be recommended is cached by the api interface of the application example
Into the application example.
If verification show that application identities to be recommended are the application identities in App Store, one can be distributed at this time newly
SKStoreProductViewController example calls instance system API (Application by application identities
Programming Interface, application programming interface) carry out App Store data caching, by application mark to be recommended
Know corresponding page data to be cached in the example.
In process of caching perhaps can encounter caching it is unsuccessful when, it is unsuccessful in order to solve the problems, such as to cache, this
Apply in embodiment, referring to following step, the corresponding page data of the application identities to be recommended is being cached to the application
Before in example, the size of the remaining space in buffer queue can be first obtained.
Obtain the remaining space for storing the buffer queue of application example;
Judge whether the size of the corresponding page data of the application identities is greater than the remaining space of the buffer queue;
If the size of the corresponding page data of the application identities is less than or equal to the remaining space of the buffer queue,
The application example for caching page data is added to buffer queue;
Otherwise, the data of the buffer queue squadron head are first removed, then the application example for caching page data is added to
Buffer queue.
Buffer queue is the place for storing application example, and entire buffer queue is all by a globally shared singleton
Come what is managed, the maximum capacity of current cache queue, when needing to cache every time, cloud control module can be obtained by cloud control module
It will first check the data cached situation in current cache queue, if buffered full, then by cloud prosecutor formula, will cache
The time, at most data cached was purged in queue, to flow out position to new data cached.
Buffer queue utilizes FIFO (First in First out), fifo algorithm.It is namely two-way using one
Chained list saves data, is just added to chained list end after having carried out data newly, if being filled with data, chained list header data
It deletes, new data is then added to chained list end.
In the present embodiment, mainly switch is arranged in cloud control management module by way of cloud control, and dynamic control preloads
The intervention of management module and the maximum capacity of preloaded components buffer queue, can targetedly to different edition systems,
The equipment of different model carries out preloading management, can effectively ensure that it is data cached after safety.
In embodiments herein, show interface include: the H5 page, the player page and/or channel page Feed stream or
It is the page of other users browsing.
As shown in figure 5, the present embodiment discloses a kind of data processing equipment, which includes:
Detection module 101, for detecting whether that meet App Store jumps condition in advance according to the data for showing interface;
First obtains module 102, for jumping condition in advance when the corresponding data in displaying interface meet the App Store,
Obtain application identities to be recommended;
Second obtains module 103, for obtaining the corresponding page data of application identities to be recommended described in App Store;
First cache module 104, for caching the corresponding page data of the application identities to be recommended.
In some embodiments of the present application, the device further include:
Third obtains module, for it is corresponding to obtain the skip operation when receiving the skip operation of App Store
Jump application identities;
First judgment module described jumps the corresponding page data of application identities for judging whether to be cached with;
4th obtains module, if for be cached with it is described jump the corresponding page data of application identities, obtain caching
It is described to jump the corresponding page data of application identities, and the page data got described in displaying.
In some embodiments of the present application, the detection module 101 includes:
First acquisition submodule, for obtaining the content information of displayed content in the displaying interface;
First judging submodule, for judging in the content information whether to include application identities;
First determines submodule, for when the content information contains application identities, determining that meet App Store jumps in advance
Turn condition.
In some embodiments of the present application, the detection module 101 further include:
Detection sub-module, for when the content information does not contain application identities, detect in the content information whether
Include URL;
Submodule is handled, for URL Redirection processing being carried out to the URL, obtaining one when containing URL
New displaying interface;
Second judgment submodule, for whether judging in the new displaying interface comprising application identities;
Second determination submodule, for when in new displaying interface including application identities, it is pre- that determination meets App Store
Jump condition.
In some embodiments of the present application, the second acquisition module 103 includes:
Submodule is verified, for verifying whether the application identities to be recommended are application identities in App Store;
Distribution sub module is described if being verified as application identities in App Store for the application identities to be recommended
Application identities to be recommended distribute an application example;
Cache sub-module, for the api interface by the application example by the corresponding page of the application identities to be recommended
Face data is cached in the application example.
In some embodiments of the present application, described second obtains module 103 further include:
Second acquisition submodule, for obtaining the remaining space of the buffer queue for storing application example;
Third judging submodule, for judging it is described slow whether the size of the corresponding page data of the application identities is greater than
Deposit the remaining space of queue;
Third determines submodule, is less than or equal to for the size when the corresponding page data of the application identities described slow
When depositing the remaining space of queue, the application example for caching page data is added to buffer queue;
4th determines submodule, is greater than the buffer queue for the size when the corresponding page data of the application identities
When remaining space, the data of buffer queue squadron head are first removed, then the application example for caching page data are added to slow
Deposit queue.
In another embodiment of the application, a kind of electronic equipment is additionally provided, as shown in fig. 6, including processor 501, logical
Believe interface 502, memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 pass through communication
Bus 504 completes mutual communication;
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
According to the data for showing interface, detect whether that meet App Store jumps condition in advance;
If meet the App Store jumps condition in advance, application identities to be recommended are obtained;
Obtain the corresponding page data of application identities to be recommended described in App Store;
Cache the corresponding page data of the application identities to be recommended.
The communication bus 504 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard
(PeripheralComponent Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended
IndustryStandard Architecture, abbreviation EISA) bus etc..The communication bus 504 can be divided into address bus,
Data/address bus, control bus etc..Only to be indicated with a thick line convenient for indicating, in Fig. 5, it is not intended that an only bus or
A type of bus.
Communication interface 502 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 503 may include random access memory (RandomAccess Memory, abbreviation RAM), also can wrap
Include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory is also
It can be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor 501 can be general processor, including central processing unit (Central
ProcessingUnit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital letter
Number processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application
SpecificIntegrated 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.
In another embodiment of the application, a kind of computer readable storage medium is additionally provided, which is characterized in that the meter
Data processing method program is stored on calculation machine readable storage medium storing program for executing, it is real when the data processing method program is executed by processor
The step of existing any of the above-described described data processing method.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.
Through the above description of the embodiments, those skilled in the art can be understood that each reality of the present invention
Applying method described in example can realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware,
But the former is more preferably embodiment in many cases.Based on this understanding, technical solution of the present invention is substantially in other words
The part that contributes to existing technology can be embodied in the form of software products, which is stored in one
In a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be hand
Machine, computer, server, air conditioner or network equipment etc.) execute method or implementation described in each embodiment of the present invention
Method described in certain parts of example.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (14)
1. a kind of data processing method characterized by comprising
According to the data for showing interface, detect whether that meet App Store jumps condition in advance;
If meet the App Store jumps condition in advance, application identities to be recommended are obtained;
Obtain the corresponding page data of application identities to be recommended described in App Store;
Cache the corresponding page data of the application identities to be recommended.
2. the method according to claim 1, wherein the method also includes:
When receiving the skip operation of App Store, obtain that the skip operation is corresponding to jump application identities;
Judge whether to be cached with and described jumps the corresponding page data of application identities;
If be cached with it is described jump the corresponding page data of application identities, obtaining caching described, to jump application identities corresponding
Page data, and the page data got described in displaying.
3. method according to claim 1 or 2, which is characterized in that described to detect whether that meet App Store jumps item in advance
Part, comprising:
Obtain the content information of displayed content in the displaying interface;
Judge in the content information whether to include application identities;
When the content information contains application identities, determine that meet App Store jumps condition in advance.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When the content information does not contain application identities, whether detect in the content information comprising URL;
When containing URL, URL Redirection processing is carried out to the URL, obtains a new displaying interface;
Whether judge in the new displaying interface comprising application identities;
If comprising determining that meet App Store jumps condition in advance.
5. method according to claim 1 or 2, which is characterized in that application to be recommended described in the acquisition App Store
Identify corresponding page data, comprising:
Verify whether the application identities to be recommended are application identities in App Store;
If the application identities to be recommended are verified as application identities in App Store, distributed for the application identities to be recommended
One application example;
The corresponding page data of the application identities to be recommended is cached to the application by the api interface of the application example
In example.
6. according to the method described in claim 5, it is characterized in that, by the corresponding page data of the application identities to be recommended
Before being cached in the application example, further includes:
Obtain the remaining space for storing the buffer queue of application example;
Judge whether the size of the corresponding page data of the application identities is greater than the remaining space of the buffer queue;
If the size of the corresponding page data of the application identities is less than or equal to the remaining space of the buffer queue, will delay
The application example for depositing page data is added to buffer queue;
Otherwise, the data of the buffer queue squadron head are first removed, then the application example for caching page data is added to caching
Queue.
7. a kind of data processing equipment characterized by comprising
Detection module, for detecting whether that meet App Store jumps condition in advance according to the data for showing interface;
First obtains module, for jumping condition in advance when the data for showing interface meet the App Store, obtains to be recommended answer
With mark;
Second obtains module, for obtaining the corresponding page data of application identities to be recommended described in App Store;
First cache module, for caching the corresponding page data of the application identities to be recommended.
8. device according to claim 7, which is characterized in that further include:
Third obtains module, and for obtaining when receiving the skip operation of App Store, the skip operation is corresponding to be jumped
Application identities;
First judgment module described jumps the corresponding page data of application identities for judging whether to be cached with;
4th obtains module, if for be cached with it is described jump the corresponding page data of application identities, obtain the described of caching
Jump the corresponding page data of application identities, and the page data got described in displaying.
9. device according to claim 7 or 8, which is characterized in that the detection module includes:
First acquisition submodule, for obtaining the content information of displayed content in the displaying interface;
First judging submodule, for judging in the content information whether to include application identities;
First determines submodule, for when the content information contains application identities, determining that meet AppStore jumps item in advance
Part.
10. device according to claim 9, which is characterized in that the detection module further include:
Detection sub-module, for when the content information does not contain application identities, detect in the content information whether include
URL;
Handle submodule, for carrying out URL Redirection processing to the URL when containing URL, obtain one it is new
Show interface;
Second judgment submodule, for whether judging in the new displaying interface comprising application identities;
Second determines submodule, for when in new displaying interface including application identities, determining that meet AppStore jumps in advance
Condition.
11. device according to claim 7 or 8, which is characterized in that described second, which obtains module, includes:
Submodule is verified, for verifying whether the application identities to be recommended are application identities in App Store;
Distribution sub module, if application identities in App Store are verified as the application identities to be recommended, to be described wait push away
It recommends application identities and distributes an application example;
Cache sub-module, for the api interface by the application example by the corresponding page number of the application identities to be recommended
According to being cached in the application example.
12. device according to claim 11, which is characterized in that described second obtains module further include:
Second acquisition submodule, for obtaining the remaining space of the buffer queue for storing application example;
Third judging submodule, for judging whether the size of the corresponding page data of the application identities is greater than the caching team
The remaining space of column;
Third determines submodule, is less than or equal to the caching team for the size when the corresponding page data of the application identities
When the remaining space of column, the application example for caching page data is added to buffer queue;
4th determines submodule, and it is remaining to be greater than the buffer queue for the size when the corresponding page data of the application identities
When space, the data of the buffer queue squadron head are first removed, then the application example for caching page data is added to caching team
Column.
13. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-6.
14. a kind of computer readable storage medium, which is characterized in that be stored at data on the computer readable storage medium
Method program is managed, is realized when the data processing method program is executed by processor at any data of claim 1-6
The step of reason method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910213986.3A CN110069731B (en) | 2019-03-20 | 2019-03-20 | Data processing method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910213986.3A CN110069731B (en) | 2019-03-20 | 2019-03-20 | Data processing method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110069731A true CN110069731A (en) | 2019-07-30 |
CN110069731B CN110069731B (en) | 2021-07-09 |
Family
ID=67366449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910213986.3A Active CN110069731B (en) | 2019-03-20 | 2019-03-20 | Data processing method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069731B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111080272A (en) * | 2019-11-19 | 2020-04-28 | 北京奇艺世纪科技有限公司 | Payment method and device for purchasing products in APP |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160050226A1 (en) * | 2012-06-25 | 2016-02-18 | Appthority, Inc. | In-line filtering of insecure or unwanted mobile device software components or communications |
CN107656957A (en) * | 2017-05-11 | 2018-02-02 | 腾讯科技(北京)有限公司 | Promotional content method for pushing, device, system and storage medium |
CN107864173A (en) * | 2017-06-26 | 2018-03-30 | 平安普惠企业管理有限公司 | Terminal page caching method, system and readable storage medium storing program for executing |
CN108121568A (en) * | 2017-11-30 | 2018-06-05 | 五八有限公司 | Arouse method and device, electronic equipment and the readable storage medium storing program for executing of APP |
CN108307223A (en) * | 2018-02-11 | 2018-07-20 | 青岛海信电器股份有限公司 | The storage method and device of television pages data |
-
2019
- 2019-03-20 CN CN201910213986.3A patent/CN110069731B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160050226A1 (en) * | 2012-06-25 | 2016-02-18 | Appthority, Inc. | In-line filtering of insecure or unwanted mobile device software components or communications |
CN107656957A (en) * | 2017-05-11 | 2018-02-02 | 腾讯科技(北京)有限公司 | Promotional content method for pushing, device, system and storage medium |
CN107864173A (en) * | 2017-06-26 | 2018-03-30 | 平安普惠企业管理有限公司 | Terminal page caching method, system and readable storage medium storing program for executing |
CN108121568A (en) * | 2017-11-30 | 2018-06-05 | 五八有限公司 | Arouse method and device, electronic equipment and the readable storage medium storing program for executing of APP |
CN108307223A (en) * | 2018-02-11 | 2018-07-20 | 青岛海信电器股份有限公司 | The storage method and device of television pages data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111080272A (en) * | 2019-11-19 | 2020-04-28 | 北京奇艺世纪科技有限公司 | Payment method and device for purchasing products in APP |
Also Published As
Publication number | Publication date |
---|---|
CN110069731B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11785072B2 (en) | Method, apparatus, and system for pushing application program, and device | |
CN107656768B (en) | Method and system for controlling page jump | |
US20140325323A1 (en) | Online video playing method and apparatus and computer readable medium | |
CN110046310B (en) | Method and device for analyzing jump link in page | |
CN105867714A (en) | Application downloading method, apparatus and system | |
CN111488185B (en) | Page data processing method, device, electronic equipment and readable medium | |
CN104142966A (en) | Web page displaying method and client | |
WO2014176906A1 (en) | Online video playing method and apparatus and computer readable medium | |
CN103279269A (en) | Method, device and terminal equipment for data interaction among application programs | |
CN107124477A (en) | Processing method, terminal and the server of web site contents | |
CN104462283A (en) | Method, device and client for requesting webpage elements in mobile terminal | |
CN103023870A (en) | Method, device and equipment for outputting data in message | |
CN111240564B (en) | Material display method and device, electronic equipment and storage medium | |
US20160241630A1 (en) | Method and apparatus for downloading a file | |
CN108196902A (en) | For showing the method and apparatus for advertisement of spreading its tail | |
CN113721807B (en) | Information display method and device, electronic equipment and storage medium | |
CN110069731A (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN106982254B (en) | The method and apparatus of file download | |
CN108073610B (en) | Method and device for realizing webpage loading | |
CN111353296A (en) | Article processing method and device, electronic equipment and computer-readable storage medium | |
CN110717126A (en) | Page browsing method and device, electronic equipment and computer readable storage medium | |
CN111083145A (en) | Message sending method and device and electronic equipment | |
KR101867412B1 (en) | System and method for using contents seamlessly in different devices, terminal device | |
CN112905072B (en) | Application processing method and device and electronic equipment | |
US9189633B2 (en) | Download management method and device based on android browser |
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 |