CN110069731B - Data processing method and device, electronic equipment and computer readable storage medium - Google Patents

Data processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110069731B
CN110069731B CN201910213986.3A CN201910213986A CN110069731B CN 110069731 B CN110069731 B CN 110069731B CN 201910213986 A CN201910213986 A CN 201910213986A CN 110069731 B CN110069731 B CN 110069731B
Authority
CN
China
Prior art keywords
application identifier
application
page data
app store
recommended
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910213986.3A
Other languages
Chinese (zh)
Other versions
CN110069731A (en
Inventor
牟雪磊
徐凯田
田洪银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910213986.3A priority Critical patent/CN110069731B/en
Publication of CN110069731A publication Critical patent/CN110069731A/en
Application granted granted Critical
Publication of CN110069731B publication Critical patent/CN110069731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing 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 invention relates to a data processing method, a data processing device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: detecting whether an App Store pre-jump condition is met or not according to data of a display interface; if yes, acquiring an application identifier to be recommended; acquiring page data corresponding to the application identifier to be recommended in the App Store; and caching page data corresponding to the application identification to be recommended. According to the technical scheme provided by the invention, when the App Store needs to be called, the page data information of the App Store is cached, then when the App Store is called subsequently, calling is not required through an API (application programming interface), the cached data can be directly utilized, and the calling speed of the App Store is accelerated and the efficiency is improved by loading the page data information of the App Store corresponding to the application identifier in advance.

Description

Data processing method and device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of data caching, in particular to a data processing method and device, electronic equipment and a computer readable storage medium.
Background
App Store (part of iTunes Store), which is a service software for iPhone, iPod Touch, iPad, and Mac, allows a user to browse and download some applications developed for iPhone SDK or Mac from iTunes Store or Mac App Store.
However, when the App Store is called, the call is performed through a unified standard API (Application Programming Interface) provided by the iOS system, so that the call speed is slow.
The above description of the discovery process of the problems is only for the purpose of assisting understanding of the technical solutions of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, embodiments of the present invention provide a data processing method, an apparatus, an electronic device, and a computer-readable storage medium.
In view of this, an embodiment of the present invention provides a data processing method, including:
detecting whether an App Store pre-jump condition is met or not according to data of a display interface;
if the App Store pre-jump condition is met, acquiring an application identifier to be recommended;
acquiring page data corresponding to the application identifier to be recommended in the App Store;
and caching page data corresponding to the application identification to be recommended.
Further, the method further comprises:
when a jump operation of an App Store is received, acquiring a jump application identifier corresponding to the jump operation;
judging whether page data corresponding to the jump application identifier is cached or not;
and if the page data corresponding to the jump application identifier is cached, acquiring the cached page data corresponding to the jump application identifier, and displaying the acquired page data.
Further, the detecting whether the App Store pre-jump condition is met includes:
acquiring content information of the content displayed in the display interface;
judging whether the content information contains an application identifier;
and when the content information contains the application identifier, determining that the App Store pre-jump condition is met.
Further, the method further comprises:
when the content information does not contain an application identifier, detecting whether the content information contains a URL or not;
when the URL is contained, carrying out URL Redirection processing on the URL to obtain a new display interface;
judging whether the new display interface contains an application identifier or not;
and if so, determining that the App Store pre-jump condition is met.
Further, the acquiring page data corresponding to the to-be-recommended application identifier in the App Store includes:
checking whether the application identifier to be recommended is an application identifier in an App Store;
if the to-be-recommended application identifier is verified as an application identifier in an App Store, an application example is allocated to the to-be-recommended application identifier;
and caching the page data corresponding to the application identifier to be recommended into the application instance through an API (application programming interface) of the application instance.
Further, before caching the page data corresponding to the to-be-recommended application identifier into the application instance, the method further includes:
acquiring the residual space of a cache queue for storing an application instance;
judging whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue or not;
if the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue, adding the application instance caching the page data to the cache queue;
otherwise, removing the data at the head of the cache queue, and adding the application example of the cache page data to the cache queue.
Further, the data of the display interface includes:
h5 page data, player page data, and/or channel page Feed stream data.
A data processing apparatus comprising:
the detection module is used for detecting whether the App Store pre-jump condition is met or not according to the data of the display interface;
the first acquisition module is used for acquiring an application identifier to be recommended when data corresponding to a display interface meets the App Store pre-jump condition;
the second acquisition module is used for acquiring page data corresponding to the application identifier to be recommended in the App Store;
and the first caching module is used for caching the page data corresponding to the application identifier to be recommended.
Further, the method also comprises the following steps:
the third acquisition module is used for acquiring a jump application identifier corresponding to the jump operation when the jump operation of the App Store is received;
the first judgment module is used for judging whether page data corresponding to the jump application identifier is cached or not;
and the fourth obtaining module is used for obtaining the cached page data corresponding to the jump application identifier and displaying the obtained page data if the page data corresponding to the jump application identifier is cached.
Further, the detection module comprises:
the first obtaining submodule is used for obtaining content information of the content displayed in the display interface;
the first judgment submodule is used for judging whether the content information contains an application identifier;
and the first determining submodule is used for determining that the App Store pre-jump condition is met when the content information contains the application identification.
Further, the detection module comprises:
the detection submodule is used for detecting whether the content information contains a URL or not when the content information does not contain the application identification;
the processing submodule is used for carrying out URL Redirection processing on the URL to obtain a new display interface when the URL is contained;
the second judgment submodule is used for judging whether the new display interface contains the application identifier or not;
and the second determining submodule is used for determining that the App Store pre-jump condition is met when the new display interface contains the application identifier.
Further, the second obtaining module includes:
the verification submodule is used for verifying whether the application identifier to be recommended is an application identifier in an App Store;
the distribution submodule is used for distributing an application example to the application identifier to be recommended if the application identifier to be recommended is verified to be the application identifier in the App Store;
and the cache submodule is used for caching the page data corresponding to the application identifier to be recommended into the application example through the API of the application example.
Further, the second obtaining module further includes:
the second obtaining submodule is used for obtaining the residual space of the cache queue for storing the application example;
a third judging submodule, configured to judge whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue;
a third determining submodule, configured to add, to the cache queue, an application instance that caches the page data when the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue;
and the fourth determining submodule is used for removing the data at the head of the cache queue in advance and then adding the application instance of the cache page data to the cache queue when the size of the page data corresponding to the application identifier is larger than the residual space of the cache queue.
An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the above method steps when executing a program stored in the memory.
A computer-readable storage medium having stored thereon a data processing method program which, when executed by a processor, implements the steps of any of the data processing methods described above.
Compared with the closest prior art, the embodiment of the invention detects whether the App Store pre-jump condition is met currently through the data of the display interface, acquires the application identifier to be recommended when the jump condition is met, then acquires the page data corresponding to the application identifier in the App Store, and finally caches the page data. According to the embodiment of the invention, when the App Store needs to be called, the page data information of the App Store is cached, then when the App Store is called subsequently, calling is not required through an API (application programming interface), the cached data can be directly utilized, and the calling speed of the App Store is accelerated and the efficiency is improved by loading the page data information of the App Store corresponding to the application identifier in advance.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data processing method according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for detecting whether an App Store pre-jump condition is satisfied according to an embodiment of the present invention;
FIG. 4 is a flow chart of a data processing method according to another embodiment of the invention;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The method aims to solve the problem that when some web pages are opened, application identifiers except viewing content appear on the pages, and when a user wishes to click the identifiers, the built-in App Store is opened slowly. An embodiment of the present invention provides a data processing method to realize a speed of quickly opening a built-in App Store, as shown in fig. 1, the method includes:
s101, detecting whether an App Store pre-jump condition is met or not according to data of a display interface;
the presentation interface may be for some web pages, or some other pages viewed by the user, such as: browser pages or App pages, etc.
When a user opens a video App, content information related to the video and other information appear on a home page of the video App, and whether the page contains a condition meeting App Store jump or not is detected according to the content information displayed by the page.
For example: when a user wants to download a certain shopping App on a page of a video App, whether a pre-jump condition for jumping to an App Store is included in the current page or not needs to be detected, namely whether an application identifier of the shopping App is included in the page or not is detected, and if yes, the user can directly jump to a download page of the shopping App in the App Store through the identifier.
S102, if the App Store pre-jump condition is met, acquiring an application identifier to be recommended;
in this embodiment, the step of judging whether the App Store pre-jump condition is satisfied is to acquire an application identifier required for jumping. The application identifier is a condition for identifying a certain application, when a user wants to download a certain application, the system needs to identify whether the current page includes the application identifier corresponding to the application, and when the current page includes the application identifier corresponding to the application, the application identifier of the application to be recommended can be acquired, so that the download page of the application is further acquired.
Therefore, in the embodiment of the present application, referring to step S103, the page data corresponding to the application identifier to be recommended in the App Store is obtained, and the application identifier is determined first and then the page data corresponding to the application identifier is obtained, instead of directly obtaining the page data.
S103, acquiring page data corresponding to the application identifier to be recommended in the App Store;
when the page data is acquired, firstly, the corresponding relation between the application identifier and the page data is acquired, and then the page data corresponding to the application identifier in the App Store is acquired according to the corresponding relation.
The corresponding relation should be the corresponding relation of the App Store program itself, and is the program that the system has edited.
And S104, caching page data corresponding to the application identification to be recommended.
And finally, caching the page data corresponding to the acquired application program for subsequent direct calling without downloading from an App Store.
In the embodiment of the application, whether the App Store pre-jump condition is met or not is detected by displaying data of an interface, an application identifier to be recommended is obtained, then page data corresponding to the application identifier in the App Store is obtained, and finally the page data is cached. According to the embodiment of the application, the data information of the App Store page corresponding to the application identifier is cached in advance, when the built-in App Store needs to be called, the data information of the App Store page is cached firstly, then when the App Store is called subsequently, calling does not need to be carried out through an API (application programming interface), the cached data can be loaded directly, the calling speed of the App Store is increased, and the efficiency is improved.
In another embodiment of the present application, as shown in fig. 2, the data processing method further includes:
s201, when a jump operation of an App Store is received, acquiring a jump application identifier corresponding to the jump operation;
s202, judging whether page data corresponding to the jump application identifier is cached or not;
s203, if the page data corresponding to the jump application identifier is cached, acquiring the cached page data corresponding to the jump application identifier, and displaying the acquired page data.
After the data caching is completed, when the jump operation of the App Store is received, the jump application identifier corresponding to the jump operation is firstly obtained, whether page data corresponding to the jump application identifier are cached or not is further judged, if the corresponding page data are cached, the page data corresponding to the jump application identifier are obtained, and the obtained page data can be displayed.
In order to solve the problem that page data corresponding to a jump application identifier cannot be acquired after a jump operation of an App Store is received, the method can comprise the following steps:
s204, if the page data corresponding to the jump application identifier is not cached, acquiring the page data corresponding to the jump application identifier in an App Store;
s205, caching page data corresponding to the jump application identifier.
In this embodiment, when a jump operation of an App Store is received, a jump application identifier corresponding to the jump operation is obtained first, then it is determined whether page data corresponding to the jump application identifier is cached in advance, if the page data is cached, page data corresponding to the cached jump application identifier is directly obtained, if the page data is not cached, page data corresponding to the jump application identifier in the App Store is further obtained, then page data corresponding to the jump application identifier is cached, and meanwhile, the obtained data can be displayed or some other operations can be performed.
In another embodiment of the present application, when there is a presentation interface, before caching data, it is required to detect whether there is a condition for caching data on a current page, as shown in fig. 3, and detecting whether an App Store pre-jump condition is satisfied includes:
s301, acquiring content information of the content displayed in the display interface;
because the types of the pages are various, all the displayed content information of the current page needs to be acquired first, so that all the information of the current page can be quickly acquired, and conditions are provided for subsequent judgment.
S302, judging whether the content information contains an application identifier or not;
and detecting whether the related content containing the application identification exists from the acquired page information, thereby further judging whether a condition of caching data exists.
S303, when the content information contains the application identifier, determining that an App Store pre-jump condition is met;
in some applications, whether there is a condition for caching data may also be determined by other conditions, as shown in the following steps.
S304, when the content information does not contain the application identification, detecting whether the content information contains a URL or not;
when the relevant content containing the application identifier is not detected in all the content information of the current page, whether a Uniform Resource Locator (URL) is included in the content information of the current page is detected.
S305, when the URL is contained, carrying out URL Redirection processing on the URL to obtain a new display interface;
and if the URL information is detected in the content information of the current page, performing URL Redirection processing on the URL, and thus jumping to a new display interface.
S306, judging whether the new display interface contains an application identifier or not;
and when jumping to a new display interface, starting the steps and detecting whether the display interface contains the application identification.
S307, if yes, determining that the App Store pre-jump condition is met.
In this embodiment, the App Store pre-jump condition is to determine whether the current page information has an application identifier or a URL. Taking a player page as an example, after a player is opened, the page is loaded first. At this time, all content information displayed by the player page is obtained, then whether an application identifier or a URL exists in all the content information is searched, and if one of the application identifier or the URL is found, the App Store pre-jump condition is met.
In another embodiment of the present application, in order to improve the reliability of data considering that there may be a problem in the reliability of some data, as shown in fig. 4, the method may further include the following steps:
s401, checking whether the application identifier to be recommended is an application identifier in an App Store;
when detecting that the display interface contains the application identification, firstly checking whether the application identification is the application identification in the App Store. The check here may be a comparison check or any other check. Taking comparison and verification as an example, each application identifier in the App Store has a corresponding code, the current application identifier is input in a program, then the application identifier is compared with the codes of all application programs in the App Store, if the application identifier is consistent with the code of one application program in the App Store, the application program is reliable, data processing can be continued, if the application identifier is inconsistent with the codes of all application programs in the App Store, the application program is not reliable, the application program needs to be discarded, a user is informed that the application program is not reliable, an early warning prompt is sent to the user, and the user is prevented from continuing to operate.
S402, if the to-be-recommended application identifier is verified to be an application identifier in an App Store, an application example is distributed to the to-be-recommended application identifier;
s403, caching the page data corresponding to the application identifier to be recommended into the application instance through the API of the application instance.
If the Application identifier to be recommended is checked to be the Application identifier in the App Store, a new SKStoreProductViewController instance is allocated at this time, an Application Programming Interface (API) of the instance is called through the Application identifier to cache the App Store data, and page data corresponding to the Application identifier to be recommended is cached in the instance.
In order to solve the problem of unsuccessful caching when unsuccessful caching may be encountered in the caching process, in an embodiment of the present application, referring to the following steps, before caching page data corresponding to the application identifier to be recommended in the application instance, the size of a remaining space in a cache queue may be obtained.
Acquiring the residual space of a cache queue for storing an application instance;
judging whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue or not;
if the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue, adding the application instance caching the page data to the cache queue;
otherwise, removing the data at the head of the cache queue, and adding the application example of the cache page data to the cache queue.
The cache queue is used for storing an application instance, the whole cache queue is managed through a global sharing single case, the maximum capacity of the current cache queue can be obtained through the cloud control module, when caching is needed each time, the cloud control module can firstly check the condition of cache data in the current cache queue, and if the cache queue is full, the cache data in the cache queue with the longest time can be removed through a cloud control mode so as to flow out the position to new cache data.
The buffer queue utilizes FIFO (First in First out), First in First out algorithm. That is, a doubly linked list is used to store data, and when new data comes, the new data is added to the end of the linked list, and if the data is full, the head data of the linked list is deleted, and then the new data is added to the end of the linked list.
In this embodiment, the cloud control management module sets the switch mainly in a cloud control manner, dynamically controls the intervention of the preloading management module and the maximum capacity of the preloading module cache queue, can perform preloading management on different version systems and devices of different models in a targeted manner, and can effectively ensure the security after caching data.
In an embodiment of the present application, a presentation interface includes: h5 page, player page and/or channel page Feed stream or other user browsed pages.
As shown in fig. 5, the present embodiment discloses a data processing apparatus, including:
the detection module 101 is used for detecting whether an App Store pre-jump condition is met according to the data of the display interface;
the first obtaining module 102 is configured to obtain an application identifier to be recommended when data corresponding to a display interface meets the App Store pre-jump condition;
the second obtaining module 103 is configured to obtain page data corresponding to the to-be-recommended application identifier in the App Store;
the first caching module 104 is configured to cache the page data corresponding to the to-be-recommended application identifier.
In some embodiments of the present application, the apparatus further comprises:
the third acquisition module is used for acquiring a jump application identifier corresponding to the jump operation when the jump operation of the App Store is received;
the first judgment module is used for judging whether page data corresponding to the jump application identifier is cached or not;
and the fourth obtaining module is used for obtaining the cached page data corresponding to the jump application identifier and displaying the obtained page data if the page data corresponding to the jump application identifier is cached.
In some embodiments of the present application, the detection module 101 comprises:
the first obtaining submodule is used for obtaining content information of the content displayed in the display interface;
the first judgment submodule is used for judging whether the content information contains an application identifier;
and the first determining submodule is used for determining that the App Store pre-jump condition is met when the content information contains the application identification.
In some embodiments of the present application, the detection module 101 further comprises:
the detection submodule is used for detecting whether the content information contains a URL or not when the content information does not contain the application identification;
the processing submodule is used for carrying out URL Redirection processing on the URL to obtain a new display interface when the URL is contained;
the second judgment submodule is used for judging whether the new display interface contains the application identifier or not;
and the second determining submodule is used for determining that the App Store pre-jump condition is met when the new display interface contains the application identifier.
In some embodiments of the present application, the second obtaining module 103 includes:
the verification submodule is used for verifying whether the application identifier to be recommended is an application identifier in an App Store;
the distribution submodule is used for distributing an application example to the application identifier to be recommended if the application identifier to be recommended is verified to be the application identifier in the App Store;
and the cache submodule is used for caching the page data corresponding to the application identifier to be recommended into the application example through the API of the application example.
In some embodiments of the present application, the second obtaining module 103 further includes:
the second obtaining submodule is used for obtaining the residual space of the cache queue for storing the application example;
a third judging submodule, configured to judge whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue;
a third determining submodule, configured to add, to the cache queue, an application instance that caches the page data when the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue;
and the fourth determining submodule is used for removing the data at the head of the cache queue in advance and then adding the application instance of the cache page data to the cache queue when the size of the page data corresponding to the application identifier is larger than the residual space of the cache queue.
In another embodiment of the present application, an electronic device is further provided, as shown in fig. 6, including a processor 501, a communication interface 502, a memory 503, and a communication bus 504, where the processor 501, the communication interface 502, and the memory 503 complete communication with each other through the communication bus 504;
a memory 503 for storing a computer program;
the processor 501, when executing the program stored in the memory 503, implements the following steps:
detecting whether an App Store pre-jump condition is met or not according to data of a display interface;
if the App Store pre-jump condition is met, acquiring an application identifier to be recommended;
acquiring page data corresponding to the application identifier to be recommended in the App Store;
and caching page data corresponding to the application identification to be recommended.
The communication bus 504 mentioned above for the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 503 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor 501 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present application, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores thereon a data processing method program, and the data processing method program, when executed by a processor, implements the steps of any of the data processing methods described above.
When the embodiment of the invention is specifically implemented, reference can be made to the above embodiments, and corresponding technical effects are achieved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Through the above description of the embodiments, those skilled in the art will clearly understand that the methods described in the embodiments of the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention or the method according to some parts of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. A data processing method, comprising:
detecting whether an App Store pre-jump condition is met or not according to data of a display interface so as to determine whether the data of the display interface comprises an application identifier to be recommended or not;
if the App Store pre-jump condition is met, acquiring an application identifier to be recommended;
acquiring page data corresponding to the application identifier to be recommended in the App Store;
caching page data corresponding to the application identification to be recommended;
the acquiring page data corresponding to the application identifier to be recommended in the App Store includes:
checking whether the application identifier to be recommended is an application identifier in an App Store;
if the to-be-recommended application identifier is verified as an application identifier in an App Store, an application example is allocated to the to-be-recommended application identifier;
and caching the page data corresponding to the application identifier to be recommended into the application instance through an API (application programming interface) of the application instance.
2. The method of claim 1, further comprising:
when a jump operation of an App Store is received, acquiring a jump application identifier corresponding to the jump operation;
judging whether page data corresponding to the jump application identifier is cached or not;
and if the page data corresponding to the jump application identifier is cached, acquiring the cached page data corresponding to the jump application identifier, and displaying the acquired page data.
3. The method according to claim 1 or 2, wherein the detecting whether the App Store pre-jump condition is satisfied comprises:
acquiring content information of the content displayed in the display interface;
judging whether the content information contains an application identifier;
and when the content information contains the application identifier, determining that the App Store pre-jump condition is met.
4. The method of claim 3, further comprising:
when the content information does not contain an application identifier, detecting whether the content information contains a URL or not;
when the URL is contained, carrying out URL Redirection processing on the URL to obtain a new display interface;
judging whether the new display interface contains an application identifier or not;
and if so, determining that the App Store pre-jump condition is met.
5. The method according to claim 1, before caching the page data corresponding to the to-be-recommended application identifier into the application instance, further comprising:
acquiring the residual space of a cache queue for storing an application instance;
judging whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue or not;
if the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue, adding the application instance caching the page data to the cache queue;
otherwise, removing the data at the head of the cache queue, and adding the application example of the cache page data to the cache queue.
6. A data processing apparatus, comprising:
the detection module is used for detecting whether the App Store pre-jump condition is met or not according to the data of the display interface;
the first acquisition module is used for acquiring an application identifier to be recommended when the data of the display interface meets the App Store pre-jump condition;
the second acquisition module is used for acquiring page data corresponding to the application identifier to be recommended in the App Store;
the first caching module is used for caching page data corresponding to the application identifier to be recommended;
the second acquisition module includes:
the verification submodule is used for verifying whether the application identifier to be recommended is an application identifier in an App Store;
the distribution submodule is used for distributing an application example to the application identifier to be recommended if the application identifier to be recommended is verified to be the application identifier in the App Store;
and the cache submodule is used for caching the page data corresponding to the application identifier to be recommended into the application example through the API of the application example.
7. The apparatus of claim 6, further comprising:
the third acquisition module is used for acquiring a jump application identifier corresponding to the jump operation when the jump operation of the App Store is received;
the first judgment module is used for judging whether page data corresponding to the jump application identifier is cached or not;
and the fourth obtaining module is used for obtaining the cached page data corresponding to the jump application identifier and displaying the obtained page data if the page data corresponding to the jump application identifier is cached.
8. The apparatus of claim 6 or 7, wherein the detection module comprises:
the first obtaining submodule is used for obtaining content information of the content displayed in the display interface;
the first judgment submodule is used for judging whether the content information contains an application identifier;
and the first determining submodule is used for determining that the App Store pre-jump condition is met when the content information contains the application identification.
9. The apparatus of claim 8, wherein the detection module further comprises:
the detection submodule is used for detecting whether the content information contains a URL or not when the content information does not contain the application identification;
the processing submodule is used for carrying out URL Redirection processing on the URL to obtain a new display interface when the URL is contained;
the second judgment submodule is used for judging whether the new display interface contains the application identifier or not;
and the second determining submodule is used for determining that the App Store pre-jump condition is met when the new display interface contains the application identifier.
10. The apparatus of claim 6, wherein the second obtaining module further comprises:
the second obtaining submodule is used for obtaining the residual space of the cache queue for storing the application example;
a third judging submodule, configured to judge whether the size of the page data corresponding to the application identifier is larger than the remaining space of the cache queue;
a third determining submodule, configured to add, to the cache queue, an application instance that caches the page data when the size of the page data corresponding to the application identifier is smaller than or equal to the remaining space of the cache queue;
and the fourth determining submodule is used for removing the data at the head of the cache queue in advance and then adding the application instance of the cache page data to the cache queue when the size of the page data corresponding to the application identifier is larger than the residual space of the cache queue.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a data processing method program is stored on the computer-readable storage medium, which when executed by a processor implements the steps of the data processing method of any one of claims 1 to 5.
CN201910213986.3A 2019-03-20 2019-03-20 Data processing method and device, electronic equipment and computer readable storage medium Active CN110069731B (en)

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 CN110069731A (en) 2019-07-30
CN110069731B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8819772B2 (en) * 2012-06-25 2014-08-26 Appthority, Inc. In-line filtering of insecure or unwanted mobile device software components or communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110069731A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
US9584612B2 (en) Systems and methods for pushing applications
US20130326502A1 (en) Installing applications remotely
CN110471709B (en) Method, device, medium and electronic equipment for accelerating webpage opening speed
CN107818023B (en) Thread-based message processing method, intelligent device and storage medium
US10691390B2 (en) Method and device for video rendering
CN107798064B (en) Page processing method, electronic device and computer readable storage medium
CN111666497A (en) Application program loading method and device, electronic equipment and readable storage medium
CN110311972B (en) Detection method, device, equipment and medium for application software distribution
CN111159269B (en) Data processing method, device and system
CN109117153B (en) Application processing method, device, terminal and storage medium
CN109902726B (en) Resume information processing method and device
CN109446445B (en) Resource acquisition method and device
CN110069731B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112637619B (en) Live broadcast overhead message determining method, device, equipment and storage medium
EP2998885A1 (en) Method and device for information search
CN115543409B (en) Application installation source determining method and device, readable medium and electronic equipment
CN111083145A (en) Message sending method and device and electronic equipment
CN106302821B (en) Data request method and equipment thereof
CN108572985B (en) Page display method and device
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN112035127B (en) Method and device for installing application, vehicle, storage medium and electronic equipment
US9189633B2 (en) Download management method and device based on android browser
CN108111561B (en) Data downloading method and equipment thereof
CN106055370B (en) Drive programe installation method, device and terminal
CN112256654A (en) Document sharing method and device

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