CN107231465B - File playing method and device - Google Patents

File playing method and device Download PDF

Info

Publication number
CN107231465B
CN107231465B CN201610173536.2A CN201610173536A CN107231465B CN 107231465 B CN107231465 B CN 107231465B CN 201610173536 A CN201610173536 A CN 201610173536A CN 107231465 B CN107231465 B CN 107231465B
Authority
CN
China
Prior art keywords
file
application
playing
played
files
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
CN201610173536.2A
Other languages
Chinese (zh)
Other versions
CN107231465A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610173536.2A priority Critical patent/CN107231465B/en
Priority to TW106105131A priority patent/TW201737716A/en
Priority to PCT/CN2017/076422 priority patent/WO2017162062A1/en
Publication of CN107231465A publication Critical patent/CN107231465A/en
Application granted granted Critical
Publication of CN107231465B publication Critical patent/CN107231465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of computers, in particular to a file playing method and device, which are used for solving the problems that when a user needs to play files under multiple applications, the user needs to manually switch an APP to initiate a playing request for multiple times, and a mobile terminal needs to respond to the playing request of the user for multiple times, so that system resources are wasted, and playing efficiency is low. The file playing method provided by the embodiment of the application comprises the following steps: receiving a playing request for playing a first file initiated by a user in a first playing mode, and playing the first file; the first playing mode is a playing mode which allows switching among a plurality of first applications; when a next first file needs to be played, determining an application for playing the next first file and the next first file in the plurality of first applications according to the first playing mode; playing the determined next first file using the determined application.

Description

File playing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a file playing method and apparatus.
Background
At present, more and more users prefer to download audio/video files using Applications (APPs) installed on mobile terminals or to directly play audio/video files online using APPs. Due to the problem of video copyright, different video files which can be downloaded or played online by different APPs are different, so that sometimes a user needs to use different APPs to download or collect all favorite video files.
Because the audio-visual APP of the self-carrying of the IOS equipment does not support other APPs to download the local audio-visual files, and no APP can read all the audio-visual APPs to download the local audio-visual files in the IOS equipment, after the user downloads the audio-visual files by using different APPs, the audio-visual files downloaded by the user still need to be played by using different APPs, unless the files are downloaded at a Personal Computer (PC) end and then transmitted to a mobile phone, but the mode of downloading and transmitting the files at the PC end to the mobile phone is complex in operation on one hand, and on the other hand, the audio quality of the original version audio-visual files cannot be guaranteed.
It is thus clear that because can't use same APP to read the audio-visual file of all audio-visual APP downloads or collections, the user can only open an APP and play after having played the audio-visual file that this APP is relevant when needing to play the audio-visual file that a plurality of APPs downloaded or collections, and then manually open next APP and play. Accordingly, the mobile terminal needs to receive the play request initiated by the user for many times and respond, which not only wastes system resources, but also reduces play efficiency.
Disclosure of Invention
The embodiment of the application provides a file playing method and device, and is used for solving the problems that when a user needs to play files under multiple applications, the user needs to manually switch an APP to initiate a playing request for multiple times, and a mobile terminal needs to respond to the playing request of the user for multiple times, so that system resources are wasted, and playing efficiency is low.
An embodiment of the present application provides a file playing method, including:
receiving a playing request for playing a first file initiated by a user in a first playing mode, and playing the first file; the first playing mode is a playing mode which allows switching among a plurality of first applications; the first file comprises an audio file, a video file or a video file; the first application is an application with a playing function and is used for playing the first file;
when a next first file needs to be played, determining an application for playing the next first file and the next first file in the plurality of first applications according to the first playing mode;
playing the determined next first file using the determined application.
Optionally, the method further comprises:
and setting the playing mode of the first file as the first playing mode.
Optionally, when a next first file needs to be played, determining, according to the first playing mode, an application playing the next first file and the next first file in the plurality of first applications, including:
when a next first file needs to be played, judging whether switching to a next application is needed;
if the next application needs to be switched to, determining the switched next application according to the first playing mode, and selecting the next first file from the first files to be played under the switched next application;
and if the next application does not need to be switched to, selecting the next first file from the first files to be played under the current application according to the first playing mode.
Optionally, the first playing mode includes a playing mode of loop playing;
if a switch to the next application is required, then
The determining of the next application after the handover includes: selecting a next application after switching from the plurality of first applications according to the set cyclic switching sequence among the plurality of first applications;
selecting the next first file from the switched first files to be played under the next application, including: selecting the next first file according to the circular switching sequence among the first files to be played under the next application after switching;
if no switch to the next application is required, then
Selecting the next first file from the first files to be played under the current application, wherein the selecting step comprises the following steps: and selecting the next first file according to the cyclic switching sequence among the first files to be played under the current application.
Optionally, the first playing mode includes a playing mode of sequential playing;
if a switch to the next application is required, then
The determining of the next application after the handover includes: according to the set switching sequence among the first applications, when the current application is determined not to be the last switched first application, selecting the next switched application from the first applications;
selecting the next first file from the switched first files to be played under the next application, including: selecting the next first file according to the switching sequence among the first files to be played under the next application after switching;
if no switch to the next application is required, then
Selecting the next first file from the first files under the current application, including: and selecting the next first file according to the switching sequence among the first files to be played under the current application.
Optionally, the first playing mode includes a random playing mode;
if a switch to the next application is required, then
The determining of the next application after the handover includes: randomly selecting a next application after switching among the plurality of first applications;
selecting the next first file from the switched first files to be played under the next application, including: randomly selecting the next first file from the first files to be played under the switched next application;
if no switch to the next application is required, then
Selecting the next first file from the first files to be played under the current application, wherein the selecting step comprises the following steps: and randomly selecting the next first file from the first files to be played under the current application.
Optionally, when a next first file needs to be played, determining, according to the first playing mode, an application playing the next first file and the next first file in the plurality of first applications, including:
when a next first file needs to be played, determining the next first file needing to be played according to the first playing mode;
and determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs as the application for playing the next first file.
Optionally, the first playing mode includes a playing mode of loop playing;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and selecting the next first file from the first files to be played according to the set circular switching sequence among the first files to be played under the plurality of first applications.
Optionally, the first playing mode includes a playing mode of sequential playing;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and according to the set switching sequence among the first files to be played under the plurality of first applications, when the first file played last time is determined not to be the last first file to be switched, selecting the next first file from the first files to be played.
Optionally, the first playing mode includes a random playing mode;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and randomly selecting the next first file from the first files to be played under the plurality of first applications.
An embodiment of the present application provides a file playing apparatus, including:
the receiving module is used for receiving a playing request for playing a first file initiated by a user in a first playing mode and playing the first file; the first playing mode is a playing mode which allows switching among a plurality of first applications; the first file comprises an audio file, a video file or a video file; the first application is an application with a playing function and is used for playing the first file;
a determining module, configured to determine, according to the first playing manner, an application for playing a next first file and a next first file in the plurality of first applications when the next first file needs to be played;
a playing module, configured to play the determined next first file by using the application determined by the determining module.
By adopting the embodiment of the application, when the user needs to play the first file under the multiple APPs, seamless switching between the multiple APPs can be automatically performed without manually switching the APPs by the user, and the mobile terminal also does not need to respond to the play request of the user for multiple times, so that system resources and the overall play time are saved, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a file playing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a seamless handover function added to a setup function of a system according to an embodiment of the present application;
fig. 3 is a schematic diagram of a seamless switching playlist according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a file playing apparatus according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
As shown in fig. 1, a flowchart of a file playing method provided in the embodiment of the present application includes the following steps:
s101: receiving a playing request for playing a first file initiated by a user in a first playing mode, and playing the first file; the first playing mode is a playing mode which allows switching among a plurality of first applications. Here, the first application is an application having a play function for playing the first file. The first file may comprise an audio file, a video file, or an audio-visual file, etc.
In this embodiment of the application, the first file under each application may be a first file downloaded locally by the application or a first file in an online playlist of the application.
In a specific implementation, the playing mode of the first file may be set as the first playing mode first. For example, a seamless handover function may be added to the system function of the mobile terminal. Taking the IOS device as an example, as shown in fig. 2, a "seamless switching" function may be added to the "setup" - "auxiliary function" - "interaction" of the IOS device, and the user may select to start the seamless switching function.
After the user selects to start the seamless switching function, the user can further select a plurality of applications to be switched under the function and a first file under each application. As shown in fig. 3, after the seamless switching function is started, a page of the seamless switching function is entered, and all APPs installed in the IOS device for playing the first file can be seen. The APP is capable of playing at least one of an audio file, a video file and a video file. In specific implementation, for the use habit of the user, the commonly used music APP (such as QQ music, shrimp music, etc.) can be separated from the commonly used film and television APP (such as music video, love art, etc.).
As shown in fig. 3, taking music APPs as an example, each APP has a corresponding switch button, and opening the switch button displays a playlist of the APP and a first file stored locally, so that a user can select the APP as needed.
In addition, the user may be provided with a function of selecting an opening order of the applications and a function of selecting a play order of the respective first files under each application. That is, the user can not only select the APP used for playing the first file and the first file played under each APP, but also adjust the sequence of starting each APP and the sequence of playing each first file under each APP. For example, the user may adjust the arrangement order of the APPs and the first file by dragging the identification information (including information such as names and icons) of each APP in the music playlist, and the identification information of the first file (which may be the identification information of the entire playlist, such as "i'm favorite" in fig. 3, or the identification information of a single file), so as to achieve the purpose of adjusting the opening order of the APPs and the playing order of the first file.
In a specific implementation, the first playing mode may include a playing mode such as a circular playing mode, a sequential playing mode, or a random playing mode, where the playing mode is used to instruct the mobile terminal how to switch between applications and switch the first file under the application.
In a specific implementation, a user may trigger a play request on the interface shown in fig. 3, as shown in fig. 3, there is a "play mode" option at the bottom of the playlist, the user may display the play mode options of "loop play" and "sequential play" after clicking, and after selecting the play mode, the user may click a "start play" button at the bottom, and at this time, the mobile terminal may perform switching between applications and switching between first files according to the play mode set by the user.
Or, after the user starts the seamless switching function, the mobile terminal may automatically play each first file selected by the user under the seamless switching function based on the playing mode switched among the plurality of applications after the user opens one first file using any one of the applications participating in the seamless switching function.
S102: and when the next first file needs to be played, determining the application for playing the next first file and the next first file in the plurality of first applications according to the first playing mode.
S103: playing the determined next first file using the determined application.
In S102, when the next first file needs to be played, an application for playing the next first file may be determined first, and then the first file that needs to be played under the application is determined, or the next first file that needs to be played may be determined first, and then the application for playing the first file is determined.
The first method is as follows: firstly, an application for playing a next first file is determined, and then the first file needing to be played under the application is determined.
Specifically, when a next first file needs to be played, whether switching to a next application is needed is judged; if the next application needs to be switched to, determining the switched next application according to the first playing mode, and selecting the next first file from the first files to be played under the switched next application; and if the next application does not need to be switched to, selecting the next first file from the first files to be played under the current application according to the first playing mode.
The description will be given by taking the playback modes as circular playback, sequential playback, or random playback, respectively.
The first method comprises the following steps: the play mode is a loop play.
If the switching to the next application is needed, selecting the switched next application from the plurality of first applications according to the set cyclic switching sequence among the plurality of first applications when the switched next application is determined; when a next first file is selected, selecting the next first file according to the cyclic switching sequence among the first files to be played under the next application after switching;
and if the next application does not need to be switched, selecting the next first file only, and selecting the next first file according to the circular switching sequence among the first files to be played under the current application.
Second, the play mode is sequential play.
If the switching to the next application is needed, selecting the switched next application from the plurality of first applications according to the set switching sequence among the plurality of first applications when the current application is determined not to be the last switched first application when the switched next application is determined; when a next first file is selected, selecting the next first file according to the switching sequence among the first files to be played under the next application after switching;
and if the switching to the next application is not needed, selecting the next first file only, and selecting the next first file according to the switching sequence among the first files to be played under the current application.
Thirdly, the playing mode is random playing;
if the switching to the next application is needed, randomly selecting the switched next application from the plurality of first applications when the switched next application is determined; when a next first file is selected, randomly selecting the next first file from the switched first files to be played under the next application;
if the switching to the next application is not needed, only the next first file needs to be randomly selected from the first files to be played under the current application.
The second method comprises the following steps: first, a next first file to be played is determined, and then an application for playing the first file is determined.
Specifically, when a next first file needs to be played, determining the next first file needing to be played according to the first playing mode; and determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs as the application for playing the next first file.
The description will be given by taking the playback modes as circular playback, sequential playback, or random playback, respectively.
The first method comprises the following steps: the play mode is a loop play.
And when determining a next first file to be played, selecting the next first file from the first files to be played according to the set circular switching sequence among the first files to be played under the plurality of first applications.
And the second method comprises the following steps: the play mode is sequential play.
And when determining that the next first file to be played needs to be played, selecting the next first file from the first files to be played when determining that the first file played last time is not the last first file to be switched according to the set switching sequence among the first files to be played under the plurality of first applications.
And the second method comprises the following steps: the playing mode is random playing;
and when determining a next first file to be played, randomly selecting the next first file from the first files to be played under the plurality of first applications.
Preferably, the play mode in the seamless handover function may include only two of the loop play and the sequential play, not the shuffle play. Because random playing needs to switch APP continuously, and energy consumption of the mobile phone is large, the playing mode is not recommended to be supported in practical implementation. In the circular playing mode, as long as the user does not confirm to stop playing, the first file selected by the user is played circularly all the time, and in the sequential playing mode, when the last first file under the last application is played, the playing is stopped automatically.
According to the embodiment of the application, after one APP is used for playing the first file under the APP, seamless switching can be performed to the next APP for playing, for example, after the shrimp music is started to play and the shrimp music is downloaded to the music locally or collected in the playlist, the shrimp music is automatically closed, and the QQ music is played to download the music locally or collected in the playlist. The switching process among different APPs is executed in the background, and even after the terminal enters a screen locking state, the background can still automatically switch the application and the first file. By adopting the embodiment of the application, when the user needs to play the first file under the multiple APPs, seamless switching between the multiple APPs can be automatically performed without manually switching the APPs by the user, and the mobile terminal also does not need to respond to the play request initiated when the user manually switches the APPs for many times, so that system resources and the overall play time are saved, and the user experience is improved.
Based on the same inventive concept, the embodiment of the present application further provides a file playing apparatus corresponding to the file playing method, and as the principle of the apparatus for solving the problem is similar to the file playing method of the embodiment of the present application, the implementation of the apparatus can refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 4, a schematic structural diagram of a file playing apparatus provided in the embodiment of the present application includes:
a setting module 41 (optional) configured to set a playback mode of the first file to a first playback mode that allows switching among a plurality of first applications; the first file comprises an audio file, a video file or a video file; the first application is an application with a playing function and is used for playing the first file;
a receiving module 42, configured to receive a play request for playing a first file initiated by a user in the first play mode, and play the first file;
a determining module 43, configured to determine, according to the first playing manner, an application for playing a next first file and a next first file in the plurality of first applications when the next first file needs to be played;
a playing module 44, configured to play the determined next first file by using the application determined by the determining module 43.
Optionally, the determining module 43 is specifically configured to:
when a next first file needs to be played, judging whether switching to a next application is needed; if the next application needs to be switched to, determining the switched next application according to the first playing mode, and selecting the next first file from the first files to be played under the switched next application; and if the next application does not need to be switched to, selecting the next first file from the first files to be played under the current application according to the first playing mode.
Optionally, the first playing mode includes a playing mode of loop playing;
the determining module 43 is specifically configured to:
if the switching to the next application is needed, selecting the switched next application from the plurality of first applications according to the set cyclic switching sequence among the plurality of first applications; selecting the next first file according to the circular switching sequence among the first files to be played under the next application after switching;
and if the next application does not need to be switched, selecting the next first file according to the circular switching sequence among the first files to be played under the current application.
Optionally, the playing mode includes a playing mode of sequential playing;
the determining module 43 is specifically configured to:
if the switching to the next application is needed, according to the set switching sequence among the plurality of first applications, when the current application is determined not to be the last switched first application, selecting the switched next application from the plurality of first applications; selecting the next first file according to the switching sequence among the first files to be played under the next application after switching;
and if the switching to the next application is not needed, selecting the next first file according to the switching sequence among the first files to be played under the current application.
Optionally, the first playing mode includes a random playing mode;
the determining module 43 is specifically configured to:
if the switching to the next application is needed, randomly selecting the switched next application from the plurality of first applications; randomly selecting the next first file from the first files to be played under the switched next application;
and if the switching to the next application is not needed, randomly selecting the next first file from the first files to be played under the current application.
Optionally, the determining module 43 is specifically configured to:
when a next first file needs to be played, determining the next first file needing to be played according to the set playing mode; and determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs as the application for playing the next first file.
Optionally, the first playing mode includes a playing mode of loop playing;
the determining module 43 is specifically configured to:
and selecting the next first file from the first files to be played according to the set circular switching sequence among the first files to be played under the plurality of first applications.
Optionally, the first playing mode includes a playing mode of sequential playing;
the determining module 43 is specifically configured to:
and according to the set switching sequence among the first files to be played under the plurality of first applications, when the first file played last time is determined not to be the last first file to be switched, selecting the next first file from the first files to be played.
Optionally, the first playing mode includes a random playing mode;
the determining module 43 is specifically configured to:
and randomly selecting the next first file from the first files to be played under the plurality of first applications.
By adopting the file playing device provided by the embodiment of the application, when a user needs to play a first file under a plurality of APPs, seamless switching between the plurality of APPs can be automatically performed without manually switching the APPs by the user, and the mobile terminal also does not need to respond to a playing request initiated when the user manually switches the APPs for many times, so that system resources and the overall playing time are saved, and the user experience is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (14)

1. A method for playing a file, the method comprising:
receiving a playing request for playing a first file initiated by a user in a first playing mode, and playing the first file; the first playing mode is a mode of switching and playing the first files under each first application according to a plurality of first applications selected by the user for switching and the first file result under each first application; the first file comprises an audio file, a video file or a video file; the first application is an application with a playing function and is used for playing the first file;
when a next first file needs to be played, determining an application for playing the next first file and the next first file in the plurality of first applications according to the first playing mode;
playing the determined next first file using the determined application.
2. The method of claim 1, wherein the method further comprises:
and setting the playing mode of the first file as the first playing mode.
3. The method of claim 1, wherein determining, when a next first file needs to be played, an application for playing the next first file and the next first file among the plurality of first applications according to the first playing mode comprises:
when a next first file needs to be played, judging whether switching to a next application is needed;
if the next application needs to be switched to, determining the switched next application according to the first playing mode, and selecting the next first file from the first files to be played under the switched next application;
and if the next application does not need to be switched to, selecting the next first file from the first files to be played under the current application according to the first playing mode.
4. The method of claim 2, wherein the first playback mode includes a playback mode of loop playback;
if a switch to the next application is required, then
The determining of the next application after the handover includes: selecting a next application after switching from the plurality of first applications according to the set cyclic switching sequence among the plurality of first applications;
selecting the next first file from the switched first files to be played under the next application, including: selecting the next first file according to the circular switching sequence among the first files to be played under the next application after switching;
if no switch to the next application is required, then
Selecting the next first file from the first files to be played under the current application, wherein the selecting step comprises the following steps: and selecting the next first file according to the cyclic switching sequence among the first files to be played under the current application.
5. The method of claim 2, wherein the first playback mode comprises a sequential playback mode;
if a switch to the next application is required, then
The determining of the next application after the handover includes: according to the set switching sequence among the first applications, when the current application is determined not to be the last switched first application, selecting the next switched application from the first applications;
selecting the next first file from the switched first files to be played under the next application, including: selecting the next first file according to the switching sequence among the first files to be played under the next application after switching;
if no switch to the next application is required, then
Selecting the next first file from the first files under the current application, including: and selecting the next first file according to the switching sequence among the first files to be played under the current application.
6. The method of claim 2, wherein the first playback mode comprises a shuffle playback mode;
if a switch to the next application is required, then
The determining of the next application after the handover includes: randomly selecting a next application after switching among the plurality of first applications;
selecting the next first file from the switched first files to be played under the next application, including: randomly selecting the next first file from the first files to be played under the switched next application;
if no switch to the next application is required, then
Selecting the next first file from the first files to be played under the current application, wherein the selecting step comprises the following steps: and randomly selecting the next first file from the first files to be played under the current application.
7. The method of claim 1, wherein determining, when a next first file needs to be played, an application for playing the next first file and the next first file among the plurality of first applications according to the first playing mode comprises:
when a next first file needs to be played, determining the next first file needing to be played according to the first playing mode;
and determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs as the application for playing the next first file.
8. The method of claim 7, wherein the first playback mode includes a playback mode of loop playback;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and selecting the next first file from the first files to be played according to the set circular switching sequence among the first files to be played under the plurality of first applications.
9. The method of claim 7, wherein the first playback mode comprises a sequential playback mode;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and according to the set switching sequence among the first files to be played under the plurality of first applications, when the first file played last time is determined not to be the last first file to be switched, selecting the next first file from the first files to be played.
10. The method of claim 7, wherein the first playback mode comprises a shuffle playback mode;
determining the next first file to be played according to the first playing mode, wherein the step of determining the next first file to be played comprises the following steps:
and randomly selecting the next first file from the first files to be played under the plurality of first applications.
11. A file playback apparatus, comprising:
the receiving module is used for receiving a playing request for playing a first file initiated by a user in a first playing mode and playing the first file; the first playing mode is a mode of switching and playing the first files under each first application according to a plurality of first applications selected by the user for switching and the first file result under each first application; the first file comprises an audio file, a video file or a video file; the first application is an application with a playing function and is used for playing the first file;
a determining module, configured to determine, according to the first playing manner, an application for playing a next first file and a next first file in the plurality of first applications when the next first file needs to be played;
a playing module, configured to play the determined next first file by using the application determined by the determining module.
12. The apparatus of claim 11, further comprising:
and the setting module is used for setting the playing mode of the first file to be the first playing mode.
13. The apparatus of claim 11, wherein the determination module is specifically configured to:
when a next first file needs to be played, judging whether switching to a next application is needed; if the next application needs to be switched to, determining the switched next application according to the first playing mode, and selecting the next first file from the first files to be played under the switched next application; and if the next application does not need to be switched to, selecting the next first file from the first files to be played under the current application according to the first playing mode.
14. The apparatus of claim 11, wherein the determination module is specifically configured to:
when a next first file needs to be played, determining the next first file needing to be played according to the first playing mode; and determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs as the application for playing the next first file.
CN201610173536.2A 2016-03-24 2016-03-24 File playing method and device Active CN107231465B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201610173536.2A CN107231465B (en) 2016-03-24 2016-03-24 File playing method and device
TW106105131A TW201737716A (en) 2016-03-24 2017-02-16 File playback method and device
PCT/CN2017/076422 WO2017162062A1 (en) 2016-03-24 2017-03-13 File playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610173536.2A CN107231465B (en) 2016-03-24 2016-03-24 File playing method and device

Publications (2)

Publication Number Publication Date
CN107231465A CN107231465A (en) 2017-10-03
CN107231465B true CN107231465B (en) 2020-10-20

Family

ID=59899364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610173536.2A Active CN107231465B (en) 2016-03-24 2016-03-24 File playing method and device

Country Status (3)

Country Link
CN (1) CN107231465B (en)
TW (1) TW201737716A (en)
WO (1) WO2017162062A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763316B (en) * 2018-04-27 2021-07-02 维沃移动通信有限公司 Audio list management method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN102298947A (en) * 2011-08-23 2011-12-28 百度在线网络技术(北京)有限公司 Method for carrying out playing switching among multimedia players and equipment
CN103218138A (en) * 2013-04-19 2013-07-24 东莞宇龙通信科技有限公司 Touch terminal and switching method of application programs thereof
CN103458299A (en) * 2012-06-01 2013-12-18 纬创资通股份有限公司 Video streaming playing method and system
CN105187953A (en) * 2015-07-17 2015-12-23 天脉聚源(北京)科技有限公司 Method and device for playing files

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504712B2 (en) * 2009-01-19 2013-08-06 Lg Electronics Inc. Method and apparatus for managing multi-streaming contents and for controlling of changing players during playback of multi-streaming contents
CN103945240B (en) * 2014-04-17 2017-07-25 海信集团有限公司 A kind of video broadcasting method and device based on video aggregation
CN105426510B (en) * 2015-11-30 2019-07-12 惠州华阳通用电子有限公司 A kind of broadcast source automatic switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN102298947A (en) * 2011-08-23 2011-12-28 百度在线网络技术(北京)有限公司 Method for carrying out playing switching among multimedia players and equipment
CN103458299A (en) * 2012-06-01 2013-12-18 纬创资通股份有限公司 Video streaming playing method and system
CN103218138A (en) * 2013-04-19 2013-07-24 东莞宇龙通信科技有限公司 Touch terminal and switching method of application programs thereof
CN105187953A (en) * 2015-07-17 2015-12-23 天脉聚源(北京)科技有限公司 Method and device for playing files

Also Published As

Publication number Publication date
CN107231465A (en) 2017-10-03
WO2017162062A1 (en) 2017-09-28
TW201737716A (en) 2017-10-16

Similar Documents

Publication Publication Date Title
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
US10529384B2 (en) Video recording method and apparatus for mobile terminal
KR101638276B1 (en) Method for providing episode selection of video and apparatus, program, and recording medium thereof
CN104461725A (en) Application process starting control method and device
CN105635254B (en) Multimedia resource method for down loading and device
CN104469741A (en) Terminal configuration method and device
US20170163707A1 (en) Method and device for playing streaming media
US20220327154A1 (en) Multimedia playing method and device
US20170134789A1 (en) Operation instructing method and apparatus for remote controller of intelligent television
CN104503675A (en) Method for setting startup and shutdown animation and/ or music under Android system
CN105100915A (en) Method and television for switching audio video application
CN111966860A (en) Audio playing method and device and electronic equipment
WO2016026108A1 (en) Application program switch method, apparatus and electronic terminal
WO2017020373A1 (en) Terminal application starting method and terminal
CN108234768B (en) Resource switching control method and device and terminal equipment
CN107231465B (en) File playing method and device
US9781198B2 (en) Information processing method and electronic device
WO2014134998A1 (en) Application platform-level configuration method and device
CN103500234A (en) Method for downloading multi-media files and electronic equipment
CN105760377A (en) Information processing method and device
CN107438191A (en) TV and TV close screen and listen music processing method and storage medium
US20170118265A1 (en) Method, server, client and system for remotely controlling customized channels
CN111796786A (en) Screen projection method, device, terminal and storage medium
CN111158802A (en) Audio playing method and equipment, client device and electronic equipment
CN113873082A (en) Media file playing 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