TWI634784B - Digital media content playing transfer method and application device thereof - Google Patents

Digital media content playing transfer method and application device thereof Download PDF

Info

Publication number
TWI634784B
TWI634784B TW105136799A TW105136799A TWI634784B TW I634784 B TWI634784 B TW I634784B TW 105136799 A TW105136799 A TW 105136799A TW 105136799 A TW105136799 A TW 105136799A TW I634784 B TWI634784 B TW I634784B
Authority
TW
Taiwan
Prior art keywords
media content
digital media
playback
user
iot platform
Prior art date
Application number
TW105136799A
Other languages
Chinese (zh)
Other versions
TW201717649A (en
Inventor
張寶英
陳志
李屹
Original Assignee
深圳市光峰光電技術有限公司
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 深圳市光峰光電技術有限公司 filed Critical 深圳市光峰光電技術有限公司
Publication of TW201717649A publication Critical patent/TW201717649A/en
Application granted granted Critical
Publication of TWI634784B publication Critical patent/TWI634784B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/74Projection arrangements for image reproduction, e.g. using eidophor
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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
    • H04N21/47202End-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 for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Social Psychology (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本發明實施例公開了一種數位媒體內容播放轉移的方法,包括:用戶設備以用戶帳號登入物聯平臺;用戶設備獲取播放轉移模式開啟指令;用戶設備獲取數位媒體內容播放指令;用戶設備獲取數位媒體內容播放指令對應的數據源;用戶設備將所述數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容,其中,用戶帳號與投影設備的設備帳號在物聯平臺具有綁定關係。本發明實施例還提供了一種數位媒體內容播放轉移的裝置。本發明實施例可以透過用戶設備與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。An embodiment of the present invention discloses a method for transferring and transferring digital media content, including: a user device logs in to the IoT platform with a user account; the user device obtains a playback transfer mode start instruction; the user device obtains a digital media content playback instruction; and the user device obtains digital media The data source corresponding to the content playback instruction; the user device forwards the data source to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source, wherein the user account and the device account of the projection device are in the object The linked platform has a binding relationship. An embodiment of the present invention also provides a device for transferring and playing digital media content. The embodiment of the present invention can directly transmit digital media content to a projection device for playback through the cooperation of a user device and the Internet of Things platform, without being restricted by a USB cable and a local area network, expanding the scope of application and improving the user experience.

Description

數位媒體內容播放轉移的方法及其應用設備Digital media content playback transfer method and application equipment thereof

本發明係關於通訊領域,尤其涉及一種數位媒體內容播放轉移的方法及其應用設備。The present invention relates to the field of communications, and in particular, to a method for playing and transferring digital media content and its application equipment.

現如今,投影儀器已廣泛地被應用在教育、商務、工程以及家用等場所。投影儀器又稱投影機,是透過數位光處理技術或者液晶顯示器(英文全稱:Liquid Crystal Display,英文縮寫:LCD)的液晶成像技術將圖像或視頻投射或反射到屏幕上的設備,可以透過不同的訊號源,如電腦、手機、數位多功能光碟(英文全稱:Digital Versatile Disc,英文縮寫:DVD)以及數位攝像機(英文全稱:Digital Video,英文縮寫:DV)等設備接入相應的圖像和視頻訊號,實現播放。Nowadays, projection instruments have been widely used in education, business, engineering and home. Projection instruments, also known as projectors, are devices that project or reflect an image or video onto a screen through digital light processing technology or liquid crystal imaging technology of a liquid crystal display (full name: Liquid Crystal Display, English abbreviation: LCD). Signal sources, such as computers, mobile phones, digital versatile discs (full name in English: Digital Versatile Disc, English abbreviation: DVD) and digital video cameras (full name in English: Digital Video, English abbreviation: DV) and other devices access the corresponding images and Video signal for playback.

於現有的實施方案中,手機可以透過USB連接線(英文全稱:Universal Serial Bus)或者透過區域網路(英文全稱:Local Area Network,英文縮寫:LAN)與投影儀器進行連接以傳輸視頻。In the existing implementation, the mobile phone can be connected to the projection device via a USB cable (full English name: Universal Serial Bus) or through a local area network (English: Local Area Network, English abbreviation: LAN) to transmit video.

然而,手機透過USB連接線或者透過區域網路與投影儀器進行連接時可能會受到一定的限制,例如,在連接時要使用USB連接線,如此係較不便於用戶攜帶。或者,若需要區域網路下進行連接時,則在非區域網域的條件下係無法成功地建立手機與投影儀器的訊號連接,因而導致使用範圍受限。However, mobile phones may be subject to certain restrictions when connecting to a projection device via a USB cable or via a local area network. For example, a USB cable must be used when connecting, which is less convenient for users to carry. Or, if a connection is required under a local area network, the signal connection between the mobile phone and the projection instrument cannot be successfully established under the conditions of a non-local area network, thus limiting the use range.

本發明實施例提供了一種數位媒體內容播放轉移的方法及相關設備,可以通過用戶設備與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。The embodiments of the present invention provide a method and related equipment for digital media content playback transfer, which can cooperate with the IOT platform through user equipment to directly transfer digital media content to a projection device for playback without being affected by USB cables and local area networks. Restrictions, expand the scope of application, and improve user experience.

有鑒於此,本發明第一方面提供了一種數位媒體內容播放轉移的方法,其中,包括:In view of this, the first aspect of the present invention provides a method for transferring and playing digital media content, which includes:

用戶設備以用戶帳號登入物聯平臺;The user device logs into the IOT platform with a user account;

所述用戶設備獲取播放轉移模式開啟指令;Obtaining, by the user equipment, a play transfer mode start instruction;

所述用戶設備獲取數位媒體內容播放指令;The user equipment obtains a digital media content playback instruction;

所述用戶設備獲取數位媒體內容播放指令對應的數據源;Obtaining, by the user equipment, a data source corresponding to a digital media content playback instruction;

所述用戶設備將數據源透過所述物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容;The user equipment forwards the data source to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source;

其中,用戶帳號與投影設備的設備帳號在物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IoT platform.

結合本發明實施例的第一方面,在第一種可能的實現方式中:With reference to the first aspect of the embodiments of the present invention, in a first possible implementation manner:

所述用戶設備展示所述投影設備的控制界面,所述控制界面中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;The user equipment displays a control interface of the projection device, and the control interface includes an object for triggering a playback transfer mode on instruction, and the object has two states corresponding to the playback transfer mode on and the playback transfer mode off;

所述用戶設備獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step of obtaining, by the user equipment, a play transfer mode start instruction includes: obtaining, by the user equipment, a play transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the close of the play transfer mode to Corresponds to the state where the playback transfer mode is on.

結合本發明實施例的第一方面,在第二種可能的實現方式中:With reference to the first aspect of the embodiments of the present invention, in a second possible implementation manner:

所述用戶設備展示視頻播放窗口,所述視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;The user equipment displays a video playback window, and the video playback window includes an object for triggering a playback transfer mode on instruction, and the object has two states corresponding to the playback transfer mode on and the playback transfer mode off;

所述用戶設備獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step of obtaining, by the user equipment, a play transfer mode start instruction includes: obtaining, by the user equipment, a play transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the close of the play transfer mode to Corresponds to the state where the playback transfer mode is on.

結合本發明實施例的第一方面,在第三種可能的實現方式中:With reference to the first aspect of the embodiments of the present invention, in a third possible implementation manner:

在所述用戶設備獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在所述用戶設備播放;After the user equipment obtains a play transfer mode start instruction, detecting whether there is currently digital media content playing on the user equipment;

若所述用戶設備檢測到當前具有數位媒體內容在所述用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,將獲取的數據源和播放進度透過所述物聯平臺轉發到所述投影設備,以使得所述投影設備根據所述數據源和播放進度播放對應的數位媒體內容;If the user equipment detects that the digital media content is currently playing on the user equipment, it obtains the data source and playback progress of the currently playing digital media content, and forwards the obtained data source and playback progress to the Internet of Things platform to The projection device, so that the projection device plays corresponding digital media content according to the data source and playback progress;

若所述用戶設備檢測到當前沒有數位媒體內容在所述用戶設備播放,則監測是否獲取到數位媒體內容播放指令,在所述用戶設備獲取數位媒體內容播放指令之後,進入所述用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟。If the user equipment detects that no digital media content is currently playing on the user equipment, it monitors whether a digital media content playback instruction is obtained, and after the user equipment obtains the digital media content playback instruction, enters the user equipment to obtain The steps of the data source corresponding to the digital media content playback instruction are described.

結合本發明實施例的第一方面以及第一方法的第一至第三種可能實現方式,在第四種可能的實現方式中,所述用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟包括:With reference to the first aspect of the embodiments of the present invention and the first to third possible implementation manners of the first method, in a fourth possible implementation manner, the user equipment obtains a data source corresponding to the digital media content playback instruction. The steps include:

解析所述數位媒體內容播放指令;Parse the digital media content playback instruction;

若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源;If the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content as the data source;

若所述數位媒體內容播放指令對應網路端的數位媒體內容,則獲取對應的網路端的數位媒體內容的下載鏈接作爲所述數據源。If the digital media content playback instruction corresponds to the digital media content on the network side, obtaining a download link of the corresponding digital media content on the network side as the data source.

結合本發明實施例的第一方面第四種可能實現方式,在第五種可能的實現方式中,若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源,所述用戶設備將所述數據源透過所述物聯平臺轉發至投影設備的步驟包括以下步驟:With reference to the fourth possible implementation manner of the first aspect of the embodiments of the present invention, in a fifth possible implementation manner, if the digital media content playback instruction corresponds to locally stored digital media content, the corresponding locally stored digital bit is obtained. The media content serves as the data source, and the step of the user equipment forwarding the data source to the projection device through the IoT platform includes the following steps:

若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容,將該本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將該本地存儲的數位媒體內容透過所述物聯平臺轉發至投影設備。If the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content, converting the locally stored digital media content into a streaming media file format, and according to a preset streaming media The transmission protocol forwards the locally stored digital media content to the projection device through the IOT platform.

本發明實施例第二方面提供了一種數位媒體內容播放轉移的方法,包括:A second aspect of the embodiments of the present invention provides a method for playing and transferring digital media content, including:

投影設備以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;The projection device logs in to the IoT platform with a device account registered in advance on the IoT platform;

所述投影設備接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;The projection device receives a data packet forwarded by the IOT platform, the data packet is sent by the user device to the IOT platform, and the device account and the user account of the user device have a binding relationship on the IOT platform, and the user The user account of the device is the account used by the user device to log in to the IOT platform;

所述投影設備解析所述數據封包;The projection device parses the data packet;

當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容;When the data packet contains digital media content, the digital media content is projected and played;

當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容,並投影播放下載的數位媒體內容。When the data packet includes a download link, the corresponding digital media content is downloaded according to the download link, and the downloaded digital media content is projected and played.

結合本發明實施例的第二方面,在第一種可能的實現方式中,當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容的步驟包括:With reference to the second aspect of the embodiments of the present invention, in a first possible implementation manner, when the data packet includes digital media content, the step of projecting and playing the digital media content includes:

當所述數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,按照預設的串流媒體播放協定投影播放該串流媒體文件。When the data packet includes a streaming media file transmitted according to a preset streaming media transmission protocol, the streaming media file is projected and played back according to the preset streaming media playing protocol.

本發明實施例第三方面提供了一種用戶設備,包括儲存器、處理器,其中:A third aspect of the embodiments of the present invention provides a user equipment, including a memory and a processor, where:

儲存器用於存儲應用程式;The storage is used for storing applications;

處理器執行所述應用程式以用於:The processor executes the application for:

以用戶帳號登入物聯平臺;Log in to IOT platform with user account;

獲取播放轉移模式開啟指令;Get the playback transfer mode start instruction;

獲取數位媒體內容播放指令;Get digital media content playback instructions;

獲取所述數位媒體內容播放指令對應的數據源;Obtaining a data source corresponding to the digital media content playback instruction;

將所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;Forwarding the data source to a projection device through the IOT platform, so that the projection device plays corresponding digital media content according to the data source;

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IOT platform.

本發明實施例第四方面提供了一種投影設備,包括儲存器、處理器和投影部件,其中:A fourth aspect of the embodiments of the present invention provides a projection device, including a storage, a processor, and a projection component, where:

所述儲存器用於存儲應用程式;The storage is used for storing application programs;

所述處理器用於執行所述應用程式以用於:The processor is configured to execute the application program for:

以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;Log in to the IoT platform with a device account registered in advance with the IoT platform;

接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;Receive a data packet forwarded by the IoT platform, the data packet is sent by the user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user account of the user device An account used by a user device to log in to the IOT platform;

解析所述數據封包;Parse the data packet;

當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容對應的圖像訊號;When the data packet contains digital media content, generating an image signal corresponding to the digital media content;

當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容,並生成下載的數位媒體內容對應的圖像訊號;When the data packet includes a download link, downloading corresponding digital media content according to the download link, and generating an image signal corresponding to the downloaded digital media content;

所述投影部件用於根據所述圖像訊號投射相應的圖像。The projection component is configured to project a corresponding image according to the image signal.

結合本發明實施例的第四方面,在第一種可能的實現方式中,所述處理器還用於:With reference to the fourth aspect of the embodiments of the present invention, in a first possible implementation manner, the processor is further configured to:

當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;When the data packet contains digital media content, generating an audio signal corresponding to the audio data contained in the digital media content;

以及,當所述數據封包中包含下載鏈接時,在根據所述下載鏈接下載對應的數位媒體內容之後,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;And when the data packet includes a download link, after downloading the corresponding digital media content according to the download link, generating an audio signal corresponding to the audio data included in the digital media content;

所述投影設備還包括:The projection device further includes:

音頻播放部件,用於根據所述音頻訊號播放相應的音頻。An audio playing component is configured to play corresponding audio according to the audio signal.

本發明實施例第五方面提供了一種數位媒體內容播放轉移的裝置,包括:A fifth aspect of the embodiments of the present invention provides a device for transferring and playing digital media content, including:

第一登入模組,用於以用戶帳號登入物聯平臺;A first login module, which is used to log in to the IoT platform with a user account;

開啟指令獲取模組,於獲取播放轉移模式開啟指令;Open the instruction acquisition module to obtain the instruction to start the playback transfer mode;

播放指令獲取模組,用於獲取數位媒體內容播放指令;Play instruction acquisition module for acquiring digital media content playback instructions;

數據源獲取模組,用於獲取所述數位媒體內容播放指令對應的數據源;A data source acquisition module, configured to acquire a data source corresponding to the digital media content playback instruction;

數據源發送模組,用於將所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module, configured to forward the data source to a projection device through the IoT platform, so that the projection device plays corresponding digital media content according to the data source;

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IOT platform.

本發明實施例第六方面提供了一種數位媒體內容播放轉移的裝置,包括:A sixth aspect of the embodiments of the present invention provides an apparatus for playing and transferring digital media content, including:

第二登入模塊,用於以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;A second login module, configured to log in to the IoT platform using a device account registered in advance with the IoT platform;

數據封包接收模組,用於接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;A data packet receiving module for receiving a data packet forwarded by the Internet of Things platform, the data packet is sent by the user device to the Internet of Things platform, and the device account and the user account of the user device have a binding relationship on the Internet of Things platform , The user account of the user equipment is an account used by the user equipment to log in to the IOT platform;

數據封包解析模組,用於解析所述數據封包;A data packet analysis module, configured to parse the data packet;

投影播放模組,用於當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容;A projection playback module, configured to project and play the digital media content when the data packet includes the digital media content;

下載模組,用於當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容;A download module, configured to download corresponding digital media content according to the download link when the data packet includes a download link;

所述投影播放模組還用於投影播放下載的數位媒體內容。The projection playback module is also used for projection playback of downloaded digital media content.

從以上技術方案可以看出,本發明實施例具有以下優點:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:

本發明實施例中,提供了一種數位媒體內容播放轉移的方法,用戶設備使用用戶帳號登入物聯平臺,當獲取播放轉移模式開啟指令以及數位媒體內容播放指令後,用戶設備獲取數位媒體內容播放指令對應的數據源,將數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容。根據上述所介紹的過程,用戶設備可以通過與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。In the embodiment of the present invention, a method for transferring and playing digital media content is provided. A user device logs in to the IoT platform using a user account. After obtaining a playback transfer mode start instruction and a digital media content playback instruction, the user device obtains a digital media content playback instruction. The corresponding data source forwards the data source to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source. According to the process described above, user equipment can directly transmit digital media content to a projection device for cooperation with the Internet of Things platform, without being restricted by USB cables and local area networks, expanding the scope of application and improving the user experience.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本發明實施例提供了一種數位媒體內容播放轉移的方法、相關設備以及系統,可以通過用戶設備與物聯平台配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。Embodiments of the present invention provide a method, a related device, and a system for transferring and playing digital media content. The user device and the IOT platform can cooperate to directly transmit digital media content to a projection device for playback without being affected by USB cables and areas. Restrictions on the network, expanding the scope of application and improving the user experience.

下面對本發明中的數位媒體內容播放轉移的方法進行詳細描述,請參閱圖1,本發明實施例中數位媒體內容播放轉移的方法一個實施例包括:The method for transferring and playing digital media content in the present invention is described in detail below. Please refer to FIG. 1. An embodiment of the method for transferring and playing digital media content in an embodiment of the present invention includes:

步驟(S101),用戶設備以用戶帳號登入物聯平臺;Step (S101), the user equipment logs in to the IOT platform with a user account;

本實施例中,用戶設備可以爲手機、平板電腦、個人數位助理(英文全稱:Personal Digital Assistant,英文縮寫:PDA)、銷售終端(英文全稱:Point of Sales,英文縮寫:POS)或者車載電腦等任意終端設備。In this embodiment, the user equipment may be a mobile phone, a tablet computer, a personal digital assistant (full English name: Personal Digital Assistant, English abbreviation: PDA), a sales terminal (full English name: Point of Sales, English abbreviation: POS), or a car computer, etc. Any terminal device.

用戶在用戶設備上輸入用戶帳號,還可以根據實際情况輸入用戶帳號以及對應的密碼等信息,用戶帳號通常由數字、英文字母、漢字以及一些符號組成。用戶設備將獲取到的用戶帳號,或用戶帳號及密碼上報給物聯平臺,在物聯平臺的後臺對該用戶帳號,或用戶帳號及密碼進行驗證,驗證成功後則登入物聯平臺,驗證失敗的話,則可以重新退出到登入界面。The user enters the user account on the user device, and can also enter the user account and the corresponding password according to the actual situation. The user account usually consists of numbers, English letters, Chinese characters, and some symbols. The user device reports the obtained user account, or user account and password to the IoT platform, and authenticates the user account, or user account and password in the background of the IoT platform. After successful verification, it logs in to the IoT platform and verifies If it fails, you can log out to the login interface again.

步驟(S102),用戶設備獲取播放轉移模式開啟指令;Step (S102), the user equipment obtains a play transfer mode start instruction;

本實施例中,用戶設備獲取用戶發起的播放轉移模組開啟指令,其中,播放轉移模式開啟指令用於告知用戶設備可以進入媒體播放轉移模式,例如,將用戶設備播放的某個視頻轉移到投影設備進行播放。In this embodiment, the user equipment obtains a user-initiated play transfer module start instruction, wherein the play transfer mode start instruction is used to inform the user device that the device can enter a media playback transfer mode, for example, a certain video played by the user device is transferred to a projection The device plays.

步驟(S103),用戶設備獲取數位媒體內容播放指令;Step (S103), the user equipment obtains a digital media content playback instruction;

本實施例中,用戶設備獲取用戶發起的數位媒體內容播放指令,其中,數位媒體內容播放指令用於觸發用戶設備可以進入播放媒體內容的狀態,例如,用戶設備獲取到數位媒體內容播放指令,確定播放該指令對應的數位媒體內容。數位媒體內容可以是視頻、音頻、圖片或者文字等。In this embodiment, the user equipment obtains a digital media content playback instruction initiated by the user, where the digital media content playback instruction is used to trigger the user equipment to enter a state of playing media content. For example, the user equipment obtains the digital media content playback instruction to determine Play the digital media content corresponding to this command. Digital media content can be video, audio, pictures, or text.

步驟(S104),用戶設備獲取數位媒體內容播放指令對應的數據源;Step (S104), the user equipment obtains a data source corresponding to the digital media content playback instruction;

本實施例中,用戶設備獲取到數位媒體內容播放指令後,獲取該數位媒體內容播放指令對應的數據源,且由於數據源與數位媒體內容播放指令存在一一對應的關係,使得用戶設備可以根據用戶發起的數位媒體內容播放指令準確找到待播放的數據源。In this embodiment, after the user equipment obtains the digital media content playback instruction, it obtains a data source corresponding to the digital media content playback instruction, and because the data source and the digital media content playback instruction have a one-to-one correspondence, the user equipment can The digital media content playback instruction initiated by the user accurately finds the data source to be played.

步驟(S105),用戶設備將數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容,其中,用戶帳號與投影設備的設備帳號在物聯平臺具有綁定關係。Step (S105), the user device forwards the data source to the projection device through the IOT platform, so that the projection device plays the corresponding digital media content according to the data source, wherein the user account and the device account of the projection device have a binding on the IOT platform. relationship.

本實施例中,用戶設備將數據源透過已經登入成功的物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容。該操作需要在用戶帳號與投影設備的設備帳號在物聯平臺進行綁定後實現的,也就是說,物聯平臺的後臺數據庫中記錄了用戶帳號與投影設備帳號的綁定關係,未經帳號綁定的用戶設備不能控制投影設備,避免出現多台用戶設備同時控制投影設備播放數位媒體內容,也避免了非法用戶使用用戶設備在投影設備上播放數位媒體內容。In this embodiment, the user equipment forwards the data source to the projection device through the successfully connected IOT platform, so that the projection device plays the corresponding digital media content according to the data source. This operation needs to be implemented after the user account and the device account of the projection device are bound on the IoT platform, that is, the binding relationship between the user account and the projection device account is recorded in the background database of the IoT platform. The bound user device cannot control the projection device, avoiding multiple user devices controlling the projection device to play digital media content at the same time, and also preventing illegal users from using the user device to play digital media content on the projection device.

本發明實施例中,提供了一種數位媒體內容播放轉移的方法,用戶設備使用用戶帳號登入物聯平臺,當獲取播放轉移模式開啟指令以及數位媒體內容播放指令後,用戶設備獲取數位媒體內容播放指令對應的數據源,將數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容。根據上述所介紹的過程,用戶設備可以透過與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。In the embodiment of the present invention, a method for transferring and playing digital media content is provided. A user device logs in to the IoT platform using a user account. After obtaining a playback transfer mode start instruction and a digital media content playback instruction, the user device obtains a digital media content playback instruction. The corresponding data source forwards the data source to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source. According to the process described above, user equipment can directly transmit digital media content to a projection device for cooperation with the IOT platform, without being restricted by USB cables and local area networks, expanding the scope of application and improving the user experience.

優選地,在上述圖1對應的實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第一個可選實施例中,還可以包括:Preferably, on the basis of the foregoing embodiment corresponding to FIG. 1, in a first optional embodiment of the method for transferring and playing digital media content provided by the embodiment of the present invention, the method may further include:

用戶設備展示投影設備的控制界面,控制界面中包含用於觸發播放轉移模式開啟指令的對象,對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;The user equipment displays a control interface of the projection device, and the control interface includes an object for triggering a playback transfer mode on command, and the object has two states corresponding to the playback transfer mode on and the playback transfer mode off;

用戶設備獲取播放轉移模式開啟指令的步驟包括:用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step that the user equipment obtains the playback transfer mode start instruction includes: the user equipment obtains the playback transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the playback transfer mode to a state corresponding to the playback transfer mode on .

本實施例中,用戶透過在用戶設備上輸入對應的用戶帳號,或者輸入對應的用戶帳號與密碼後,用戶設備將這些信息發送到物聯平臺。當物聯平臺驗證上述信息透過後,則向用戶設備發送登入成功提示。與此同時,用戶設備上的控制界面具有投影設備的控制入口,當投影設備控制入口被點擊時, 在用戶設備上會展示出投影設備的控制界面。在該控制界面中包含用於觸發播放轉移模式開啟指令的對象,對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態。In this embodiment, after the user enters a corresponding user account on the user device, or enters a corresponding user account and password, the user device sends the information to the IOT platform. After the IOT platform verifies that the above information is transmitted, it sends a login success prompt to the user device. At the same time, the control interface on the user equipment has a control portal of the projection equipment. When the projection equipment control portal is clicked, the control interface of the projection equipment is displayed on the user equipment. The control interface includes an object for triggering the playback transfer mode opening instruction, and the object has two states corresponding to the playback transfer mode being turned on and the playback transfer mode being turned off.

用戶設備獲取播放轉移模式開啟指令具體可以包括,用戶設備接收透過用戶操作觸發的播放轉移模式開啟指令,用戶操作比如是用戶點擊用於觸發播放轉移模式開啟指令的對象,由對應於播放轉移模式關閉的狀態轉換爲對應與播放轉移模式開啟的狀態。The user equipment acquiring the play transfer mode opening instruction may specifically include that the user equipment receives the play transfer mode opening instruction triggered by a user operation. For example, the user operation is a user clicking an object for triggering the play transfer mode opening instruction, and the user equipment is closed by the corresponding playback transfer mode. The state is changed to the state corresponding to the playback transition mode is turned on.

其次,本發明實施例中,用戶設備展示投影設備的控制界面,控制界面中包含用於觸發播放轉移模式開啟指令的對象,用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。用戶可以透過投影設備的控制界面進入播放轉移模式開啟的狀態,便於實現對投影設備的控制,同時,使方案在實際操作中具有可行性。Secondly, in the embodiment of the present invention, the user equipment displays a control interface of the projection device. The control interface includes an object for triggering a playback transfer mode start instruction. The user equipment obtains a playback transfer mode start instruction triggered by a user operation. The object transitions from a state corresponding to the playback transition mode to an off state corresponding to the playback transition mode. The user can enter the playback transfer mode on state through the control interface of the projection device to facilitate the control of the projection device, and at the same time, make the solution feasible in actual operation.

優選地,在上述圖1對應的實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第二個可選實施例中,還可以包括:Preferably, based on the above-mentioned embodiment corresponding to FIG. 1, in a second optional embodiment of the method for playing and transferring digital media content provided by the embodiment of the present invention, the method may further include:

用戶設備展示視頻播放窗口,視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;The user equipment displays a video playback window, and the video playback window includes an object for triggering the playback transfer mode opening instruction, and the object has two states corresponding to whether the playback transfer mode is on and the playback transfer mode is off;

用戶設備獲取播放轉移模式開啟指令的步驟包括:用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step of obtaining, by the user equipment, a playback transfer mode start instruction includes: the user equipment obtains a playback transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the playback transfer mode to a state corresponding to the playback transfer mode being enabled. status.

本實施例中,用戶透過在用戶設備上輸入對應的用戶帳號,或者輸入對應的用戶帳號與密碼後,用戶設備將這些信息發送到物聯平臺。當物聯平臺驗證上述信息透過後,則向用戶設備發送登入成功提示。與此同時,用戶設備上會展示出視頻播放窗口,該視頻播放窗口可以是應用程式上的播放窗口,也可以是網頁上的播放窗口。其中,視頻播放窗口中包含了用於觸發播放轉移模式開啟指令的對象,該對象具有對應播放轉移模式開啟和播放轉移模式關閉的兩種狀態。In this embodiment, after the user enters a corresponding user account on the user device, or enters a corresponding user account and password, the user device sends the information to the IOT platform. After the IOT platform verifies that the above information is transmitted, it sends a login success prompt to the user device. At the same time, a video playback window will be displayed on the user device. The video playback window can be the playback window on the application or the playback window on the web page. The video playback window includes an object for triggering a playback transfer mode opening instruction, and the object has two states corresponding to whether the playback transfer mode is on and the playback transfer mode is off.

用戶設備獲取播放轉移模式開啟指令具體可以包括,用戶設備接收透過用戶操作觸發的播放轉移模式開啟指令,用戶操作比如是用戶點擊用於觸發播放轉移模式開啟指令的對象,由對應於播放轉移模式關閉的狀態轉換爲對應與播放轉移模式開啟的狀態。The user equipment acquiring the play transfer mode opening instruction may specifically include that the user equipment receives the play transfer mode opening instruction triggered by a user operation. For example, the user operation is a user clicking an object for triggering the play transfer mode opening instruction, and the user equipment is closed by the corresponding playback transfer mode. The state is changed to the state corresponding to the playback transition mode is turned on.

其次,本發明實施例中,用戶設備展示視頻播放窗口,視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。用戶可以透過視頻播放窗口進入播放轉移模式開啟的狀態,便於實現對投影設備的控制,同時,使方案在實際操作中具有可行性。Secondly, in the embodiment of the present invention, the user equipment displays a video playback window. The video playback window includes an object for triggering a playback transfer mode start instruction. The user equipment obtains a playback transfer mode start instruction triggered by a user operation. The transition from the state corresponding to the playback transition mode to the state corresponding to the playback transition mode is turned on. The user can enter the state that the playback transfer mode is turned on through the video playback window, which is convenient for controlling the projection equipment, and at the same time, makes the solution feasible in actual operation.

優選地,在上述圖1對應的實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第三個可選實施例中,還可以包括:Preferably, on the basis of the embodiment corresponding to FIG. 1 above, in a third optional embodiment of the method for transferring and playing digital media content provided by the embodiment of the present invention, the method may further include:

在用戶設備獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在用戶設備播放;After the user equipment obtains the play transfer mode start instruction, it is detected whether digital media content is currently played on the user equipment;

若用戶設備檢測到當前具有數位媒體內容在用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,將獲取的數據源和播放進度透過所述物聯平臺轉發到所述投影設備,以使得投影設備根據數據源和播放進度播放對應的數位媒體內容。If the user equipment detects that the digital media content is currently playing on the user equipment, it obtains the data source and playback progress of the currently playing digital media content, and forwards the obtained data source and playback progress to the projection device through the IOT platform , So that the projection device plays the corresponding digital media content according to the data source and playback progress.

若用戶設備檢測到當前沒有數位媒體內容在用戶設備播放,則監測是否獲取到數位媒體內容播放指令,在用戶設備獲取數位媒體內容播放指令之後,進入用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟。If the user equipment detects that no digital media content is currently playing on the user equipment, it monitors whether a digital media content playback instruction is obtained, and after the user equipment acquires the digital media content playback instruction, it enters the user equipment to obtain the digital media content playback instruction corresponding to the digital media content playback instruction. Data source steps.

本實施例中,用戶設備在獲取到播放轉移模式開啟指令後,檢測當前是否有數位媒體內容正在該用戶設備上播放。如果用戶設備檢測到當前具有數位媒體內容在播放時,則獲取當前播放的數位媒體內容的數據源和播放進度。In this embodiment, after obtaining the playback transfer mode start instruction, the user equipment detects whether digital media content is currently being played on the user equipment. If the user equipment detects that there is currently digital media content being played, it obtains the data source and playback progress of the currently played digital media content.

其中,可以理解的是,若當前播放的數位媒體內容爲本地存儲的數位媒體內容,則獲取該本地存儲的數位媒體內容作爲數據源。具體做法可以是,獲取當前運行的播放器存儲的當前播放的數位媒體內容的地址,檢測到當前播放的數位媒體內容的地址爲本地的路徑信息,則根據該路徑信息獲取對應的數位媒體內容,將該數位媒體內容作爲將要發送給投影設備的數據源。It can be understood that if the currently played digital media content is locally stored digital media content, the locally stored digital media content is obtained as a data source. The specific method may be to obtain the address of the currently playing digital media content stored by the currently running player, detect that the address of the currently playing digital media content is local path information, and then obtain the corresponding digital media content according to the path information. Use this digital media content as the data source to be sent to the projection device.

其中,可以理解的是,若當前播放的數位媒體內容爲網路端的數位媒體內容,則獲取該網路端的數位媒體內容的下載鏈接作爲數據源。具體做法可以是,獲取當前運行的播放器存儲的當前播放的數位媒體內容的地址,檢測到當前播放的數位媒體內容的地址爲下載鏈接,則將下載鏈接作爲將要發送給投影設備的數據源。It can be understood that if the currently played digital media content is a digital media content on a network side, a download link of the digital media content on the network side is obtained as a data source. The specific method may be to obtain the address of the currently playing digital media content stored by the currently running player, and detect that the address of the currently playing digital media content is a download link, and then use the download link as a data source to be sent to the projection device.

在獲取到當前播放的數位媒體內容的數據源和播放進度後,將數據源和播放進度透過物聯平臺轉發到投影設備,以使得投影設備根據數據源和播放進度播放對應的數位媒體內容。After obtaining the data source and playback progress of the currently playing digital media content, the data source and playback progress are forwarded to the projection device through the IOT platform, so that the projection device plays the corresponding digital media content according to the data source and playback progress.

相反地,用戶設備在獲取到播放轉移模式開啟指令後,檢測當前是否有數位媒體內容正在該用戶設備上播放。如果用戶設備檢測到當前沒有數位媒體內容在播放,則監測是否獲取到數位媒體內容播放指令,在用戶設備獲取數位媒體內容播放指令之後,進入用戶設備獲取數位媒體內容播放指令對應的數據源的步驟。該步驟包括:用戶設備接收透過用戶操作觸發的播放轉移模式開啟指令,用戶操作比如是用戶點擊用於觸發播放轉移模式開啟指令的對象,由對應於播放轉移模式關閉的狀態轉換爲對應與播放轉移模式開啟的狀態。In contrast, the user equipment detects whether there is currently digital media content being played on the user equipment after receiving the play transfer mode start instruction. If the user equipment detects that no digital media content is currently being played, it monitors whether a digital media content playback instruction is obtained, and after the user equipment obtains the digital media content playback instruction, it enters a step in which the user equipment obtains a data source corresponding to the digital media content playback instruction. . This step includes: the user equipment receives a play transfer mode opening instruction triggered by a user operation. For example, a user operation is a user clicking an object for triggering a play transfer mode opening instruction. The mode is on.

其次,本發明實施例中,在用戶設備獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在播放,如果有數位媒體內容在用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,如果沒有數位媒體內容在用戶設備播放,則監測是否獲取到數位媒體內容播放指令。使得投影設備可以透過物聯平臺接收到數據源和播放進度,並對數據源進行連續性播放。一方面,投影設備接收用戶設備透過物聯平臺發送的數據源,並播放相應內容,從而從用戶設備上成功轉移數位媒體內容,無需透過物理接口即可實現,增加方案的實用性。另一方面,可以不需要調整進度,投影設備繼續播放用戶設備上還未播放的數位媒體內容,提升用戶體驗。Secondly, in the embodiment of the present invention, after the user equipment obtains the playback transfer mode start instruction, it is detected whether digital media content is currently being played. If digital media content is being played on the user device, the data source of the currently played digital media content is obtained. And playback progress, if no digital media content is played on the user device, monitor whether a digital media content playback instruction is obtained. It enables the projection device to receive the data source and playback progress through the IoT platform, and continuously play the data source. On the one hand, the projection device receives the data source sent by the user device through the IoT platform and plays the corresponding content, so that the digital media content can be successfully transferred from the user device without the need for a physical interface, which increases the practicality of the solution. On the other hand, it is not necessary to adjust the progress, and the projection device continues to play the digital media content that has not been played on the user device, thereby improving the user experience.

優選地,在上述圖1以及圖1對應的第一至第三個可選實施例中任意一個實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第四個可選實施例中,用戶設備獲取數位媒體內容播放指令對應的數據源的步驟可以包括:Preferably, on the basis of any one of the first to third optional embodiments corresponding to FIG. 1 and FIG. 1 described above, the fourth optional method of the digital media content playback transfer method provided by the embodiment of the present invention In an embodiment, the step of the user equipment acquiring the data source corresponding to the digital media content playback instruction may include:

解析數位媒體內容播放指令;Parse digital media content playback instructions;

若數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲數據源;If the digital media content playback instruction corresponds to the locally stored digital media content, then obtain the corresponding locally stored digital media content as a data source;

若數位媒體內容播放指令對應網路端的數位媒體內容,則獲取對應的網路端的數位媒體內容的下載鏈接作爲數據源。If the digital media content playback instruction corresponds to the digital media content on the network side, a download link of the corresponding digital media content on the network side is obtained as a data source.

本實施例中,用戶設備獲取數位媒體內容播放指令對應的數據源,具體的操作過程爲,用戶設備先解析用戶觸發的數位媒體內容播放指令,然後可以確定數據源的來源。In this embodiment, the user equipment obtains the data source corresponding to the digital media content playback instruction. The specific operation process is that the user equipment first analyzes the digital media content playback instruction triggered by the user, and then can determine the source of the data source.

當解析數位媒體內容播放指令後,得到該數位媒體內容播放指令中包含對應於本地存儲的數位媒體內容的路徑信息,則根據該徑路信息獲取對應的本地存儲的數位媒體內容,並將本地存儲的數位媒體內容作爲將要發送給投影設備的數據源。其中,將本地存儲的數位媒體內容作爲將要發送給投影設備的數據源的步驟包括,將數位媒體內容封裝到預設格式的數據封包中,以指定該數位媒體內容爲將要發送給投影設備的數據源,從而也指定了該數位媒體內容爲投影設備播放的數據源。When the digital media content playback instruction is parsed, the digital media content playback instruction includes path information corresponding to the locally stored digital media content, and then the corresponding locally stored digital media content is obtained according to the path information, and the local storage is stored. Of digital media content as the data source to be sent to the projection device. The step of using the locally stored digital media content as a data source to be sent to the projection device includes encapsulating the digital media content into a data packet of a preset format, and designating the digital media content as data to be sent to the projection device Source, thereby also designating the digital media content as a data source for playback by the projection device.

當解析數位媒體內容播放指令後,得到該數位媒體內容播放指令中包含對應於網路端的數位媒體內容的下載鏈接,則提取該下載鏈接,並將下載鏈接作爲將要發送給投影設備的數據源,其中,將下載鏈接作爲將要發送給投影設備的數據源的步驟包括,將該下載鏈接封裝到預設格式的數據封包中,以指定該數位媒體內容的下載鏈接爲將要發送給投影設備的數據源,從而也指定了該數位媒體內容的下載鏈接爲投影設備播放的數據源。When the digital media content playback instruction is parsed and the digital media content playback instruction contains a download link corresponding to the digital media content on the network side, the download link is extracted and the download link is used as the data source to be sent to the projection device. The step of using the download link as a data source to be sent to the projection device includes encapsulating the download link in a data packet of a preset format, and specifying the download link of the digital media content as the data source to be sent to the projection device. , Thereby also specifying the download link of the digital media content as the data source played by the projection device.

再次,本發明實施例中,介紹了用戶設備獲取數位媒體內容播放指令對應的數據源的方法,用戶透過解析數位媒體內容播放指令,確定數位媒體內容播放指令對應的爲本地存儲的數位媒體內容,還是網路端的數位媒體內容。利用上述方式來獲取數據源,可以確保得到用戶需要的數位媒體內容。同時,也提升了方案的實用性。Thirdly, in the embodiment of the present invention, a method for acquiring a data source corresponding to a digital media content playback instruction by a user equipment is introduced. The user determines that the digital media content playback instruction corresponds to the locally stored digital media content by analyzing the digital media content playback instruction. Or digital content on the web. Using the above method to obtain the data source can ensure that the digital media content required by the user is obtained. At the same time, the practicality of the scheme has also been improved.

優選地,在上述圖1對應的第四個可選實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第五個可選實施例中,若數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲數據源,用戶設備將數據源通過物聯平臺轉發至投影設備的步驟包括以下步驟:Preferably, on the basis of the fourth optional embodiment corresponding to FIG. 1 described above, in a fifth optional embodiment of the digital media content playback transfer method provided by the embodiment of the present invention, if the digital media content playback instruction corresponds to Locally stored digital media content, then the corresponding locally stored digital media content is obtained as a data source, and the steps for the user equipment to forward the data source to the projection device through the IoT platform include the following steps:

若數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容,將該本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將該本地存儲的數位媒體內容透過物聯平臺轉發至投影設備。If the digital media content playback instruction corresponds to the locally stored digital media content, the corresponding locally stored digital media content is obtained, the locally stored digital media content is converted to a streaming media file format, and according to a preset streaming media transmission protocol The locally stored digital media content is forwarded to the projection device through the IoT platform.

本實施例中,若數位媒體內容播放指令對應的是本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲數據源。本地存儲的數位媒體內容可以是串流媒體,用戶設備將本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將本地存儲的數位媒體內容透過物聯平臺轉發至投影設備。In this embodiment, if the digital media content playback instruction corresponds to locally stored digital media content, then the corresponding locally stored digital media content is obtained as a data source. The locally stored digital media content can be streaming media. The user device converts the locally stored digital media content to a streaming media file format, and forwards the locally stored digital media content through the IoT platform according to a preset streaming media transmission protocol. To the projection device.

串流媒體是指採用流式傳輸的方式在互聯網播放的媒體格式。串流媒體又叫流式媒體,它是指商家用一個視頻傳送服務器把節目當成數據封包發出,傳送到網絡上。用戶透過解壓設備對這些數據進行解壓後,節目就會像發送前那樣顯示出來。Streaming media refers to media formats that are streamed on the Internet. Streaming media is also called streaming media. It refers to the use of a video delivery server to send programs as data packets to the network. After the user decompresses the data through the decompression device, the program will be displayed as before the transmission.

串流媒體是邊傳邊播的媒體,也是多媒體的一種。邊傳邊播是指媒體提供商在網絡上傳輸媒體的同時,用戶一邊不斷地接收並觀看或收聽被傳輸的媒體。串流媒體的"流"指的是這種媒體的傳輸方式,而並不是指媒體本身。Streaming media is media that is transmitted while broadcasting, and is also a type of multimedia. Transmitting while broadcasting means that while the media provider transmits the media on the network, the user continuously receives and watches or listens to the transmitted media. The "stream" of streaming media refers to the transmission method of this media, not the media itself.

進一步地,本發明實施例中,當本地存儲的數位媒體內容對應的是串流媒體時,用戶設備可以將本地存儲數位媒體內容直接透過傳輸協定轉換爲串流媒體格式進行播放。這樣的話,可以一邊將傳輸數位媒體內容,一邊播放該數位媒體內容對應的串流媒體,既節省下載數位媒體內容的時間,又可以提升方案在實際應用中的流暢度。Further, in the embodiment of the present invention, when the locally stored digital media content corresponds to streaming media, the user equipment can directly convert the locally stored digital media content into a streaming media format for playback through a transmission protocol. In this way, the digital media content can be transmitted while streaming media corresponding to the digital media content is played, which not only saves time for downloading digital media content, but also improves the fluency of the solution in practical applications.

上面的實例中都是從用戶設備的角度對本發明中數位媒體內容播放轉移的方法進行描述,下面將從投影設備的角度對本發明中數位媒體內容播放轉移的方法進行描述。請參閱圖2,本發明實施例中數位媒體內容播放轉移的方法另一個實施例包括:In the above examples, the method for playing and transferring digital media content in the present invention is described from the perspective of a user device. The method for playing and transferring digital media content in the present invention will be described from the perspective of a projection device. Referring to FIG. 2, another embodiment of a method for transferring and playing digital media content according to the present invention includes:

步驟(S201),投影設備以預先在物聯平臺註冊的設備帳號登入物聯平臺;Step (S201), the projection device logs in to the IoT platform with a device account registered in advance with the IoT platform;

本實施例中,投影設備與用戶帳號在物聯平臺上具有綁定關係,投影設備預先在物聯平臺上進行註冊,然後,使用已註冊的設備帳號登入物聯平臺。In this embodiment, the projection device and the user account have a binding relationship on the IOT platform. The projection device is registered on the IOT platform in advance, and then the registered device account is used to log in to the IOT platform.

其中,設備帳號通常由數字、英文字母、漢字以及一些符號組成。Among them, the device account usually consists of numbers, English letters, Chinese characters, and some symbols.

步驟(S202),投影設備接收物聯平臺轉發的數據封包,數據封包由用戶設備發送至物聯平臺,設備帳號與用戶設備的用戶帳號在物聯平臺具有綁定關係,用戶設備的用戶帳號爲用戶設備登入物聯平臺所用的帳號;In step (S202), the projection device receives the data packet forwarded by the Internet of Things platform, and the data packet is sent by the user device to the Internet of Things platform. The device account and the user account of the user device have a binding relationship on the Internet of Things platform. Account used by the user device to log in to the IoT platform;

本實施例中,投影設備接收用戶設備透過物聯平臺發送的數據封包,該數據封包是由用戶設備發送到物聯平臺的,且投影設備的設備帳號與用戶設備接收到的用戶帳號在物聯平臺上具有綁定關係,用戶可以使用用戶帳號,或者用戶帳號以及密碼來登入物聯平臺。In this embodiment, the projection device receives a data packet sent by the user device through the IOT platform. The data packet is sent by the user device to the IOT platform, and the device account of the projection device and the user account received by the user device are in the IOT. There is a binding relationship on the platform, and users can use the user account, or user account and password to log in to the IoT platform.

步驟(S203),投影設備解析數據封包;Step (S203), the projection device parses the data packet;

本實施例中,投影設備將接收到的由物聯平臺轉發的數據封包進行解析,並可以得到解析後的數位媒體內容。In this embodiment, the projection device analyzes the received data packet forwarded by the Internet of Things platform, and can obtain the parsed digital media content.

步驟(S204),當數據封包中包含數位媒體內容時,投影播放數位媒體內容;Step (S204), when the digital media content is contained in the data packet, the digital media content is projected and played;

本實施例中,當投影設備解析數據封包後,確定數據封包中包含數位媒體內容時,則直接播放該數位媒體內容。其中,數位媒體內容可以是視頻、音頻、圖片或者文字等。In this embodiment, when the projection device parses the data packet and determines that the digital packet contains digital media content, the digital media content is directly played. The digital media content may be video, audio, pictures, or text.

步驟(S205),當數據封包中包含下載鏈接時,根據下載鏈接下載對應的數位媒體內容,並投影播放下載的數位媒體內容。In step (S205), when the data packet includes a download link, the corresponding digital media content is downloaded according to the download link, and the downloaded digital media content is projected and played.

本實施例中,當投影設備解析數據封包後,確定數據封包中包含的是下載鏈接時,則根據該下載鏈接下載對應的數位媒體內容,並可以採用投影的方式播放下載的數位媒體內容。In this embodiment, when the projection device parses the data packet and determines that the data packet contains a download link, the corresponding digital media content is downloaded according to the download link, and the downloaded digital media content can be played in a projection manner.

本發明實施例中,提供了一種數位媒體內容播放轉移的方法,投影設備以設備帳號登入物聯平臺,然後接收物聯平臺轉發的數據封包,並解析該數據封包,當數據封包中包含數位媒體內容時,投影播放數位媒體內容,而當數據封包中包含下載鏈接時,根據下載鏈接下載對應的數位媒體內容,並投影播放下載的數位媒體內容。根據上述所介紹的過程,用戶設備可以透過與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。In the embodiment of the present invention, a method for transferring and transferring digital media content is provided. The projection device logs in to the IoT platform with a device account, and then receives a data packet forwarded by the IoT platform, and parses the data packet. When the content, the digital media content is projected and played, and when the data packet contains a download link, the corresponding digital media content is downloaded according to the download link, and the downloaded digital media content is projected and played. According to the process described above, user equipment can directly transmit digital media content to a projection device for cooperation with the IOT platform, without being restricted by USB cables and local area networks, expanding the scope of application and improving the user experience.

優選地,在上述圖2對應的實施例的基礎上,本發明實施例提供的數位媒體內容播放轉移的方法的第一個可選實施例中,當數據封包中包含數位媒體內容時,投影播放數位媒體內容的步驟可以包括:Preferably, on the basis of the above-mentioned embodiment corresponding to FIG. 2, in a first optional embodiment of the method for transferring and playing digital media content provided by the embodiment of the present invention, when the digital packet contains digital media content, projection playback is performed. The steps of digital media content may include:

當數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,按照預設的串流媒體播放協定投影播放該串流媒體文件。When the data packet includes a streaming media file transmitted according to a preset streaming media transmission protocol, the streaming media file is projected and played back according to the preset streaming media playback protocol.

本實施例中,若數位媒體內容播放指令對應的是本地存儲的數位媒體內容,則用戶設備獲取對應的本地存儲的數位媒體內容作爲數據源。本地存儲的數位媒體內容可以是串流媒體,用戶設備將本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將本地存儲的數位媒體內容透過物聯平臺轉發至投影設備。當投影設備接收到的數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,按照預設的串流媒體播放協定投影播放該串流媒體文件。In this embodiment, if the digital media content playback instruction corresponds to locally stored digital media content, the user equipment obtains the corresponding locally stored digital media content as a data source. The locally stored digital media content can be streaming media. The user device converts the locally stored digital media content to a streaming media file format, and forwards the locally stored digital media content through the IoT platform according to a preset streaming media transmission protocol. To the projection device. When the data packet received by the projection device includes a streaming media file transmitted according to a preset streaming media transmission protocol, the streaming media file is projected and played back according to the preset streaming media playback protocol.

串流媒體是指採用流式傳輸的方式在互聯網播放的媒體格式。串流媒體又叫流式媒體,它是指商家用一個視頻傳送服務器把節目當成數據封包發出,傳送到網絡上。用戶透過解壓設備對這些數據進行解壓後,節目就會像發送前那樣顯示出來。Streaming media refers to media formats that are streamed on the Internet. Streaming media is also called streaming media. It refers to the use of a video delivery server to send programs as data packets to the network. After the user decompresses the data through the decompression device, the program will be displayed as before the transmission.

其次,本發明實施例中,當數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,投影設備可以按照預設的串流媒體播放協定投影播放該串流媒體文件。這樣的話,可以一邊將傳輸數位媒體內容,一邊播放該數位媒體內容對應的串流媒體,既節省下載數位媒體內容的時間,又可以提升方案在實際應用中的流暢度。Secondly, in the embodiment of the present invention, when the data packet includes a streaming media file transmitted according to a preset streaming media transmission protocol, the projection device can project and play the streaming media file according to the preset streaming media playback protocol. In this way, the digital media content can be transmitted while streaming media corresponding to the digital media content is played, which not only saves time for downloading digital media content, but also improves the fluency of the solution in practical applications.

爲便於理解,下面以一個具體應用場景對本發明中一種數位媒體內容播放轉移的方法進行詳細描述,具體爲:To facilitate understanding, a method for playing and transferring digital media content in the present invention is described in detail in a specific application scenario, specifically:

用戶在“我的設備”列表中選擇投影儀,進入投影儀控制界面,點擊“開啟視頻投影播放”按鈕,從而開啟視頻投影播放功能,一旦視頻投影播放功能被開啟,手機上的所有視頻播放需求,都轉到投影儀上進行播放。The user selects the projector in the "My Device" list, enters the projector control interface, and clicks the "Enable video projection playback" button to enable the video projection playback function. Once the video projection playback function is turned on, all video playback requirements on the phone , Go to the projector for playback.

“開啟視頻投影播放”按鈕被點擊後,手機開啟一個監測進程,監測是否有播放操作。After the "Enable video projection playback" button is clicked, the mobile phone starts a monitoring process to monitor whether there is a playback operation.

當監測到用戶實施對手機上某一視頻的播放操作(例如,用戶雙擊手機上的某一視頻),則將該視頻傳送到物聯平臺,由所述物聯平臺轉送給投影儀,投影儀對該視頻進行投影播放。由於用戶實施對手機上的某一視頻的播放操作後,會觸發播放該視頻的指令,所以,可以透過監測是否發生播放視頻的指令,並截獲該指令,從而手機上不會再播放該視頻。When it is detected that the user performs a playback operation on a video on the mobile phone (for example, the user double-clicks a video on the mobile phone), the video is transmitted to the Internet of Things platform, and the Internet of Things platform is transferred to the projector, the projector Project the video. Since the user's playback operation of a video on the mobile phone will trigger an instruction to play the video, the user can monitor the instruction to play the video and intercept the instruction so that the video will not be played on the mobile phone.

又例如,用戶對網路端的某一視頻實施播放操作,例如,雲盤中的某一個視頻、網頁上的某一個視頻等等,此時會生成一個下載播放請求,該下載播放請求中必定會包含下載地址,監測進程監測是否生成這樣的下載播放請求,若是,則捕獲這個下載播放請求,將下載播放請求轉發給物聯平臺。進一步的,物聯平臺下載對應的視頻,將視頻傳送給投影儀進行投影播放;或者,物聯平臺將下載播放請求進一步下發給投影儀,由投影儀直接對視頻進行下載播放。For another example, when a user performs a playback operation on a video on the network side, for example, a video in a cloud disk, a video on a web page, and so on, a download play request will be generated at this time, and the download play request will definitely Including the download address, the monitoring process monitors whether such a download play request is generated, and if so, captures the download play request and forwards the download play request to the Internet of Things platform. Further, the IOT platform downloads the corresponding video, and transmits the video to the projector for projection playback; or, the IOT platform further sends the download playback request to the projector, and the projector directly downloads and plays the video.

圖3是本發明實施例用戶設備的結構示意圖。用戶設備30可包括輸入設備310、輸出設備320、處理器330和儲存器340。本發明實施例中的輸出設備可以是顯示設備。FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present invention. The user device 30 may include an input device 310, an output device 320, a processor 330, and a storage 340. The output device in the embodiment of the present invention may be a display device.

儲存器340可以包括唯讀記憶體和隨機存取記憶體,並向處理器330提供指令和數據。儲存器340的一部分還可以包括非揮發性記憶體(英文全稱:Non-Volatile Random Access Memory,英文縮寫:NVRAM)。The memory 340 may include a read-only memory and a random access memory, and provide instructions and data to the processor 330. A part of the storage 340 may further include a non-volatile memory (full name in English: Non-Volatile Random Access Memory, English abbreviation: NVRAM).

儲存器340存儲了如下的元素,可執行模組或者數據結構,或者它們的子集,或者它們的擴展集:The storage 340 stores the following elements, executable modules or data structures, or a subset of them, or their extensions:

操作指令:包括各種操作指令,用於實現各種操作。Operation instructions: Includes various operation instructions for implementing various operations.

操作系統:包括各種系統程序,用於實現各種基礎業務以及處理基於硬件的任務。Operating system: Includes various system programs for implementing various basic services and processing hardware-based tasks.

本發明實施例中儲存器340用於存儲應用程式;In the embodiment of the present invention, the storage 340 is used for storing application programs;

本發明實施例中處理器330用於:The processor 330 in the embodiment of the present invention is configured to:

以用戶帳號登入物聯平臺;Log in to IOT platform with user account;

獲取播放轉移模式開啟指令;Get the playback transfer mode start instruction;

獲取數位媒體內容播放指令;Get digital media content playback instructions;

獲取所述數位媒體內容播放指令對應的數據源;Obtaining a data source corresponding to the digital media content playback instruction;

將所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;Forwarding the data source to a projection device through the IOT platform, so that the projection device plays corresponding digital media content according to the data source;

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IOT platform.

處理器330控制用戶設備30的操作,處理器330還可以稱爲中央處理單元(英文全稱:Central Processing Unit,英文縮寫:CPU)。儲存器340可以包括唯讀記憶體和隨機存取記憶體,並向處理器330提供指令和數據。儲存器340的一部分還可以包括NVRAM。具體的應用中,用戶設備30的各個組件透過總線系統350耦合在一起,其中總線系統350除包括數據總線之外,還可以包括電源總線、控制總線和狀態訊號總線等。但是爲了清楚說明起見,在圖中將各種總線都標爲總線系統350。The processor 330 controls operations of the user equipment 30. The processor 330 may also be referred to as a central processing unit (full name in English: Central Processing Unit, English abbreviation: CPU). The memory 340 may include a read-only memory and a random access memory, and provide instructions and data to the processor 330. A part of the storage 340 may further include NVRAM. In specific applications, various components of the user equipment 30 are coupled together through a bus system 350. The bus system 350 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, various buses are marked as the bus system 350 in the figure.

上述本發明實施例揭示的方法可以應用於處理器330中,或者由處理器330實現。處理器330可能是一種集成電路芯片,具有訊號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器330中的硬件的集成邏輯電路或者軟件形式的指令完成。上述的處理器330可以是通用處理器、數位訊號處理器(英文全稱:digital signal processing,英文全稱:DSP)、特殊應用積體電路(英文全稱:Application Specific Integrated Circuit,英文縮寫:ASIC)、現場可程式邏輯門陣列(英文全稱:Field-Programmable Gate Array,英文縮寫:FPGA)或者其他可編程邏輯器件、分立元器件門電路或者晶體管邏輯器件、分立硬件組件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現爲硬件譯碼處理器執行完成,或者用譯碼處理器中的硬件及軟件模組組合執行完成。軟件模組可以位於隨機儲存器,閃存、唯讀記憶體,可編程唯讀記憶體或者可擦拭可規劃式唯讀記憶體、寄存器等本領域成熟的存儲介質中。該存儲介質位於儲存器340,處理器330讀取儲存器340中的信息,結合其硬件完成上述方法的步驟。The method disclosed in the foregoing embodiment of the present invention may be applied to the processor 330, or implemented by the processor 330. The processor 330 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed through an integrated logic circuit of hardware in the processor 330 or an instruction in the form of software. The aforementioned processor 330 may be a general-purpose processor, a digital signal processor (full English name: digital signal processing, DSP), a special application integrated circuit (English full name: Application Specific Integrated Circuit, English abbreviation: ASIC), field Programmable logic gate array (full name in English: Field-Programmable Gate Array, English abbreviation: FPGA) or other programmable logic devices, discrete component gate circuits or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention may be directly embodied as completion of execution by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. Software modules can be located in random storage, flash memory, read-only memory, programmable read-only memory, or erasable and programmable read-only memory, registers, and other mature storage media in the field. The storage medium is located in the storage 340, and the processor 330 reads the information in the storage 340 and completes the steps of the above method in combination with its hardware.

優選地,處理器330還用於:Preferably, the processor 330 is further configured to:

展示所述投影設備的控制界面,所述控制界面中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;Displaying a control interface of the projection device, the control interface including an object for triggering a playback transfer mode on instruction, the object having two states corresponding to the playback transfer mode on and the playback transfer mode off;

獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step of obtaining a play transfer mode start instruction includes: obtaining, by the user equipment, a play transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to a play transfer mode off to a corresponding play transfer The mode is on.

優選地,處理器330還用於:Preferably, the processor 330 is further configured to:

展示視頻播放窗口,所述視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;Displaying a video playback window, the video playback window including an object for triggering a playback transfer mode opening instruction, the object having two states corresponding to the playback transfer mode being turned on and the playback transfer mode being turned off;

所述用戶設備獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The step of obtaining, by the user equipment, a play transfer mode start instruction includes: obtaining, by the user equipment, a play transfer mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the close of the play transfer mode to Corresponds to the state where the playback transfer mode is on.

優選地,處理器330還用於:Preferably, the processor 330 is further configured to:

獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在所述用戶設備播放;After acquiring the play transfer mode start instruction, detecting whether there is currently digital media content playing on the user equipment;

若所述用戶設備檢測到當前具有數位媒體內容在所述用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,將獲取的數據源和播放進度透過所述物聯平臺轉發到所述投影設備,以使得所述投影設備根據所述數據源和播放進度播放對應的數位媒體內容;If the user equipment detects that the digital media content is currently playing on the user equipment, it obtains the data source and playback progress of the currently playing digital media content, and forwards the obtained data source and playback progress to the Internet of Things platform to The projection device, so that the projection device plays corresponding digital media content according to the data source and playback progress;

若所述用戶設備檢測到當前沒有數位媒體內容在所述用戶設備播放,則監測是否獲取到數位媒體內容播放指令,在所述用戶設備獲取數位媒體內容播放指令之後,進入所述用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟。If the user equipment detects that no digital media content is currently playing on the user equipment, it monitors whether a digital media content playback instruction is obtained, and after the user equipment obtains the digital media content playback instruction, enters the user equipment to obtain The steps of the data source corresponding to the digital media content playback instruction are described.

優選地,處理器330還用於:Preferably, the processor 330 is further configured to:

解析所述數位媒體內容播放指令;Parse the digital media content playback instruction;

若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源;If the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content as the data source;

若所述數位媒體內容播放指令對應網路端的數位媒體內容,則獲取對應的網路端的數位媒體內容的下載鏈接作爲所述數據源。If the digital media content playback instruction corresponds to the digital media content on the network side, obtaining a download link of the corresponding digital media content on the network side as the data source.

優選地,處理器330還用於:Preferably, the processor 330 is further configured to:

若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容,將該本地存儲的數位媒體內容轉換為串流媒體文件格式,根據預設的串流媒體傳輸協定將該本地存儲的數位媒體內容透過所述物聯平臺轉發至投影設備。If the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content, converting the locally stored digital media content into a streaming media file format, and according to a preset streaming media The transmission protocol forwards the locally stored digital media content to the projection device through the IOT platform.

圖3的相關描述可以參閱圖1方法部分的相關描述和效果進行理解,本處不做過多贅述。The related description of FIG. 3 can be understood by referring to the related description and effect of the method part of FIG. 1, and it will not be repeated here.

圖4是本發明實施例投影設備的結構示意圖。投影設備40可包括輸入設備410、輸出設備420、處理器430和儲存器440。本發明實施例中的輸出設備可以是顯示設備。FIG. 4 is a schematic structural diagram of a projection device according to an embodiment of the present invention. The projection device 40 may include an input device 410, an output device 420, a processor 430, and a storage 440. The output device in the embodiment of the present invention may be a display device.

儲存器440可以包括唯讀記憶體和隨機存取記憶體,並向處理器430提供指令和數據。儲存器440的一部分還可以包括非揮發性記憶體(英文全稱:Non-Volatile Random Access Memory,英文縮寫:NVRAM)。The memory 440 may include a read-only memory and a random access memory, and provide instructions and data to the processor 430. A part of the storage 440 may further include a non-volatile memory (full name in English: Non-Volatile Random Access Memory, English abbreviation: NVRAM).

儲存器440存儲了如下的元素,可執行模組或者數據結構,或者它們的子集,或者它們的擴展集:The storage 440 stores the following elements, executable modules or data structures, or a subset of them, or their extensions:

操作指令:包括各種操作指令,用於實現各種操作。Operation instructions: Includes various operation instructions for implementing various operations.

操作系統:包括各種系統程序,用於實現各種基礎業務以及處理基於硬件的任務。Operating system: Includes various system programs for implementing various basic services and processing hardware-based tasks.

本發明實施例中儲存器440用於存儲應用程式;In the embodiment of the present invention, the storage 440 is used for storing application programs;

本發明實施例中處理器430用於:The processor 430 in the embodiment of the present invention is configured to:

以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;Log in to the IoT platform with a device account registered in advance with the IoT platform;

接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;Receive a data packet forwarded by the IoT platform, the data packet is sent by the user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user account of the user device An account used by a user device to log in to the IOT platform;

解析所述數據封包;Parse the data packet;

當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容對應的圖像訊號;When the data packet contains digital media content, generating an image signal corresponding to the digital media content;

當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容,並生成下載的數位媒體內容對應的圖像訊號;When the data packet includes a download link, downloading corresponding digital media content according to the download link, and generating an image signal corresponding to the downloaded digital media content;

所述投影部件460用於根據所述圖像訊號投射相應的圖像。The projection component 460 is configured to project a corresponding image according to the image signal.

處理器430控制用戶設備30的操作,處理器430還可以稱爲中央處理單元(英文全稱:Central Processing Unit,英文縮寫:CPU)。儲存器440可以包括唯讀記憶體和隨機存取記憶體,並向處理器430提供指令和數據。儲存器440的一部分還可以包括NVRAM。具體的應用中,投影設備40的各個組件透過總線系統450耦合在一起,其中總線系統450除包括數據總線之外,還可以包括電源總線、控制總線和狀態訊號總線等。但是爲了清楚說明起見,在圖中將各種總線都標爲總線系統450。The processor 430 controls operations of the user equipment 30. The processor 430 may also be referred to as a central processing unit (full name in English: Central Processing Unit, English abbreviation: CPU). The memory 440 may include a read-only memory and a random access memory, and provide instructions and data to the processor 430. A part of the storage 440 may further include NVRAM. In a specific application, the components of the projection device 40 are coupled together through a bus system 450. The bus system 450 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, various buses are marked as the bus system 450 in the figure.

上述本發明實施例揭示的方法可以應用於處理器430中,或者由處理器430實現。處理器430可能是一種集成電路芯片,具有訊號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器430中的硬件的集成邏輯電路或者軟件形式的指令完成。上述的處理器430可以是通用處理器、數位訊號處理器(英文全稱:digital signal processing,英文全稱:DSP)、特殊應用積體電路(英文全稱:Application Specific Integrated Circuit,英文縮寫:ASIC)、現場可程式邏輯門陣列(英文全稱:Field-Programmable Gate Array,英文縮寫:FPGA)或者其他可編程邏輯器件、分立元器件門電路或者晶體管邏輯器件、分立硬件組件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現爲硬件譯碼處理器執行完成,或者用譯碼處理器中的硬件及軟件模組組合執行完成。軟件模組可以位於隨機儲存器,閃存、唯讀記憶體,可編程唯讀記憶體或者可擦拭可規劃式唯讀記憶體、寄存器等本領域成熟的存儲介質中。該存儲介質位於儲存器440,處理器430讀取儲存器440中的信息,結合其硬件完成上述方法的步驟。The method disclosed in the foregoing embodiment of the present invention may be applied to the processor 430, or implemented by the processor 430. The processor 430 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed through an integrated logic circuit of hardware in the processor 430 or an instruction in the form of software. The above processor 430 may be a general-purpose processor, a digital signal processor (full English name: digital signal processing, DSP), a special application integrated circuit (English full name: Application Specific Integrated Circuit, English abbreviation: ASIC), field Programmable logic gate array (full name in English: Field-Programmable Gate Array, English abbreviation: FPGA) or other programmable logic devices, discrete component gate circuits or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention may be directly embodied as completion of execution by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. Software modules can be located in random storage, flash memory, read-only memory, programmable read-only memory, or erasable and programmable read-only memory, registers, and other mature storage media in the field. The storage medium is located in the storage 440, and the processor 430 reads the information in the storage 440 and completes the steps of the above method in combination with its hardware.

優選地,處理器430還用於,Preferably, the processor 430 is further configured to:

當所述數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,按照預設的串流媒體播放協定投影播放該串流媒體文件。When the data packet includes a streaming media file transmitted according to a preset streaming media transmission protocol, the streaming media file is projected and played back according to the preset streaming media playing protocol.

優選地,處理器430還用於,Preferably, the processor 430 is further configured to:

當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;When the data packet contains digital media content, generating an audio signal corresponding to the audio data contained in the digital media content;

以及,當所述數據封包中包含下載鏈接時,在根據所述下載鏈接下載對應的數位媒體內容之後,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;And when the data packet includes a download link, after downloading the corresponding digital media content according to the download link, generating an audio signal corresponding to the audio data included in the digital media content;

所述投影設備還包括:The projection device further includes:

音頻播放部件470,用於根據所述音頻訊號播放相應的音頻。The audio playing component 470 is configured to play corresponding audio according to the audio signal.

圖4的相關描述可以參閱圖2方法部分的相關描述和效果進行理解,本處不做過多贅述。The related description of FIG. 4 can be understood by referring to the related description and effect of the method part of FIG. 2, and the details are not described herein.

下面對本發明中的數位媒體內容播放轉移的裝置進行詳細描述,請參閱圖5,本發明實施例中的數位媒體內容播放轉移的裝置一個實施例示意圖包括:The following describes a device for playing and transferring digital media content in the present invention in detail. Please refer to FIG. 5. A schematic diagram of an embodiment of a device for playing and transferring digital media content in an embodiment of the present invention includes:

第一登入模組501,用於以用戶帳號登入物聯平臺;A first login module 501, configured to log in to the IOT platform with a user account;

開啟指令獲取模組502,用於獲取播放轉移模式開啟指令;An opening instruction acquisition module 502, configured to obtain an instruction for opening the playback transfer mode;

播放指令獲取模組503,用於獲取數位媒體內容播放指令;A playback instruction acquisition module 503, configured to acquire a digital media content playback instruction;

數據源獲取模組504,用於獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;A data source obtaining module 504, configured to obtain a data source corresponding to the digital media content playing instruction obtained by the playing instruction obtaining module 503;

數據源發送模組505,用於將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module 505, configured to forward the data source obtained by the data source obtaining module 504 to a projection device through the IoT platform, so that the projection device plays a corresponding digital according to the data source Media content

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IOT platform.

本實施例中,第一登入模組501以用戶帳號登入物聯平臺;開啟指令獲取模組502獲取播放轉移模式開啟指令;播放指令獲取模組503獲取數位媒體內容播放指令;數據源獲取模組504獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;數據源發送模組505將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容,其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。In this embodiment, the first login module 501 logs in to the IoT platform with a user account; the open instruction acquisition module 502 obtains the playback transfer mode start instruction; the playback instruction acquisition module 503 obtains the digital media content playback instruction; the data source acquisition module 504 Acquire a data source corresponding to the digital media content playback instruction acquired by the playback instruction acquisition module 503; the data source sending module 505 passes the data source acquired by the data source acquisition module 504 through the IoT The platform forwards to the projection device, so that the projection device plays corresponding digital media content according to the data source, wherein the user account and the device account of the projection device have a binding relationship on the IOT platform.

本發明實施例中,提供了一種數位媒體內容播放轉移的裝置,用戶設備使用用戶帳號登入物聯平臺,當獲取播放轉移模式開啟指令以及數位媒體內容播放指令後,用戶設備獲取數位媒體內容播放指令對應的數據源,將數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容。根據上述所介紹的過程,用戶設備可以通過與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。In an embodiment of the present invention, a device for transferring and playing digital media content is provided. A user device logs in to the IoT platform using a user account. After obtaining a playback transfer mode start instruction and a digital media content playback instruction, the user device obtains digital media content playback instruction The corresponding data source forwards the data source to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source. According to the process described above, user equipment can directly transmit digital media content to a projection device for cooperation with the Internet of Things platform, without being restricted by USB cables and local area networks, expanding the scope of application and improving the user experience.

請參閱圖6,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Referring to FIG. 6, a schematic diagram of another embodiment of an apparatus for transferring and playing digital media content according to an embodiment of the present invention includes:

第一登入模組501,用於以用戶帳號登入物聯平臺;A first login module 501, configured to log in to the IOT platform with a user account;

開啟指令獲取模組502,用於獲取播放轉移模式開啟指令;An opening instruction acquisition module 502, configured to obtain an instruction for opening the playback transfer mode;

播放指令獲取模組503,用於獲取數位媒體內容播放指令;A playback instruction acquisition module 503, configured to acquire a digital media content playback instruction;

數據源獲取模組504,用於獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;A data source obtaining module 504, configured to obtain a data source corresponding to the digital media content playing instruction obtained by the playing instruction obtaining module 503;

數據源發送模組505,用於將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module 505, configured to forward the data source obtained by the data source obtaining module 504 to a projection device through the IoT platform, so that the projection device plays a corresponding digital according to the data source Media content

控制界面展示模組506,用於在所述播放指令獲取模組503獲取所述數位媒體內容播放指令之前,展示所述投影設備的控制界面,所述控制界面中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;A control interface display module 506 is configured to display a control interface of the projection device before the playback instruction acquisition module 503 acquires the digital media content playback instruction, and the control interface includes a trigger for triggering a playback transfer mode to be opened. An instruction object, the object having two states corresponding to the playback transfer mode on and the playback transfer mode off;

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係;The user account and the device account of the projection device have a binding relationship on the IOT platform;

其中,所述開啟指令獲取模組502包括:The opening instruction acquisition module 502 includes:

第一獲取單元5021,用於獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The first obtaining unit 5021 is configured to obtain a playback transition mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the playback transition mode to a state corresponding to the playback transition mode on.

其次,本發明實施例中,用戶設備展示投影設備的控制界面,控制界面中包含用於觸發播放轉移模式開啟指令的對象,用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。用戶可以透過投影設備的控制界面進入播放轉移模式開啟的狀態,便於實現對投影設備的控制,同時,使方案在實際操作中具有可行性。Secondly, in the embodiment of the present invention, the user equipment displays a control interface of the projection device. The control interface includes an object for triggering a playback transfer mode start instruction. The user equipment obtains a playback transfer mode start instruction triggered by a user operation. The object transitions from a state corresponding to the playback transition mode to an off state corresponding to the playback transition mode. The user can enter the playback transfer mode on state through the control interface of the projection device to facilitate the control of the projection device, and at the same time, make the solution feasible in actual operation.

請參閱圖7,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Referring to FIG. 7, a schematic diagram of another embodiment of an apparatus for transferring and playing digital media content according to an embodiment of the present invention includes:

第一登入模組501,用於以用戶帳號登入物聯平臺;A first login module 501, configured to log in to the IOT platform with a user account;

開啟指令獲取模組502,用於獲取播放轉移模式開啟指令;An opening instruction acquisition module 502, configured to obtain an instruction for opening the playback transfer mode;

播放指令獲取模組503,用於獲取數位媒體內容播放指令;A playback instruction acquisition module 503, configured to acquire a digital media content playback instruction;

數據源獲取模組504,用於獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;A data source obtaining module 504, configured to obtain a data source corresponding to the digital media content playing instruction obtained by the playing instruction obtaining module 503;

數據源發送模組505,用於將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module 505, configured to forward the data source obtained by the data source obtaining module 504 to a projection device through the IoT platform, so that the projection device plays a corresponding digital according to the data source Media content

播放窗口展示模組507,用於在所述播放指令獲取模組503獲取所述數位媒體內容播放指令之前,展示所述投影設備的控制界面,所述控制界面中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;A play window display module 507 is configured to display a control interface of the projection device before the play instruction acquisition module 503 obtains the digital media content playback instruction, and the control interface includes a trigger for triggering the start of a playback transfer mode An instruction object, the object having two states corresponding to the playback transfer mode on and the playback transfer mode off;

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係;The user account and the device account of the projection device have a binding relationship on the IOT platform;

其中,所述開啟指令獲取模組502包括:The opening instruction acquisition module 502 includes:

獲取單元5022,用於獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The obtaining unit 5022 is configured to obtain a playback transition mode start instruction triggered by a user operation, and the user operation is used to convert the object from a state corresponding to the playback transition mode to a state corresponding to the playback transition mode on.

其次,本發明實施例中,用戶設備展示視頻播放窗口,視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,用戶操作用於將對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。用戶可以透過視頻播放窗口進入播放轉移模式開啟的狀態,便於實現對投影設備的控制,同時,使方案在實際操作中具有可行性。Secondly, in the embodiment of the present invention, the user equipment displays a video playback window. The video playback window includes an object for triggering a playback transfer mode start instruction. The user equipment obtains a playback transfer mode start instruction triggered by a user operation. The transition from the state corresponding to the playback transition mode to the state corresponding to the playback transition mode is turned on. The user can enter the state that the playback transfer mode is turned on through the video playback window, which is convenient for controlling the projection equipment, and at the same time, makes the solution feasible in actual operation.

請參閱圖8,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Referring to FIG. 8, a schematic diagram of another embodiment of a device for transferring and playing digital media content according to an embodiment of the present invention includes:

第一登入模組501,用於以用戶帳號登入物聯平臺;A first login module 501, configured to log in to the IOT platform with a user account;

開啟指令獲取模組502,用於獲取播放轉移模式開啟指令;An opening instruction acquisition module 502, configured to obtain an instruction for opening the playback transfer mode;

播放指令獲取模組503,用於獲取數位媒體內容播放指令;A playback instruction acquisition module 503, configured to acquire a digital media content playback instruction;

數據源獲取模組504,用於獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;A data source obtaining module 504, configured to obtain a data source corresponding to the digital media content playing instruction obtained by the playing instruction obtaining module 503;

數據源發送模組505,用於將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module 505, configured to forward the data source obtained by the data source obtaining module 504 to a projection device through the IoT platform, so that the projection device plays a corresponding digital according to the data source Media content

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係;The user account and the device account of the projection device have a binding relationship on the IOT platform;

檢測模組508,用於在所述開啟指令獲取模組502獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在所述用戶設備播放;A detection module 508, configured to detect whether digital media content is currently played on the user equipment after the start instruction acquisition module 502 obtains a play transfer mode start instruction;

進度獲取模組509,用於若所述檢測模組508檢測到當前具有數位媒體內容在所述用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,將獲取的數據源和播放進度透過所述物聯平臺轉發到所述投影設備,以使得所述投影設備根據所述數據源和播放進度播放對應的數位媒體內容;A progress acquisition module 509 is configured to acquire a data source and a playback progress of the currently played digital media content if the detection module 508 detects that the digital media content is currently being played on the user device. The playback progress is forwarded to the projection device through the IoT platform, so that the projection device plays the corresponding digital media content according to the data source and the playback progress;

媒體內容檢測模組510,用於若所述檢測模組508檢測到當前沒有數位媒體內容在所述用戶設備播放,則監測是否獲取到數位媒體內容播放指令,在所述用戶設備獲取數位媒體內容播放指令之後,進入所述用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟。The media content detection module 510 is configured to monitor whether a digital media content playback instruction is acquired if the detection module 508 detects that no digital media content is currently being played on the user device, and acquire digital media content on the user device. After playing the instruction, the method proceeds to a step in which the user equipment obtains a data source corresponding to the digital media content playing instruction.

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。The user account and the device account of the projection device have a binding relationship on the IOT platform.

其次,本發明實施例中,在用戶設備獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在播放,如果有數位媒體內容在用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,如果沒有數位媒體內容在用戶設備播放,則監測是否獲取到數位媒體內容播放指令。使得投影設備可以透過物聯平臺接收到數據源和播放進度,並對數據源進行連續性播放。一方面,投影設備接收用戶設備透過物聯平臺發送的數據源,並播放相應內容,從而從用戶設備上成功轉移數位媒體內容,無需透過物理接口即可實現,增加方案的實用性。另一方面,可以不需要調整進度,投影設備繼續播放用戶設備上還未播放的數位媒體內容,提升用戶體驗。Secondly, in the embodiment of the present invention, after the user equipment obtains the playback transfer mode start instruction, it is detected whether digital media content is currently being played. If digital media content is being played on the user device, the data source of the currently played digital media content is obtained. And playback progress, if no digital media content is played on the user device, monitor whether a digital media content playback instruction is obtained. It enables the projection device to receive the data source and playback progress through the IoT platform, and continuously play the data source. On the one hand, the projection device receives the data source sent by the user device through the IoT platform and plays the corresponding content, so that the digital media content can be successfully transferred from the user device without the need for a physical interface, which increases the practicality of the solution. On the other hand, it is not necessary to adjust the progress, and the projection device continues to play the digital media content that has not been played on the user device, thereby improving the user experience.

請參閱圖9,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Referring to FIG. 9, a schematic diagram of another embodiment of a device for transferring and playing digital media content according to an embodiment of the present invention includes:

第一登入模組501,用於以用戶帳號登入物聯平臺;A first login module 501, configured to log in to the IOT platform with a user account;

開啟指令獲取模組502,用於獲取播放轉移模式開啟指令;An opening instruction acquisition module 502, configured to obtain an instruction for opening the playback transfer mode;

播放指令獲取模組503,用於獲取數位媒體內容播放指令;A playback instruction acquisition module 503, configured to acquire a digital media content playback instruction;

數據源獲取模組504,用於獲取所述播放指令獲取模組503獲取的所述數位媒體內容播放指令對應的數據源;A data source obtaining module 504, configured to obtain a data source corresponding to the digital media content playing instruction obtained by the playing instruction obtaining module 503;

數據源發送模組505,用於將所述數據源獲取模組504獲取的所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容;A data source sending module 505, configured to forward the data source obtained by the data source obtaining module 504 to a projection device through the IoT platform, so that the projection device plays a corresponding digital according to the data source Media content

其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係;The user account and the device account of the projection device have a binding relationship on the IOT platform;

其中,所述數據源獲取模組504包括:The data source acquisition module 504 includes:

指令解析單元5041,用於解析所述數位媒體內容播放指令;An instruction parsing unit 5041, configured to parse the digital media content playback instruction;

本地獲取單元5042,用於若所述指令解析單元5041解析後得到的所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源;A local obtaining unit 5042, configured to obtain the corresponding locally stored digital media content as the data source if the digital media content playback instruction obtained by the instruction parsing unit 5041 corresponds to the locally stored digital media content;

網絡獲取單元5043,用於若所述指令解析單元5041解析後得到的所述數位媒體內容播放指令對應網路端的數位媒體內容,則獲取對應的網路端的數位媒體內容的下載鏈接作爲所述數據源。The network obtaining unit 5043 is configured to obtain the download link of the corresponding digital media content on the network side as the data if the digital media content playing instruction obtained by the instruction parsing unit 5041 parses corresponds to the digital media content on the network side. source.

再次,本發明實施例中,介紹了用戶設備獲取數位媒體內容播放指令對應的數據源的方法,用戶透過解析數位媒體內容播放指令,確定數位媒體內容播放指令對應的爲本地存儲的數位媒體內容,還是網路端的數位媒體內容。利用上述方式來獲取數據源,可以確保得到用戶需要的數位媒體內容。同時,也提升了方案的實用性。Thirdly, in the embodiment of the present invention, a method for acquiring a data source corresponding to a digital media content playback instruction by a user equipment is introduced. The user determines that the digital media content playback instruction corresponds to the locally stored digital media content by analyzing the digital media content playback instruction. Or digital content on the web. Using the above method to obtain the data source can ensure that the digital media content required by the user is obtained. At the same time, the practicality of the scheme has also been improved.

優選地,在上述圖9對應的數位媒體內容播放轉移的裝置的基礎上,本發明實施例提供的另一個數位媒體內容播放轉移的裝置中,所述本地獲取單元5042具體還用於,Preferably, based on the above-mentioned digital media content playback and transfer device corresponding to FIG. 9, in another digital media content playback and transfer device provided by an embodiment of the present invention, the local acquisition unit 5042 is further specifically configured to:

若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容,將該本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將該本地存儲的數位媒體內容透過所述物聯平臺轉發至投影設備。If the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content, converting the locally stored digital media content into a streaming media file format, and according to a preset streaming media The transmission protocol forwards the locally stored digital media content to the projection device through the IOT platform.

進一步地,本發明實施例中,當本地存儲的數位媒體內容對應的是串流媒體時,用戶設備可以將本地存儲數位媒體內容直接透過傳輸協定轉換爲串流媒體格式進行播放。這樣的話,可以一邊將傳輸數位媒體內容,一邊播放該數位媒體內容對應的串流媒體,既節省下載數位媒體內容的時間,又可以提升方案在實際應用中的流暢度。Further, in the embodiment of the present invention, when the locally stored digital media content corresponds to streaming media, the user equipment can directly convert the locally stored digital media content into a streaming media format for playback through a transmission protocol. In this way, the digital media content can be transmitted while streaming media corresponding to the digital media content is played, which not only saves time for downloading digital media content, but also improves the fluency of the solution in practical applications.

請參閱圖10,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Referring to FIG. 10, a schematic diagram of another embodiment of an apparatus for playing and transferring digital media content according to an embodiment of the present invention includes:

第二登入模組511,用於以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;A second login module 511, configured to log in to the IOT platform with a device account registered in the IOT platform in advance;

數據封包接收模組512,用於所述第二登入模組511登入所述物聯平臺後,接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;A data packet receiving module 512, configured to receive a data packet forwarded by the IoT platform after the second login module 511 logs in to the IoT platform. The data packet is sent by a user device to the IoT platform. The device The account has a binding relationship with the user account of the user device on the IOT platform, and the user account of the user device is an account used by the user device to log in to the IOT platform;

數據封包解析模組513,用於解析所述數據封包接收模組512接收的所述數據封包;A data packet analysis module 513, configured to analyze the data packet received by the data packet receiving module 512;

投影播放模組514,用於當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容;A projection playback module 514, configured to project and play the digital media content when the data packet includes the digital media content;

下載模組515,用於當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容;A download module 515, configured to download the corresponding digital media content according to the download link when the data packet includes a download link;

所述投影播放模組514,還用於投影播放下載的數位媒體內容。The projection playback module 514 is also used to project and play the downloaded digital media content.

本實施例中,第二登入模組511以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;所述第二登入模組511登入所述物聯平臺後,數據封包接收模組512接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;數據封包解析模組513解析所述數據封包接收模組512接收的所述數據封包;當所述數據封包中包含數位媒體內容時,投影播放模組514投影播放所述數位媒體內容;當所述數據封包中包含下載鏈接時,下載模組515根據所述下載鏈接下載對應的數位媒體內容;所述投影播放模組514還投影播放下載的數位媒體內容。In this embodiment, the second login module 511 logs in to the IOT platform using a device account registered in the IOT platform in advance; after the second login module 511 logs in to the IOT platform, the data packet receiving module 512 Receive a data packet forwarded by the IoT platform, the data packet is sent by the user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user account of the user device The account used by the user device to log in to the IOT platform; the data packet analysis module 513 parses the data packet received by the data packet receiving module 512; when the data packet contains digital media content, the projection playback module The group 514 projects and plays the digital media content; when the data packet contains a download link, the download module 515 downloads the corresponding digital media content according to the download link; the projection and playback module 514 also projects and plays the downloaded digital Media content.

本發明實施例中,提供了一種數位媒體內容播放轉移的方法,投影設備以設備帳號登入物聯平臺,然後接收物聯平臺轉發的數據封包,並解析該數據封包,當數據封包中包含數位媒體內容時,投影播放數位媒體內容,而當數據封包中包含下載鏈接時,根據下載鏈接下載對應的數位媒體內容,並投影播放下載的數位媒體內容。根據上述所介紹的過程,用戶設備可以透過與物聯平臺配合,直接將數位媒體內容傳輸到投影設備進行播放,不會受到USB連接線以及區域網路的限制,擴大適用範圍,提升用戶體驗。In the embodiment of the present invention, a method for transferring and transferring digital media content is provided. The projection device logs in to the IoT platform with a device account, and then receives a data packet forwarded by the IoT platform, and parses the data packet. When the content, the digital media content is projected and played, and when the data packet contains a download link, the corresponding digital media content is downloaded according to the download link, and the downloaded digital media content is projected and played. According to the process described above, user equipment can directly transmit digital media content to a projection device for cooperation with the IOT platform, without being restricted by USB cables and local area networks, expanding the scope of application and improving the user experience.

請參閱圖11,本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖包括:Please refer to FIG. 11. A schematic diagram of another embodiment of an apparatus for transferring and playing digital media content according to an embodiment of the present invention includes:

第二登入模組511,用於以預先在物聯平臺註冊的設備帳號登入所述物聯平臺;A second login module 511, configured to log in to the IOT platform with a device account registered in the IOT platform in advance;

數據封包接收模組512,用於所述第二登入模組511登入所述物聯平臺後,接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號;A data packet receiving module 512, configured to receive a data packet forwarded by the IoT platform after the second login module 511 logs in to the IoT platform. The data packet is sent by a user device to the IoT platform. The device The account has a binding relationship with the user account of the user device on the IOT platform, and the user account of the user device is an account used by the user device to log in to the IOT platform;

數據封包解析模組513,用於解析所述數據封包接收模組512接收的所述數據封包;A data packet analysis module 513, configured to analyze the data packet received by the data packet receiving module 512;

投影播放模組514,用於當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容;A projection playback module 514, configured to project and play the digital media content when the data packet includes the digital media content;

下載模組515,用於當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容;A download module 515, configured to download the corresponding digital media content according to the download link when the data packet includes a download link;

所述投影播放模組514,還用於投影播放下載的數位媒體內容。The projection playback module 514 is also used to project and play the downloaded digital media content.

其中,所述投影播放模組514包括:The projection and playback module 514 includes:

串流媒體播放單元5141,用於當所述數據封包中包含根據預設的流媒體傳輸協議傳輸的流媒體文件時,按照預設的流媒體播放協議投影播放該流媒體文件。The streaming media playing unit 5141 is configured to project and play the streaming media file according to a preset streaming media playing protocol when the data packet includes the streaming media file transmitted according to a preset streaming media transmission protocol.

所屬領域的技術人員可以清楚地瞭解到,爲描述的方便和簡潔,上述描述的系統,裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.

在本申請所提供的幾個實施例中,應該理解到,所揭露的系統,裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,所述單元的劃分,僅僅爲一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或組件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通信連接可以是通過一些接口,裝置或單元的間接耦合或通信連接,可以是電性,機械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.

所述作爲分離部件說明的單元可以是或者也可以不是物理上分開的,作爲單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分布到多個網絡單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.

另外,在本發明各個實施例中的各功能單元可以集成在一個處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。上述集成的單元既可以採用硬件的形式實現,也可以採用軟件功能單元的形式實現。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

所述集成的單元如果以軟件功能單元的形式實現並作爲獨立的産品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的全部或部分可以以軟件産品的形式體現出來,該電腦軟件産品存儲在一個存儲介質中,包括若干指令用以使得一台電腦設備(可以是個人電腦,服務器,或者網絡設備等)執行本發明各個實施例所述方法的全部或部分步驟。而前述的存儲介質包括:USB隨身碟、隨身硬碟、唯讀記憶體(英文全稱:Read-Only Memory,英文縮寫:ROM)、隨機存取記憶體(英文全稱:Random Access Memory,英文縮寫:RAM)、磁碟或者光碟等各種可以存儲程序碼的介質。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, It includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a portable hard disk, a read-only memory (full English name: Read-Only Memory, English abbreviation: ROM), a random access memory (full English name: Random Access Memory, English abbreviation: RAM), magnetic disks, or optical disks, which can store program code.

對所公開的實施例的上述說明,使本領域專業技術人員能夠實現或使用本發明。對這些實施例的多種修改對本領域的專業技術人員來說將是顯而易見的,本文中所定義的一般原理可以在不脫離本發明的精神或範圍的情况下,在其它實施例中實現。因此,本發明將不會被限制於本文所示的這些實施例,而是要符合與本文所公開的原理和新穎特點相一致的最寬的範圍。The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features disclosed herein.

S101~S105‧‧‧步驟
S201~S205‧‧‧步驟
30‧‧‧用戶設備
310‧‧‧輸入設備
320‧‧‧輸出設備
330‧‧‧處理器
340‧‧‧儲存器
350‧‧‧總線系統
40‧‧‧投影設備
410‧‧‧輸入設備
420‧‧‧輸出設備
430‧‧‧處理器
440‧‧‧儲存器
450‧‧‧總線系統
460‧‧‧投影部件
470‧‧‧音頻播放部件
500‧‧‧數位媒體內容播放轉移的裝置
501‧‧‧第一登入模組
502‧‧‧開啟指令獲取模組
503‧‧‧播放指令獲取模組
504‧‧‧數據源獲取模組
505‧‧‧數據源發送模組
506‧‧‧控制界面展示模組
507‧‧‧播放窗口展示模組
508‧‧‧檢測模組
509‧‧‧進度獲取模組
510‧‧‧媒體內容檢測模組
511‧‧‧第二登入模組
512‧‧‧數據封包接收模組
513‧‧‧數據封包解析模組
514‧‧‧投影播放模組
515‧‧‧下載模組
5021‧‧‧第一獲取單元
5022‧‧‧獲取單元
5041‧‧‧指令解析單元
5042‧‧‧本地獲取單元
5043‧‧‧網絡獲取單元
5141‧‧‧串流媒體播放單元
S101 ~ S105‧‧‧ steps
S201 ~ S205‧‧‧step
30‧‧‧User Equipment
310‧‧‧input device
320‧‧‧ output device
330‧‧‧Processor
340‧‧‧Storage
350‧‧‧bus system
40‧‧‧ projection equipment
410‧‧‧input device
420‧‧‧output device
430‧‧‧ processor
440‧‧‧Storage
450‧‧‧bus system
460‧‧‧projection part
470‧‧‧Audio playback part
500‧‧‧ digital media content playback and transfer device
501‧‧‧First Login Module
502‧‧‧Open instruction acquisition module
503‧‧‧Play instruction acquisition module
504‧‧‧Data source acquisition module
505‧‧‧Data source sending module
506‧‧‧Control interface display module
507‧‧‧play window display module
508‧‧‧testing module
509‧‧‧ Progress Acquisition Module
510‧‧‧Media Content Detection Module
511‧‧‧Second Login Module
512‧‧‧Data packet receiving module
513‧‧‧Data Packet Parsing Module
514‧‧‧ projection playback module
515‧‧‧Download Module
5021‧‧‧First acquisition unit
5022‧‧‧ Acquisition Unit
5041‧‧‧Instruction parsing unit
5042‧‧‧Local Acquisition Unit
5043‧‧‧Network Acquisition Unit
5141‧‧‧Streaming media playback unit

圖1爲本發明實施例中數位媒體內容播放轉移的方法一個實施例示意圖; 圖2爲本發明實施例中數位媒體內容播放轉移的方法另一個實施例示意圖; 圖3爲本發明實施例中用戶設備的結構示意圖; 圖4爲本發明實施例中投影設備的結構示意圖; 圖5爲本發明實施例中數位媒體內容播放轉移的裝置一個實施例示意圖; 圖6爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖; 圖7爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖; 圖8爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖; 圖9爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖; 圖10爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖; 圖11爲本發明實施例中數位媒體內容播放轉移的裝置另一個實施例示意圖。FIG. 1 is a schematic diagram of an embodiment of a method for transferring and playing digital media content according to an embodiment of the present invention; FIG. 2 is a schematic diagram of another embodiment of a method of transferring and playing digital media content according to an embodiment of the present invention; Device structure diagram; Figure 4 is a structure diagram of a projection device according to an embodiment of the present invention; Figure 5 is a schematic diagram of an embodiment of an apparatus for playing and transferring digital media content according to an embodiment of the present invention; Figure 6 is a digital media content according to an embodiment of the present invention Figure 7 is a schematic diagram of another embodiment of a device for playback and transfer; Figure 7 is a schematic diagram of another embodiment of a device for playback and transfer of digital media content in an embodiment of the present invention; and Figure 8 is another embodiment of a device for playback and transfer of digital media content in an embodiment of the present invention 9 is a schematic diagram of another embodiment of an apparatus for transferring and playing digital media content in an embodiment of the present invention; FIG. 10 is a schematic diagram of another embodiment of an apparatus for transferring and playing digital media content in an embodiment of the present invention; and FIG. 11 is an implementation of the present invention Digital media content playback and transfer device in the example of another embodiment

Claims (13)

一種數位媒體內容播放轉移的方法,係包括下列步驟: (1) 用戶設備以用戶帳號登入物聯平臺,其中,所述用戶帳號與投影設備的設備帳號在所述物聯平臺係具有綁定關係; (2) 所述用戶設備獲取播放轉移模式開啟指令; (3) 所述用戶設備獲取數位媒體內容播放指令; (4) 所述用戶設備獲取所述數位媒體內容播放指令對應的數據源;以及 (5)所述用戶設備將數據源透過物聯平臺轉發至投影設備,以使得投影設備根據數據源播放對應的數位媒體內容。A method for transferring and playing digital media content includes the following steps: (1) A user device logs in to the IoT platform with a user account, wherein the user account and the device account of the projection device have a binding relationship on the IoT platform. (2) the user equipment obtains a playback transfer mode start instruction; (3) the user equipment obtains a digital media content playback instruction; (4) the user equipment obtains a data source corresponding to the digital media content playback instruction; and (5) The user equipment forwards the data source to the projection device through the IOT platform, so that the projection device plays the corresponding digital media content according to the data source. 如申請專利範圍第1項所述之數位媒體內容播放轉移的方法,其中,所述用戶設備展示所述投影設備的控制界面,所述控制界面中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;並且,所述用戶設備獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The method for digital media content playback transfer according to item 1 of the scope of patent application, wherein the user equipment displays a control interface of the projection device, and the control interface includes an object for triggering a playback transfer mode start instruction, The object has two states corresponding to the playback transfer mode being turned on and the playback transfer mode being turned off; and the step of the user equipment obtaining the playback transfer mode enabling instruction includes the user equipment obtaining a playback transfer mode enabling instruction triggered by a user operation. The user operation is used to convert the object from a state corresponding to a playback transition mode to a state corresponding to a playback transition mode on. 如申請專利範圍第1項所述之數位媒體內容播放轉移的方法,其中,所述用戶設備展示視頻播放窗口,所述視頻播放窗口中包含用於觸發播放轉移模式開啟指令的對象,所述對象具備對應於播放轉移模式開啟和播放轉移模式關閉的兩種狀態;並且,所述用戶設備獲取播放轉移模式開啟指令的步驟包括:所述用戶設備獲取用戶操作觸發的播放轉移模式開啟指令,所述用戶操作用於將所述對象由對應於播放轉移模式關閉的狀態轉換爲對應於播放轉移模式開啟的狀態。The method for digital media content playback transfer according to item 1 of the scope of patent application, wherein the user equipment displays a video playback window, and the video playback window includes an object for triggering a playback transfer mode opening instruction, and the object Having two states corresponding to the playback transfer mode on and the playback transfer mode off; and the step of the user equipment obtaining the playback transfer mode on instruction includes: the user equipment obtaining a playback transfer mode on instruction triggered by a user operation, the A user operation is used to convert the object from a state corresponding to a playback transition mode to a state corresponding to a playback transition mode on. 如申請專利範圍第1項所述之數位媒體內容播放轉移的方法,其中,在所述用戶設備獲取播放轉移模式開啟指令之後,檢測當前是否具有數位媒體內容在所述用戶設備播放;若所述用戶設備檢測到當前具有數位媒體內容在所述用戶設備播放,則獲取當前播放的數位媒體內容的數據源和播放進度,將獲取的數據源和播放進度透過所述物聯平臺轉發到所述投影設備,以使得所述投影設備根據所述數據源和播放進度播放對應的數位媒體內容;此外,若所述用戶設備檢測到當前沒有數位媒體內容在所述用戶設備播放,則監測是否獲取到數位媒體內容播放指令,在所述用戶設備獲取數位媒體內容播放指令之後,進入所述用戶設備獲取所述數位媒體內容播放指令對應的數據源的步驟。The method for digital media content playback transfer according to item 1 of the scope of patent application, wherein after the user equipment obtains a playback transfer mode start instruction, detecting whether there is currently digital media content to be played on the user equipment; if The user equipment detects that the digital media content is currently playing on the user equipment, then obtains the data source and playback progress of the currently playing digital media content, and forwards the acquired data source and playback progress to the projection through the IoT platform Device so that the projection device plays the corresponding digital media content according to the data source and playback progress; further, if the user device detects that no digital media content is currently playing on the user device, it monitors whether the digital device is acquired The media content playback instruction, after the user equipment obtains the digital media content playback instruction, enters a step in which the user equipment obtains a data source corresponding to the digital media content playback instruction. 如申請專利範圍第1項所述之數位媒體內容播放轉移的方法,其中,於所述步驟(4)當中係包括有下列詳細步驟: (41) 解析所述數位媒體內容播放指令;若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源;若所述數位媒體內容播放指令對應網路端的數位媒體內容,則獲取對應的網路端的數位媒體內容的下載鏈接作爲所述數據源。The method for transferring and playing digital media content according to item 1 of the scope of patent application, wherein the step (4) includes the following detailed steps: (41) Parsing the digital media content playback instruction; if the If the digital media content playback instruction corresponds to the locally stored digital media content, the corresponding locally stored digital media content is obtained as the data source; if the digital media content playback instruction corresponds to the digital media content on the network side, the corresponding network is acquired. The download link of the digital media content at the road end serves as the data source. 如申請專利範圍第5項所述之數位媒體內容播放轉移的方法,其中,若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容作爲所述數據源,並且,所述步驟(5)係包括下列步驟: (51)若所述數位媒體內容播放指令對應本地存儲的數位媒體內容,則獲取對應的本地存儲的數位媒體內容,將該本地存儲的數位媒體內容轉換爲串流媒體文件格式,根據預設的串流媒體傳輸協定將該本地存儲的數位媒體內容透過所述物聯平臺轉發至投影設備。The method for transferring and playing digital media content according to item 5 of the scope of patent application, wherein if the digital media content playback instruction corresponds to locally stored digital media content, then the corresponding locally stored digital media content is obtained as the data Source, and step (5) includes the following steps: (51) if the digital media content playback instruction corresponds to locally stored digital media content, obtaining the corresponding locally stored digital media content, and storing the locally stored digital media content The digital media content is converted into a streaming media file format, and the locally stored digital media content is forwarded to the projection device through the IOT platform according to a preset streaming media transmission protocol. 一種數位媒體內容播放轉移的方法,係包括下列步驟: (1) 投影設備以預先在物聯平臺註冊的設備帳號登入所述物聯平臺; (2) 所述投影設備接收物聯平臺轉發的數據封包,數據封包由用戶設備發送至物聯平臺,設備帳號與用戶設備的用戶帳號在物聯平臺具有綁定關係,用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號; (3) 所述投影設備解析所述數據封包;其中,當數據封包中包含數位媒體內容時,投影播放數位媒體內容;而當數據封包中包含下載鏈接時,根據下載鏈接下載對應的數位媒體內容,並投影播放下載的數位媒體內容。A method for transferring and playing digital media content includes the following steps: (1) the projection device logs in to the IoT platform with a device account registered in advance with the IoT platform; (2) the projection device receives data forwarded by the IoT platform Packets, data packets are sent from the user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user account of the user device is the account used by the user device to log in to the IoT platform; (3 ) The projection device parses the data packet; wherein when the data packet contains digital media content, the digital media content is projected and played; and when the data packet contains a download link, the corresponding digital media content is downloaded according to the download link, and Download the downloaded digital media content. 如申請專利範圍第7項所述之數位媒體內容播放轉移的方法,其中,當所述數據封包中包含數位媒體內容時,且所述數據封包中包含根據預設的串流媒體傳輸協定傳輸的串流媒體文件時,則按照預設的串流媒體播放協定投影播放該串流媒體文件。The method for playing and transferring digital media content according to item 7 of the scope of patent application, wherein when the data packet contains digital media content, and the data packet includes a digital media content transmitted according to a preset streaming media transmission protocol When streaming a media file, the streaming media file is projected and played back according to a preset streaming media playback protocol. 一種用戶設備,係包括: 儲存器,係用於存儲應用程式;以及 處理器,係執行所述應用程式並用於以用戶帳號登入物聯平臺,並獲取播放轉移模式開啟指令,且獲取數位媒體內容播放指令,並且,獲取所述數位媒體內容播放指令對應的數據源,進而將所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容; 其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。A user equipment includes: a memory for storing an application program; and a processor for executing the application program and for logging in to the IoT platform with a user account, obtaining a play transfer mode opening instruction, and obtaining digital media content A playback instruction, and acquiring a data source corresponding to the digital media content playback instruction, and further forwarding the data source to a projection device through the IOT platform, so that the projection device plays the corresponding digital bit according to the data source Media content; wherein the user account and the device account of the projection device have a binding relationship on the IOT platform. 一種投影設備,係包括: 儲存器,係用於存儲應用程式;. 處理器,用於執行所述應用程式以用於:以預先在物聯平臺註冊的設備帳號登入所述物聯平臺,並接收物聯平臺轉發的數據封包,且所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號,解析所述數據封包,並且,當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容對應的圖像訊號,此外,當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容,並生成下載的數位媒體內容對應的圖像訊號;以及 投影部件,係用於根據所述圖像訊號投射相應的圖像。A projection device includes: a memory for storing an application program; and a processor for executing the application program for: logging in to the IOT platform with a device account registered in the IOT platform in advance, and Receiving a data packet forwarded by the IoT platform, and the data packet is sent by the user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user of the user device The account number is an account used by the user device to log in to the IOT platform, parse the data packet, and when the data packet contains digital media content, generate an image signal corresponding to the digital media content. In addition, when the When the data packet includes a download link, the corresponding digital media content is downloaded according to the download link, and an image signal corresponding to the downloaded digital media content is generated; and a projection component is used to project the corresponding digital signal according to the image signal. image. 如申請專利範圍第10項所述之投影設備,其中,所述處理器還用於:當所述數據封包中包含數位媒體內容時,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;以及,當所述數據封包中包含下載鏈接時,在根據所述下載鏈接下載對應的數位媒體內容之後,生成所述數位媒體內容包含的音頻數據對應的音頻訊號;此外,所述投影設備還包括:音頻播放部件,用於根據所述音頻訊號播放相應的音頻。The projection device according to item 10 of the scope of patent application, wherein the processor is further configured to: when the data packet contains digital media content, generate an audio signal corresponding to the audio data included in the digital media content; And, when the data packet includes a download link, after downloading the corresponding digital media content according to the download link, generating an audio signal corresponding to the audio data included in the digital media content; in addition, the projection device further includes : An audio playback component, configured to play the corresponding audio according to the audio signal. 一種數位媒體內容播放轉移的裝置,係包括: 第一登入模組,用於以用戶帳號登入物聯平臺; 開啟指令獲取模組,於獲取播放轉移模式開啟指令; 播放指令獲取模組,用於獲取數位媒體內容播放指令; 數據源獲取模組,用於獲取所述數位媒體內容播放指令對應的數據源; 數據源發送模組,用於將所述數據源透過所述物聯平臺轉發至投影設備,以使得所述投影設備根據所述數據源播放對應的數位媒體內容; 其中,所述用戶帳號與所述投影設備的設備帳號在所述物聯平臺具有綁定關係。A device for transferring and playing digital media content includes: a first login module for logging in to the IoT platform with a user account; an opening instruction acquisition module for obtaining an instruction for opening a playback transfer mode; a playback instruction acquisition module for Acquire digital media content playback instructions; A data source acquisition module is used to acquire a data source corresponding to the digital media content playback instructions; a data source sending module is used to forward the data source to the projection through the IoT platform A device so that the projection device plays the corresponding digital media content according to the data source; wherein the user account and the device account of the projection device have a binding relationship on the IOT platform. 一種數位媒體內容播放轉移的裝置,係包括: 第二登入模組,用於以預先在物聯平臺註冊的設備帳號登入所述物聯平臺; 數據封包接收模組,用於接收物聯平臺轉發的數據封包,所述數據封包由用戶設備發送至物聯平臺,所述設備帳號與所述用戶設備的用戶帳號在物聯平臺具有綁定關係,所述用戶設備的用戶帳號爲用戶設備登入所述物聯平臺所用的帳號; 數據封包解析模組,用於解析所述數據封包; 投影播放模組,用於當所述數據封包中包含數位媒體內容時,投影播放所述數位媒體內容; 下載模組,用於當所述數據封包中包含下載鏈接時,根據所述下載鏈接下載對應的數位媒體內容; 所述投影播放模組還用於投影播放下載的數位媒體內容。A device for playing and transferring digital media content includes: a second login module for logging in to the IOT platform with a device account registered in advance on the IOT platform; a data packet receiving module for receiving the forwarded by the IOT platform A data packet sent by a user device to the IoT platform, the device account and the user account of the user device have a binding relationship on the IoT platform, and the user account of the user device is where the user device logs in. The account used by the Internet of Things platform is described; a data packet analysis module is used to parse the data packet; a projection playback module is used to project and play the digital media content when the data packet contains digital media content; download A module configured to download corresponding digital media content according to the download link when the data packet includes a download link; the projection playback module is further configured to project and play the downloaded digital media content.
TW105136799A 2015-11-13 2016-11-11 Digital media content playing transfer method and application device thereof TWI634784B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510776415.2A CN106713951B (en) 2015-11-13 2015-11-13 A kind of digital media content plays the method and relevant device of transfer
??201510776415.2 2015-11-13

Publications (2)

Publication Number Publication Date
TW201717649A TW201717649A (en) 2017-05-16
TWI634784B true TWI634784B (en) 2018-09-01

Family

ID=58694528

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105136799A TWI634784B (en) 2015-11-13 2016-11-11 Digital media content playing transfer method and application device thereof

Country Status (3)

Country Link
CN (1) CN106713951B (en)
TW (1) TWI634784B (en)
WO (1) WO2017080409A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102502655B1 (en) * 2018-08-08 2023-02-23 삼성전자주식회사 Method for contents playback with continuity and electronic device therefor
CN109709880B (en) 2019-02-20 2022-08-16 明基智能科技(上海)有限公司 Control method and control system of projector
TWI693836B (en) * 2019-02-21 2020-05-11 明基電通股份有限公司 Method for controlling projectors and control system thereof
CN109714612A (en) * 2019-03-05 2019-05-03 华数传媒网络有限公司 A kind of heterogeneous network across screen projecting method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156065A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Home media playing device control method, device and equipment
CN104156186A (en) * 2014-07-18 2014-11-19 小米科技有限责任公司 Health data display method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003198870A (en) * 2001-12-25 2003-07-11 Seiko Epson Corp Wireless control system and wireless control method for projector
US20080281971A1 (en) * 2007-05-07 2008-11-13 Nokia Corporation Network multimedia communication using multiple devices
KR20110040604A (en) * 2009-10-14 2011-04-20 삼성전자주식회사 Cloud server, client terminal, device, method for operating cloud server and method for operating client terminal
CN102103310B (en) * 2009-12-21 2013-07-31 ***通信集团公司 Projecting method, device and system
CN103365062A (en) * 2012-03-28 2013-10-23 爱国者数码科技有限公司 Cloud projection method
CN103365061A (en) * 2012-03-28 2013-10-23 爱国者数码科技有限公司 Cloud projection system
CN103458221A (en) * 2012-06-04 2013-12-18 爱国者数码科技有限公司 Meeting system with projector serving as meeting terminal device
CN102984592B (en) * 2012-12-05 2018-10-19 中兴通讯股份有限公司 A kind of digital media content plays the methods, devices and systems of transfer
CN104902199A (en) * 2014-03-03 2015-09-09 中兴通讯股份有限公司 Projection method, terminal and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156186A (en) * 2014-07-18 2014-11-19 小米科技有限责任公司 Health data display method and device
CN104156065A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Home media playing device control method, device and equipment

Also Published As

Publication number Publication date
TW201717649A (en) 2017-05-16
CN106713951A (en) 2017-05-24
CN106713951B (en) 2019-10-25
WO2017080409A1 (en) 2017-05-18

Similar Documents

Publication Publication Date Title
TWI634784B (en) Digital media content playing transfer method and application device thereof
RU2631137C2 (en) Connection of devices
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
CN104918105B (en) More screen playing methods, equipment and the system of media file
US20140196137A1 (en) Unified communications with a cloud client device
JP7048557B2 (en) Network connection methods, devices and storage media for voice devices
WO2021169495A1 (en) Network configuration method for intelligent device, and related apparatuses
US9749373B2 (en) System and method for improved content streaming
WO2018090723A1 (en) Method and apparatus for realizing wired screen delivery
US9826572B2 (en) Wireless enhanced projector
KR101942269B1 (en) Apparatus and method for playing back and seeking media in web browser
US10104153B2 (en) Method and device for processing information
KR101774983B1 (en) Method, apparatus, and system for monitoring quality of ott video
CN112616065B (en) Screen image initiating method, device and system and readable storage medium
WO2012151957A1 (en) Server, client, and method and system for playing video file remotely therewith
CN112073754A (en) Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
WO2017113708A1 (en) Video playback method and device
CN111131891B (en) Audio and video playing method and device, playing equipment and system
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
WO2016127886A1 (en) Method and device for online multimedia playback on user equipment
CN113242173B (en) Screen sharing method, device and system and instant messaging server
WO2018090724A1 (en) Method and apparatus for wired screen transmission
KR100596723B1 (en) Device for integrating multimedia streaming service and application streaming service and method thereof
CN108024140A (en) A kind of live broadcasting method and system