TW201737716A - File playback method and device - Google Patents

File playback method and device Download PDF

Info

Publication number
TW201737716A
TW201737716A TW106105131A TW106105131A TW201737716A TW 201737716 A TW201737716 A TW 201737716A TW 106105131 A TW106105131 A TW 106105131A TW 106105131 A TW106105131 A TW 106105131A TW 201737716 A TW201737716 A TW 201737716A
Authority
TW
Taiwan
Prior art keywords
file
application
played
play
switching
Prior art date
Application number
TW106105131A
Other languages
Chinese (zh)
Inventor
Ling-Fei Gao
Original Assignee
Alibaba Group Services 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 Services Ltd filed Critical Alibaba Group Services Ltd
Publication of TW201737716A publication Critical patent/TW201737716A/en

Links

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

Abstract

The present application relates to the technical field of computers, and particularly relates to a file playback method and device, used to address the problems in which a user needs to manually switch applications to launch multiple playback requests when files associated with multiple applications are desired to be played, and then a mobile terminal needs to respond to the playback requests for multiple times, resulting in a system resource waste and poor playback efficiency. The file playback method provided in an embodiment of the present application comprises: receiving a playback request launched, in a first playback mode, by a user for playing a first file, and playing the first file, the first playback mode being a playback mode allowing switching between multiple first applications; if a next first file is desired to be played, then determining, according to the first playback mode and from the multiple first applications, an application to play a next first file, and the next first file; and playing the determined next first file by means of the determined application.

Description

文件播放方法及裝置 File playing method and device

本發明涉及電腦技術領域,尤其涉及一種文件播放方法及裝置。 The present invention relates to the field of computer technologies, and in particular, to a file playing method and apparatus.

目前,越來越多的使用者喜歡使用安裝在移動終端上的應用程式(APP)來下載影音文件,或直接使用APP在線播放影音文件。由於影音版權問題,不同APP可下載或在線播放的影音文件存在不同,因此有時使用者需要使用不同的APP才能對所有喜歡的影音文件進行下載或收藏。 At present, more and more users like to use the application (APP) installed on the mobile terminal to download audio and video files, or directly use the APP to play audio and video files online. Due to the copyright issue of audio and video, different audio and video files that can be downloaded or played online by different APPs are different, so sometimes users need to use different APPs to download or collect all the favorite audio and video files.

由於IOS設備的自有影音APP不支持其它APP下載在本地的影音文件,在IOS設備中也沒有一款APP可以讀取所有影音APP下載到本地的影音文件,因此在使用者使用不同的APP下載影音文件之後,仍然需要使用不同的APP對各自下載的影音文件進行播放,除非在個人電腦(Personal Computer,PC)端將文件下載後再傳送到手機,但是採用在PC端下載再傳輸到手機的方式一方面操作繁瑣,另一方面也不能保證正版影音的音質。 Since the IOS device's own audio and video APP does not support other APPs to download local audio and video files, there is no APP in the IOS device that can read all audio and video APPs to download to local audio and video files, so users use different APP downloads. After the audio and video files, you still need to use different APP to play the downloaded video files, unless you download the files to the mobile phone on the Personal Computer (PC) side, but use the PC to download and then transfer to the mobile phone. On the one hand, the operation is cumbersome, and on the other hand, the sound quality of genuine audio and video cannot be guaranteed.

可見,由於不能使用同一APP讀取所有影音APP下載或收藏的影音文件,使用者在需要播放多個APP下載或收藏的影音文件時,只能在開啟一個APP並播放完該APP關聯的影音文件後,再手動開啟下一個APP進行播放。相應地,移動終端也就需要多次接收使用者發起的播放請求並進行響應,不僅浪費了系統資源,還降低了播放效率。 It can be seen that since the same APP can not be used to read all the audio and video files downloaded or stored by the APP, the user can only open an APP and play the associated audio and video files when the user needs to play multiple APP downloads or favorite audio and video files. After that, manually open the next APP to play. Correspondingly, the mobile terminal also needs to receive the playback request initiated by the user multiple times and responds, which not only wastes system resources, but also reduces the playback efficiency.

本發明實施例提供一種文件播放方法及裝置,用以解決當使用者需要播放多個應用程式下的文件時,使用者需要手動切換APP來多次發起播放請求,移動終端需要多次響應使用者的播放請求,導致系統資源浪費及播放效率較低的問題。 The embodiment of the present invention provides a file playing method and device, which are used to solve the problem that when a user needs to play a file under multiple applications, the user needs to manually switch the APP to initiate a play request multiple times, and the mobile terminal needs to respond to the user multiple times. The playback request causes a problem of wasted system resources and low playback efficiency.

本發明實施例提供一種文件播放方法,包括:接收使用者在第一播放方式下發起的播放第一文件的播放請求,播放所述第一文件;所述第一播放方式為允許在多個第一應用程式間切換的播放方式;所述第一文件包括音頻文件、視頻文件或影音文件;所述第一應用程式為具有播放功能的應用程式,用於播放所述第一文件;當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件;利用確定的所述應用程式播放確定的所述下一個第一 文件。 An embodiment of the present invention provides a file playing method, including: receiving a play request of a first file played by a user in a first play mode, and playing the first file; the first play mode is allowed in multiple a play mode of switching between applications; the first file includes an audio file, a video file or a video file; the first application is an application having a play function for playing the first file; when playing The next first file, determining, according to the first playing mode, an application that plays the next first file and the next first file among the plurality of first applications; playing the determined application Determining the next first file.

可選地,所述方法還包括:設置所述第一文件的播放方式為所述第一播放方式。 Optionally, the method further includes: setting a play mode of the first file to the first play mode.

可選地,當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件,包括:當需要播放下一個第一文件時,判斷是否需要切換到下一個應用程式;若需要切換到下一個應用程式,則根據所述第一播放方式,確定切換後的下一個應用程式,並在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則根據所述第一播放方式,在當前應用程式下各個待播放的第一文件中,選擇所述下一個第一文件。 Optionally, when the next first file needs to be played, determining, according to the first playing manner, an application that plays the next first file and the next first file, including : When it is necessary to play the next first file, determine whether it is necessary to switch to the next application; if it is necessary to switch to the next application, according to the first playback mode, determine the next application after switching, and Selecting the next first file in each of the first files to be played under the next application after the switching; if not switching to the next application, according to the first playing mode, in the current application In the first file to be played under the program, the next first file is selected.

可選地,所述第一播放方式包括循環播放的播放模式;若需要切換到下一個應用程式,則所述確定切換後的下一個應用程式,包括:按照設置的所述多個第一應用程式間的循環切換順序,在所述多個第一應用程式中選擇切換後的下一個應用程式;在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件,包括:按照所述切換後的下一個應用程式下各個待播放的第一文件間的循環切 換順序,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下各個待播放的第一文件中,選擇所述下一個第一文件,包括:按照當前應用程式下各個待播放的第一文件間的循環切換順序,選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the loop play; if it is required to switch to the next application, the determining the next application after the switch includes: the plurality of first applications according to the setting a cycle switching sequence between programs, selecting a next application after switching in the plurality of first applications; selecting the next file in each of the first files to be played under the next application after the switching a first file, comprising: a cyclic cut between each of the first files to be played under the next application after the switching In the next order, the next first file is selected; if it is not required to switch to the next application, in the first file to be played under the current application, the next first file is selected, including: according to the current The next first file is selected by the cyclic switching sequence between the first files to be played under the application.

可選地,所述第一播放方式包括順序播放的播放模式;若需要切換到下一個應用程式,則所述確定切換後的下一個應用程式,包括:按照設置的所述多個第一應用程式間的切換順序,在確定當前應用程式不是切換的最後一個第一應用程式時,在所述多個第一應用程式中選擇所述切換後的下一個應用程式;在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件,包括:按照所述切換後的下一個應用程式下各個待播放的第一文件間的切換順序,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下的第一文件中,選擇所述下一個第一文件,包括:按照當前應用程式下的各個待播放的第一文件間的切換順序,選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of sequential play; if it is required to switch to the next application, the determining the next application after the switch comprises: following the set multiple first applications The switching sequence between the programs, when determining that the current application is not the last first application of the switching, selecting the next application after the switching among the plurality of first applications; after the switching Selecting the next first file in each of the first files to be played in an application, including: selecting the switching order between the first files to be played under the next application after the switching The next first file; if there is no need to switch to the next application, in the first file under the current application, select the next first file, including: according to each of the to-be-played programs under the current application The order of switching between files selects the next first file.

可選地,所述第一播放方式包括隨機播放的播放模式;若需要切換到下一個應用程式,則 所述確定切換後的下一個應用程式,包括:在所述多個第一應用程式中隨機選擇切換後的下一個應用程式;在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件,包括:在所述切換後的下一個應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下各個待播放的第一文件中,選擇所述下一個第一文件,包括:在當前應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of random play; if it is required to switch to the next application, The determining the next application after the switching comprises: randomly selecting the next application after the switching among the plurality of first applications; and the first to be played under the next application after the switching In the file, selecting the next first file includes: randomly selecting the next first file in each of the first files to be played under the next application after the switching; if not switching to the next file An application, in the first file to be played under the current application, selecting the next first file, including: randomly selecting the next one in each of the first files to be played under the current application First document.

可選地,當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件,包括:當需要播放下一個第一文件時,根據所述第一播放方式,確定需要播放的下一個第一文件;確定所述下一個第一文件所屬的應用程式,將確定的所述下一個第一文件所屬的應用程式確定為用於播放所述下一個第一文件的應用程式。 Optionally, when the next first file needs to be played, determining, according to the first playing manner, an application that plays the next first file and the next first file, including : when the next first file needs to be played, determining, according to the first playing mode, a next first file that needs to be played; determining an application to which the next first file belongs, determining the next one The application to which a file belongs is determined to be an application for playing the next first file.

可選地,所述第一播放方式包括循環播放的播放模式;根據所述第一播放方式,確定需要播放的下一個第一文件,包括:按照設置的所述多個第一應用程式下各個待播放的第一文件間的循環切換順序,在所述各個待播放的第一文件 中選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the loop play; determining, according to the first play mode, the next first file that needs to be played, including: each of the plurality of first applications according to the setting a cyclic switching sequence between the first files to be played, in each of the first files to be played Select the next first file.

可選地,所述第一播放方式包括順序播放的播放模式;根據所述第一播放方式,確定需要播放的下一個第一文件,包括:按照設置的所述多個第一應用程式下各個待播放的第一文件間的切換順序,在確定最近一次播放的第一文件不是切換的最後一個第一文件時,在所述各個待播放的第一文件中選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of sequential play; determining, according to the first play mode, a next first file that needs to be played, including: each of the plurality of first applications according to the setting The switching sequence between the first files to be played, when determining that the first file that was last played is not the last first file to be switched, selects the next first file among the first files to be played.

可選地,所述第一播放方式包括隨機播放的播放模式;根據所述第一播放方式,確定需要播放的下一個第一文件,包括:在所述多個第一應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of random play; determining, according to the first play mode, a next first file that needs to be played, including: playing each to be played under the multiple first applications In the first file, the next first file is randomly selected.

本發明實施例提供一種文件播放裝置,包括:接收模組,用於接收使用者在第一播放方式下發起的播放第一文件的播放請求,播放所述第一文件;所述第一播放方式為允許在多個第一應用程式間切換的播放方式;所述第一文件包括音頻文件、視頻文件或影音文件;所述第一應用程式為具有播放功能的應用程式,用於播放所述第一文件;確定模組,用於當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放 下一個第一文件的應用程式以及下一個第一文件;播放模組,用於利用所述確定模組確定的所述應用程式播放確定的所述下一個第一文件。 An embodiment of the present invention provides a file playback apparatus, including: a receiving module, configured to receive a play request for playing a first file initiated by a user in a first play mode, and play the first file; the first play mode a playback mode for allowing switching between a plurality of first applications; the first file includes an audio file, a video file, or a video file; the first application is an application having a playback function, and is configured to play the first a file determining module for determining playing in the plurality of first applications according to the first playing mode when the next first file needs to be played An application of the next first file and a next first file; a play module, configured to play the determined first first file by the application determined by the determining module.

採用本發明實施例,當使用者需要播放多個APP下的第一文件時,無需使用者手動切換APP即可自動進行多個APP間的無縫切換,移動終端也無需多次響應使用者的播放請求,從而節省了系統資源及整體上的播放時間,提升了使用者體驗。 According to the embodiment of the present invention, when the user needs to play the first file under multiple APPs, the user can automatically perform seamless switching between multiple APPs without manually switching the APP, and the mobile terminal does not need to respond to the user multiple times. Play the request, which saves system resources and overall playback time, improving the user experience.

S101~S103‧‧‧步驟 S101~S103‧‧‧Steps

41‧‧‧設置模組 41‧‧‧Setup module

42‧‧‧接收模組 42‧‧‧ receiving module

