Nothing Special   »   [go: up one dir, main page]

CN106648728B - Method and terminal for loading multimedia resources - Google Patents

Method and terminal for loading multimedia resources Download PDF

Info

Publication number
CN106648728B
CN106648728B CN201610826029.4A CN201610826029A CN106648728B CN 106648728 B CN106648728 B CN 106648728B CN 201610826029 A CN201610826029 A CN 201610826029A CN 106648728 B CN106648728 B CN 106648728B
Authority
CN
China
Prior art keywords
library
multimedia
sub
multimedia sub
loaded
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
CN201610826029.4A
Other languages
Chinese (zh)
Other versions
CN106648728A (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN201610826029.4A priority Critical patent/CN106648728B/en
Publication of CN106648728A publication Critical patent/CN106648728A/en
Application granted granted Critical
Publication of CN106648728B publication Critical patent/CN106648728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and a terminal for loading multimedia resources, wherein the method comprises the following steps: if the operation of triggering and starting the preset application is detected, acquiring the current working state information; wherein the preset application comprises a multimedia library; determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library; and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded. The terminal of the embodiment of the invention can save resource overhead and reduce power consumption.

Description

Method and terminal for loading multimedia resources
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and a terminal for loading multimedia resources.
Background
People usually record daily drip by taking photos in daily life and collect some interesting pictures. The shot photos and the collected pictures are usually stored in a gallery, and people can open the gallery application to view the pictures contained in the gallery.
The existing picture loading method generally comprises the following steps: when the user clicks the gallery application, the terminal loads and displays all multimedia resources (pictures, videos, etc.) in the media library. When the user slides the picture list, the terminal will quickly load more pictures/videos until all pictures/videos are fully loaded and displayed.
The system consumes a lot of system resources when loading pictures/videos, and a large amount of loading causes a larger resource overhead. Especially when a certain picture/video is searched in the sliding picture list, many pictures or videos may be browsed, and the pictures or videos loaded before the picture are meaningless resource expenses for the user to search and browse this time, which will result in increased power consumption due to the meaningless resource expenses.
Disclosure of Invention
The embodiment of the invention provides a method and a terminal for loading multimedia resources, which can save resource overhead and reduce power consumption.
In a first aspect, an embodiment of the present invention provides a method for loading a multimedia resource, where the method includes:
if the operation of triggering and starting the preset application is detected, acquiring the current working state information; wherein the preset application comprises a multimedia library;
determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library;
and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded.
In another aspect, an embodiment of the present invention provides a terminal, where the terminal includes:
the acquisition unit is used for acquiring the current working state information if the operation of triggering the starting of the preset application is detected; wherein the preset application comprises a multimedia library;
the determining unit is used for determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library;
and the loading unit is used for loading and displaying the multimedia resources in the target multimedia sub-library to be loaded.
According to the embodiment of the invention, the current working state information is acquired by triggering the operation of starting the preset application if the operation is detected; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for loading a multimedia resource according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for loading multimedia resources according to another embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for loading multimedia resources according to an embodiment of the present invention. The main execution body of the method for loading multimedia resources in the embodiment is a terminal. The terminal may be a mobile terminal such as a mobile phone and a tablet computer, but is not limited thereto, and may also be another terminal capable of installing an application program. The method of loading multimedia assets as shown in fig. 1 may comprise the steps of:
s101: if the operation of triggering and starting the preset application is detected, acquiring the current working state information; wherein the preset application comprises a multimedia library.
When the terminal normally works, whether a user triggers an operation of starting a preset application is detected, wherein the preset application can be a gallery application or a photo application and the like, the preset application comprises a multimedia library, and the multimedia library comprises multimedia resources. Multimedia assets may include pictures, videos, and the like. It can be understood that the terminal may detect in real time or once every preset time period.
The operation of triggering to open the preset application may be a click operation input by the user through the touch screen, for example, the user clicks an application icon corresponding to the preset application.
When detecting that a user triggers an operation of starting a preset application, the terminal acquires the current working state information. The operating state information includes, but is not limited to, a power saving state, a charging state, or a charge sufficiency state.
The power saving state identification terminal works in a power saving starting mode, the charging state identification terminal detects a state of establishing communication connection with the power supply equipment, and the electric quantity sufficient state identification identifies that the current electric quantity is greater than or equal to a preset electric quantity threshold value, for example, the current electric quantity is greater than or equal to 80% of the full-rated electric quantity. The full charge amount is the amount of electricity when fully charged.
S102: determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library.
And the terminal determines a target multimedia sub-library to be loaded corresponding to the current working state of the terminal according to the preset corresponding relation between the pre-stored working state information and the multimedia sub-library to be displayed. And the target multimedia sub-library mark to be loaded needs to load the multimedia resource in the target multimedia sub-library.
The target multimedia sub-library to be loaded is a sub-library of the multimedia library corresponding to the preset application, and the multimedia resources contained in the target multimedia sub-library to be loaded are one part of the multimedia library corresponding to the preset application. And the multimedia resources contained in the target multimedia sub-library to be loaded are the multimedia resources which need to be checked by the user in the current working state.
The target multimedia sub-libraries to be loaded corresponding to different working state information can be the same or different. Different target multimedia sub-libraries may comprise partially identical multimedia assets.
The same working state information may correspond to one multimedia sub library to be displayed, one target multimedia sub library to be loaded, at least two multimedia sub libraries, or at least two target multimedia sub libraries to be loaded, which may be specifically set according to actual needs, and is not limited herein. When the same working state information corresponds to at least two target multimedia sub-libraries to be loaded, the terminal can simultaneously display the at least two target multimedia sub-libraries, and can also determine and display the target multimedia libraries to be displayed according to the preset priority corresponding to each multimedia sub-library. For example, the terminal displays only the multimedia sub-library with the highest priority, but the terminal is not limited to this, and the setting can be specifically performed according to the actual situation.
S103: and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded.
And when the terminal determines the target multimedia sub-library to be loaded corresponding to the current working state information, loading and displaying the multimedia resources in the determined target multimedia sub-library to be loaded so as to facilitate the user to view.
According to the scheme, if the terminal detects that the operation of starting the preset application is triggered, the current working state information is obtained; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for loading multimedia resources according to another embodiment of the present invention. The main execution body of the method for loading multimedia resources in the embodiment is a terminal. The terminal may be a mobile terminal such as a mobile phone and a tablet computer, but is not limited thereto, and may also be another terminal capable of installing an application program. The method of loading multimedia assets as shown in fig. 2 may comprise the steps of:
s201: if the operation of triggering and starting the preset application is detected, acquiring the current working state information; wherein the preset application comprises a multimedia library.
When the terminal normally works, whether a user triggers an operation of starting a preset application is detected, wherein the preset application can be a gallery application or a photo application and the like, the preset application comprises a multimedia library, and the multimedia library comprises multimedia resources. Multimedia assets may include pictures, videos, and the like. It can be understood that the terminal may detect in real time or once every preset time period.
The operation of triggering to open the preset application may be a click operation input by the user through the touch screen, for example, the user clicks an application icon corresponding to the preset application.
When detecting that a user triggers an operation of starting a preset application, the terminal acquires the current working state information. The operating state information includes, but is not limited to, a power saving state, a charging state, or a charge sufficiency state.
The power saving state identification terminal works in a power saving starting mode, the charging state identification terminal detects a state of establishing communication connection with the power supply equipment, and the electric quantity sufficient state identification identifies that the current electric quantity is greater than or equal to a preset electric quantity threshold value, for example, the current electric quantity is greater than or equal to 80% of the full-rated electric quantity. The full charge amount is the amount of electricity when fully charged.
S202: determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library.
And the terminal determines a target multimedia sub-library to be loaded corresponding to the current working state of the terminal according to the preset corresponding relation between the pre-stored working state information and the multimedia sub-library to be displayed. And the target multimedia sub-library mark to be loaded needs to load the multimedia resource in the target multimedia sub-library.
The target multimedia sub-library to be loaded is a sub-library of the multimedia library corresponding to the preset application, and the multimedia resources contained in the target multimedia sub-library to be loaded are one part of the multimedia library corresponding to the preset application. And the multimedia resources contained in the target multimedia sub-library to be loaded are the multimedia resources which need to be checked by the user in the current working state.
The target multimedia sub-libraries to be loaded corresponding to different working state information can be the same or different. Different target multimedia sub-libraries may comprise partially identical multimedia assets.
The same working state information may correspond to one multimedia sub library to be displayed, one target multimedia sub library to be loaded, at least two multimedia sub libraries, or at least two target multimedia sub libraries to be loaded, which may be specifically set according to actual needs, and is not limited herein. When the same working state information corresponds to at least two target multimedia sub-libraries to be loaded, the terminal can simultaneously display the at least two target multimedia sub-libraries, and can also determine and display the target multimedia libraries to be displayed according to the preset priority corresponding to each multimedia sub-library. For example, the terminal displays only the multimedia sub-library with the highest priority, but the terminal is not limited to this, and the setting can be specifically performed according to the actual situation.
Further, when the operating status information is in the power saving state, step S202 includes S2021: acquiring a multimedia resource configuration file; and determining a target multimedia sub-library to be loaded corresponding to the power saving state according to the multimedia resource configuration file.
For example, the user sets in advance the multimedia sub-library corresponding to the power saving state, and there may be one or at least two multimedia sub-libraries corresponding to the power saving state. For example, a user sets at least two multimedia sub-libraries corresponding to the power saving state, classifies multimedia information in the multimedia sub-libraries corresponding to the preset application according to requirements, and stores classified multimedia resources in the set at least two multimedia sub-libraries respectively.
The terminal acquires the display priority corresponding to each multimedia sub-library set by the user and preset conditions which need to be met by the display priority corresponding to the target multimedia sub-library to be loaded corresponding to the set power saving state, so that a multimedia resource configuration file is generated and stored. The multimedia resource configuration file comprises multimedia sub-library information corresponding to the power saving state and a display priority corresponding to each multimedia sub-library. The target multimedia sub-library to be loaded can be the multimedia sub-library with the highest display priority, and can also be the multimedia sub-library with the display priority reaching a preset priority threshold.
For example, the user presets the corresponding multimedia sub-libraries in the power saving state as a personality gallery 1, a personality gallery 2 and a personality gallery 3, wherein the display priority of the personality gallery 1 is 5, the display priority of the personality gallery 2 is 4 and the display priority of the personality gallery 3 is 2.
When the terminal determines that the current working state information is in a power-saving state, the terminal acquires a pre-stored multimedia resource configuration file, acquires a display priority corresponding to each multimedia sub-library in the multimedia resource configuration file and a preset condition which needs to be met by the display priority corresponding to a target multimedia sub-library to be loaded corresponding to the power-saving state, and determines the target multimedia sub-library to be loaded corresponding to the power-saving state according to the preset condition and the display priority corresponding to each multimedia sub-library.
For example, when the preset condition is that the display priority is the highest, the terminal identifies the multimedia sub-library with the highest priority corresponding to the power saving state as the target multimedia sub-library to be loaded corresponding to the power saving state.
And when the preset condition is that the display priority reaches a preset priority threshold, the terminal traverses all the multimedia sub-libraries corresponding to the power-saving state to acquire the display priority corresponding to the multimedia sub-libraries, and identifies the multimedia sub-libraries with the display priority greater than or equal to the preset priority threshold as target multimedia sub-libraries to be loaded.
Further, when the multimedia resource configuration file is obtained, the method may further include: and displaying the description information of the first multimedia sub-library to be displayed corresponding to the power saving state according to the multimedia resource configuration file. The number of the first multimedia sub-library to be displayed may be one or at least two.
For example, the terminal determines, according to the multimedia resource configuration file, that the corresponding multimedia sub-libraries in the power saving state are the personality gallery 1, the personality gallery 2 and the personality gallery 3, the display priority of the personality gallery 1 is 5, the display priority of the personality gallery 2 is 4, the display priority of the personality gallery 3 is 2, the target multimedia sub-library to be loaded in the power saving state is the personality gallery 1, and the terminal also displays the description information corresponding to the personality gallery 2 and the personality gallery 3 in the power saving state. The first multimedia sub-library to be displayed is a personality gallery 2 and a personality gallery 3. The description information is used to identify a summary or a brief description of the multimedia asset contained in the multimedia sub-library, etc. For example, 2016 year 4 month work record, etc.
Further, after the description information of the first multimedia sub library to be displayed corresponding to the power saving state is displayed, the method may further include: and if the preset operation that the user triggers and views the first multimedia sub-library is detected, loading and displaying the multimedia resources in the first multimedia sub-library selected by the user.
For example, when the terminal displays the description information of the first multimedia sub-library to be displayed corresponding to the power saving state, the terminal detects that the user triggers the preset operation of viewing the first multimedia sub-library, and when the terminal detects that the user triggers the preset operation of viewing the first multimedia sub-library, the multimedia resources in the first multimedia sub-library selected by the user are loaded and displayed.
The preset operation of the user for triggering and viewing the first multimedia sub-library may be that the user clicks the first multimedia sub-library (or a folder icon corresponding to the first multimedia sub-library), or that the user clicks the first multimedia sub-library (or a folder icon corresponding to the first multimedia sub-library) is detected, and an instruction for confirming loading is sent according to a popped dialog/interactive interface by the user. The dialog box/interactive interface is displayed when the terminal detects that the user clicks the first multimedia sub-library (or the folder icon corresponding to the first multimedia sub-library), and the user inquires whether the user confirms to load the multimedia resources in the first multimedia sub-library.
Further, if the operating status information is a charging status or a sufficient state of electric energy, step S202 further includes S2022: identifying a preset common multimedia sub-library as a target multimedia sub-library to be loaded; the preset common multimedia sub-library is pre-established according to historical viewing data of multimedia resources.
The terminal establishes a commonly used multimedia sub-library in advance according to the historical viewing data of the multimedia resources viewed by the user, and the multimedia sub-library comprises the multimedia resources frequently viewed by the user. The frequently viewed multimedia assets are multimedia assets that are viewed by the user a number of times that is greater than or equal to a preset number threshold (e.g., 5 times, but not limited thereto).
And when the terminal confirms that the current working state information is in a charging state or a sufficient electric quantity state, identifying the preset common multimedia sub-library as a target multimedia sub-library to be loaded.
S203: and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded.
And when the terminal determines the target multimedia sub-library to be loaded corresponding to the current working state information, loading and displaying the multimedia resources in the determined target multimedia sub-library to be loaded so as to facilitate the user to view.
It can be understood that, when the terminal is in the non-power saving state, all multimedia resources contained in the multimedia library corresponding to the preset application may also be loaded; or when the current electric quantity is greater than or equal to the preset electric quantity threshold value and less than the full electric quantity, loading all multimedia resources contained in the multimedia library corresponding to the preset application.
According to the scheme, if the terminal detects that the operation of starting the preset application is triggered, the current working state information is obtained; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
The terminal can display the description information of the multimedia sub-library in the power-saving state, so that a user can know the outline of the multimedia resources in the multimedia sub-library conveniently, the user can confirm whether the multimedia resources corresponding to the multimedia sub-library need to be loaded or not, the user can browse the required or more important multimedia resources in the power-saving state, and the functions of saving power and browsing the multimedia resources are considered at the same time.
Referring to fig. 3, fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal may be a mobile terminal such as a mobile phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. The terminal 300 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 1, and please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1 for details, which are not repeated herein. The terminal of the embodiment includes: an acquisition unit 310, a determination unit 320, and a loading unit 330.
The obtaining unit 310 is configured to obtain current working state information if an operation of triggering to start a preset application is detected; wherein the predetermined application comprises a multimedia library.
For example, if the obtaining unit 310 detects an operation of triggering to start a preset application, it obtains the current working state information; wherein the predetermined application comprises a multimedia library. The acquisition unit 310 transmits the operation state information to the determination unit 320.
The determining unit 320 is configured to receive the working state information sent by the obtaining unit 310, and determine a target multimedia sub-library to be loaded corresponding to the working state information; wherein, the target multimedia sub-library is a sub-library of the multimedia library. For example, the determining unit 320 receives the working state information sent by the obtaining unit 310, and determines a target multimedia sub-library to be loaded corresponding to the working state information; wherein, the target multimedia sub-library is a sub-library of the multimedia library. The determining unit 320 transmits the target multimedia sub-library information to the loading unit 330.
The loading unit 330 is configured to receive the target multimedia sub-library information sent by the determining unit 320, and load and display the multimedia resources in the target multimedia sub-library to be displayed.
For example, the loading unit 330 receives the target multimedia sub-library information sent by the determining unit 320, and loads and displays the multimedia resources in the target multimedia sub-library to be displayed.
According to the scheme, if the terminal detects that the operation of starting the preset application is triggered, the current working state information is obtained; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the target multimedia sub-library to be loaded. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
Referring to fig. 4, fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention. The terminal may be a mobile terminal such as a mobile phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. The terminal 400 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 2, and please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2 for details, which are not described herein again. The terminal of the embodiment includes: an acquisition unit 410, a determination unit 420, a loading unit 430, and a description information display unit 440. The determining unit 420 includes a configuration file obtaining unit 421 and a target multimedia sub-library determining unit 422; or an identification unit 423.
The obtaining unit 410 is configured to obtain current working state information if an operation of triggering to start a preset application is detected; wherein the predetermined application comprises a multimedia library.
For example, if the obtaining unit 410 detects an operation of triggering to start a preset application, it obtains the current working state information; wherein the predetermined application comprises a multimedia library. The acquisition unit 410 transmits the operation state information to the determination unit 420.
The determining unit 420 is configured to receive the working state information sent by the obtaining unit 410, and determine a target multimedia sub-library to be loaded corresponding to the working state information; wherein, the target multimedia sub-library is a sub-library of the multimedia library. For example, the determining unit 420 receives the working state information sent by the obtaining unit 410, and determines a target multimedia sub-library to be loaded corresponding to the working state information; wherein, the target multimedia sub-library is a sub-library of the multimedia library.
Further, when the working status information is in a power saving status and the determining unit 420 includes a configuration file obtaining unit 421 and a target multimedia sub-library determining unit 422, the configuration file obtaining unit 421 is configured to obtain a multimedia resource configuration file; the target multimedia sub-library determining unit 422 is configured to determine a target multimedia sub-library to be loaded corresponding to the power saving state according to the multimedia resource configuration file acquired by the configuration file acquiring unit 421.
Further, when the working state information is a charging state or a sufficient state of electric quantity, and the determining unit 420 includes the identifying unit 423, the identifying unit 423 is configured to identify the preset commonly used multimedia sub-library as a target multimedia sub-library to be loaded; the preset common multimedia sub-library is pre-established according to historical viewing data of multimedia resources.
The determining unit 420 transmits the target multimedia sub-library information to the loading unit 430 and the description information displaying unit 440.
The loading unit 430 is configured to receive the target multimedia sub-library information sent by the determining unit 420, and load and display the multimedia resources in the target multimedia sub-library to be displayed.
For example, the loading unit 430 receives the target multimedia sub-library information sent by the determining unit 420, and loads and displays the multimedia resources in the target multimedia sub-library to be displayed.
The description information display unit 440 is configured to receive the target multimedia sub-library information sent by the target multimedia sub-library determining unit 422 of the determining unit 420, and display the description information of the first multimedia sub-library to be displayed corresponding to the power saving state according to the multimedia resource configuration file. The description information display unit 440 transmits notification information to the loading unit 430 to notify the loading unit 430 of detecting that the user triggers a preset operation to view the first multimedia sub-library.
Further, the loading unit 430 is further configured to receive the notification information sent by the description information display unit 440, and if it is detected that the user triggers a preset operation of viewing the first multimedia sub-library, load and display the multimedia resource in the first multimedia sub-library selected by the user.
According to the scheme, if the terminal detects that the operation of starting the preset application is triggered, the current working state information is obtained; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the multimedia sub-library to be displayed. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
The terminal can display the description information of the multimedia sub-library in the power-saving state, so that a user can know the outline of the multimedia resources in the multimedia sub-library conveniently, the user can confirm whether the multimedia resources corresponding to the multimedia sub-library need to be loaded or not, the user can browse the required or more important multimedia resources in the power-saving state, and the functions of saving power and browsing the multimedia resources are considered at the same time.
Referring to fig. 5, fig. 5 is a schematic block diagram of a terminal according to still another embodiment of the present invention. The terminal 500 in the present embodiment as shown in the figure may include: one or more processors 510; one or more input devices 520, one or more output devices 530, and memory 540. The processor 510, input device 520, output device 530, and memory 540 are connected by a bus 550.
The memory 540 is used to store program instructions.
The processor 510 is configured to perform the following operations according to program instructions stored in the memory 540:
the processor 510 is configured to, if an operation of triggering to start a preset application is detected, obtain current working state information; wherein the preset application comprises a multimedia library.
The processor 510 is further configured to determine a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library.
The processor 510 is further configured to load and display the multimedia resources in the target multimedia sub-library to be loaded.
Further, if the working status information is in a power saving status, the processor 510 is further configured to obtain a multimedia resource configuration file, and determine a target multimedia sub-library to be loaded corresponding to the power saving status according to the multimedia resource configuration file.
Further, the processor 510 is further configured to display, according to the multimedia resource configuration file, description information of a first multimedia sub library to be displayed, which corresponds to the power saving state.
Further, the processor 510 is further configured to load and display the multimedia resource in the first multimedia sub-library selected by the user if it is detected that the user triggers a preset operation of viewing the first multimedia sub-library.
Further, if the working state information is a charging state or a sufficient state of electric quantity, the processor 510 is further configured to identify a preset common multimedia sub-library as a target multimedia sub-library to be loaded; the preset common multimedia sub-library is pre-established according to historical viewing data of multimedia resources.
According to the scheme, if the terminal detects that the operation of starting the preset application is triggered, the current working state information is obtained; determining a target multimedia sub-library to be loaded corresponding to the working state information; and loading and displaying the multimedia resources in the multimedia sub-library to be displayed. The terminal loads and displays the multimedia resources in the target multimedia sub-library to be loaded corresponding to the current working state, and only loads the multimedia resources which need to be checked by the user, so that the system resource overhead corresponding to the loaded multimedia resources can be saved, the power consumption can be saved, the battery endurance can be improved, and the situation that the power consumption is increased due to meaningless resource overhead can be avoided.
The terminal can display the description information of the multimedia sub-library in the power-saving state, so that a user can know the outline of the multimedia resources in the multimedia sub-library conveniently, the user can confirm whether the multimedia resources corresponding to the multimedia sub-library need to be loaded or not, the user can browse the required or more important multimedia resources in the power-saving state, and the functions of saving power and browsing the multimedia resources are considered at the same time.
It should be understood that in the present embodiment, the Processor 510 may be a Central Processing Unit (CPU), and the Processor may be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 520 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 530 may include a display (LCD, etc.), a speaker, etc.
The memory 540 may include both read-only memory and random access memory, and provides instructions and data to the processor 510. A portion of memory 540 may also include non-volatile random access memory. For example, memory 540 may also store device type information.
In a specific implementation, the processor 510, the input device 520, and the output device 530 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method for loading multimedia resources provided in this embodiment of the present invention, and may also execute the implementation manner of the terminal described in this embodiment of the present invention, which is not described herein again.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A method for loading a multimedia asset, the method comprising:
if the operation of triggering and starting the preset application is detected, acquiring the current working state information; the preset application comprises a multimedia library, and the working state information comprises a power saving state, a charging state or an electric quantity sufficient state;
determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library;
loading and displaying the multimedia resources in the target multimedia sub-library to be loaded;
if the working state information is in a power-saving state, the determining of the target multimedia sub-library to be loaded corresponding to the working state information includes: acquiring a multimedia resource configuration file, and determining a target multimedia sub-library to be loaded corresponding to the power saving state according to the multimedia resource configuration file;
if the working state information is a charging state or an electric quantity sufficient state, the determining of the target multimedia sub-library to be loaded corresponding to the working state information comprises: identifying a preset common multimedia sub-library as a target multimedia sub-library to be loaded; the preset common multimedia sub-library is pre-established according to historical viewing data of multimedia resources.
2. The method of claim 1, further comprising:
and displaying the description information of the first multimedia sub-library to be displayed corresponding to the power saving state according to the multimedia resource configuration file.
3. The method of claim 2, further comprising:
and if the preset operation that the user triggers and views the first multimedia sub-library is detected, loading and displaying the multimedia resources in the first multimedia sub-library selected by the user.
4. A terminal, characterized in that the terminal comprises:
the acquisition unit is used for acquiring the current working state information if the operation of triggering the starting of the preset application is detected; the preset application comprises a multimedia library, and the working state information comprises a power saving state, a charging state or an electric quantity sufficient state;
the determining unit is used for determining a target multimedia sub-library to be loaded corresponding to the working state information; wherein the target multimedia sub-library is a sub-library of the multimedia library;
the loading unit is used for loading and displaying the multimedia resources in the target multimedia sub-library to be loaded;
if the working state information is a charging state or an electric quantity sufficient state, the determining unit includes: the system comprises an identification unit, a loading unit and a processing unit, wherein the identification unit is used for identifying a preset common multimedia sub-library as a target multimedia sub-library to be loaded, and the preset common multimedia sub-library is pre-established according to historical viewing data of multimedia resources;
if the working state information is a power saving state, the determining unit includes:
the configuration file acquisition unit is used for acquiring a multimedia resource configuration file;
and the target multimedia sub-library determining unit is used for determining the target multimedia sub-library to be loaded corresponding to the power saving state according to the multimedia resource configuration file.
5. The terminal of claim 4, further comprising:
and the description information display unit is used for displaying the description information of the first multimedia sub-library to be displayed corresponding to the power saving state according to the multimedia resource configuration file.
6. The terminal according to claim 5, wherein the loading unit is further configured to load and display the multimedia resource in the first multimedia sub-library selected by the user if it is detected that the user triggers a preset operation of viewing the first multimedia sub-library.
CN201610826029.4A 2016-09-14 2016-09-14 Method and terminal for loading multimedia resources Active CN106648728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826029.4A CN106648728B (en) 2016-09-14 2016-09-14 Method and terminal for loading multimedia resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826029.4A CN106648728B (en) 2016-09-14 2016-09-14 Method and terminal for loading multimedia resources

Publications (2)

Publication Number Publication Date
CN106648728A CN106648728A (en) 2017-05-10
CN106648728B true CN106648728B (en) 2021-06-04

Family

ID=58851565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826029.4A Active CN106648728B (en) 2016-09-14 2016-09-14 Method and terminal for loading multimedia resources

Country Status (1)

Country Link
CN (1) CN106648728B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075196A (en) * 2006-05-15 2007-11-21 联发科技股份有限公司 Portable electronic device and method for loading resource data of portable electronic device
CN101187926A (en) * 2006-11-16 2008-05-28 康佳集团股份有限公司 Multi-kind resource management method
US7420354B2 (en) * 2003-09-29 2008-09-02 Xantrex Technology Inc. Method and apparatus for controlling power drawn from an energy converter

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214655B2 (en) * 2002-03-29 2012-07-03 Kabushiki Kaisha Toshiba Data structure of multimedia file format, encrypting method and device thereof, and decrypting method and device thereof
US9177604B2 (en) * 2008-05-23 2015-11-03 Microsoft Technology Licensing, Llc Media content for a mobile media device
US7933974B2 (en) * 2008-05-23 2011-04-26 Microsoft Corporation Media content for a mobile media device
CN104754415B (en) * 2015-03-30 2018-02-09 北京奇艺世纪科技有限公司 A kind of video broadcasting method and device
CN104965659B (en) * 2015-07-06 2017-12-15 无锡天脉聚源传媒科技有限公司 A kind of preloading method and device of page info
CN105898399A (en) * 2015-12-24 2016-08-24 乐视致新电子科技(天津)有限公司 Video resource loading method and device and smart television

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7420354B2 (en) * 2003-09-29 2008-09-02 Xantrex Technology Inc. Method and apparatus for controlling power drawn from an energy converter
CN101075196A (en) * 2006-05-15 2007-11-21 联发科技股份有限公司 Portable electronic device and method for loading resource data of portable electronic device
CN101187926A (en) * 2006-11-16 2008-05-28 康佳集团股份有限公司 Multi-kind resource management method

Also Published As

Publication number Publication date
CN106648728A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN107181858B (en) Method and terminal for displaying notification message
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
CN106951057B (en) Application control method and mobile terminal
CN106991179B (en) Data deleting method and device and mobile terminal
CN106469396B (en) Method and terminal for pushing advertisement information
CN106354371A (en) Application sorting method and terminal
CN108293197B (en) Resource statistical method, device and terminal
CN106211292A (en) A navigation method for a mobile terminal and the mobile terminal
CN108304274A (en) A kind of method of information exchange, server and computer-readable medium
CN106293739A (en) A kind of application display method and terminal
CN106534514A (en) Incoming call processing method and terminal
CN105955770A (en) Application program uninstalling method and terminal
CN109032727B (en) Application program starting method, application program starting device and terminal equipment
CN107783633B (en) Method for managing application program, terminal and computer readable storage medium
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN110767946B (en) Method and device for controlling discharging of mobile terminal and mobile terminal
CN109358927B (en) Application program display method and device and terminal equipment
CN107943578A (en) A kind of memory release method, terminal device and computer-readable medium
CN107302617A (en) A kind of data managing method and terminal
CN107040659B (en) Intelligent shutdown interface display method and terminal
CN106648728B (en) Method and terminal for loading multimedia resources
CN106886600B (en) File management method and terminal
CN107277906A (en) Mode Selection Method, Device, Terminal, and Computer-Readable Storage Medium
CN108132803B (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210422

Address after: No. 1702-1703, 17 / F (15 / F, natural floor), Desai technology building, 9789 Shennan Avenue, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen

Applicant before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant