CN113296849A - Application loading optimization method and device and electronic equipment - Google Patents

Application loading optimization method and device and electronic equipment Download PDF

Info

Publication number
CN113296849A
CN113296849A CN202110738001.6A CN202110738001A CN113296849A CN 113296849 A CN113296849 A CN 113296849A CN 202110738001 A CN202110738001 A CN 202110738001A CN 113296849 A CN113296849 A CN 113296849A
Authority
CN
China
Prior art keywords
target application
file
application
user
multimedia file
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.)
Granted
Application number
CN202110738001.6A
Other languages
Chinese (zh)
Other versions
CN113296849B (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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110738001.6A priority Critical patent/CN113296849B/en
Publication of CN113296849A publication Critical patent/CN113296849A/en
Application granted granted Critical
Publication of CN113296849B publication Critical patent/CN113296849B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application loading optimization method and device and electronic equipment, and belongs to the technical field of computers. The method comprises the following steps: receiving a first input to a target application; responding to the first input, starting the target application, and playing a first multimedia file in the starting and loading process of the target application; the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.

Description

Application loading optimization method and device and electronic equipment
Technical Field
The application belongs to the technical field of computers, and particularly relates to an application loading optimization method and device and electronic equipment.
Background
At present, Application programs (apps) are widely used by users, most apps can load data and play advertisements in the starting process, and for the users, the users need to wait for the data loading of the apps to be finished, or wait for the advertisements to be played to a countdown stage, and manually close the advertisements to enter an Application main interface.
In summary, in the related art, the time for the user to wait for the app to start is too long, and the user needs cannot be met.
Disclosure of Invention
The embodiment of the application loading optimization method and device and the electronic equipment can solve the problem that in the related technology, the user cannot meet the user requirement due to the fact that the time for waiting for app to start is too long.
In a first aspect, an embodiment of the present application provides an application load optimization method, where the method includes:
receiving a first input to a target application;
responding to the first input, starting the target application, and playing a first multimedia file in the starting and loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
In a second aspect, an embodiment of the present application provides an apparatus for application load optimization, where the apparatus includes:
a receiving unit for receiving a first input to a target application;
the loading unit is used for responding to the first input, starting the target application and playing a first multimedia file in the starting and loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic equipment plays the first multimedia file in the starting and loading process of the target application, so that a user can see an interface or audio and video of the target application after clicking the target application, the starting and loading process of the target application is optimized, the user can be prevented from tediously waiting for application loading, and the user requirement is met.
Drawings
FIG. 1 is a schematic flow chart diagram of an application load optimization method provided in the present application;
FIG. 2 is a second flowchart of the application load optimization method provided in the present application;
FIG. 3 is a schematic structural diagram of an application load optimization apparatus provided in the present application;
FIG. 4 is a schematic structural diagram of an electronic device provided herein;
fig. 5 is a schematic diagram of a hardware structure of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application loading optimization method provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings through some embodiments and application scenarios thereof. According to the application loading optimization method provided by the embodiment of the application, an execution main body is electronic equipment, and the electronic equipment provided by the embodiment of the application includes but is not limited to a mobile phone, a tablet computer, a computer, wearable equipment and the like.
In order to solve the problem that a user cannot meet a user demand because the time for waiting for app to be started is too long in the related art, an embodiment of the application provides an application loading optimization method, fig. 1 is one of flow diagrams of the application loading optimization method provided by the embodiment of the application, and as shown in fig. 1, the method includes the following steps:
step 100, receiving a first input to a target application.
Optionally, the electronic device receives a first input of the target application from the user, where the first input is an operation of starting the target application by the user, for example, a click operation.
The starting of the target application can be cold starting or switching from background running to electronic equipment desktop display. It should be noted that, before the current start, if the process of the target application does not exist in the system, the current start is a cold start.
Step 101, responding to the first input, starting the target application, and playing a first multimedia file in the starting and loading process of the target application.
The first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
The screen recording file is obtained by recording a screen for a first preset time length in the process of operating the target application by a user before the target application is closed or enters a background.
In one embodiment, before the target application is closed or enters the background, the electronic device records an interface operated by the user on the target application based on the screen recording function, and the recording is finished until the target application is closed or enters the background or the user closes the screen recording function, so that the screen recording file is obtained.
The audio/video cache file is obtained by caching the data of the audio/video file which is played on the interface opened by the user when the user uses the target application for the last time from the current playing position to the front or the back for a second preset time before the target application is closed or enters the background.
Optionally, the second preset time length is a play time length corresponding to a time length from a first play position before the current play position to the current play position, or a play time length from the current play position to a second play position after the current play position.
In one embodiment, before the target application is closed or enters the background, the electronic device performs data caching for a second preset duration from the current playing position to the forward or backward audio/video file being played on the interface opened by the user when the user uses the target application for the last time, so as to obtain the audio/video cache file.
If the audio/video cache file is cache data in a preset time period with a forward current playing position, the audio/video cache file is a played back audio/video file; and if the audio/video cache file is cache data in a preset time period backward from the current playing position, the audio/video cache file is a pre-loaded audio/video file.
In the embodiment of the application, the electronic equipment plays the first multimedia file in the starting and loading process of the target application, and the starting and loading process of the target application is optimized, so that a user can see an interface or audio and video of the target application after clicking the target application, the user can be prevented from tediously waiting for the starting and loading of the application, and the user requirements are met.
Optionally, the playing the first multimedia file in the starting and loading process of the target application includes:
and playing the first multimedia file in the starting and loading process of the target application under the condition of meeting a first preset condition.
Optionally, the electronic device starts a target application in response to the first input, and plays the first multimedia file in a start loading process of the target application when a first preset condition is met.
Wherein the first preset condition is as follows: and starting the loading optimization function of the target application, enabling the first multimedia file to exist, and enabling the access path corresponding to the interface opened by the user when the user uses the target application for the last time to exist.
It can be understood that, when the loading optimization function of the target application is started, the first multimedia file exists, and the access path corresponding to the interface opened by the user when the user uses the target application for the last time exists, the first multimedia file is played in the loading process of the target application. And if any one of the first preset conditions is not met, not playing the first multimedia file in the loading process of the target application.
Optionally, the electronic device starts the target application in response to the first input, and if the target application does not have a start loading process, the electronic device does not play the first multimedia file in the loading process of the target application and directly displays an interface of the target application.
The starting of the loading optimization function of the target application refers to obtaining user authorization to support application loading experience optimization.
Optionally, the electronic device starts the target application in response to the first input, and if the target application has a start loading process but a loading optimization function of the target application is not started, the first multimedia file is not played in the loading process of the target application.
Optionally, the electronic device starts the target application in response to the first input, and if the target application has a start loading process and a loading optimization function of the target application is already started, but the first multimedia file does not exist or an access path corresponding to an interface opened when the user uses the target application for the last time does not exist, the first multimedia file is not played in the loading process of the target application.
In the embodiment of the application, under the condition that the first preset condition is met, the electronic equipment plays the first multimedia file in the loading process of the target application, the starting and loading process of the target application is optimized, and a user can be prevented from tediously waiting for application loading, so that the user requirement is met.
Optionally, the playing the first multimedia file in the starting and loading process of the target application includes:
loading the target application in a first display area, and playing the first multimedia file in a second display area;
the first display area is a hidden area, and the second display area is a visual area. The embodiment of the application provides a method for playing a first multimedia file in the loading process of a target application.
Optionally, the electronic device performs screen splitting processing on the display area of the target application to obtain a first display area and a second display area. The first display area is a hidden area, that is, the user cannot see the content displayed on the first display area, and the second display area is a visual area, that is, the user can see the content displayed on the second display area.
Furthermore, the electronic equipment loads the target application in the first display area and plays the first multimedia file in the second display area.
Therefore, the first multimedia file is played while the target application is normally loaded at the front end of the desktop of the electronic equipment, the loading process is in a hidden state, and the perception of a user on application loading is reduced.
In the embodiment of the application, the electronic device loads the target application in the first display area and plays the first multimedia file in the second display area, wherein the first display area is a hidden area, and the second display area is a visual area.
Optionally, after the playing the first multimedia file in the starting and loading process of the target application, the method further includes:
under the condition that the target application is loaded and the first multimedia file is a screen recording file, stopping playing the first multimedia file, and displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
and under the condition that the target application is loaded and the first multimedia file is an audio and video cache file, displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded.
Optionally, the access path is a URL address.
Optionally, the electronic device monitors whether the loading of the target application is completed, and if the loading is completed, an interface of the target application is displayed.
Optionally, if the first multimedia file is an audio/video cache file, in a case that the target application is loaded, the electronic device displays the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continues to play the first multimedia file on the interface based on the play progress of the first multimedia file when the target application is loaded.
It should be noted that, if the first multimedia file is an audio/video cache file, the interface opened by the user when the user uses the target application for the last time is an interface for caching the audio/video file being played, and the access path corresponding to the interface opened by the user when the user uses the target application for the last time is related to the audio/video cache file.
Optionally, if the first multimedia file is a screen recording file, the electronic device stops playing the first multimedia file when the target application is loaded, and displays the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time.
In the embodiment of the application, the electronic device stops playing the first multimedia file when the target application is loaded and the first multimedia file is a screen recording file, displaying the interface according to the access path corresponding to the interface opened when the user uses the target application for the last time, or, in the case that the target application is loaded and the first multimedia file is the audio/video cache file, displaying the interface according to the access path corresponding to the interface opened when the user uses the target application for the last time, and continuing to play the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded, the method optimizes the starting and loading process of the target application, is convenient for a user to quickly enter the interface of the target application, avoids the user from tediously waiting for application loading, meets the user requirement and improves the user experience.
Optionally, before the receiving the first input to the target application, the method further includes:
before the target application is closed or enters a background, recording a screen for a first preset time length in the process of operating the target application by a user to obtain a screen recording file, and storing the screen recording file and an access path corresponding to an interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
before the target application is closed or enters a background, carrying out data caching for a second preset duration from the current playing position to the audio and video file which is being played on the interface opened by the user when the user uses the target application for the last time, obtaining the audio and video cache file, and storing the audio and video cache file and an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
It can be understood that, in order to play the first multimedia file during the loading process of the target application, the first multimedia file needs to be acquired first.
Optionally, the electronic device obtains the first multimedia file according to the use condition of the target application by the user, and stores an access path corresponding to an interface opened when the user uses the target application for the last time. And the access path corresponding to the interface opened by the user when the user uses the target application for the last time is the access path corresponding to the current interface of the target application before the target application is closed or enters the background. The purpose of storing the access path corresponding to the interface opened by the user when the user uses the target application for the last time is to display the corresponding interface according to the access path after the target application is loaded.
In one embodiment, before the target application is closed or enters the background, the electronic device records an interface operated by the user on the target application based on the screen recording function until the target application is closed or enters the background or the user closes the screen recording function, so that a screen recording file is obtained, and an access path corresponding to the interface opened when the user uses the target application for the last time is stored.
In one embodiment, before the target application is closed or enters the background, the electronic device performs data caching for a second preset duration from the current playing position to the audio/video file being played on the interface opened by the user when the user uses the target application for the last time, obtains the audio/video cache file, and stores an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
In the embodiment of the application, the electronic device acquires the first multimedia file according to the use condition of the target application by the user, stores the access path corresponding to the interface opened when the user uses the target application for the last time, and realizes the optimization of the starting and loading process of the target application based on the first multimedia file and the access path corresponding to the interface opened when the user uses the target application for the last time, so that the user can see the interface or related audio and video of the target application after opening the target application, the user is prevented from waiting for the application to be loaded uselessly, and the user requirement is met.
Optionally, before the receiving the first input to the target application, the method further includes:
and associating the first multimedia file with the user under the condition that the target application is closed or enters the background.
Optionally, the associating the first multimedia file with the user includes:
acquiring the information of the user;
associating the first multimedia file with information of the user;
wherein the information of the user comprises at least one of:
face information;
fingerprint information;
and (4) user account information.
In one embodiment, the electronic device recognizes a first input of a user to a target application, starts the target application in response to the first input, acquires information of the user, acquires a first multimedia file corresponding to the user based on an association relationship between the information of the user and the first multimedia file, and plays the first multimedia file corresponding to the user in a start-up and loading process of the target application.
In the embodiment of the application, under the condition that the target application is closed or enters the background, the electronic device associates the first multimedia file with the user, starts the target application if the first input of the user to the target application is recognized, and plays the first multimedia file corresponding to the user in the starting and loading process of the target application, so that the user ignores the starting and loading process of the target application, the user is prevented from tediously waiting for the application loading process, and after the target application is loaded, the user can see the interface opened when the user uses the target application for the last time, and the user experience can be effectively improved.
Optionally, the playing the first multimedia file in the loading process of the target application further includes:
and obtaining user authorization and starting the loading optimization function of the target application.
Optionally, the authority and the function related to the application loading optimization function are supported by obtaining user authorization, the loading optimization function of the target application is associated with the user, and the loading optimization function of the target application is started through identifying the information of the user.
Optionally, the means for identifying the user information includes face recognition, fingerprint recognition and a user account.
In one embodiment, the electronic device receives a first input of a user to a target application, identifies information of the user in response to the first input, starts a loading optimization function of the target application if the information of the user is associated with the loading optimization function of the target application, and plays a first multimedia file in a loading process of the target application.
The process of applying the load optimization method is specifically described with reference to fig. 2. Fig. 2 is a second flowchart of the application load optimization method according to the embodiment of the present application. The method comprises the following steps:
step 200, the user starts the target application.
Step 201, judging whether a user opens an application loading optimization function, if so, executing step 202; if not, go to step 203.
Step 202, after acquiring a screen recording file or an audio/video cache file obtained according to the use condition of the user on the target application, step 204 is executed.
Step 203, after the target application is normally loaded and started, step 210 is executed.
Step 204, judging whether a screen recording file or an audio/video cache file exists, if so, executing step 205; if not, go to step 203.
And 205, loading the target application in the first display area, and playing the screen recording file or the audio/video cache file in the second display area.
Step 206, the terminal monitors whether the target application is started and loaded, and if yes, step 207 is executed; if not, go to step 205.
Step 207, stopping playing the screen recording file, and displaying an interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; or displaying the interface according to the access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the audio and video file on the interface based on the playing progress of the audio and video cache file when the target application is loaded.
And step 208, the user enters an interface of the target application to operate the target application.
And step 209, before the target application is closed or enters a background, after a screen recording or audio/video playback buffer or audio/video preloading buffer is carried out for a period of time in the process of operating the target application by a user, the operation is finished.
Step 210, the user enters the interface of the target application, and the operation is ended after the target application is operated.
It should be noted that, in the application load optimization method provided in the embodiment of the present application, the execution main body may be an application load optimization device, or a control module in the application load optimization device, configured to execute the method for application load optimization. The method for executing application load optimization by using an application load optimization device in the embodiment of the present application is taken as an example, and the application load optimization device provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of an application load optimization device according to an embodiment of the present application, where the application load optimization device includes: a receiving unit 310 and a loading unit 320, wherein,
a receiving unit 310 for receiving a first input to a target application;
a loading unit 320, configured to respond to the first input, start the target application, and play a first multimedia file during a start loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
In the embodiment of the application, the first multimedia file is played in the starting and loading process of the target application, and the starting and loading process of the target application is optimized, so that a user can see an interface or audio and video of the target application after clicking the target application, the user can be prevented from tediously waiting for application loading, and the user requirement is met.
Optionally, the playing the first multimedia file in the starting and loading process of the target application includes:
loading the target application in a first display area, and playing the first multimedia file in a second display area;
the first display area is a hidden area, and the second display area is a visual area. Optionally, the method further comprises: a display unit for:
under the condition that the target application is loaded and the first multimedia file is a screen recording file, stopping playing the first multimedia file, and displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
and under the condition that the target application is loaded and the first multimedia file is an audio and video cache file, displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded.
Optionally, the method further comprises: a storage unit to:
before the target application is closed or enters a background, recording a screen for a first preset time length in the process of operating the target application by a user to obtain a screen recording file, and storing the screen recording file and an access path corresponding to an interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
before the target application is closed or enters a background, carrying out data caching for a second preset duration from the current playing position to the audio and video file which is being played on the interface opened by the user when the user uses the target application for the last time, obtaining the audio and video cache file, and storing the audio and video cache file and an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
Optionally, the storage unit is further configured to:
and associating the first multimedia file with the user under the condition that the target application is closed or enters the background.
The application loading optimization device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application loading optimization device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application loading optimization device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the foregoing embodiment of the application load optimization method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 507 is configured to receive a first input to the target application;
a processor 510, configured to respond to the first input, start the target application, and play a first multimedia file during a start loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
Optionally, the playing the first multimedia file in the starting and loading process of the target application includes:
loading the target application in a first display area, and playing the first multimedia file in a second display area;
the first display area is a hidden area, and the second display area is a visual area.
Optionally, the processor 510 is further configured to:
under the condition that the target application is loaded and the first multimedia file is a screen recording file, stopping playing the first multimedia file, and displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
and under the condition that the target application is loaded and the first multimedia file is an audio and video cache file, displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded.
Optionally, the processor 510 is further configured to:
before the target application is closed or enters a background, recording a screen for a first preset time length in the process of operating the target application by a user to obtain a screen recording file, and storing the screen recording file and an access path corresponding to an interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
before the target application is closed or enters a background, carrying out data caching for a second preset duration from the current playing position to the audio and video file which is being played on the interface opened by the user when the user uses the target application for the last time, obtaining the audio and video cache file, and storing the audio and video cache file and an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
Optionally, the processor 510 is further configured to:
and associating the first multimedia file with the user under the condition that the target application is closed or enters the background.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the application loading optimization method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the application loading optimization method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An application load optimization method, comprising:
receiving a first input to a target application;
responding to the first input, starting the target application, and playing a first multimedia file in the starting and loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
2. The application loading optimization method according to claim 1, wherein playing the first multimedia file during the launch and loading of the target application comprises:
loading the target application in a first display area, and playing the first multimedia file in a second display area;
the first display area is a hidden area, and the second display area is a visual area.
3. The application loading optimization method according to claim 1, further comprising, after playing the first multimedia file during the launch and loading of the target application:
under the condition that the target application is loaded and the first multimedia file is a screen recording file, stopping playing the first multimedia file, and displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
and under the condition that the target application is loaded and the first multimedia file is an audio and video cache file, displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded.
4. The application load optimization method of claim 1, wherein prior to receiving the first input to the target application, further comprising:
before the target application is closed or enters a background, recording a screen for a first preset time length in the process of operating the target application by a user to obtain a screen recording file, and storing the screen recording file and an access path corresponding to an interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
before the target application is closed or enters a background, carrying out data caching for a second preset duration from the current playing position to the audio and video file which is being played on the interface opened by the user when the user uses the target application for the last time, obtaining the audio and video cache file, and storing the audio and video cache file and an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
5. The application load optimization method of claim 4, further comprising:
and associating the first multimedia file with the user under the condition that the target application is closed or enters the background.
6. An application load optimization device, comprising:
a receiving unit for receiving a first input to a target application;
the loading unit is used for responding to the first input, starting the target application and playing a first multimedia file in the starting and loading process of the target application;
the first multimedia file is a screen recording file or an audio/video cache file obtained according to the use condition of the target application by the user.
7. The application loading optimization device of claim 6, wherein playing the first multimedia file during the launch of the target application comprises:
loading the target application in a first display area, and playing the first multimedia file in a second display area;
the first display area is a hidden area, and the second display area is a visual area.
8. The application load optimization device of claim 6, further comprising: a display unit for:
under the condition that the target application is loaded and the first multimedia file is a screen recording file, stopping playing the first multimedia file, and displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
and under the condition that the target application is loaded and the first multimedia file is an audio and video cache file, displaying the interface according to an access path corresponding to the interface opened when the user uses the target application for the last time, and continuously playing the first multimedia file on the interface based on the playing progress of the first multimedia file when the target application is loaded.
9. The application load optimization device of claim 6, further comprising: a storage unit to:
before the target application is closed or enters a background, recording a screen for a first preset time length in the process of operating the target application by a user to obtain a screen recording file, and storing the screen recording file and an access path corresponding to an interface opened when the user uses the target application for the last time; alternatively, the first and second electrodes may be,
before the target application is closed or enters a background, carrying out data caching for a second preset duration from the current playing position to the audio and video file which is being played on the interface opened by the user when the user uses the target application for the last time, obtaining the audio and video cache file, and storing the audio and video cache file and an access path corresponding to the interface opened by the user when the user uses the target application for the last time.
10. The application load optimization device of claim 9, wherein the storage unit is further configured to:
and associating the first multimedia file with the user under the condition that the target application is closed or enters the background.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the application load optimization method according to any one of claims 1 to 5.
CN202110738001.6A 2021-06-30 2021-06-30 Application loading optimization method and device and electronic equipment Active CN113296849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110738001.6A CN113296849B (en) 2021-06-30 2021-06-30 Application loading optimization method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110738001.6A CN113296849B (en) 2021-06-30 2021-06-30 Application loading optimization method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113296849A true CN113296849A (en) 2021-08-24
CN113296849B CN113296849B (en) 2023-04-14

Family

ID=77330207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110738001.6A Active CN113296849B (en) 2021-06-30 2021-06-30 Application loading optimization method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113296849B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3131266A1 (en) * 2015-08-13 2017-02-15 Xiaomi Inc. Method and apparatus for presenting multimedia information
CN108566561A (en) * 2018-04-18 2018-09-21 腾讯科技(深圳)有限公司 Video broadcasting method, device and storage medium
CN111240635A (en) * 2020-01-08 2020-06-05 北京松果电子有限公司 Information processing method, device, terminal, server and storage medium
CN112527171A (en) * 2020-12-14 2021-03-19 北京聪明核桃教育科技有限公司 Multimedia file playing method, device, equipment and medium
CN112887802A (en) * 2021-01-27 2021-06-01 维沃移动通信有限公司 Video access method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3131266A1 (en) * 2015-08-13 2017-02-15 Xiaomi Inc. Method and apparatus for presenting multimedia information
CN108566561A (en) * 2018-04-18 2018-09-21 腾讯科技(深圳)有限公司 Video broadcasting method, device and storage medium
CN111240635A (en) * 2020-01-08 2020-06-05 北京松果电子有限公司 Information processing method, device, terminal, server and storage medium
CN112527171A (en) * 2020-12-14 2021-03-19 北京聪明核桃教育科技有限公司 Multimedia file playing method, device, equipment and medium
CN112887802A (en) * 2021-01-27 2021-06-01 维沃移动通信有限公司 Video access method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蔡玮倩,孟丹,朱磊: "《信息化课堂教学与学生管理应用教程》", 31 January 2019, 陕西师范大学出版总社, pages: 71 - 76 *

Also Published As

Publication number Publication date
CN113296849B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
TWI656471B (en) Task management method, device and terminal device for multitasking interface
CN112887802A (en) Video access method and device
WO2023134642A1 (en) Message processing method, message processing apparatus, and electronic device
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN112783388B (en) Display method, display device and electronic equipment
CN112711368B (en) Operation guidance method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN112799622A (en) Application control method and device and electronic equipment
CN113296849B (en) Application loading optimization method and device and electronic equipment
WO2023030234A1 (en) Video processing method and apparatus
CN114374663B (en) Message processing method and message processing device
CN113709300B (en) Display method and device
CN115550741A (en) Video management method and device, electronic equipment and readable storage medium
CN113778596A (en) Remote assistance method and device and electronic equipment
CN113849721A (en) Buffer processing method and device
CN113807831A (en) Payment method and device
CN113282830A (en) Display method and display device
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN112765508A (en) Information display method and device and electronic equipment
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN112399238A (en) Video playing method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN112578966B (en) Application program switching method and device and electronic equipment
CN113805756A (en) Interface display method and device, electronic equipment and storage medium
CN113722036A (en) Application relay method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant