Search

CN-119562097-B - Plug-in preloading method and device and electronic equipment

CN119562097BCN 119562097 BCN119562097 BCN 119562097BCN-119562097-B

Abstract

The disclosure relates to the technical field of data processing, in particular to a plug-in preloading method, a device and electronic equipment, wherein the method comprises the steps of responding to starting operation to acquire a preloading plug-in set; the method comprises the steps of displaying a frame image of a first frame, displaying a first frame image of the first frame, displaying a first page, and displaying a first page, wherein the preloaded plugin set comprises preloaded plugins which are actually triggered in a preset time length taking the display time of the frame image of the first frame as a starting point, or the preloaded plugin set comprises preloaded plugins which are predicted based on the current time and a historical plugin use record, preloading the preloaded plugins, and displaying the first page.

Inventors

  • ZHANG SHUANGTAO

Assignees

  • 聚好看科技股份有限公司

Dates

Publication Date
20260512
Application Date
20240708

Claims (9)

  1. 1. An electronic device, comprising: a display configured to display a frame image of a first frame after a preset application is started; A controller configured to: responding to a starting operation, acquiring a recommended plug-in corresponding to the current moment, and receiving at least one target plug-in of a selecting operation in a preset time length taking the display moment of a frame image as a starting point when the frame image of a first frame is displayed, wherein the recommended plug-in is obtained by prediction based on the current moment and a historical plug-in use record; Determining a designated plug-in based on the target plug-in and the recommended plug-in, wherein the designated plug-in is the same plug-in as the recommended plug-in the target plug-in; Taking the recommended plug-in as a preloading plug-in, or taking the target plug-in as a preloading plug-in, or taking the designated plug-in as a preloading plug-in; and preloading the preloading plug-in and displaying a home page.
  2. 2. The electronic device of claim 1, wherein the electronic device comprises a memory device, The controller is further configured to: responding to the starting operation, and when a frame image of a first frame is displayed, acquiring at least one target plug-in which receives the selection operation in a preset time length taking the display time of the frame image as a starting point; And taking the target plug-in as a preloading plug-in.
  3. 3. The electronic device of claim 1, wherein the electronic device comprises a memory device, The controller is further configured to: Acquiring a recommended plug-in corresponding to the current moment in response to a starting operation, wherein the recommended plug-in is obtained by prediction based on the current moment and a historical plug-in use record; And taking the recommended plug-in as a preloading plug-in.
  4. 4. The electronic device of claim 1, wherein the electronic device comprises a memory device, The controller is further configured to: Responding to a starting operation, acquiring a recommended plug-in corresponding to the current moment, receiving at least one target plug-in of a selection operation, a first access frequency of each target plug-in and a second access frequency of each recommended plug-in a preset time with the display moment of a frame image as a starting point when the frame image of a first frame is displayed; determining a preset plugin based on the first access times and the second access times, wherein the preset plugin comprises any one of the target plugin and the recommended plugin; And taking the preset plug-in as a preloading plug-in.
  5. 5. The electronic device of any of claims 2-4, wherein the controller is further configured to: and deleting the preloaded plugin which cannot be preloaded when the preloaded plugin cannot be preloaded.
  6. 6. The electronic device of claim 5, wherein the electronic device comprises a memory device, The controller is further configured to: Obtaining a plug-in dependency relationship; Based on the plug-in dependency relationship, if the number of plug-ins with the dependency relationship with the preloaded plug-ins is larger than a preset number, determining that the preloaded plug-ins cannot be preloaded.
  7. 7. The electronic device of claim 5, wherein the electronic device comprises a memory device, The controller is further configured to: Acquiring at least one service plug-in which provides a service currently; And if the service plug-in which is the same as the pre-loading plug-in does not exist, determining that the pre-loading plug-in cannot be pre-loaded.
  8. 8. A method of preloading a card, comprising: responding to a starting operation, acquiring a recommended plug-in corresponding to the current moment, and receiving at least one target plug-in of a selecting operation in a preset time length taking the display moment of a frame image as a starting point when the frame image of a first frame is displayed, wherein the recommended plug-in is obtained by prediction based on the current moment and a historical plug-in use record; Determining a designated plug-in based on the target plug-in and the recommended plug-in, wherein the designated plug-in is the same plug-in as the recommended plug-in the target plug-in; Taking the recommended plug-in as a preloading plug-in, or taking the target plug-in as a preloading plug-in, or taking the designated plug-in as a preloading plug-in; and preloading the preloading plug-in and displaying a home page.
  9. 9. A computer readable storage medium, comprising a computer program stored thereon, which when executed by a computing device, causes the computing device to implement the plug-in preloading method of claim 8.

