CN111124207B - Multimedia file playing method and electronic equipment - Google Patents

Multimedia file playing method and electronic equipment Download PDF

Info

Publication number
CN111124207B
CN111124207B CN201911337090.2A CN201911337090A CN111124207B CN 111124207 B CN111124207 B CN 111124207B CN 201911337090 A CN201911337090 A CN 201911337090A CN 111124207 B CN111124207 B CN 111124207B
Authority
CN
China
Prior art keywords
multimedia file
playing
shortcut icon
playing progress
video
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
CN201911337090.2A
Other languages
Chinese (zh)
Other versions
CN111124207A (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 Co Ltd
Original Assignee
Vivo Mobile Communication 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 Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911337090.2A priority Critical patent/CN111124207B/en
Publication of CN111124207A publication Critical patent/CN111124207A/en
Application granted granted Critical
Publication of CN111124207B publication Critical patent/CN111124207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/489Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using time information

Abstract

The invention provides a multimedia file playing method and electronic equipment, wherein the method comprises the following steps: displaying a shortcut icon, wherein the shortcut icon is associated with a multimedia file and the playing progress of the multimedia file; and if a first input aiming at the shortcut icon is received, playing the multimedia file according to the playing progress. According to the embodiment of the invention, the same multimedia file can be viewed in a plurality of fragmentary time based on the multimedia file associated with the shortcut icon, and the multimedia file is continuously viewed according to the previous playing progress of the multimedia file based on the playing progress associated with the shortcut icon, so that the operation of a user is simplified, the time of the user is saved, and the time utilization rate of the user is improved.

Description

Multimedia file playing method and electronic equipment
Technical Field
The present invention relates to the field of multimedia technologies, and in particular, to a multimedia file playing method and an electronic device.
Background
With the popularization of mobile phones in the life of people and the acceleration of the life rhythm of people, many users like to watch multimedia files such as drama chasing, movie watching, live video and the like in a piecemeal time.
However, if the user views the same multimedia file in a plurality of fragmentary time and needs to continue to view the same file according to the previous schedule, the user needs to open the related software of the multimedia file first, find the corresponding viewing record in the history record, and then click to view the multimedia file; thus, the operation is very cumbersome and time consuming.
Disclosure of Invention
The embodiment of the invention provides a multimedia file playing method and electronic equipment, which can solve the problems of very complicated operation and time consumption in the prior art.
In a first aspect, an embodiment of the present invention provides a multimedia file playing method, applied to an electronic device, including:
displaying a shortcut icon, wherein the shortcut icon is associated with a multimedia file and the playing progress of the multimedia file;
and if a first input aiming at the shortcut icon is received, playing the multimedia file according to the playing progress.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the display module is used for displaying shortcut icons, wherein the shortcut icons are associated with multimedia files and the playing progress of the multimedia files;
and the first playing module is used for playing the multimedia file according to the playing progress if a first input aiming at the shortcut icon is received.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the above-mentioned multimedia file playing method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned multimedia file playing method.
In the embodiment of the invention, the multimedia file and the playing progress of the multimedia file are associated on the shortcut icon by displaying the shortcut icon, so that the multimedia file can be played according to the playing progress associated with the shortcut icon under the condition of receiving the first input aiming at the shortcut icon. Therefore, a user can watch the same multimedia file in a plurality of fragmentary time based on the multimedia file associated with the shortcut icon only by operating the shortcut icon, and continuously watch the multimedia file according to the previous playing progress of the multimedia file based on the playing progress associated with the shortcut icon, so that the operation of the user is simplified, the time of the user is saved, and the time utilization rate of the user is improved.
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 of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a multimedia file playing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of the mobile terminal creating or updating a shortcut icon;
FIG. 3 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a second block diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a third block diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments 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.
Referring to fig. 1, fig. 1 is a flowchart of a multimedia file playing method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, displaying a shortcut icon, wherein the shortcut icon is associated with a multimedia file and the playing progress of the multimedia file;
the multimedia file playing method provided by the embodiment of the invention is mainly applied to electronic equipment, and the electronic equipment can be a mobile terminal and is used for playing the multimedia file associated with the shortcut icon according to the playing progress associated with the shortcut icon under the condition that a first input aiming at the shortcut icon is received. Therefore, if a user needs to watch the same multimedia file in a plurality of fragmented time and needs to continue watching the same file according to the previous schedule, the purposes of simplifying user operation, saving user time and improving the utilization rate of the user time can be achieved in the application scene.
In this step, the playing progress of the multimedia file associated with the shortcut icon is the playing time of the multimedia file when the multimedia file is last quitted from playing. The multimedia file associated with the shortcut icon may be a video, an audio, an electronic book, and the like, and in the following embodiment, the multimedia file will be described in detail by taking the video as an example.
Correspondingly, the shortcut icon is associated with a video and the playing progress of the video. The video can be sourced from video software, and the video software can be roughly divided into two types according to the difference of video real-time performance, wherein the first type is non-real-time video software which can generally cache video content; the second is real-time video software, such as live video software, which typically does not store video content.
After the shortcut icon is successfully created, the shortcut icon may be displayed at a preset position of the mobile terminal. The preset position may be any position, but in order to facilitate a user to quickly find a video entry, preferably, the mobile terminal may display a shortcut icon on a desktop. In addition, due to the fact that the number of the shortcut icons displayed by the mobile terminal is large, the shortcut icons can be uniformly displayed in a folder of the desktop, and therefore the desktop can be guaranteed to be clean.
The shortcut icon may include at least one of the following elements:
presetting an image;
presetting characters;
the color is preset.
Moreover, the elements contained in the shortcut icon preferably can identify the associated video, so that the user can conveniently find the shortcut icon corresponding to the video which the user wants to continuously watch from the plurality of shortcut icons. In an alternative embodiment, for a video on the non-real-time video software, an image of a video cover can be displayed on the shortcut icon, and for a video on the real-time video software, such as a live video, a live image can be displayed on the shortcut icon.
In addition, the playing progress of the video can be displayed on the shortcut icon in a progress bar mode so as to remind a user of the watching progress of the video. Meanwhile, the shape and size of the shortcut icon can be consistent with those of icons of other application programs, the shape and size of the shortcut icon can be displayed according to setting parameters of a user, and the shape and size of the shortcut icon can be automatically adjusted based on the space size of the desktop of the mobile terminal, and are not specifically limited.
And 102, if a first input aiming at the shortcut icon is received, playing the multimedia file according to the playing progress.
The first input may be a voice input, a somatosensory input, or a touch input. Wherein the touch input may include: click operation, double-click operation, multi-click operation, long-press operation, slide operation, and the like. In the following embodiments, the first input will be described by taking a click operation as an example.
The mobile terminal monitors click operation aiming at the shortcut icon in real time, and under the condition that the click operation aiming at the shortcut icon is received, the video related to the shortcut icon is played according to the playing progress related to the shortcut icon in response to the click operation, namely, after the user clicks the shortcut icon, the mobile terminal can display a playing interface, and the playing interface starts to play the video related to the shortcut icon at the playing progress related to the shortcut icon.
In the embodiment of the invention, the multimedia file and the playing progress of the multimedia file are associated on the shortcut icon by displaying the shortcut icon, so that the multimedia file can be played according to the playing progress associated with the shortcut icon under the condition of receiving the first input aiming at the shortcut icon. Therefore, a user can watch the same multimedia file in a plurality of fragmentary time based on the multimedia file associated with the shortcut icon only by operating the shortcut icon, and continuously watch the multimedia file according to the previous playing progress of the multimedia file based on the playing progress associated with the shortcut icon, so that the operation of the user is simplified, the time of the user is saved, and the time utilization rate of the user is improved.
Further, based on the first embodiment, the step 102 specifically includes:
and playing the locally stored multimedia file according to the playing progress, wherein the locally stored multimedia file is a multimedia file which is cached or downloaded to the local by taking the playing progress as a starting point.
In this embodiment, the locally stored video is that the video is cached or downloaded to the local area when the video is last played back, and may be understood as a segment of the video. For a non-real-time video, since the video software has a cache function, under the condition that the video is played last time quit, the target segment of the video can be cached in a buffer area or downloaded to a hard disk according to different storage positions, and for a real-time video, under the condition that the video is played last time quit, the target segment of the video is downloaded to the hard disk. The target clip is a video clip which takes the playing progress of the video when the video is played back last time as a starting point.
The duration of the target segment may be a buffering duration or a downloading duration set or preset by a user when the target segment is last played back. If the buffering duration or the downloading duration set or preset by the user is 0, the video is not buffered or downloaded at the background when the video is quitted from playing for the last time, so that the video can be continuously watched according to the playing progress under the network condition under the condition that the first input aiming at the shortcut icon is received.
In the implementation process, the mobile terminal can associate the shortcut icon with the storage path of the target segment, and when a first input aiming at the shortcut icon is received, the mobile terminal can link the storage path of the target segment based on the shortcut icon and play the target segment stored in the storage path, so that when the first input aiming at the shortcut icon is received, the video can be played according to the playing progress of the video when the video is recently played.
In the embodiment, the locally stored video is played according to the playing progress when the video is quitted to be played for the last time, so that the situation of advertisement insertion when the video is played under the network condition can be avoided, a user does not need to watch the advertisement when watching the video, the time of the user is further saved, and the utilization rate of the time of the user is improved.
Before displaying the shortcut icon, the mobile terminal needs to create or update the shortcut icon, and the process of creating and updating the shortcut icon will be described in detail below.
Referring to fig. 2, fig. 2 is a flowchart illustrating the mobile terminal creating or updating a shortcut icon, as shown in fig. 2, including the following steps:
step 201, playing the multimedia file;
step 202, recording the playing progress of the multimedia file under the condition that the multimedia file exits playing;
step 203, if the shortcut icon is not created, creating the shortcut icon, and associating the shortcut icon with the multimedia file and the playing progress;
and 204, if the shortcut icon is created, updating the playing progress associated with the shortcut icon according to the playing progress.
Still taking the video as an example, in step 201, there are two main video playing modes, the first playing mode is to open video software to play the video, and the second mode is to play the video by using the shortcut icon created before the touch input.
In steps 202 to 204, for the first playing mode, if the user likes but cannot see the first playing mode within the current time, the user may interact with the mobile terminal through the second input to trigger the creation function of the shortcut icon when the user wants to continue to watch the next time following the current playing schedule. The second input may be a voice input, may also be a somatosensory input, and may also be a touch input, where the somatosensory input may include a gesture operation, a face recognition operation, and the like, and the touch input may include: click operation, double-click operation, multi-click operation, long-press operation, slide operation, and the like. In the following embodiments, the second input will be described by taking a long press operation as an example.
Correspondingly, the mobile terminal can create the shortcut icon of the video on the desktop when receiving the long-press operation aiming at the video. Of course, if the mobile terminal detects that the shortcut icon of the video is created, the creation of the shortcut icon of the video is not continued.
When creating the shortcut icon, options are provided to allow the user to set up to meet the personal preferences of different users. In an alternative embodiment, the mobile terminal may display an interactive interface, which may include a plurality of option buttons for the user to set. In another alternative embodiment, the mobile terminal may hover the option button on the play interface.
Specifically, the following option buttons may be included:
1) the buffer duration.
The option is to buffer the video to the local for a certain time after exiting the video software, so that the user can watch the video quickly and continuously based on the playing progress without being influenced by network conditions when watching the video next time. If the buffering duration is set to 0, namely the video is not buffered in the background when exiting, the video must be continuously watched based on the playing progress under the network condition when watching the video next time.
For real-time video, this option may not be set.
2) The duration of the download.
This option is mainly to the live video on the real-time video, for example live video on the live broadcast of fighting a fish, live broadcast of tremble etc. user when watching the live video, because some reasons need interrupt watching, if the user opens "download after withdrawing" option, mobile terminal can be after withdrawing video software, the video of automatic download certain duration to local, its purpose is in order to make the user can continue to watch this live video based on the broadcast progress next time.
Preferably, in order to save the memory or hard disk space of the mobile terminal, the mobile terminal may automatically delete the videos cached or downloaded to the local after the videos are viewed.
3) And (6) shortcut icon classification options.
Since the number of shortcut icons may be large, the created shortcut icons may be managed based on the option, and the option may provide option settings for the shortcut icons to be classified according to video software, classified according to date, and the like.
4) And deleting the shortcut icon.
Because the number of shortcut icons may be large, and the created shortcut icons need to be deleted after the videos associated with the shortcut icons are viewed or when the user does not want to continue to watch the videos associated with the shortcut icons, the created shortcut icons can be automatically deleted based on the option, and the option can provide option settings such as manual deletion, timed deletion, and non-click deletion for a certain time.
In addition, when a user triggers the creation function of the shortcut icon, the option setting triggering timing can be customized for each video in the application scene; before the shortcut icon is created, unified setting can be performed on the creating function in the mobile terminal setting list.
It should be noted that, the timing when the user triggers the creation function of the shortcut icon may be before the video exits from playing, at this time, the shortcut icon is created, and the shortcut icon is associated with the video and the playing progress of the video, where the associated playing progress is the playing progress of the video during creation, and when the video exits from playing, the playing progress of the video is re-recorded, and the playing progress associated with the shortcut icon is updated according to the re-recorded playing record. The time when the user triggers the creation function of the shortcut icon may also be when the video exits playing, at this time, the playing progress of the video is recorded, the shortcut icon is created, and the shortcut icon is associated with the video and the playing progress of the video.
And aiming at the second playing mode, recording the playing progress of the video under the condition that the video quits playing, and directly updating the playing progress associated with the shortcut icon according to the recorded playing progress.
In the above description, the process of actively creating or updating the shortcut icon by the user is described in detail, and if the user forgets to create the shortcut icon for the viewed video before or when the video exits from playing, further, before step 203, the method further includes:
acquiring a shortcut icon creation record and a multimedia file viewing record of the mobile terminal;
counting the types of multimedia files related to the shortcut image created by the mobile terminal based on the shortcut icon creation record to obtain a created portrait of the mobile terminal for the shortcut icon of the multimedia file; counting the types of the multimedia files watched by the user corresponding to the mobile terminal based on the multimedia file watching records to obtain the user portrait of the multimedia files watched by the user;
constructing a probability prediction model for creating shortcut icons of multimedia files based on the created portrait and the user portrait; the probability prediction model is used for representing the creation probability of shortcut icons of multimedia files;
determining the creation probability of the currently viewed multimedia file according to the probability prediction model based on the type of the currently viewed multimedia file;
and if the creation probability of the currently viewed multimedia file is greater than a preset threshold value, executing the steps of creating the shortcut icon, associating the shortcut icon with the multimedia file and associating the playing progress.
Specifically, the multimedia file still takes the video as an example, and under the condition that the currently viewed video exits playing, if the mobile terminal does not receive the second input of the user for creating the shortcut icon for the video, in such a scene, the mobile terminal may obtain the shortcut icon creation record and the multimedia file viewing record of the mobile terminal.
The shortcut icon creation record may include a plurality of history records, each history record including information related to the shortcut icon created by the mobile terminal, for example, a video type associated with the created shortcut icon. The multimedia file viewing record may also include a plurality of history records, each history record including information related to a video viewed by the mobile terminal corresponding to the user, such as a type of the viewed video.
And counting the types of videos related to the shortcut images created by the mobile terminal based on the shortcut icon creation records to obtain the created portrait of the mobile terminal for the video shortcut icons. The creation portrait is characteristic information of a shortcut icon created by the mobile terminal, for example, if more than 10 video records of the type "science fiction" associated with the created shortcut icon are obtained based on the shortcut icon creation record statistics and account for 80% of the total history, it indicates that the mobile terminal is mainly biased to create the shortcut icon of the type "science fiction" video.
And counting the types of the videos watched by the user corresponding to the mobile terminal based on the multimedia file watching records to obtain the user portrait of the videos watched by the user. For example, if more than 100 video records of which the watching type of the user is 'say' are obtained based on the multimedia file watching record statistics and account for 60% of the total history records, it indicates that the user likes the video of which the watching type is 'say'.
And constructing a probability prediction model for creating the shortcut icon of the video based on the created portrait and the user portrait. Specifically, a weight factor for creating the portrait and a weight factor for the user portrait may be set, the probabilistic predictive model may be constructed, the weight factor for creating the portrait may be represented by a, the weight factor for the user portrait may be represented by b, and the probabilistic predictive model may be represented by the following equation (1):
P=aX+bY (1)
in the above formula, X represents the probability of creating a video of a certain type in the representation to construct the shortcut icon, and Y represents the probability of the user viewing the video of the certain type in the user representation.
For example, if the type of the currently viewed video is "science fiction", the probability that the mobile terminal statistically obtains the shortcut icon for the video of the type created in the history is 80%, and the probability that the mobile terminal corresponding to the user views the video of the type is 30%, the weighting factor a is set to 0.5, and the weighting factor b is set to 0.5, then the creation probability for the currently viewed video is calculated to be 55%. If the preset threshold value can be set to be 50%, the creation probability is greater than the preset threshold value, at this time, the shortcut icon is created, and the shortcut icon is associated with the multimedia file and the playing progress.
Therefore, the mobile terminal can automatically create the shortcut icon of the video in the scene that the user forgets to create the shortcut icon when watching the video, so that the user experience can be improved.
In addition, the mobile terminal can also automatically create the shortcut icon of the video by referring to the creation heat of other mobile terminals to the shortcut icon of the currently viewed video. For example, if a shortcut icon is created for the video by other mobile terminals, the creation popularity of the video is very high, and therefore, the mobile terminal automatically creates the shortcut icon for the video based on the parameter related to the creation popularity of the video. Therefore, the shortcut icon of the video can be automatically created in the scene that the user forgets to create the shortcut icon when watching the video, and the user experience is improved.
In another application scenario, the exiting of the playing of the video may not be a user initiative, that is, the mobile terminal is not forced to exit the playing of the video upon receiving an interactive instruction of the user for the exit button, but is forced to exit the playing of the video in an emergency, for example, in the case that the mobile terminal establishes a communication event, the playing of the video is exited for running the communication event.
Further, based on the embodiment shown in fig. 2, after step 201, the method further includes:
if the electronic equipment establishes a communication event, identifying the communication content of the communication event, wherein the multimedia file quitting playing is quitting when the communication event is established or after the communication event is established;
if the communication content comprises preset content, detecting the position information of the electronic equipment or an application program started by the electronic equipment;
if the distance between the position information and the preset position information is larger than the preset distance, or the application program is the preset application program, the steps of creating the shortcut icon if the shortcut icon is not created, associating the shortcut icon with the multimedia file and the playing progress are executed, or the step of updating the playing progress associated with the shortcut icon according to the playing progress if the shortcut icon is created is executed.
Specifically, when a user watches a video by using a mobile terminal, if the mobile terminal receives a communication event and receives a setup instruction based on the communication event, the communication event is setup, and communication content of the communication event is identified. At this time, the video may already quit playing when the communication event is established or after the communication event is established, and in the case of quitting playing, the video and the playing progress of the video are recorded.
If the communication content includes preset content, for example, preset content including work items, going-out items, etc., the location information of the mobile terminal or an application program started by the mobile terminal is detected to verify whether a user of the mobile terminal goes out or whether the user enters a work state.
If the distance between the location information and preset location information is greater than a preset distance, verifying that the user of the mobile terminal is out, where the preset location information may be location information where the user of the mobile terminal is usually located when the video is played, for example, the preset location information may include an office or a home; or if the application program is a preset application program, for example, the preset application program may include work-related application programs such as word and WeChat or other interactive application programs, creating the shortcut icon based on the recorded video and the playing progress of the video when the shortcut icon is not created, or updating the playing progress associated with the shortcut icon based on the recorded video and the playing progress of the video when the shortcut icon is created.
Therefore, in the scene that the video quits playing passively, the mobile terminal can automatically create or update the shortcut icon of the video, and the user experience is further improved.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
The electronic device provided by the embodiment of the invention is explained in detail below.
Referring to fig. 3, fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device 300 includes:
the display module 301 is configured to display a shortcut icon, where the shortcut icon is associated with a multimedia file and a playing progress of the multimedia file;
a first playing module 302, configured to play the multimedia file according to the playing progress if a first input for the shortcut icon is received.
Optionally, the first playing module 302 is specifically configured to play the locally stored multimedia file according to the playing progress, where the locally stored multimedia file is a multimedia file that is cached or downloaded to a local location with the playing progress as a starting point.
Optionally, referring to fig. 4, fig. 4 is a second structural diagram of the electronic device according to the embodiment of the present invention, and as shown in fig. 4, the electronic device further includes:
a second playing module 303, configured to play the multimedia file;
a recording module 304, configured to record the playing progress of the multimedia file when the multimedia file exits playing;
a creating module 305, configured to create the shortcut icon if the shortcut icon is not created, and associate the shortcut icon with the multimedia file and the playing progress;
an updating module 306, configured to update the play progress associated with the shortcut icon according to the play progress if the shortcut icon is created.
Optionally, referring to fig. 5, fig. 5 is a third structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device further includes:
an identifying module 307, configured to identify communication content of a communication event if the electronic device establishes the communication event, where the multimedia file quitting playing is when the communication event is established or quitting after the communication event is established;
a detecting module 308, configured to detect location information of the electronic device or an application started by the electronic device if the communication content includes preset content;
a triggering module 309, configured to trigger the creating module 305 or the updating module 306 if a distance between the location information and preset location information is greater than a preset distance, or the application is a preset application.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The electronic device may be a mobile terminal, and fig. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 610 is configured to:
displaying a shortcut icon, wherein the shortcut icon is associated with a multimedia file and the playing progress of the multimedia file;
and if a first input aiming at the shortcut icon is received, playing the multimedia file according to the playing progress.
Optionally, the processor 610 is specifically configured to:
and playing the locally stored multimedia file according to the playing progress, wherein the locally stored multimedia file is a multimedia file which is cached or downloaded to the local by taking the playing progress as a starting point.
Optionally, the processor 610 is further configured to:
playing the multimedia file;
recording the playing progress of the multimedia file under the condition that the multimedia file exits playing;
if the shortcut icon is not created, creating the shortcut icon, and associating the shortcut icon with the multimedia file and the playing progress;
and if the shortcut icon is created, updating the playing progress associated with the shortcut icon according to the playing progress.
Optionally, the processor 610 is further configured to:
if the electronic equipment establishes a communication event, identifying the communication content of the communication event, wherein the multimedia file quitting playing is quitting when the communication event is established or after the communication event is established;
if the communication content comprises preset content, detecting the position information of the electronic equipment or an application program started by the electronic equipment;
if the distance between the position information and the preset position information is larger than the preset distance, or the application program is the preset application program, the steps of creating the shortcut icon if the shortcut icon is not created, associating the shortcut icon with the multimedia file and the playing progress are executed, or the step of updating the playing progress associated with the shortcut icon according to the playing progress if the shortcut icon is created is executed.
In the embodiment of the invention, the multimedia file and the playing progress of the multimedia file are associated on the shortcut icon by displaying the shortcut icon, so that the multimedia file can be played according to the playing progress associated with the shortcut icon under the condition of receiving the first input aiming at the shortcut icon. Therefore, a user can watch the same multimedia file in a plurality of fragmentary time based on the multimedia file associated with the shortcut icon only by operating the shortcut icon, and continuously watch the multimedia file according to the previous playing progress of the multimedia file based on the playing progress associated with the shortcut icon, so that the operation of the user is simplified, the time of the user is saved, and the time utilization rate of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may also include a power supply 611 (e.g., a battery) for powering the various components, and the power supply 611 may be logically connected to the processor 610 through a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the foregoing multimedia file playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned multimedia file playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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 is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. 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 be in an electrical, mechanical or other form.
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 functions, if implemented in the form of software functional units 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 may be embodied in the form of a software product, which is stored in a storage medium and includes 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A multimedia file playing method is applied to electronic equipment and is characterized by comprising the following steps:
displaying a shortcut icon, wherein the shortcut icon is associated with a multimedia file and the playing progress of the multimedia file;
if a first input aiming at the shortcut icon is received, playing the multimedia file according to the playing progress;
before the displaying the shortcut icon, the method further includes:
playing the multimedia file;
recording the playing progress of the multimedia file under the condition that the multimedia file exits playing;
if the shortcut icon is not created, creating the shortcut icon, and associating the shortcut icon with the multimedia file and the playing progress;
if the shortcut icon is created, updating the playing progress associated with the shortcut icon according to the playing progress;
after the playing the multimedia file, the method further comprises:
if the electronic equipment establishes a communication event, identifying the communication content of the communication event, wherein the multimedia file quitting playing is quitting when the communication event is established or after the communication event is established;
if the communication content comprises preset content, detecting the position information of the electronic equipment or an application program started by the electronic equipment;
if the distance between the position information and the preset position information is larger than the preset distance, or the application program is the preset application program, the steps of creating the shortcut icon if the shortcut icon is not created, associating the shortcut icon with the multimedia file and the playing progress are executed, or the step of updating the playing progress associated with the shortcut icon according to the playing progress if the shortcut icon is created is executed.
2. The method of claim 1, wherein said playing said multimedia file according to said playing schedule comprises:
and playing the locally stored multimedia file according to the playing progress, wherein the locally stored multimedia file is a multimedia file which is cached or downloaded to the local by taking the playing progress as a starting point.
3. An electronic device, comprising:
the display module is used for displaying shortcut icons, wherein the shortcut icons are associated with multimedia files and the playing progress of the multimedia files;
the first playing module is used for playing the multimedia file according to the playing progress if a first input aiming at the shortcut icon is received;
the electronic device further includes:
the second playing module is used for playing the multimedia file;
the recording module is used for recording the playing progress of the multimedia file under the condition that the multimedia file exits playing;
the creating module is used for creating the shortcut icon if the shortcut icon is not created, and associating the shortcut icon with the multimedia file and the playing progress;
the updating module is used for updating the playing progress related to the shortcut icon according to the playing progress if the shortcut icon is created;
the identification module is used for identifying the communication content of the communication event if the electronic equipment establishes the communication event, wherein the multimedia file quitting playing is quitting when the communication event is established or quitting after the communication event is established;
the detection module is used for detecting the position information of the electronic equipment or an application program started by the electronic equipment if the communication content comprises preset content;
and the triggering module is used for triggering the creating module or the updating module if the distance between the position information and the preset position information is greater than a preset distance or the application program is a preset application program.
4. The electronic device according to claim 3, wherein the first playing module is specifically configured to play the locally stored multimedia file according to the playing progress, where the locally stored multimedia file is a multimedia file that is cached or downloaded to a local location with the playing progress as a starting point.
5. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the multimedia file playing method according to any one of claims 1 to 2.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the multimedia file playing method according to any one of claims 1 to 2.
CN201911337090.2A 2019-12-23 2019-12-23 Multimedia file playing method and electronic equipment Active CN111124207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911337090.2A CN111124207B (en) 2019-12-23 2019-12-23 Multimedia file playing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911337090.2A CN111124207B (en) 2019-12-23 2019-12-23 Multimedia file playing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111124207A CN111124207A (en) 2020-05-08
CN111124207B true CN111124207B (en) 2021-06-15

Family

ID=70501218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911337090.2A Active CN111124207B (en) 2019-12-23 2019-12-23 Multimedia file playing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111124207B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911401A (en) * 2021-01-19 2021-06-04 维沃移动通信有限公司 Video playing method and device
CN112887802A (en) * 2021-01-27 2021-06-01 维沃移动通信有限公司 Video access method and device
CN114003761A (en) * 2021-10-29 2022-02-01 深圳市兆驰股份有限公司 Video interaction method, device, system, equipment and computer readable storage medium
CN117519861A (en) * 2022-07-30 2024-02-06 华为技术有限公司 Interface display method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313139A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 History display method and device and electronic device
CN103677516A (en) * 2013-11-27 2014-03-26 青岛海信电器股份有限公司 Interface generating method and device of terminal
CN105100912A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Streaming media processing method and streaming media processing apparatus
CN105511888A (en) * 2015-12-31 2016-04-20 魅族科技(中国)有限公司 Method and terminal for presenting file icon
CN105872802A (en) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100000336A (en) * 2008-06-24 2010-01-06 삼성전자주식회사 Apparatus and method for processing multimedia contents
CN102905181B (en) * 2012-10-12 2015-10-21 北京奇艺世纪科技有限公司 A kind of methods, devices and systems realizing the online displaying video of mobile terminal
CN105224178A (en) * 2015-09-30 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110149540B (en) * 2018-04-27 2021-08-24 腾讯科技(深圳)有限公司 Recommendation processing method and device for multimedia resources, terminal and readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313139A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 History display method and device and electronic device
CN103677516A (en) * 2013-11-27 2014-03-26 青岛海信电器股份有限公司 Interface generating method and device of terminal
CN105100912A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Streaming media processing method and streaming media processing apparatus
CN105872802A (en) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN105511888A (en) * 2015-12-31 2016-04-20 魅族科技(中国)有限公司 Method and terminal for presenting file icon

Also Published As

Publication number Publication date
CN111124207A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111124207B (en) Multimedia file playing method and electronic equipment
CN109597556B (en) Screen capturing method and terminal
CN108737904B (en) Video data processing method and mobile terminal
CN109525874B (en) Screen capturing method and terminal equipment
CN113360238A (en) Message processing method and device, electronic equipment and storage medium
CN110784771B (en) Video sharing method and electronic equipment
CN111666009B (en) Interface display method and electronic equipment
CN108174103B (en) Shooting prompting method and mobile terminal
CN108710458B (en) Split screen control method and terminal equipment
CN108616771B (en) Video playing method and mobile terminal
CN110602565A (en) Image processing method and electronic equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN111147779B (en) Video production method, electronic device, and medium
CN111669664B (en) Video playing method, video playing device, electronic equipment and storage medium
CN110062273B (en) Screenshot method and mobile terminal
CN110366027B (en) Video management method and terminal equipment
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN110855921B (en) Video recording control method and electronic equipment
CN110719527A (en) Video processing method, electronic equipment and mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN111770374B (en) Video playing method and device
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN110769303A (en) Playing control method and device and mobile terminal
EP4160364A1 (en) Method, device, and equipment for switching text language types, and storage medium
CN110099170B (en) Picture deleting method and 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
GR01 Patent grant
GR01 Patent grant