43‧‧‧確定模組 43‧‧‧Determining the module

44‧‧‧播放模組 44‧‧‧Playing module

圖1為本發明實施例提供的文件播放方法流程圖;圖2為本發明實施例在系統的設置功能中添加了無縫切換功能的示意圖;圖3為本發明實施例提供的無縫切換播放列表示意圖;圖4為本發明實施例提供的文件播放裝置結構示意圖。 1 is a flowchart of a file playing method according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a seamless switching function added to a setting function of a system according to an embodiment of the present invention; FIG. 3 is a seamless switching play according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a file playback apparatus according to an embodiment of the present invention.

下面結合說明書圖式對本發明實施例作進一步詳細描述。 The embodiments of the present invention are further described in detail below with reference to the drawings.

如圖1所示,為本發明實施例提供的文件播放方法流程圖,包括以下步驟: As shown in FIG. 1 , a flowchart of a file playing method according to an embodiment of the present invention includes the following steps:

S101:接收使用者在第一播放方式下發起的播放第一 文件的播放請求,播放所述第一文件;所述第一播放方式為允許在多個第一應用程式間切換的播放方式。這裡,第一應用程式為具有播放功能的應用程式,用於播放所述第一文件。第一文件可以包括音頻文件、視頻文件或影音文件等。 S101: Receive playback initiated by the user in the first play mode. a play request of the file, playing the first file; the first play mode is a play mode that allows switching between a plurality of first applications. Here, the first application is an application having a playback function for playing the first file. The first file may include an audio file, a video file, or a video file.

本發明實施例中,每個應用程式下的第一文件可以為該應用程式下載到本地的第一文件,或該應用程式的在線播放列表中的第一文件。 In the embodiment of the present invention, the first file in each application may be the first file downloaded to the local application by the application, or the first file in the online playlist of the application.

在具體實施中,可以首先設置第一文件的播放方式為所述第一播放方式。比如,可以在移動終端的系統功能中添加無縫切換功能。以IOS設備為例,如圖2所示,可以在IOS設備的“設定”-“輔助使用”-“互動”中加入一項“無縫切換”功能,使用者可以選擇開啟該無縫切換功能。 In a specific implementation, the playing mode of the first file may be first set to the first playing mode. For example, a seamless switching function can be added to the system function of the mobile terminal. Take the IOS device as an example. As shown in Figure 2, you can add a "seamless switch" function in the "Settings" - "Auxiliary Use" - "Interaction" of the IOS device. The user can choose to enable the seamless switching function. .

使用者在選擇開啟無縫切換功能後,可以進一步選擇在該功能下進行切換的多個應用程式,以及每個應用程式下的第一文件。如圖3所示,在開啟無縫切換功能後,進入無縫切換功能的頁面,可以看到IOS設備中安裝的所有用於播放第一文件的APP。這裡的APP為能夠播放音頻文件、視頻文件和影音文件三者中的至少一種的APP。在具體實施中,針對使用者的使用習慣,可以將常用的音樂類APP(如QQ音樂、蝦米音樂等)與常用的影視類APP(如樂視視頻、愛奇藝等)分離開。 After the user selects to enable the seamless switching function, the user can further select multiple applications to be switched under the function, and the first file under each application. As shown in Figure 3, after the seamless switching function is enabled, the page that enters the seamless switching function can see all the APPs installed in the IOS device for playing the first file. The APP here is an APP capable of playing at least one of an audio file, a video file, and a video file. In a specific implementation, for the user's usage habits, commonly used music apps (such as QQ music, shrimp music, etc.) can be separated from commonly used film and television apps (such as LeTV video, iQiyi, etc.).

如圖3所示,以音樂APP為例,每個APP有其對應的開關按鈕,打開該開關按鈕會顯示該APP的播放列表 和本地儲存的第一文件,使用者可根據需要進行勾選。 As shown in FIG. 3, taking the music APP as an example, each APP has its corresponding switch button, and when the switch button is turned on, the play list of the APP is displayed. And the first file stored locally, the user can check if necessary.

除此之外,還可以為使用者提供選擇應用程式開啟順序的功能,以及選擇每個應用程式下各個第一文件的播放順序的功能。也即,使用者不僅可以對用於播放第一文件的APP以及在每個APP下播放的第一文件進行選擇,還可以對開啟各個APP的順序,以及對每個APP下各個第一文件進行播放的順序進行調整。比如使用者可以透過拖動音樂播放列表中各個APP的標識資訊(包括名稱、圖標等資訊)、第一文件的標識資訊(可以是整個播放列表的標識資訊,如圖3中的播放列表“我最喜歡”,也可以是單個文件的標識資訊),來調整APP、第一文件的排列順序,以此來達到調整APP的開啟順序及第一文件播放順序的目的。 In addition, the user can be provided with the function of selecting the order in which the applications are opened, and the function of selecting the order in which each of the first files is played under each application. That is, the user can select not only the APP for playing the first file but also the first file played under each APP, and the order of opening each APP and the first file for each APP. The order of playback is adjusted. For example, the user can drag the identification information (including the name, icon, and the like) 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 the playlist in FIG. 3). The favorite ", can also be the identification information of a single file), to adjust the order of the APP and the first file, in order to achieve the purpose of adjusting the opening order of the APP and the order of playing the first file.

在具體實施中,所述第一播放方式中可以包括循環播放、順序播放、或隨機播放等播放模式,播放模式用於指示移動終端如何進行應用程式間的切換及應用程式下的第一文件的切換。 In a specific implementation, the first play mode may include a play mode such as loop play, sequential play, or random play, and the play mode is used to indicate how the mobile terminal performs switching between applications and the first file under the application. Switch.

在具體實施中,使用者可以在圖3所示界面上觸發播放請求,如圖3所示,在播放列表的底部有一個“播放模式”選項,使用者點擊後可以顯示“循環播放”和“順序播放”的播放模式選項,使用者在選擇好播放模式後,可以點擊底部的“開始播放”按鈕,這時移動終端就會按照使用者設置的播放模式進行應用程式間的切換及第一文件間的切換。 In a specific implementation, the user can 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, and the user can display “loop play” and “click” after clicking. In the play mode option of “sequential play”, after selecting the play mode, the user can click the “start play” button at the bottom, and the mobile terminal will switch between applications and the first file according to the play mode set by the user. Switching.

或者,在使用者開啟無縫切換功能後,移動終端可以在使用者使用任何一個參與了無縫切換功能的應用程式打開一個第一文件後,自動基於在多個應用程式間切換的播放方式,播放使用者在無縫切換功能下選擇的各個第一文件。 Alternatively, after the user turns on the seamless switching function, the mobile terminal can automatically switch based on the switching mode between multiple applications after the user opens a first file by using any application that participates in the seamless switching function. The first file selected by the user under the seamless switching function is played.

S102:當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件。 S102: When it is required to play the next first file, determine, according to the first play mode, an application that plays the next first file and a next first file among the plurality of first applications.

S103:利用確定的所述應用程式播放確定的所述下一個第一文件。 S103: Play the determined first first file by using the determined application.

在S102中,當需要播放下一個第一文件時,可以首先確定播放下一個第一文件的應用程式,再確定該應用程式下需要播放的第一文件,也可以首先確定需要播放的下一個第一文件,再確定用於播放該第一文件的應用程式。 In S102, when the next first file needs to be played, the application that plays the next first file may be first determined, and then the first file to be played under the application may be determined, or the next first to be played may be determined first. a file, and then determine the application for playing the first file.

方式一:首先確定播放下一個第一文件的應用程式,再確定該應用程式下需要播放的第一文件。 Method 1: First determine the application that plays the next first file, and then determine the first file that needs to be played under the application.

具體地,當需要播放下一個第一文件時,判斷是否需要切換到下一個應用程式;若需要切換到下一個應用程式,則根據所述第一播放方式,確定切換後的下一個應用程式,並在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則根據所述第一播放方式,在當前應用程式下各個待播放的第一文件中,選擇所述下一個第一文件。 Specifically, when it is necessary to play the next first file, it is determined whether it is necessary to switch to the next application; if it is required to switch to the next application, the next application after the switching is determined according to the first playing mode, And selecting, in the first file to be played under the next application after the switching, the next first file; if not switching to the next application, according to the first playing mode, In the first file to be played under the current application, the next first file is selected.

以播放模式分別為循環播放、順序播放、或隨機播放為例,進行介紹。 The playback mode is cyclic playback, sequential playback, or random playback as an example.

第一種:播放模式為循環播放。 The first one: the playback mode is loop playback.

若需要切換到下一個應用程式,則在確定切換後的下一個應用程式時,按照設置的所述多個第一應用程式間的循環切換順序,在所述多個第一應用程式中選擇切換後的下一個應用程式;在選擇下一個第一文件時,按照所述切換後的下一個應用程式下各個待播放的第一文件間的循環切換順序,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則只需要選擇下一個第一文件,此時按照當前應用程式下各個待播放的第一文件間的循環切換順序,選擇所述下一個第一文件。 If it is necessary to switch to the next application, when determining the next application after the switching, selecting the switching among the plurality of first applications according to the cyclic switching sequence between the plurality of first applications that are set. The next application; after selecting the next first file, selecting the next first file according to the cyclic switching sequence between the first files to be played under the next application after the switching; If there is no need to switch to the next application, only the next first file needs to be selected. In this case, the next first file is selected according to the cyclic switching sequence between the first files to be played under the current application.

第二種,播放模式為順序播放。 Second, the play mode is sequential playback.

若需要切換到下一個應用程式,則在確定切換後的下一個應用程式時,按照設置的所述多個第一應用程式間的切換順序,在確定當前應用程式不是切換的最後一個第一應用程式時,在所述多個第一應用程式中選擇所述切換後的下一個應用程式;在選擇下一個第一文件時,按照所述切換後的下一個應用程式下各個待播放的第一文件間的切換順序,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則只需要選擇下一個第一文件,此時按照當前應用程式下的各個待播放的第一文件間的切換順序,選擇所述下一個第一文件。 If it is necessary to switch to the next application, when determining the next application after the switching, according to the switching order between the plurality of first applications that are set, determining that the current application is not the last first application of the switching In the program, the next application after the switching is selected among the plurality of first applications; when the next first file is selected, the first to be played is performed according to the next application after the switching The order of switching between files, select the next first file; if you do not need to switch to the next application, you only need to select the next first file, then according to each first file to be played under the current application The order of switching between the selections of the next first file.

第三種,播放模式為隨機播放; 若需要切換到下一個應用程式,則在確定切換後的下一個應用程式時,在所述多個第一應用程式中隨機選擇切換後的下一個應用程式;在選擇下一個第一文件時,在所述切換後的下一個應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件;若不需要切換到下一個應用程式,則只需要在當前應用程式下各個待播放的第一文件中,隨機選擇下一個第一文件。 Third, the play mode is random play; If it is necessary to switch to the next application, when the next application after the switching is determined, the next application after switching is randomly selected among the plurality of first applications; when the next first file is selected, In the first file to be played under the next application after the switching, the next first file is randomly selected; if it is not necessary to switch to the next application, only the current application needs to be used In the first file played, the next first file is randomly selected.

方式二:首先確定需要播放的下一個第一文件,再確定用於播放該第一文件的應用程式。 Method 2: First determine the next first file to be played, and then determine the application for playing the first file.

具體地,當需要播放下一個第一文件時,根據所述第一播放方式,確定需要播放的下一個第一文件;確定所述下一個第一文件所屬的應用程式,將確定的所述下一個第一文件所屬的應用程式確定為用於播放所述下一個第一文件的應用程式。 Specifically, when it is required to play the next first file, determine, according to the first play mode, a next first file that needs to be played; determine an application to which the next first file belongs, and determine the next An application to which the first file belongs is determined to be an application for playing the next first file.

以播放模式分別為循環播放、順序播放、或隨機播放為例,進行介紹。 The playback mode is cyclic playback, sequential playback, or random playback as an example.

第一種:播放模式為循環播放。 The first one: the playback mode is loop playback.

在確定需要播放的下一個第一文件時,按照設置的所述多個第一應用程式下各個待播放的第一文件間的循環切換順序,在所述各個待播放的第一文件中選擇所述下一個第一文件。 When determining the next first file to be played, selecting the first file to be played in the cyclic switching sequence between the first files to be played under the plurality of first applications that are set. Describe the first document.

第二種:播放模式為順序播放。 Second: The playback mode is sequential playback.

在確定需要播放的下一個第一文件時,按照設置的所 述多個第一應用程式下各個待播放的第一文件間的切換順序,在確定最近一次播放的第一文件不是切換的最後一個第一文件時,在所述各個待播放的第一文件中選擇所述下一個第一文件。 When determining the next first file to be played, follow the settings a switching sequence between the first files to be played under the plurality of first applications, and determining that the first file that was last played is not the last first file to be switched, in each of the first files to be played Select the next first file.