Description

Plug-in preloading method and device and electronic equipment Technical Field The disclosure relates to the technical field of data processing, and in particular relates to a plug-in preloading method, a device and electronic equipment. Background When the television is started, the preset application needs to be started, and a home page of the preset application is displayed, wherein the television needs to load all plug-ins of the preset application on the home page. If the user accesses the plug-in which is not loaded in the home page at this time, because time is required for loading the plug-in which the user accesses, situations such as user operation blocking and waiting for interface display can occur at this time, which results in poor user experience. Therefore, how to load the plug-in unit, avoiding the situations of user operation blocking, waiting for interface display and the like, becomes a problem to be solved urgently. Disclosure of Invention In order to solve the technical problems, the disclosure provides a method and a device for preloading a plug-in unit and electronic equipment. The technical scheme of the present disclosure is as follows: In a first aspect, the disclosure provides an electronic device, which comprises a display configured to display a frame image of a first frame after a preset application is started, a controller configured to obtain a preloaded plugin set in response to a starting operation, wherein the preloaded plugin set comprises preloaded plugins which are actually triggered within a preset time period from the display time of the frame image of the first frame displayed last time after the frame image of the first frame is displayed last time, or the preloaded plugin set comprises one or more of preloaded plugins predicted based on both the current time and a historical plugin use record, and the preloaded plugins are preloaded and a home page is displayed. The plug-in preloading method comprises the steps of responding to starting operation, obtaining a preloading plug-in set, wherein the preloading plug-in set comprises one or more of preloading plug-ins which are actually triggered in a preset time length taking the display time of the frame image of the first frame as a starting point after the frame image of the first frame is displayed last time, or the preloading plug-in set comprises one or more of preloading plug-ins which are predicted based on the current time and historical plug-in use records, preloading the preloading plug-ins, and displaying a first page. In a third aspect, the present disclosure provides an electronic device comprising a memory for storing a computer program and a processor for causing the electronic device to implement the plug-in preloading method as any one of the second aspects when executing the computer program. In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program for execution by a processor of a plug-in preloading method as any of the second aspects. In a fifth aspect, the present invention provides a computer program product for, when run on a computer, causing the computer to perform the plug-in preloading method as any of the second aspects. It should be noted that the above-mentioned computer instructions may be stored in whole or in part on the first computer readable storage medium. The first computer readable storage medium may be packaged together with the processor of the electronic device or may be packaged separately from the processor of the electronic device, which is not limited in this disclosure. The descriptions of the second aspect, the third aspect, the fourth aspect and the fifth aspect in the present disclosure may refer to the detailed description of the first aspect, and the beneficial effects of the descriptions of the second aspect, the third aspect, the fourth aspect and the fifth aspect may refer to the beneficial effect analysis of the first aspect, which is not repeated herein. In the present disclosure, the names of the above-mentioned electronic devices do not constitute limitations on the devices or functional modules themselves, which may appear under other names in an actual implementation. Insofar as the function of each device or function module is similar to the present disclosure, it is within the scope of the claims of the present disclosure and the equivalents thereof. These and other aspects of the disclosure will be more readily apparent from the following description. Compared with the prior art, the technical scheme provided by the disclosure has the following advantages: The plug-in preloading method provided by the disclosure has the advantages that the electronic equipment responds to the starting operation to acquire the preloading plug-in set and the first page data, so that plug-ins possibly used by a user can be preloaded in advance, the user can be ensured to use the preloaded plug-ins faster, an