CN113438537A - Terminal screen saver loading method and device and terminal equipment - Google Patents

Terminal screen saver loading method and device and terminal equipment Download PDF

Info

Publication number
CN113438537A
CN113438537A CN202110703482.7A CN202110703482A CN113438537A CN 113438537 A CN113438537 A CN 113438537A CN 202110703482 A CN202110703482 A CN 202110703482A CN 113438537 A CN113438537 A CN 113438537A
Authority
CN
China
Prior art keywords
picture
screen saver
module
caching
interface
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.)
Pending
Application number
CN202110703482.7A
Other languages
Chinese (zh)
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.)
Guangdong Huanwang Technology Co Ltd
Original Assignee
Guangdong Huanwang 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 Guangdong Huanwang Technology Co Ltd filed Critical Guangdong Huanwang Technology Co Ltd
Priority to CN202110703482.7A priority Critical patent/CN113438537A/en
Publication of CN113438537A publication Critical patent/CN113438537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a terminal screen saver loading method, a device and terminal equipment, belonging to the IT technical field, wherein the method obtains a returned picture through a picture interface; caching the picture locally; and displaying the picture through local cache. The image is directly cached without carrying out an image interface request, so that the pressure of a server is reduced, and the problem that the screen saver image loading of a terminal is too slow is solved.

Description