第二種:播放模式為隨機播放;在確定需要播放的下一個第一文件時,在所述多個第一應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件。 The second mode: the play mode is random play; when determining the next first file to be played, randomly selecting the next first file in each of the first files to be played under the plurality of first applications .

優選地,在無縫切換功能下的播放模式可以只包括循環播放和順序播放這兩種,不包括隨機播放。由於隨機播放需要不斷切換APP,對手機的耗能較大,因此在實際實施中不建議支持該播放模式。在循環播放模式下,只要使用者不確認停止播放,則一直按照使用者選擇的第一文件播放順序循環播放,在順序播放模式下,當播放完最後一個應用程式下的最後一個第一文件時,自動停止播放。 Preferably, the play mode under the seamless switching function may include only two types of loop play and sequential play, and does not include random play. Since the random play requires constantly switching the APP, the energy consumption of the mobile phone is large, so it is not recommended to support the play mode in actual implementation. In the loop play mode, as long as the user does not confirm to stop playing, the user always plays the loop in the order of the first file selected by the user. In the sequential play mode, when the last first file under the last application is played. , automatically stop playing.

本發明實施例在使用一個APP播放完被該APP下的第一文件後可以無縫切換到下一個APP進行播放,比如在開啟蝦米音樂播放完蝦米音樂下載在本地或收藏在播放列表中的音樂後,自動關閉蝦米音樂,跳轉到QQ音樂播放QQ音樂下載在本地或收藏在播放列表中的音樂。在不同APP間的切換過程在後臺執行,即使在終端進入螢幕鎖定狀態後,後臺仍可以自動進行應用程式及第一文件的切換。採用本發明實施例,當使用者需要播放多個APP下的第一文件時,無需使用者手動切換APP即可自動進 行多個APP間的無縫切換,移動終端也無需多次響應使用者手動切換APP時發起的播放請求,從而節省了系統資源及整體上的播放時間,提升了使用者體驗。 In the embodiment of the present invention, after playing the first file under the APP by using an APP, the user can seamlessly switch to the next APP for playing, for example, when the shrimp music is played, the music of the shrimp music is downloaded locally or stored in the playlist. After that, automatically turn off the shrimp music, jump to the QQ music to play the QQ music to download the music locally in the collection or in the playlist. The switching process between different APPs is performed in the background, and even after the terminal enters the screen lock state, the background and the first file can be automatically switched. According to the embodiment of the present invention, when the user needs to play the first file under multiple APPs, the user can automatically enter without manually switching the APP. The seamless switching between multiple APPs does not require the mobile terminal to respond to the playback request initiated by the user when manually switching the APP, thereby saving system resources and overall playing time, thereby improving the user experience.

基於同一發明構思,本發明實施例中還提供了一種與文件播放方法對應的文件播放裝置,由於該裝置解決問題的原理與本發明實施例的文件播放方法相似,因此該裝置的實施可以參見方法的實施,重複之處不再贅述。 Based on the same inventive concept, the embodiment of the present invention further provides a file playing device corresponding to the file playing method. Since the principle of solving the problem is similar to the file playing method in the embodiment of the present invention, the implementation of the device can be referred to the method. The implementation, repetitions will not be repeated.

如圖4所示,為本發明實施例提供的文件播放裝置結構示意圖,包括:設置模組41(可選),用於設置第一文件的播放方式為允許在多個第一應用程式間切換的第一播放方式;所述第一文件包括音頻文件、視頻文件或影音文件;所述第一應用程式為具有播放功能的應用程式,用於播放所述第一文件;接收模組42,用於接收使用者在所述第一播放方式下發起的播放第一文件的播放請求,播放所述第一文件;確定模組43,用於當需要播放下一個第一文件時,根據所述第一播放方式,在所述多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件;播放模組44,用於利用確定模組43確定的所述應用程式播放確定的所述下一個第一文件。 As shown in FIG. 4, a schematic structural diagram of a file playing device according to an embodiment of the present invention includes: a setting module 41 (optional), configured to set a playing mode of the first file to allow switching between multiple first applications. a first play mode; the first file includes an audio file, a video file, or a video file; the first application is an application having a play function for playing the first file; and the receiving module 42 is used by Receiving a play request for playing a first file initiated by the user in the first play mode, playing the first file; and determining a module 43, when the next first file needs to be played, according to the a play mode, in which the application for playing the next first file and the next first file are determined in the plurality of first applications; the play module 44 is configured to play the application determined by the determining module 43 Determining the next first file.

可選地,所述確定模組43具體用於:當需要播放下一個第一文件時,判斷是否需要切換到下一個應用程式;若需要切換到下一個應用程式,則根據 所述第一播放方式,確定切換後的下一個應用程式,並在所述切換後的下一個應用程式下各個待播放的第一文件中,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則根據所述第一播放方式,在當前應用程式下各個待播放的第一文件中,選擇所述下一個第一文件。 Optionally, the determining module 43 is specifically configured to: when it is required to play the next first file, determine whether it is necessary to switch to the next application; if it is required to switch to the next application, according to The first playing mode determines the next application after the switching, and selects the next first file in each of the first files to be played under the switched next application; if no switching is needed Going to the next application, according to the first playing mode, selecting the next first file among the first files to be played under the current application.

可選地,所述第一播放方式包括循環播放的播放模式;所述確定模組43具體用於:若需要切換到下一個應用程式,則按照設置的所述多個第一應用程式間的循環切換順序,在所述多個第一應用程式中選擇切換後的下一個應用程式;按照所述切換後的下一個應用程式下各個待播放的第一文件間的循環切換順序,選擇所述下一個第一文件;若不需要切換到下一個應用程式,則按照當前應用程式下各個待播放的第一文件間的循環切換順序,選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the loop play; the determining module 43 is specifically configured to: if it is required to switch to the next application, according to the set between the multiple first applications a cycle switching sequence, selecting a next application after switching in the plurality of first applications; selecting the cyclic switching sequence between the first files to be played under the next application after the switching The next first file; if it is not necessary to switch to the next application, the next first file is selected according to the cyclic switching sequence between the first files to be played under the current application.

