CN107317860B - Preloading method and device for theme detail page and electronic equipment - Google Patents

Preloading method and device for theme detail page and electronic equipment Download PDF

Info

Publication number
CN107317860B
CN107317860B CN201710495962.2A CN201710495962A CN107317860B CN 107317860 B CN107317860 B CN 107317860B CN 201710495962 A CN201710495962 A CN 201710495962A CN 107317860 B CN107317860 B CN 107317860B
Authority
CN
China
Prior art keywords
theme
application program
preloading
server
storage unit
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
CN201710495962.2A
Other languages
Chinese (zh)
Other versions
CN107317860A (en
Inventor
方杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710495962.2A priority Critical patent/CN107317860B/en
Publication of CN107317860A publication Critical patent/CN107317860A/en
Application granted granted Critical
Publication of CN107317860B publication Critical patent/CN107317860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for preloading a theme detail page and electronic equipment, wherein the method comprises the following steps: monitoring whether the theme application program meets a preset preloading opportunity; when the preloading opportunity is met, loading at least one theme element of a theme from a server of the theme application program in advance, wherein the theme is a theme which is not applied to the electronic equipment, and the theme element is used for constructing a detail page of the theme; caching the preloaded theme elements into a storage unit of the electronic equipment. By the method, the display speed and the display success rate of the theme detail page can be improved, the theme detail page can still be loaded under the condition of no network, and the technical problems that in the prior art, the theme picture needs to be replaced, the picture request needs to be sent to the server again, and the theme picture cannot be loaded when no network exists are solved.

Description

Preloading method and device for theme detail page and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for preloading a theme detail page and electronic equipment.
Background
Existing electronic devices, such as android smart phones, are typically provided with a Volley tool to request pictures from a server to be loaded to a local storage device. For example, a theme store in the electronic device downloads wallpaper and theme related information through a Volley tool, stores the downloaded theme pictures in a local storage device, and then loads the downloaded theme pictures from the local storage device to a memory and displays the theme pictures in the form of Bitmap files (bitmaps).
The method ensures that the successfully displayed picture can be directly obtained from the local storage device when being opened again without requesting again. However, with the above method, when the user wants to change the theme picture, the user needs to send the theme picture request to the server again, which results in that the theme cannot be loaded quickly without a network or with poor network signal.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a method for preloading a theme detail page, so as to increase the loading speed of a theme picture, ensure that the theme picture can still be loaded under a network-free condition, and solve the technical problems that a picture request needs to be sent to a server again when the theme picture is replaced, and the theme picture cannot be loaded without a network in the prior art.
A second object of the invention is to propose a device for preloading a page of subject detail.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer program product.
A fifth object of the invention is to propose a non-transitory computer-readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for preloading a subject detail page, including:
monitoring whether the theme application program meets a preset preloading opportunity;
when the preloading opportunity is met, loading at least one theme element of a theme from a server of the theme application program in advance, wherein the theme is a theme which is not applied to the electronic equipment, and the theme element is used for constructing a detail page of the theme;
caching the preloaded theme elements into a storage unit of the electronic equipment.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the monitoring whether the theme application program meets the preset preloading opportunity includes:
detecting the running state of the theme application program to judge whether the theme application program exits from a previous use state or not;
and if the theme application program is judged to exit from the foreground using state, monitoring that the theme application program meets the preloading opportunity, wherein the preloading opportunity is the moment when the theme application program exits from the foreground using state.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the monitoring the running state of the theme application program to determine whether the theme application program exits from a foreground use state includes:
acquiring the hierarchy of an operation interface currently displayed by the electronic equipment;
monitoring the rollback operation of a user;
and if the rollback operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits the foreground use state.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the monitoring the running state of the theme application program to determine whether the theme application program exits from a foreground use state includes:
monitoring the desktop returning operation of the user; the desktop return operation is used for indicating that the current operation interface of the theme application program is directly returned to the desktop interface of the electronic equipment;
and if the desktop returning operation is monitored, judging that the theme application program exits the foreground using state.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the monitoring whether the theme application program meets the preset preloading opportunity includes:
detecting the running state of the theme application program to judge whether the first theme selected by the user on the theme application program is successfully applied or not;
and if the first theme application is successful, monitoring that the theme application program meets the preloading opportunity, wherein the preloading opportunity is the time when the first theme application is successful.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the loading, in advance, at least one theme element of the theme from the server of the theme application includes:
sending a loading request for preloading theme elements to the server so that the server determines a starting theme;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
As another optional implementation manner of the embodiment of the first aspect of the present invention, the loading, in advance, at least one theme element of the theme from the server of the theme application includes:
sending a loading request for preloading theme elements to the server, wherein the loading request comprises a theme identification of a theme last accessed by the theme application program; the identification of the last accessed topic is used by the server to determine a starting topic;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
As another optional implementation manner of the embodiment of the first aspect of the present invention, before caching the preloaded theme element in the storage unit on the electronic device, the method further includes:
judging whether the storage unit is in a saturated state or not;
if the storage unit is in a saturated state, acquiring the priority of a theme to which the cached theme element belongs;
according to the high-low order of the priority, selecting the theme elements of partial themes with low priority to clear, and releasing the storage space of the storage unit.
As another optional implementation manner of the embodiment of the first aspect of the present invention, after the caching the preloaded theme element in the storage unit of the electronic device, the method includes:
when the theme application program is in the foreground use state again, judging whether the theme element of the target theme selected by the user exists in the storage unit;
and if the target subject exists in the storage unit, extracting the subject element from the storage unit to construct a detail page of the target subject.
According to the theme detail page preloading method, whether the theme application program meets the preset preloading opportunity is monitored, at least one theme element is loaded from the server of the theme application program in advance when the preloading opportunity is met, and the preloaded theme element is cached in the storage unit of the electronic equipment. Therefore, the display speed and the display success rate of the theme detail pages can be improved, the theme detail pages can still be loaded under the condition of no network, and the user experience is improved.
To achieve the above object, a second embodiment of the present invention provides a device for preloading a subject detail page, including:
the monitoring module is used for monitoring whether the theme application program meets the preset preloading opportunity;
the loading module is used for loading at least one theme element of a theme from a server of the theme application program in advance when the preloading opportunity is met, wherein the theme is a theme which is not applied to the electronic equipment, and the theme element is used for constructing a detail page of the theme;
and the storage module is used for caching the preloaded theme elements into a storage unit of the electronic equipment.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the monitoring module includes:
the first detection unit is used for detecting the running state of the theme application program so as to judge whether the theme application program exits from the previous use state or not;
the first determining unit is configured to determine that it is monitored that the theme application program meets the preloading opportunity when the theme application program exits from a foreground use state, where the preloading opportunity is a time when the theme application program exits from the foreground use state.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the first detecting unit is specifically configured to:
acquiring the hierarchy of an operation interface currently displayed by the electronic equipment;
monitoring the rollback operation of a user;
and if the rollback operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits the foreground use state.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the first detecting unit is specifically configured to:
monitoring the desktop returning operation of the user; the desktop return operation is used for indicating that the current operation interface of the theme application program is directly returned to the desktop interface of the electronic equipment;
and if the desktop returning operation is monitored, judging that the theme application program exits the foreground using state.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the monitoring module further includes:
the second detection unit is used for detecting the running state of the theme application program so as to judge whether the first theme selected by the user on the theme application program is successfully applied or not;
a second determining unit, configured to determine that it is monitored that the theme application program meets the preloading opportunity when the first theme application is successful, where the preloading opportunity is a time when the first theme application is successful.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the loading module is configured to:
sending a loading request for preloading theme elements to the server so that the server determines a starting theme;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the loading module is further configured to:
sending a loading request for preloading theme elements to the server, wherein the loading request comprises a theme identification of a theme last accessed by the theme application program; the identification of the last accessed topic is used by the server to determine a starting topic;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the apparatus further includes:
the first judgment module is used for judging whether the storage unit is in a saturated state or not;
the acquisition module is used for acquiring the priority of the cached theme to which the theme element belongs when the storage unit is in a saturated state;
and the clearing module is used for selecting the theme elements of partial themes with low priorities to clear according to the high-low order of the priorities and releasing the storage space of the storage unit.
As another optional implementation manner of the embodiment of the second aspect of the present invention, the apparatus further includes:
a second judging module, configured to, when the theme application is in the foreground use state again, judge whether the theme element of the target theme selected by the user already exists in the storage unit;
a construction module, configured to extract the theme elements from the storage unit to construct a detail page of the target theme when the theme elements of the target theme already exist in the storage unit.
The topic detail page preloading device provided by the embodiment of the invention is used for monitoring whether the topic application program meets the preset preloading opportunity, loading at least one topic element of the topic from the server of the topic application program in advance when the preloading opportunity is met, and caching the preloaded topic element into the storage unit of the electronic equipment. Therefore, the display speed and the display success rate of the theme detail pages can be improved, the theme detail pages can still be loaded under the condition of no network, and the user experience is improved.
To achieve the above object, a third aspect of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method for preloading the theme detail page described in the embodiment of the first aspect.
According to the electronic equipment provided by the embodiment of the invention, whether the theme application program meets the preset preloading opportunity is monitored, at least one theme element is loaded from the server of the theme application program in advance when the preloading opportunity is met, and the preloaded theme element is cached in the storage unit of the electronic equipment. Therefore, the display speed and the display success rate of the subject detail page can be improved, the subject detail page can be loaded under the condition of no network, and the user experience is improved.
To achieve the above object, a fourth embodiment of the present invention provides a computer program product, wherein when the instructions in the computer program product are executed by a processor, the method for preloading the subject detail page as described in the first embodiment is performed.
To achieve the above object, a fifth embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for preloading the subject detail page as described in the first embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for preloading a topic detail page according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for preloading a topic detail page according to another embodiment of the present invention;
FIG. 3(a) is a first interface diagram of a subject application;
FIG. 3(b) is a second interface diagram of the subject application;
FIG. 4 is a flowchart illustrating a method for preloading a topic detail page according to another embodiment of the present invention;
FIG. 5(a) is a schematic illustration of an unreported topic detail page;
FIG. 5(b) is a schematic illustration of a downloaded topic detail page;
FIG. 5(c) is a diagram illustrating the display effect after the theme is applied;
FIG. 6 is a flowchart illustrating a method for preloading a topic detail page according to yet another embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a preloading device for a subject detail page according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a preloading device for a subject detail page according to another embodiment of the present invention;
FIG. 9 is a schematic diagram of a preloading device for a subject detail page according to another embodiment of the present invention;
FIG. 10 is a schematic diagram of a preloading device for a subject detail page according to still another embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a method, an apparatus, and an electronic device for preloading a subject detail page according to an embodiment of the present invention with reference to the drawings.
To facilitate an understanding of the present invention, before explaining specific embodiments of the present invention in detail, terms used in the present invention are first explained as follows:
subject details page: the lock screen theme is typically composed of lock screen wallpaper, time controls, weather controls, and other controls and animations. The theme application presents a variety of themes in the form of an abbreviated list for download by the user. After the user clicks the theme thumbnail, the user jumps to a new interface, namely a theme detail page. On the theme detail page, a plurality of high-definition pictures related to the theme are usually displayed for the user to refer to, so as to help the user to know the theme.
Theme application programs, i.e., application stores, are generally system software of electronic devices, and periodically release and/or update different types of themes for users to download and apply, so as to meet the preferences of different users.
Fig. 1 is a flowchart illustrating a method for preloading a theme detail page according to an embodiment of the present invention.
As shown in fig. 1, the method for preloading the theme detail page includes the following steps:
and S11, monitoring whether the theme application program meets the preset preloading opportunity.
In the existing electronic equipment, in order to meet the requirement of beautifying the display interface of the electronic equipment by a user, the display interface of the electronic equipment is not single and tedious any more, a theme application program is usually installed when the electronic equipment leaves a factory, so that a free or paid-for theme is provided for the user, and the beautifying of the display interface of the electronic equipment by the user is realized. The electronic device includes, but is not limited to, a smart phone, a tablet computer, a notebook computer, and the like.
When the theme application program is in a foreground use state, that is, when a user starts the theme application program and browses a thumbnail list of themes in the theme application program or clicks thumbnails of themes to view a theme detail page, the user can select favorite themes and apply the favorite themes in the browsing process, and at this time, preloading of the theme detail page occupies part of network resources, so that the display speed of the user viewing the theme detail page corresponding to the thumbnails is reduced, and the user experience is influenced. In addition, the operation of the theme application program may occupy a certain operation memory of the electronic device, and at this time, if the theme detail page is preloaded, the occupation of the operation memory may be increased, which may even cause the electronic device to be stuck. It can be seen that when the theme application is in a foreground use state, it is not suitable for preloading the theme detail page.
Therefore, in this embodiment, the time when the theme application program is not in the foreground operating state may be used as the preloading opportunity, and the preloading opportunity is preset, so that whether to perform the theme detail page preloading is determined by monitoring whether the theme application program meets the preset preloading opportunity, that is, judging whether the theme application program is not in the foreground operating state.
And S12, when the preloading opportunity is met, loading at least one theme element of the theme from the server of the theme application program in advance.
The theme is a theme which is not applied to the electronic equipment, the theme elements are used for constructing a detail page of the theme, and one theme usually comprises at least two theme elements, so that a user can conveniently know the display effect of the desktop of the electronic equipment after the theme is applied.
In this embodiment, when it is monitored that the theme application program meets the preset preloading opportunity, the theme application program loads theme elements of at least one theme other than the currently used theme in advance from the corresponding server.
And S13, caching the pre-loaded theme elements in a storage unit of the electronic equipment.
In this embodiment, after the theme elements of at least one theme are preloaded, the preloaded theme elements may be cached in the storage unit of the electronic device. When the application program is in the foreground running state again, if the user clicks the thumbnail of the theme corresponding to the theme element loaded in advance in the thumbnail list of the application program, the theme application program reads the theme element loaded in advance from the storage unit of the electronic equipment and directly displays the theme element in the theme detail page, so that the influence of the network condition on the loading of the theme detail page can be reduced, and the display speed and the display success rate are improved.
In the method for preloading the theme detail page according to the embodiment, whether the theme application program meets the preset preloading opportunity is monitored, at least one theme element is loaded from the server of the theme application program in advance when the preloading opportunity is met, and the preloaded theme element is cached in the storage unit of the electronic device. Therefore, the display speed and the display success rate of the theme detail pages can be improved, the theme detail pages can still be loaded under the condition of no network, and the user experience is improved.
As described above, the preloading opportunity is a time when the theme application is not in the foreground use state. However, the theme application program that is not in the foreground use state may be exited by the user performing an exit operation by himself, or may be exited to the desktop to display an application effect of the new theme because the new theme application is successful. Therefore, for the two situations, the embodiment of the present invention provides two possible implementation manners for monitoring whether the theme application satisfies the preset preloading opportunity.
As one possible implementation manner, as shown in fig. 2, on the basis of the embodiment shown in fig. 1, step S11 may include the following steps:
and S21, detecting the running state of the theme application program to judge whether the theme application program exits from the foreground use state.
In this embodiment, in a scene where a user enters a theme application program, whether the theme application program exits from a foreground use state may be determined by detecting an operation state of the theme application program.
It should be understood that the subject application program after exiting the foreground use state may be in a background suspended state or may be in a closed state. Preferably, the theme application program exiting from the foreground use state is in a closed state, and the theme detail page is preloaded when the theme application program is in the closed state, so that the occupation of the running memory can be reduced to the greatest extent, and the running efficiency is further improved.
In the process of exiting the foreground use state, the theme application program can be exited by executing the return operation step by a user, and can also be exited to the desktop from the current browsing interface directly by triggering the HOME key.
As one possible implementation manner, monitoring the running state of the theme application program to determine whether the theme application program exits from the foreground use state may include: acquiring the hierarchy of an operation interface currently displayed by the electronic equipment; monitoring the rollback operation of a user; and if the backspacing operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits from the foreground use state.
That is, in this embodiment, the interface corresponding to each parallel menu after entering the theme application may be taken as the first hierarchy, the next interface entering from the first hierarchy may be taken as the second hierarchy, and so on. When the theme application program is monitored to be in the first level currently, if the user is monitored to execute the backspacing operation, the theme application program can be judged to exit from the foreground use state.
For example, fig. 3(a) is a first interface diagram of the theme application, and fig. 3(b) is a second interface diagram of the theme application. As shown in fig. 3(a), the theme application includes four parallel menus of "recommend", "classify", "arrange", and "my", and the contents corresponding to the names of the menus are presented under the interfaces corresponding to the respective menus. For example, as shown in fig. 3(a), under the "recommendation" menu, the contents of the selected subject, the search bar, the font, the scroll bar, etc. are displayed; although not shown in the drawings, it is not difficult to imagine that under the "category" menu, different subject categories are displayed, such as types of reduced business, fresh art, lovely and lovely, and the like. Different interfaces can be accessed by clicking different icons in the first hierarchy, so that the page corresponding to each parallel menu can be taken as the first hierarchy, and a new interface accessed from the first hierarchy can be taken as the second hierarchy. As shown in fig. 3(b), fig. 3(b) is a schematic diagram of entering a corresponding interface of the second hierarchy after the user selects the favorite type in the "category" menu, and if the user selects the thumbnail of the theme in the second hierarchy as shown in fig. 3(b), entering the third hierarchy, that is, displaying the theme detail page. If the user clicks the return key 31 or 32 in the second level, the user returns to the first level. When the user clicks the return button 32 at the first level, the theme application program exits, and at this time, it may be determined that the theme application program exits from the foreground use state, that is, the theme application program enters a background suspended or closed state.
As another possible implementation manner, monitoring the running state of the theme application to determine whether the theme application exits from the foreground use state may include: monitoring the desktop returning operation of the user; the desktop return operation is used for indicating that the current operation interface of the theme application program is directly returned to the desktop interface of the electronic equipment; and if the desktop return operation is monitored, judging that the theme application program exits from a foreground use state.
That is, when the user browses any interface in the theme application, if the user triggers a desktop return operation, that is, the user triggers the HOME key, the current operation interface is directly returned to the desktop interface of the electronic device. If the desktop return operation of the user is monitored, the theme application program can be judged to exit from the foreground use state.
Still taking fig. 3(b) as an example, as can be seen from fig. 3(b), the user is browsing the abbreviated list of the stay-lovely theme at this time, and if the user triggers the HOME key 33 at this time, the user directly returns to the desktop interface of the electronic device from the interface shown in fig. 3(b), and at this time, it can be determined that the theme application exits the foreground use state.
And S22, if the theme application program is judged to exit from the foreground use state, the theme application program is monitored to meet the preloading opportunity.
And the preloading opportunity is the moment of exiting the foreground using state.
In this embodiment, when it is determined that the theme application program exits the foreground use state, it may be determined that the theme application program meets the preloading opportunity.
According to the method for preloading the theme detail page, whether the theme application program exits from the foreground using state or not is judged by detecting the running state of the theme application program, when the theme application program exits from the foreground using state is judged, the fact that the theme application program meets the preloading opportunity can be determined and monitored, the rationality of the preloading opportunity can be guaranteed, and a foundation is laid for ensuring that the preloading of the theme detail page does not influence the use of the electronic equipment.
As another possible implementation manner, as shown in fig. 4, on the basis of the embodiment shown in fig. 1, the step S11 may further include the following steps:
and S31, detecting the running state of the theme application program to judge whether the first theme selected by the user on the theme application program is successfully applied.
When a user browses a favorite theme and enters a theme detail page to check and then wants to use the theme, if the user does not download the theme before, the user can select to use the theme after downloading; if the theme has been downloaded before, the user can directly select the application. It can be understood that, after the theme is applied, the theme application program is directly exited to the desktop interface of the electronic device to display the display effect after the theme is applied.
Therefore, in this embodiment, whether the theme selected by the user on the theme application program is successfully applied may be determined by detecting the running state of the theme application program. If it is detected that the user has selected to apply the current theme on the theme detail page of the theme application program, it may be determined that the theme application is successful.
S32, if the first theme application is successful, it is monitored that the theme application program meets the preloading opportunity.
And the preloading opportunity is the time when the first theme application is successful.
In this embodiment, when it is determined that the first theme application selected by the user on the theme application program is successful, it may be determined that it is monitored that the theme application program meets the preloading opportunity, and then the theme elements of at least one unused theme may be preloaded.
For example, fig. 5(a) is a schematic diagram of an undeleted theme detail page, fig. 5(b) is a schematic diagram of a downloaded theme detail page, and fig. 5(c) is a schematic diagram of a display effect after the theme is applied. As can be seen from fig. 5(a), the theme named "changeable no-touch-to-the-ear" contains three theme elements, which have not yet been downloaded, and if the user needs to use the theme, the "download" button shown in fig. 5(a) can be clicked to download the theme. After the theme elements are downloaded, the interface shown in fig. 5(b) is obtained, and at this time, the user clicks the "apply" button shown in fig. 5(b), so that the theme can be successfully applied, and the theme application program is directly exited to the desktop interface shown in fig. 5 (c). At this time, it can be monitored that the theme application satisfies the preloading opportunity.
According to the method for preloading the theme detail page, whether the first theme selected by the user on the theme application program is successfully applied or not is judged by detecting the running state of the theme application program, when the first theme is successfully applied, it is determined that the theme application program meets the preloading opportunity, the rationality of the preloading opportunity can be ensured, and a foundation is laid for ensuring that the preloading of the theme detail page does not influence the use of the electronic equipment.
Fig. 6 is a flowchart illustrating a method for preloading a topic detail page according to still another embodiment of the present invention.
As shown in fig. 6, the method for preloading the theme detail page may include the following steps:
and S41, monitoring whether the theme application program meets the preset preloading opportunity.
The pre-loading time is the time when the theme application program exits the foreground using state and/or the time when the theme application selected by the user on the theme application program succeeds.
In this embodiment, before preloading the theme detail page, the running state of the theme application program may be detected to determine whether the theme application program currently meets the preloading opportunity, that is, whether the theme application program is in a foreground exiting state or the theme application is successful.
And S42, when the preloading opportunity is met, loading at least one theme element of the theme from the server of the theme application program in advance.
The loaded subject is a subject which is not applied to the electronic equipment, and the subject element is used for constructing a detail page of the subject.
In a possible implementation manner of the embodiment of the present invention, loading at least one theme element of a theme from a server of a theme application in advance may include: sending a loading request for preloading theme elements to a server so that the server determines a starting theme; and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
In summary, after determining that the theme application satisfies the preloading opportunity, a loading request for preloading the theme elements may be sent to a server corresponding to the theme application. After receiving the loading request, the server may determine at least one topic to be loaded according to the loading request, for example, may use a topic to which a topic element corresponding to the loading request belongs as a starting topic, and return the topic element of the starting topic to the topic application program, or return the topic elements of the starting topic and a plurality of topics after the starting topic to the topic application program.
In another possible implementation manner of the embodiment of the present invention, to facilitate the server to determine the starting theme to be loaded, the loading, in advance, at least one theme element of the theme from the server of the theme application may include: sending a loading request for preloading theme elements to a server, wherein the loading request comprises a theme identifier of a theme last accessed by a theme application program, and the identifier of the theme last accessed is used for determining a starting theme by the server; and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
The server can conveniently determine the loaded starting theme by sending the theme identification containing the last accessed theme to the server, and the server can take the next theme of the theme corresponding to the received theme identification as the starting theme and return the data of the theme element of at least one theme containing the starting theme to the theme application program. For example, it is assumed that data returned by the server may include theme elements of 5 themes, and a theme corresponding to the theme identifier received by the server is the ith theme in the thumbnail list, after the server acquires the theme identifier in the loading request, the server returns the theme elements of the 5 themes located in (i +1) th to (i +5) th themes in the thumbnail list to the theme application program, so that the theme application program completes preloading of the theme elements.
S43, it is determined whether the memory cell is in a saturated state.
It can be understood that, for any program installed in the electronic device, corresponding folders are set in the storage resource of the electronic device to distinguish files downloaded or cached by different applications, or to store other data generated when the applications are used, and each folder can be used as an independent storage unit.
Therefore, in this embodiment, the size of the storage unit corresponding to the theme application program may be set in advance, and before the loaded theme element is stored, whether the storage unit is in a saturated state is determined. When the remaining storage capacity of the storage unit is smaller than a preset value (such as 10M), the storage unit is in a saturated state.
In order to avoid the situation that whether the storage unit is saturated or not cannot be judged due to the fact that the size of the storage unit of the theme application program cannot be set, in a possible implementation manner of the embodiment of the present invention, a cache list may be further set in the storage unit of the theme application program, and the cache list is used for recording information of the theme elements stored in the storage unit, such as addresses, priorities, and the like. Meanwhile, a list element threshold (for example, 20) that can be recorded by the cache list may be preset, and whether the cache unit is saturated or not may be determined by comparing the number of list elements in the cache list with the threshold. When the number of list elements reaches a threshold value, it indicates that the memory cell is in a saturated state.
When the storage unit is in the saturated state, step S44 is executed; otherwise, step S46 is executed.
And S44, acquiring the priority of the subject to which the cached subject element belongs.
The priority of the theme is defined by the server, the server can determine the priority of the loading theme according to the information such as the type of the current and/or historical use theme of the user, the dominant color of the use theme and the like, and the priority level can be set to be 1-10. The more similar the loaded theme is to the information of the type of the theme currently and/or historically used by the user, the dominant color of the theme usage, and the like, the higher the priority of the theme is. And when the server returns the theme elements, the priority of the theme to which the theme elements belong is returned to the theme server and stored in the storage unit or the cache list.
In this embodiment, when it is determined that the storage unit is in the saturation state, the priority of the topic to which the cached topic element belongs may be obtained from the storage unit or the cache list.
S45, according to the high-low order of the priority, selecting some theme elements of the theme with low priority to clear, and releasing the storage space of the storage unit.
In this embodiment, after the priorities of the topics to which the theme elements belong are obtained, the priorities may be sorted in high and low order, and some of the theme elements corresponding to the topics with low priorities are removed from the topic with the lowest priority, so as to achieve the purpose of releasing the storage space of the storage unit.
And S46, caching the pre-loaded theme elements in a storage unit of the electronic equipment.
S47, when the theme application is in the foreground use state again, it is judged whether or not the theme element of the target theme selected by the user is already present in the storage unit.
When the user starts the theme application again to make the theme application in the foreground use state, before displaying the theme detail page of the theme corresponding to the thumbnail selected by the user from the thumbnail list, the theme elements stored in the storage unit may be detected first to determine whether the theme element of the target theme selected by the user exists in the storage unit. When the theme element of the target theme exists in the storage unit, step S48 is performed; otherwise, step S49 is executed.
And S48, extracting the theme elements from the storage unit to construct a detail page of the target theme.
In this embodiment, when the theme elements of the target theme exist in the storage unit, the theme elements related to the target theme are built in advance from the storage unit, and the theme detail page is constructed based on the extracted theme elements and displayed to the user.
And S49, the theme element of the target theme is requested from the server and displayed.
In this embodiment, when the theme element of the target theme does not exist in the storage unit, the theme element of the target theme is requested from the server corresponding to the theme application program through the network and is displayed to the user.
According to the method for preloading the theme detail page, whether the storage unit is in a saturated state is judged after the theme elements are loaded, when the storage unit is in the saturated state, the priority of the theme to which the cached theme elements belong is acquired, part of the theme elements with low priority are removed according to the high-low sequence of the priority, the storage space of the storage unit is released, the occupation of storage resources can be reduced, the memory overhead of electronic equipment is reduced, and the probability of storage failure of the loaded theme elements is reduced. When the theme application program is in the foreground use state again, whether the theme elements of the target theme selected by the user are stored in the storage unit or not is judged, and when the theme elements exist, the theme elements are extracted from the storage unit to construct the detail page of the target theme, so that the display speed of the theme detail page can be improved, the influence of the network condition on the loading capacity of the theme application program is reduced, and the user experience is improved.
In order to implement the above embodiments, the present invention further provides a device for preloading the theme detail pages.
Fig. 7 is a schematic structural diagram of a preloading device for a subject detail page according to an embodiment of the present invention.
As shown in fig. 7, the preloading device 70 of the subject detail page may include: a monitoring module 710, a loading module 720, and a storage module 730. Wherein the content of the first and second substances,
the monitoring module 710 is configured to monitor whether the theme application program meets a preset preloading opportunity.
Optionally, in a possible implementation manner of the embodiment of the present invention, as shown in fig. 8, on the basis of the embodiment shown in fig. 7, the monitoring module 710 may include:
the first detecting unit 7101 is configured to detect an operating state of the theme application program, so as to determine whether the theme application program exits from a foreground use state.
As a possible implementation manner, the first detection unit 7101 is specifically configured to obtain a hierarchy of an operation interface currently displayed by the electronic device; monitoring the rollback operation of a user; and if the backspacing operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits from the foreground use state.
As another possible implementation manner, the first detecting unit 7101 is specifically configured to monitor a desktop returning operation of the user, where the desktop returning operation is used to indicate that a current operation interface of the theme application program is directly returned to the desktop interface of the electronic device; and if the desktop return operation is monitored, judging that the theme application program exits from a foreground use state.
The first determining unit 7102 is configured to determine that the monitored theme application program meets the pre-loading timing when the theme application program exits from the foreground use state, where the pre-loading timing is a time when the theme application program exits from the foreground use state.
In another possible implementation manner of the embodiment of the present invention, as shown in fig. 9, on the basis of the embodiment shown in fig. 7, the monitoring module 710 may include:
the second detecting unit 7111 is configured to detect an operating state of the theme application program, so as to determine whether the first theme taken by the user on the theme application program is successfully applied.
A second determining unit 7112, configured to determine that it is monitored that the theme application program meets the preloading opportunity when the first theme application is successful, where the preloading opportunity is a time when the first theme application is successful.
And a loading module 720, configured to load, in advance, the theme elements of at least one theme from the server of the theme application when the preloading opportunity is met.
The theme is a theme which is not applied to the electronic equipment, and the theme elements are used for constructing a detail page of the theme.
As a possible implementation manner, the loading module 720 is specifically configured to send a loading request for preloading theme elements to the server, so that the server determines a starting theme; and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
As another possible implementation manner, the loading module 720 is specifically configured to send a loading request for preloading theme elements to the server, where the loading request includes a theme identifier of a theme last accessed by the theme application, and the theme identifier last accessed is used for the server to determine a starting theme; and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
The storage module 730 is configured to cache the preloaded theme elements in a storage unit of the electronic device.
Preferably, in a possible implementation manner of the embodiment of the present invention, as shown in fig. 10, on the basis of the embodiment shown in fig. 7, the preloading device 70 for the subject detail page may further include:
the first determining module 740 is configured to determine whether the memory cell is in a saturation state.
The obtaining module 750 is configured to obtain the priority of the topic to which the cached topic element belongs when the storage unit is in a saturated state.
The clearing module 760 is configured to select some theme elements with a low priority to be cleared according to the high-low order of the priority, and release the storage space of the storage unit.
A second judging module 770, configured to judge whether the theme element of the target theme selected by the user already exists in the storage unit when the theme application is in the foreground use state again.
And a constructing module 780, configured to extract the theme elements from the storage unit to construct the detail page of the target theme when the theme elements of the target theme already exist in the storage unit.
It should be noted that the foregoing explanation of the embodiment of the method for preloading a theme detail page is also applicable to the preloading device of the theme detail page of the embodiment, and the implementation principle thereof is similar, and is not described again here.
The device for preloading the theme detail page in this embodiment, by monitoring whether the theme application program meets the preset preloading opportunity, loads at least one theme element from the server of the theme application program in advance when the preloading opportunity is met, and caches the preloaded theme element in the storage unit of the electronic device. Therefore, the display speed and the display success rate of the theme detail pages can be improved, the theme detail pages can still be loaded under the condition of no network, and the user experience is improved.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
As shown in fig. 11, the electronic apparatus 10 includes: the electronic device comprises a shell 110, a processor 120, a memory 130, a circuit board 140 and a power circuit 150, wherein the circuit board 140 is arranged inside a space enclosed by the shell 110, and the processor 120 and the memory 130 are arranged on the circuit board 140; a power supply circuit 150 for supplying power to each circuit or device of the electronic apparatus 10; memory 130 is used to store executable program code; the processor 120 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 130, for executing the preloading method of the theme detail page described in the foregoing embodiment.
It should be noted that the foregoing explanation of the embodiment of the method for preloading the theme detail page is also applicable to the electronic device of this embodiment, and the implementation principle thereof is similar and will not be described herein again.
In the electronic device of this embodiment, by monitoring whether the theme application program meets the preset preloading opportunity, when the preloading opportunity is met, at least one theme element of the theme is loaded from the server of the theme application program in advance, and the preloaded theme element is cached in the storage unit of the electronic device. Therefore, the display speed and the display success rate of the theme detail pages can be improved, the theme detail pages can still be loaded under the condition of no network, and the user experience is improved.
In order to implement the above embodiments, the present invention further proposes a computer program product, wherein when the instructions in the computer program product are executed by a processor, the method for preloading the subject detail page as described in the foregoing embodiments is executed.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is capable of implementing the method of preloading the subject detail page as described in the foregoing embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (17)

1. A method for preloading a subject detail page is characterized by comprising the following steps:
monitoring whether a theme application program meets a preset preloading opportunity, wherein the running state of the theme application program is detected to judge whether the theme application program exits from a previous use state; if the theme application program is judged to exit from a foreground use state, monitoring that the theme application program meets the preloading opportunity, wherein the preloading opportunity is the moment of exiting the foreground use state;
when the preloading opportunity is met, loading at least one theme element of a theme from a server of the theme application program in advance, wherein the theme is a theme which is not applied to the electronic equipment, and the theme element is used for constructing a detail page of the theme;
caching the pre-loaded theme elements into a storage unit of the electronic equipment;
wherein, the loading at least one theme element of the theme from the server of the theme application program in advance comprises:
sending a loading request for preloading theme elements to the server, wherein the loading request comprises a theme identification of a theme last accessed by the theme application program; the identification of the last accessed topic is used by the server to determine a starting topic;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
2. The method for preloading the theme detail page according to claim 1, wherein the monitoring the running state of the theme application program to determine whether the theme application program exits from the foreground use state comprises:
acquiring the hierarchy of an operation interface currently displayed by the electronic equipment;
monitoring the rollback operation of a user;
and if the rollback operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits the foreground use state.
3. The method for preloading the theme detail page according to claim 1, wherein the monitoring the running state of the theme application program to determine whether the theme application program exits from the foreground use state comprises:
monitoring the desktop returning operation of the user; the desktop return operation is used for indicating that the current operation interface of the theme application program is directly returned to the desktop interface of the electronic equipment;
and if the desktop returning operation is monitored, judging that the theme application program exits the foreground using state.
4. The method for preloading the theme detail pages according to claim 1, wherein the monitoring whether the theme application program meets the preset preloading opportunity comprises:
detecting the running state of the theme application program to judge whether the first theme selected by the user on the theme application program is successfully applied or not;
and if the first theme application is successful, monitoring that the theme application program meets the preloading opportunity, wherein the preloading opportunity is the time when the first theme application is successful.
5. The method for preloading a theme detail page according to any one of claims 1 to 4, wherein the method for preloading at least one theme element of a theme from a server of the theme application in advance further comprises:
sending a loading request for preloading theme elements to the server so that the server determines a starting theme;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
6. The method for preloading the subject detail page according to any of claims 1-4, wherein before caching the preloaded subject elements in the storage unit on the electronic device, further comprising:
judging whether the storage unit is in a saturated state or not;
if the storage unit is in a saturated state, acquiring the priority of a theme to which the cached theme element belongs;
according to the high-low order of the priority, selecting the theme elements of partial themes with low priority to clear, and releasing the storage space of the storage unit.
7. The method for preloading the subject detail page according to any one of claims 1 to 4, wherein after caching the preloaded subject elements in the storage unit of the electronic device, the method comprises:
when the theme application program is in the foreground use state again, judging whether the theme element of the target theme selected by the user exists in the storage unit;
and if the target subject exists in the storage unit, extracting the subject element from the storage unit to construct a detail page of the target subject.
8. An apparatus for preloading a page of subject detail, comprising:
the monitoring module is used for monitoring whether the theme application program meets the preset preloading opportunity, wherein the monitoring module comprises:
the first detection unit is used for detecting the running state of the theme application program so as to judge whether the theme application program exits from the previous use state or not;
the first determining unit is used for determining that the theme application program meets the preloading opportunity when judging that the theme application program exits from a foreground use state, wherein the preloading opportunity is the moment when the theme application program exits from the foreground use state;
the loading module is used for loading at least one theme element of a theme from a server of the theme application program in advance when the preloading opportunity is met, wherein the theme is a theme which is not applied to the electronic equipment, and the theme element is used for constructing a detail page of the theme;
the storage module is used for caching the preloaded theme elements into a storage unit of the electronic equipment;
wherein the loading module is configured to:
sending a loading request for preloading theme elements to the server, wherein the loading request comprises a theme identification of a theme last accessed by the theme application program; the identification of the last accessed topic is used by the server to determine a starting topic;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
9. The apparatus for preloading subject detail pages of claim 8, wherein the first detecting unit is specifically configured to:
acquiring the hierarchy of an operation interface currently displayed by the electronic equipment;
monitoring the rollback operation of a user;
and if the rollback operation is monitored and the hierarchy is the first hierarchy of the theme application program, judging that the theme application program exits the foreground use state.
10. The apparatus for preloading subject detail pages of claim 8, wherein the first detecting unit is specifically configured to:
monitoring the desktop returning operation of the user; the desktop return operation is used for indicating that the current operation interface of the theme application program is directly returned to the desktop interface of the electronic equipment;
and if the desktop returning operation is monitored, judging that the theme application program exits the foreground using state.
11. The apparatus for preloading topic detail pages of claim 8, wherein the monitoring module further comprises:
the second detection unit is used for detecting the running state of the theme application program so as to judge whether the first theme selected by the user on the theme application program is successfully applied or not;
a second determining unit, configured to determine that it is monitored that the theme application program meets the preloading opportunity when the first theme application is successful, where the preloading opportunity is a time when the first theme application is successful.
12. The apparatus for preloading subject detail pages according to any of claims 8-11, wherein said loading module is further configured to:
sending a loading request for preloading theme elements to the server so that the server determines a starting theme;
and receiving data returned by the server, wherein the data comprises theme elements of at least one theme including the starting theme.
13. A device for preloading subject detail pages according to any of claims 8-11, characterized in that it further comprises:
the first judgment module is used for judging whether the storage unit is in a saturated state or not;
the acquisition module is used for acquiring the priority of the cached theme to which the theme element belongs when the storage unit is in a saturated state;
and the clearing module is used for selecting the theme elements of partial themes with low priorities to clear according to the high-low order of the priorities and releasing the storage space of the storage unit.
14. A device for preloading subject detail pages according to any of claims 8-11, characterized in that it further comprises:
a second judging module, configured to, when the theme application is in the foreground use state again, judge whether the theme element of the target theme selected by the user already exists in the storage unit;
a construction module, configured to extract the theme elements from the storage unit to construct a detail page of the target theme when the theme elements of the target theme already exist in the storage unit.
15. An electronic device is characterized by comprising a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the subject detail page preloading method of any one of claims 1 to 7.
16. A computer program product, characterized in that instructions in the computer program product, when executed by a processor, perform a method of preloading a subject detail page according to any of claims 1-7.
17. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, implements a method of preloading a subject detail page according to any one of claims 1-7.
CN201710495962.2A 2017-06-26 2017-06-26 Preloading method and device for theme detail page and electronic equipment Active CN107317860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710495962.2A CN107317860B (en) 2017-06-26 2017-06-26 Preloading method and device for theme detail page and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710495962.2A CN107317860B (en) 2017-06-26 2017-06-26 Preloading method and device for theme detail page and electronic equipment

Publications (2)

Publication Number Publication Date
CN107317860A CN107317860A (en) 2017-11-03
CN107317860B true CN107317860B (en) 2020-06-26

Family

ID=60179802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710495962.2A Active CN107317860B (en) 2017-06-26 2017-06-26 Preloading method and device for theme detail page and electronic equipment

Country Status (1)

Country Link
CN (1) CN107317860B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762836B (en) * 2018-05-21 2022-04-19 Oppo广东移动通信有限公司 Management method and device for preloaded application, storage medium and intelligent terminal
CN110069739B (en) * 2019-04-28 2021-05-28 百度在线网络技术(北京)有限公司 Page preloading method and device
CN114745468B (en) * 2020-12-23 2024-02-09 花瓣云科技有限公司 Electronic equipment and theme setting method, system and medium thereof
CN113076150B (en) * 2021-04-13 2024-06-14 北京同邦卓益科技有限公司 Interface theme switching method, device, equipment, storage medium and program product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446174A (en) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 Method for page loading in application

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150207691A1 (en) * 2013-03-08 2015-07-23 Google Inc. Preloading content based on network connection behavior
CN105677378B (en) * 2014-11-20 2019-02-05 华为终端(东莞)有限公司 A kind of method and mobile terminal of management application
CN105955766B (en) * 2016-04-22 2019-08-30 北京小米移动软件有限公司 Using preloading method and device
CN106406966B (en) * 2016-10-31 2020-04-07 维沃移动通信有限公司 Application program preloading method and mobile terminal
CN106792815A (en) * 2016-12-20 2017-05-31 深圳市万普拉斯科技有限公司 Data load method and device
CN106777184A (en) * 2016-12-22 2017-05-31 北京猎豹移动科技有限公司 A kind of page loading method, device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446174A (en) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 Method for page loading in application

Also Published As

Publication number Publication date
CN107317860A (en) 2017-11-03

Similar Documents

Publication Publication Date Title
CN107317860B (en) Preloading method and device for theme detail page and electronic equipment
CN106802803B (en) Application data processing method and device
CN112770011B (en) System, method, and computer-readable medium for suggesting image files for deletion
CN103823813A (en) Method and device for processing history operation records of electronic terminal
EP2733605A1 (en) Management method and device for webpage application program
US11669492B2 (en) Method and apparatus for managing storage space on storage device in an electronic apparatus by using context data and user profile data
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
CN107577711B (en) Method and device for caching pictures
CN107835986B (en) Data operation method of electronic equipment and electronic equipment
CN103699597A (en) Method for downloading file through browser and browser
CN105786539B (en) File downloading method and device
CN103473343A (en) File management method, device and terminal
CN106294413A (en) The loading method of picture and device
CN103617209A (en) File management method and file management device for mobile terminal
CN105893471B (en) Data processing method and electronic equipment
CN107451253B (en) Data processing method and device
CN111400633A (en) Page resource loading method and device
CN111405237A (en) Cloud storage system providing preview function and preview method
CN113741814A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN106446291B (en) Picture content page providing method and device based on artificial intelligence
CN112860416A (en) Annotating task assignment strategy method and device
CN111031117B (en) Multimedia file downloading method and related device
CN110543582A (en) image-based query method and device
US10165245B2 (en) Pre-fetching video content
CN106294709B (en) Cloud storage file display 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