Terminal screen saver loading method and device and terminal equipment
Technical Field
The invention belongs to the technical field of IT, and particularly relates to a terminal screen saver loading method and device and terminal equipment.
Background
With the development of science and technology, digital televisions have become essential for households. In the use of digital television, a screensaver presentation is typically performed if the set-top box has not been triggered for a period of time.
In the prior art, when a television terminal performs screen saver display, a picture is usually displayed after the picture is acquired through an interface. The interface returns the picture address to the terminal, and the terminal displays the picture, but the picture loading speed is too slow due to too large access amount, so that the problem of timeout or loading failure is solved.
Therefore, how to solve the problem that the screen saver picture loading of the terminal is too slow becomes a technical problem to be solved urgently in the prior art.
Disclosure of Invention
The invention provides a terminal screen saver loading method, a device and terminal equipment, which directly cache pictures without carrying out picture interface requests, thereby reducing the pressure of a server and solving the problem that the terminal loads screen saver pictures too slowly.
The technical scheme provided by the invention is as follows:
in one aspect, a terminal screen saver loading method includes:
acquiring a returned picture through a picture interface;
caching the picture locally;
and displaying the picture through a local cache.
Optionally, the locally caching the picture includes:
calling the picture interface at intervals of preset time to obtain a picture;
and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, locally caching the picture.
Optionally, the method further includes:
if the picture is a repeated picture, skipping the repeated picture;
and deleting pictures which do not need to be displayed.
Optionally, after the displaying the picture through the local cache, the method further includes:
receiving a screen saver display quit instruction;
and after the waiting time is preset at intervals, acquiring the returned picture through the picture interface again.
Optionally, after acquiring the returned picture through the picture interface, the method further includes:
and hanging the picture on a load to carry out a picture return request, and carrying out picture acceleration.
In another aspect, a terminal screen saver loading device includes: the system comprises an acquisition module, a cache module and a display module;
the acquisition module is used for acquiring a returned picture through a picture interface;
the cache module is used for caching the pictures locally;
and the display module is used for displaying the picture through local cache.
Optionally, the cache module is further configured to: calling the picture interface at intervals of preset time to obtain a picture; and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, locally caching the picture.
Optionally, the cache module is further configured to skip the repeated picture when the picture is the repeated picture; and deleting pictures which do not need to be displayed.
Optionally, the method further includes: an acceleration module; and the acceleration module is used for hanging the picture on a load to carry out a picture return request and carrying out picture acceleration.
In yet another aspect, a terminal device includes: a processor, and a memory coupled to the processor;
the memory is used for storing a computer program, and the computer program is at least used for executing the terminal screen saver loading method;
the processor is used for calling and executing the computer program in the memory.
The invention has the beneficial effects that:
according to the terminal screen saver loading method, the terminal screen saver loading device and the terminal equipment provided by the embodiment of the invention, the returned picture is obtained through the picture interface; caching the picture locally; and displaying the picture through local cache. The image is directly cached without carrying out an image interface request, so that the pressure of a server is reduced, and the problem that the screen saver image loading of a terminal is too slow is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a terminal screen saver loading method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another terminal screen saver loading method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal screen saver loading device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
In order to at least solve the technical problem provided by the present invention, an embodiment of the present invention provides a terminal screen saver loading method.
Fig. 1 is a schematic flow chart of a terminal screen saver loading method according to an embodiment of the present invention, and referring to fig. 1, the method according to the embodiment of the present invention may include the following steps:
s11, acquiring a returned picture through a picture interface;
s12, caching the picture locally;
and S13, displaying the picture through a local cache.
In a specific implementation process, a television terminal, a mobile phone terminal and a computer terminal can be defined as terminals in the embodiment of the application, and the terminal is loaded with the screen saver by applying the terminal screen saver loading method provided by the application. In this embodiment, a television terminal is taken as an example to explain a terminal screen saver loading method, where a screen saver takes pictures as an example to explain.
For example, after the terminal acquires the picture, the picture can be cached locally, so that when the picture is displayed on the screen saver, the picture is directly displayed through the locally cached picture without performing a picture interface request, thereby reducing the pressure of the server and solving the problem that the terminal loads the screen saver picture too slowly.
According to the terminal screen saver loading method provided by the embodiment of the invention, the returned picture is obtained through the picture interface; caching the picture locally; and displaying the picture through local cache. The image is directly cached without carrying out an image interface request, so that the pressure of a server is reduced, and the problem that the screen saver image loading of a terminal is too slow is solved.
Based on a general inventive concept, the embodiment of the invention also provides a terminal screen saver loading method.
Fig. 2 is a schematic flowchart of another terminal screen saver loading method according to an embodiment of the present invention.
In some embodiments, optionally, caching the picture locally includes: calling a picture interface at intervals of preset time to obtain a picture; and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, caching the picture locally.
In some embodiments, optionally, the method further includes: if the picture is a repeated picture, skipping the repeated picture; and deleting pictures which do not need to be displayed.
For example, the terminal may make an interface request by opening an application to obtain a picture, accelerate cdn the picture, and then cache the picture. And during caching, judging whether the picture is a repeated picture or not according to the picture ID, and if the picture is the repeated picture, skipping and deleting the unused picture. And if the picture is not a repeated picture and is a new picture, downloading the picture to the local application. And after the picture is cached successfully, displaying the picture through caching.
In some embodiments, optionally, after the displaying the picture through the local cache, the method further includes: receiving a screen saver display quit instruction; and after the waiting time is preset at intervals, acquiring the returned picture through the picture interface again.
For example, when exiting the screensaver presentation, a request is made from the beginning after waiting a default duration. And the picture updating mechanism is used for stipulating that a picture interface request is carried out every 10 minutes, and updating the picture cache after the picture is obtained.
In some embodiments, optionally, after acquiring the returned picture through the picture interface, the method further includes: and hanging the picture on a load to carry out a picture return request, and carrying out picture acceleration.
For example, the picture may be accelerated by returning to the source, for example, the picture may be opened or downloaded to obtain the ID address of the picture.
Based on a general inventive concept, the embodiment of the invention also provides a method
Fig. 3 is a schematic structural diagram of a terminal screen saver loading device according to an embodiment of the present invention, where the device according to the embodiment of the present invention may include the following structures: an acquisition module 31, a cache module 32 and a display module 33;
an obtaining module 31, configured to obtain a returned picture through a picture interface;
a cache module 32, configured to locally cache the picture;
and the display module 33 is configured to display the picture through a local cache.
Optionally, the cache module 32 is further configured to: calling a picture interface at intervals of preset time to obtain a picture; and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, caching the picture locally.
Optionally, the cache module 32 is further configured to skip the repeated picture when the picture is the repeated picture; and deleting pictures which do not need to be displayed.
Optionally, the method further includes: an acceleration module; and the acceleration module is used for hanging the picture on a load to carry out a picture return request and carrying out picture acceleration.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The terminal screen saver loading device provided by the embodiment of the invention obtains the returned picture through the picture interface; caching the picture locally; and displaying the picture through local cache. The image is directly cached without carrying out an image interface request, so that the pressure of a server is reduced, and the problem that the screen saver image loading of a terminal is too slow is solved.
Based on a general inventive concept, the embodiment of the invention also provides bidding equipment of the multi-element main body in the virtual power plant.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, and referring to fig. 4, a terminal screen saver loading device according to an embodiment of the present invention includes: a processor 41, and a memory 42 coupled to the processor.
The memory 42 is used for storing a computer program, and the computer program is at least used for the terminal screen saver loading method described in any of the above embodiments;
the processor 41 is used to invoke and execute computer programs in memory.
Embodiments of the present invention also provide a storage medium based on one general inventive concept.
A storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal screen saver loading method are realized.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
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 specific logical functions or steps of the 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.
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. For example, 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.
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 do not necessarily 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.
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 (10)

1. A terminal screen saver loading method is characterized by comprising the following steps:
acquiring a returned picture through a picture interface;
caching the picture locally;
and displaying the picture through a local cache.
2. The method of claim 1, wherein the locally caching the picture comprises:
calling the picture interface at intervals of preset time to obtain a picture;
and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, locally caching the picture.
3. The method of claim 2, further comprising:
if the picture is a repeated picture, skipping the repeated picture;
and deleting pictures which do not need to be displayed.
4. The method of claim 1, wherein after said presenting the picture through the local cache, further comprising:
receiving a screen saver display quit instruction;
and after the waiting time is preset at intervals, acquiring the returned picture through the picture interface again.
5. The method of claim 1, wherein after obtaining the returned picture through the picture interface, further comprising:
and hanging the picture on a load to carry out a picture return request, and carrying out picture acceleration.
6. A terminal screen saver loading device is characterized by comprising: the system comprises an acquisition module, a cache module and a display module;
the acquisition module is used for acquiring a returned picture through a picture interface;
the cache module is used for caching the pictures locally;
and the display module is used for displaying the picture through local cache.
7. The apparatus of claim 6, wherein the caching module is further configured to: calling the picture interface at intervals of preset time to obtain a picture; and judging whether the picture belongs to a repeated picture, and if the picture is a new picture, locally caching the picture.
8. The apparatus of claim 7, wherein the caching module is further configured to skip the duplicate picture if the picture is a duplicate picture; and deleting pictures which do not need to be displayed.
9. The apparatus of claim 6, further comprising: an acceleration module; and the acceleration module is used for hanging the picture on a load to carry out a picture return request and carrying out picture acceleration.
10. A terminal device, comprising: a processor, and a memory coupled to the processor;
the memory is used for storing a computer program, and the computer program is at least used for executing the terminal screen saver loading method of any claim 1-6;
the processor is used for calling and executing the computer program in the memory.
CN202110703482.7A 2021-06-24 2021-06-24 Terminal screen saver loading method and device and terminal equipment Pending CN113438537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110703482.7A CN113438537A (en) 2021-06-24 2021-06-24 Terminal screen saver loading method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110703482.7A CN113438537A (en) 2021-06-24 2021-06-24 Terminal screen saver loading method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN113438537A true CN113438537A (en) 2021-09-24

Family

ID=77753863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110703482.7A Pending CN113438537A (en) 2021-06-24 2021-06-24 Terminal screen saver loading method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN113438537A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412827A (en) * 2013-08-05 2013-11-27 广州唯品会信息科技有限公司 Picture caching method and picture caching system
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN109756622A (en) * 2018-12-26 2019-05-14 北京奇艺世纪科技有限公司 A kind of image buffer storage method, apparatus, mobile terminal and storage medium
CN110020266A (en) * 2017-07-13 2019-07-16 深圳市Tcl高新技术开发有限公司 Access the method, apparatus and computer readable storage medium, terminal device of picture
CN111597479A (en) * 2020-04-18 2020-08-28 北京奇保信安科技有限公司 Intelligent picture loading method and device for terminal and electronic equipment
CN111698555A (en) * 2020-06-19 2020-09-22 浙江大华技术股份有限公司 Video frame extraction processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412827A (en) * 2013-08-05 2013-11-27 广州唯品会信息科技有限公司 Picture caching method and picture caching system
CN103617165A (en) * 2013-10-22 2014-03-05 小米科技有限责任公司 Picture loading method, device and terminal
CN110020266A (en) * 2017-07-13 2019-07-16 深圳市Tcl高新技术开发有限公司 Access the method, apparatus and computer readable storage medium, terminal device of picture
CN109756622A (en) * 2018-12-26 2019-05-14 北京奇艺世纪科技有限公司 A kind of image buffer storage method, apparatus, mobile terminal and storage medium
CN111597479A (en) * 2020-04-18 2020-08-28 北京奇保信安科技有限公司 Intelligent picture loading method and device for terminal and electronic equipment
CN111698555A (en) * 2020-06-19 2020-09-22 浙江大华技术股份有限公司 Video frame extraction processing method and device

Similar Documents

Publication Publication Date Title
CN102368779B (en) Supersized image loading and displaying method used for mobile internet device
CN103914205B (en) A kind of file thumbnail methods of exhibiting of intelligent terminal and device
CN108845861B (en) Method and device for realizing virtual camera
CN111475235B (en) Acceleration method, device, equipment and storage medium for function calculation cold start
CN105955833B (en) Engine calling method and device
CN111225232A (en) Video-based sticker animation engine, realization method, server and medium
CN113784049A (en) Camera calling method of android system virtual machine, electronic device and storage medium
CN110083417B (en) User interface response method and device
CN114443189B (en) Image processing method and electronic equipment
CN111383038A (en) Advertisement display method and device of mobile terminal, mobile terminal and storage medium
CN113419649A (en) Method for operating electronic device and device thereof
CN110489318B (en) Systrace information grabbing method and device, storage medium and terminal
CN113438537A (en) Terminal screen saver loading method and device and terminal equipment
CN115981822A (en) Task processing method, medium, device and computing equipment
CN115626056A (en) Vehicle-mounted information display management method and device, instrument, equipment and medium to be displayed
CN114490266A (en) Data acquisition method, device, equipment and storage medium
CN114116227A (en) Display method, device and equipment based on Wayland protocol without GPU support
CN113590052A (en) Information storage method, device, equipment and storage medium
CN112100409A (en) Multimedia information display method and device, storage medium and terminal
CN115220803A (en) Data processing method and equipment
CN112307383A (en) Page loading method and device
CN111522609A (en) Page display method and device
CN109905759B (en) List display method, device, equipment and medium applied to Android client
CN110278331B (en) System attribute feedback method, device, terminal and storage medium
CN110022368B (en) Method, device and equipment for controlling overtime time of uploaded pictures and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210924