可選地,所述播放方式包括順序播放的播放模式;所述確定模組43具體用於:若需要切換到下一個應用程式,則按照設置的所述多個第一應用程式間的切換順序,在確定當前應用程式不是切換的最後一個第一應用程式時,在所述多個第一應用程式中選擇所述切換後的下一個應用程式;按照所述切換後的下一個應用程式下各個待播放的第一文件間的切換順序,選擇所述下一個第一文件; 若不需要切換到下一個應用程式,則按照當前應用程式下的各個待播放的第一文件間的切換順序,選擇所述下一個第一文件。 Optionally, the playing mode includes a play mode of sequential play; the determining module 43 is specifically configured to: if it is required to switch to the next application, according to the set switching sequence between the multiple first applications When determining that the current application is not the last first application to be switched, selecting the next application after the switching among the plurality of first applications; and following each of the switched next applications Selecting the next first file by switching the order between the first files to be played; If it is not necessary to switch to the next application, the next first file is selected according to the switching order between the first files to be played under the current application.

可選地,所述第一播放方式包括隨機播放的播放模式;所述確定模組43具體用於:若需要切換到下一個應用程式,則在所述多個第一應用程式中隨機選擇切換後的下一個應用程式;在所述切換後的下一個應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the random play; the determining module 43 is specifically configured to: if the switch to the next application is needed, randomly select the switch among the multiple first applications The next application; the next first file to be played under the next application after the switching, the next first file is randomly selected; if it is not necessary to switch to the next application, the current The next first file is randomly selected in each of the first files to be played under the application.

可選地,所述確定模組43具體用於:當需要播放下一個第一文件時,根據設置的所述播放方式,確定需要播放的下一個第一文件;確定所述下一個第一文件所屬的應用程式,將確定的所述下一個第一文件所屬的應用程式確定為用於播放所述下一個第一文件的應用程式。 Optionally, the determining module 43 is specifically configured to: when the next first file needs to be played, determine, according to the set playing manner, a next first file that needs to be played; determine the next first file. The associated application determines the determined application of the next first file as an application for playing the next first file.

可選地,所述第一播放方式包括循環播放的播放模式;所述確定模組43具體用於:按照設置的所述多個第一應用程式下各個待播放的第一文件間的循環切換順序,在所述各個待播放的第一文件 中選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the loop play; the determining module 43 is specifically configured to: switch between the first files to be played under the plurality of first applications according to the set Sequence, in each of the first files to be played Select the next first file.

可選地,所述第一播放方式包括順序播放的播放模式;所述確定模組43具體用於:按照設置的所述多個第一應用程式下各個待播放的第一文件間的切換順序,在確定最近一次播放的第一文件不是切換的最後一個第一文件時,在所述各個待播放的第一文件中選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode that is sequentially played, and the determining module 43 is specifically configured to: switch between the first files to be played according to the set multiple first application programs When it is determined that the first file played last time is not the last first file of the switch, the next first file is selected among the first files to be played.

可選地,所述第一播放方式包括隨機播放的播放模式;所述確定模組43具體用於:在所述多個第一應用程式下各個待播放的第一文件中,隨機選擇所述下一個第一文件。 Optionally, the first play mode includes a play mode of the random play; the determining module 43 is specifically configured to: randomly select the first file to be played under the plurality of first applications Next first file.

採用本發明實施例提供的文件播放裝置,當使用者需要播放多個APP下的第一文件時,無需使用者手動切換APP即可自動進行多個APP間的無縫切換,移動終端也無需多次響應使用者手動切換APP時發起的播放請求,從而節省了系統資源及整體上的播放時間,提升了使用者體驗。 According to the file playing device provided by the embodiment of the present invention, when the user needs to play the first file in multiple APPs, the user can automatically perform seamless switching between multiple APPs without manually switching the APP, and the mobile terminal does not need to be The response request initiated by the user to manually switch the APP, thereby saving system resources and overall playing time, and improving the user experience.

本領域內的具有通常知識者應明白,本發明的實施例可提供為方法、系統、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括 但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those of ordinary skill in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, the present invention can take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining soft and hardware aspects. Moreover, the present invention may employ computer-usable storage media (including one or more computers containing computer usable code therein). However, it is not limited to the form of a computer program product implemented on a magnetic disk memory, a CD-ROM, an optical memory, or the like.

本發明是參照根據本發明實施例的方法、裝置(系統)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可編程資料處理設備的處理器以產生一個機器,使得透過電腦或其他可編程資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of a method, apparatus (system), and computer program product according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or <RTIgt; These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine for generating instructions for execution by a processor of a computer or other programmable data processing device. A device that implements the functions specified in one or more blocks of a flowchart or a plurality of processes and/or block diagrams.

這些電腦程式指令也可儲存在能引導電腦或其他可編程資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。 The computer program instructions can also be stored in a computer readable memory that can boot a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture including the instruction device. The instruction means implements the functions specified in one or more flows of the flowchart or in a block or blocks of the flowchart.

這些電腦程式指令也可裝載到電腦或其他可編程資料處理設備上,使得在電腦或其他可編程設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可編程設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。 These computer program instructions can also be loaded onto a computer or other programmable data processing device to perform a series of operational steps on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flows of the flowchart or in a block or blocks of the flowchart.

儘管已描述了本發明的優選實施例,但本領域內的具 有通常知識者一旦得知了基本創造性概念,則可對這些實施例作出另外的變更和修改。所以,所附申請專利範圍意欲解釋為包括優選實施例以及落入本發明範圍的所有變更和修改。 Although a preferred embodiment of the invention has been described, Additional changes and modifications to these embodiments can be made by those of ordinary skill once they have learned the basic inventive concept. Therefore, the scope of the appended claims is intended to be construed as a

顯然,本領域的具有通常知識者可以對本發明進行各種改動和變型而不脫離本發明的精神和範圍。這樣,倘若本發明的這些修改和變型屬於本發明申請專利範圍及其等同技術的範圍之內,則本發明也意圖包含這些改動和變型在內。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (14)

一種文件播放方法,其特徵在於,該方法包括:接收使用者在第一播放方式下發起的播放第一文件的播放請求,播放該第一文件;該第一播放方式為允許在多個第一應用程式間切換的播放方式;該第一文件包括音頻文件、視頻文件或影音文件;該第一應用程式為具有播放功能的應用程式,用於播放該第一文件;當需要播放下一個第一文件時,根據該第一播放方式,在該多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件;利用確定的該應用程式播放確定的該下一個第一文件。 A method for playing a file, comprising: receiving a play request of a first file played by a user in a first play mode, and playing the first file; the first play mode is allowed in a plurality of first The playing mode of switching between applications; the first file includes an audio file, a video file or a video file; the first application is an application having a playing function for playing the first file; when the next one needs to be played And determining, according to the first playing mode, an application that plays the next first file and the next first file in the plurality of first applications; playing the determined first first by using the determined application file. 如申請專利範圍第1項所述的方法,其中,該方法還包括:設置該第一文件的播放方式為該第一播放方式。 The method of claim 1, wherein the method further comprises: setting a play mode of the first file to the first play mode. 如申請專利範圍第1項所述的方法,其中,當需要播放下一個第一文件時,根據該第一播放方式,在該多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件,包括:當需要播放下一個第一文件時,判斷是否需要切換到下一個應用程式;若需要切換到下一個應用程式,則根據該第一播放方式,確定切換後的下一個應用程式,並在該切換後的下一個應用程式下各個待播放的第一文件中,選擇該下一個第 一文件;若不需要切換到下一個應用程式,則根據該第一播放方式,在當前應用程式下各個待播放的第一文件中,選擇該下一個第一文件。 The method of claim 1, wherein when the next first file needs to be played, determining, according to the first playing mode, an application that plays the next first file in the plurality of first applications And the next first file, including: when it is necessary to play the next first file, determine whether it is necessary to switch to the next application; if it is necessary to switch to the next application, according to the first playback mode, determine the switched The next application, and in the first file to be played under the next application after the switch, select the next one a file; if it is not required to switch to the next application, according to the first play mode, select the next first file in each of the first files to be played under the current application. 如申請專利範圍第2項所述的方法,其中,該第一播放方式包括循環播放的播放模式;若需要切換到下一個應用程式,則該確定切換後的下一個應用程式,包括:按照設置的該多個第一應用程式間的循環切換順序,在該多個第一應用程式中選擇切換後的下一個應用程式;在該切換後的下一個應用程式下各個待播放的第一文件中,選擇該下一個第一文件,包括:按照該切換後的下一個應用程式下各個待播放的第一文件間的循環切換順序,選擇該下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下各個待播放的第一文件中,選擇該下一個第一文件,包括:按照當前應用程式下各個待播放的第一文件間的循環切換順序,選擇該下一個第一文件。 The method of claim 2, wherein the first play mode comprises a play mode of loop play; if it is required to switch to the next application, the next application after the switch is determined, including: according to the setting The cyclic switching sequence between the plurality of first applications, selecting the next application after switching in the plurality of first applications; in the first file to be played under the next application after the switching Selecting the next first file, including: selecting the next first file according to a cyclic switching sequence between the first files to be played under the next application after the switching; if not switching to the next application The program selects the next first file in each of the first files to be played under the current application, including: selecting the next one according to a cyclic switching sequence between the first files to be played under the current application a file. 如申請專利範圍第2項所述的方法,其中,該第一播放方式包括順序播放的播放模式;若需要切換到下一個應用程式,則該確定切換後的下一個應用程式,包括:按照設置的該多個第一應用程式間的切換順序,在確定當前應用程式不是切換的最後一個第一應用程式時,在該多個第一應用 程式中選擇該切換後的下一個應用程式;在該切換後的下一個應用程式下各個待播放的第一文件中,選擇該下一個第一文件,包括:按照該切換後的下一個應用程式下各個待播放的第一文件間的切換順序,選擇該下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下的第一文件中,選擇該下一個第一文件,包括:按照當前應用程式下的各個待播放的第一文件間的切換順序,選擇該下一個第一文件。 The method of claim 2, wherein the first play mode comprises a play mode of sequential play; if it is required to switch to the next application, the next application after the switch is determined, including: according to the setting The switching sequence between the plurality of first applications, in determining the current application is not the last first application of the switching, in the plurality of first applications Selecting the next application after the switching; selecting the next first file in each of the first files to be played under the next application after the switching, including: following the switched next application Selecting the next first file in the switching order between the first files to be played; if not switching to the next application, selecting the next first file in the first file under the current application The method includes: selecting the next first file according to a switching sequence between the first files to be played under the current application. 如申請專利範圍第2項所述的方法,其中,該第一播放方式包括隨機播放的播放模式;若需要切換到下一個應用程式,則該確定切換後的下一個應用程式,包括:在該多個第一應用程式中隨機選擇切換後的下一個應用程式;在該切換後的下一個應用程式下各個待播放的第一文件中,選擇該下一個第一文件,包括:在該切換後的下一個應用程式下各個待播放的第一文件中,隨機選擇該下一個第一文件;若不需要切換到下一個應用程式,則在當前應用程式下各個待播放的第一文件中,選擇該下一個第一文件,包括:在當前應用程式下各個待播放的第一文件中,隨機選擇該下一個第一文件。 The method of claim 2, wherein the first play mode comprises a play mode of random play; if it is required to switch to the next application, the next application after the switch is determined, including: Selecting the next application after switching in a plurality of first applications; selecting the next first file in each of the first files to be played under the next application after the switching, including: after the switching In the first file to be played next in the next application, randomly select the next first file; if it is not necessary to switch to the next application, in the first file to be played under the current application, select The next first file includes: randomly selecting the next first file in each of the first files to be played under the current application. 如申請專利範圍第1項所述的方法,其中,當需要播放下一個第一文件時,根據該第一播放方式,在該多個 第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件,包括:當需要播放下一個第一文件時,根據該第一播放方式,確定需要播放的下一個第一文件;確定該下一個第一文件所屬的應用程式,將確定的該下一個第一文件所屬的應用程式確定為用於播放該下一個第一文件的應用程式。 The method of claim 1, wherein when the next first file needs to be played, according to the first play mode, the plurality of Determining, in the first application, an application for playing the next first file and the next first file, including: when the next first file needs to be played, determining the next first file to be played according to the first playing mode Determining the application to which the next first file belongs, and determining the determined application to which the next first file belongs is the application for playing the next first file. 如申請專利範圍第7項所述的方法,其中,該第一播放方式包括循環播放的播放模式;根據該第一播放方式,確定需要播放的下一個第一文件,包括:按照設置的該多個第一應用程式下各個待播放的第一文件間的循環切換順序,在該各個待播放的第一文件中選擇該下一個第一文件。 The method of claim 7, wherein the first play mode comprises a play mode of the loop play; according to the first play mode, determining the next first file to be played, including: according to the set The cyclic switching sequence between the first files to be played in the first application, and the next first file is selected in the first file to be played. 如申請專利範圍第7項所述的方法,其中,該第一播放方式包括順序播放的播放模式;根據該第一播放方式,確定需要播放的下一個第一文件,包括:按照設置的該多個第一應用程式下各個待播放的第一文件間的切換順序,在確定最近一次播放的第一文件不是切換的最後一個第一文件時,在該各個待播放的第一文件中選擇該下一個第一文件。 The method of claim 7, wherein the first play mode comprises a play mode of sequential play; according to the first play mode, determining a next first file to be played, including: according to the set In the first application, the switching order between the first files to be played is determined. When it is determined that the first file played last time is not the last first file to be switched, the next file to be played is selected. A first file. 如申請專利範圍第7項所述的方法,其中,該第一播放方式包括隨機播放的播放模式; 根據該第一播放方式,確定需要播放的下一個第一文件,包括:在該多個第一應用程式下各個待播放的第一文件中,隨機選擇該下一個第一文件。 The method of claim 7, wherein the first play mode comprises a play mode of random play; Determining, according to the first play mode, the next first file that needs to be played, comprising: randomly selecting the next first file in each of the first files to be played under the plurality of first applications. 一種文件播放裝置,其特徵在於,該裝置包括:接收模組,用於接收使用者在第一播放方式下發起的播放第一文件的播放請求,播放該第一文件;該第一播放方式為允許在多個第一應用程式間切換的播放方式;該第一文件包括音頻文件、視頻文件或影音文件;該第一應用程式為具有播放功能的應用程式,用於播放該第一文件;確定模組,用於當需要播放下一個第一文件時,根據該第一播放方式,在該多個第一應用程式中確定播放下一個第一文件的應用程式以及下一個第一文件;播放模組,用於利用該確定模組確定的該應用程式播放確定的該下一個第一文件。 A file playing device, comprising: a receiving module, configured to receive a play request of a first file played by a user in a first play mode, and play the first file; the first play mode is a play mode that allows switching between a plurality of first applications; the first file includes an audio file, a video file, or a video file; the first application is an application having a play function for playing the first file; a module, configured to: when the next first file needs to be played, determine, according to the first playing mode, an application that plays the next first file and a next first file in the plurality of first applications; a group for playing, by the application determined by the determining module, the determined first file. 如申請專利範圍第11項所述的裝置,其中,還包括:設置模組,用於設置該第一文件的播放方式為該第一播放方式。 The device of claim 11, further comprising: a setting module, configured to set a playing mode of the first file to the first playing mode. 如申請專利範圍第11項所述的裝置,其中,該確定模組具體用於:當需要播放下一個第一文件時,判斷是否需要切換到下一個應用程式;若需要切換到下一個應用程式,則根據該第一播放方式,確定切換後的下一個應用程式,並在該 切換後的下一個應用程式下各個待播放的第一文件中,選擇該下一個第一文件;若不需要切換到下一個應用程式,則根據該第一播放方式,在當前應用程式下各個待播放的第一文件中,選擇該下一個第一文件。 The device of claim 11, wherein the determining module is specifically configured to: when it is necessary to play the next first file, determine whether it is necessary to switch to the next application; if it is necessary to switch to the next application , according to the first play mode, determining the next application after the switch, and in the Selecting the next first file in each of the first files to be played under the next application after switching; if not switching to the next application, according to the first playing mode, each waiting under the current application In the first file played, select the next first file. 如申請專利範圍第11項所述的裝置,其中,該確定模組具體用於:當需要播放下一個第一文件時,根據該第一播放方式,確定需要播放的下一個第一文件;確定該下一個第一文件所屬的應用程式,將確定的該下一個第一文件所屬的應用程式確定為用於播放該下一個第一文件的應用程式。 The device of claim 11, wherein the determining module is specifically configured to: when the next first file needs to be played, determine the next first file to be played according to the first playing mode; The application to which the next first file belongs determines the application to which the next first file belongs to be determined as an application for playing the next first file.
TW106105131A 2016-03-24 2017-02-16 File playback method and device TW201737716A (en)

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 (1)

Publication Number Publication Date
TW201737716A true TW201737716A (en) 2017-10-16

Family

ID=59899364

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106105131A TW201737716A (en) 2016-03-24 2017-02-16 File playback 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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483054B (en) * 2008-12-25 2013-04-03 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
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
CN102298947B (en) * 2011-08-23 2015-12-16 百度在线网络技术(北京)有限公司 A kind of for carrying out the method and apparatus playing switching between multimedia player
TWI508538B (en) * 2012-06-01 2015-11-11 Wistron Corp Video streams playback method and system
CN103218138B (en) * 2013-04-19 2016-09-21 东莞宇龙通信科技有限公司 Touch control terminal and application programe switch-over method thereof
CN103945240B (en) * 2014-04-17 2017-07-25 海信集团有限公司 A kind of video broadcasting method and device based on video aggregation
CN105187953A (en) * 2015-07-17 2015-12-23 天脉聚源(北京)科技有限公司 Method and device for playing files
CN105426510B (en) * 2015-11-30 2019-07-12 惠州华阳通用电子有限公司 A kind of broadcast source automatic switching method and device

Also Published As

Publication number Publication date
CN107231465B (en) 2020-10-20
CN107231465A (en) 2017-10-03
WO2017162062A1 (en) 2017-09-28

Similar Documents

Publication Publication Date Title
JP5608216B2 (en) Mobile terminal and mobile terminal data processing method
US8624098B2 (en) Media playback queuing for playback management
WO2015123937A1 (en) Split-screen processing method and device, and computer storage medium
US10334118B2 (en) Method and system for providing video multimedia ringtone
JP5468651B2 (en) Manage downloads from network-based digital data repositories based on network performance
US20170163707A1 (en) Method and device for playing streaming media
CN105635254B (en) Multimedia resource method for down loading and device
EP2950310B1 (en) Method and system for continuously playing media resources in device
CN103680551A (en) Player and method thereof for simultaneously playing multiple videos
RU2619089C2 (en) Method and device for multiple videos reproduction
US11907279B2 (en) Mechanism to handle interrupted playback experience for media items in playlists
CN105824542A (en) Method and apparatus for starting application functions
US20160285937A1 (en) Playback of streamed media content
CN103313127B (en) A kind of television channel switching method and device
WO2022022697A1 (en) Audio playback method and apparatus and electronic device
WO2014134998A1 (en) Application platform-level configuration method and device
WO2016161922A1 (en) Video file processing method and device
TW201737716A (en) File playback method and device
TW201025133A (en) Method for installing application program and computer system
US20120110454A1 (en) Method and apparatus for providing user interface for media contents in user equipment
WO2022194070A1 (en) Video processing method for application, and electronic device
EP4050605A1 (en) Method and device for editing video
US11462195B2 (en) Dynamically transitioning between visual media items at a digital-content-display device
US20150005040A1 (en) Method and system for setting plurality of sounds through sound package
WO2020029524A1 (en) Music editing method and apparatus, terminal device, and computer-readable storage medium