[go: up one dir, main page]

CN106559479A - Multimedia file downloading method, designated equipment and terminal - Google Patents

Multimedia file downloading method, designated equipment and terminal Download PDF

Info

Publication number
CN106559479A
CN106559479A CN201610928959.0A CN201610928959A CN106559479A CN 106559479 A CN106559479 A CN 106559479A CN 201610928959 A CN201610928959 A CN 201610928959A CN 106559479 A CN106559479 A CN 106559479A
Authority
CN
China
Prior art keywords
multimedia file
terminal
download
multimedia
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610928959.0A
Other languages
Chinese (zh)
Inventor
钱庄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610928959.0A priority Critical patent/CN106559479A/en
Publication of CN106559479A publication Critical patent/CN106559479A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开是关于一种多媒体文件下载方法、指定设备及终端,属于互联网领域,该方法包括:接收服务器发送的多媒体数据,以对多媒体文件进行下载,该多媒体数据为该服务器在接收到多媒体文件下载请求时发送,该多媒体数据为构成该多媒体文件的数据;当完成对该多媒体文件的下载后,判断该多媒体文件的发送事件是否被触发,该多媒体文件的发送事件用于指示将已下载的该多媒体文件发送给与该指定设备绑定的终端;当该多媒体文件的发送事件被触发时,将该多媒体文件发送给与该指定设备绑定的终端。本公开通过指定设备对多媒体文件进行下载,从而避免了对终端运行的影响,且无需使终端保持联网状态,节省了终端电量,提高了终端的运行效率。

The disclosure relates to a method for downloading multimedia files, a designated device and a terminal, and belongs to the field of the Internet. The method includes: receiving multimedia data sent by a server to download the multimedia file, and the multimedia data is downloaded when the server receives the multimedia file. Send when requested, the multimedia data is the data that constitutes the multimedia file; after the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded The multimedia file is sent to the terminal bound with the designated device; when the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound with the designated device. The present disclosure downloads multimedia files by specifying a device, thereby avoiding the impact on the operation of the terminal, without keeping the terminal in a networked state, saving the power of the terminal, and improving the operating efficiency of the terminal.

Description

多媒体文件下载方法、指定设备及终端Multimedia file download method, designated device and terminal

技术领域technical field

本公开涉及互联网领域,尤其涉及一种多媒体文件下载方法、指定设备及终端。The present disclosure relates to the field of the Internet, and in particular to a multimedia file downloading method, a designated device and a terminal.

背景技术Background technique

随着网络技术的发展,通过终端使用网络的方式越来越多,其中,在线播放多媒体文件已成为用户使用网络的主要方式之一。但由于在线播放多媒体文件时,常常受到网速等因素的影响,造成播放多媒体文件时出现卡顿现象,因此,用户通常会将该多媒体文件离线下载到本地终端,从而方便对该多媒体文件进行播放。With the development of network technology, there are more and more ways to use the network through terminals, among which playing multimedia files online has become one of the main ways for users to use the network. However, when playing multimedia files online, it is often affected by factors such as network speed, resulting in a freeze phenomenon when playing multimedia files. Therefore, users usually download the multimedia files offline to the local terminal, so as to facilitate the playback of the multimedia files. .

相关技术中,终端下载多媒体文件的操作可以为:当终端接收到多媒体文件离线下载指令时,向服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带多媒体文件标识;当服务器接收到该多媒体文件下载请求后,可以基于该多媒体文件标识,向终端持续发送构成该多媒体文件的多媒体数据,终端持续接收该多媒体数据,直至将该多媒体数据全部接收,从而完成对多媒体文件的下载。In related technologies, the operation of downloading multimedia files by the terminal may be as follows: when the terminal receives a multimedia file offline download instruction, it sends a multimedia file download request to the server, and the multimedia file download request carries a multimedia file identifier; when the server receives the multimedia file After the download request, the multimedia data constituting the multimedia file can be continuously sent to the terminal based on the multimedia file identifier, and the terminal continues to receive the multimedia data until all the multimedia data is received, thereby completing the download of the multimedia file.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种多媒体文件下载方法、指定设备及终端。In order to overcome the problems existing in the related technologies, the present disclosure provides a multimedia file downloading method, a designated device and a terminal.

根据本公开实施例的第一方面,提供一种多媒体文件下载方法,应用于指定设备中,所述方法包括:According to the first aspect of the embodiments of the present disclosure, a method for downloading a multimedia file is provided, which is applied to a specified device, and the method includes:

接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;Receiving multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, the multimedia data is data that constitutes the multimedia file;

当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;After the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the specified device bound terminal;

当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。When the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the specified device.

可选地,所述接收服务器发送的多媒体数据之前,还包括:Optionally, before receiving the multimedia data sent by the server, it also includes:

接收所述终端发送的多媒体文件下载通知,所述多媒体文件下载通知中携带多媒体文件标识;receiving a multimedia file download notification sent by the terminal, where the multimedia file download notification carries a multimedia file identifier;

向所述服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带指定设备标识和所述多媒体文件标识。Sending a multimedia file download request to the server, where the multimedia file download request carries a specified device identifier and the multimedia file identifier.

可选地,所述指定设备为网络附属存储设备。Optionally, the specified device is a network attached storage device.

可选地,所述判断所述多媒体文件的发送事件是否被触发之前,还包括:Optionally, before the judging whether the sending event of the multimedia file is triggered, it also includes:

判断所述终端是否接入指定局域网内,所述指定局域网为所述指定设备当前所接入的局域网;judging whether the terminal is connected to a designated local area network, where the designated local area network is the local area network to which the designated device is currently connected;

当所述终端已接入所述指定局域网内时,触发所述多媒体文件的发送事件。When the terminal has access to the specified local area network, triggering the sending event of the multimedia file.

可选地,所述判断所述多媒体文件的发送事件是否被触发之前,还包括:Optionally, before the judging whether the sending event of the multimedia file is triggered, it also includes:

判断是否通过蓝牙与所述终端建立连接;judging whether to establish a connection with the terminal via Bluetooth;

当与所述终端通过蓝牙建立连接时,触发所述多媒体文件的发送事件。When a connection is established with the terminal via bluetooth, a sending event of the multimedia file is triggered.

根据本公开实施例的第二方面,提供一种多媒体数据下载方法,应用于终端中,所述方法包括:According to the second aspect of the embodiments of the present disclosure, a method for downloading multimedia data is provided, which is applied to a terminal, and the method includes:

接收多媒体文件下载指令;Receive a multimedia file download instruction;

基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;Based on the multimedia file download instruction, download the multimedia file from the server to the specified device currently bound to the terminal;

接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The multimedia file sent by the specified device is received, the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.

可选地,所述多媒体文件下载指令中携带多媒体文件标识;Optionally, the multimedia file download instruction carries a multimedia file identifier;

相应地,所述基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中,包括:Correspondingly, the downloading the multimedia file from the server to the designated device currently bound to the terminal based on the multimedia file download instruction includes:

基于所述多媒体文件下载指令,向所述指定设备发送多媒体文件下载通知,所述多媒体文件下载通知中携带所述多媒体文件标识,所述多媒体文件下载通知用于指示所述指定设备向所述服务器发送多媒体文件下载请求。Based on the multimedia file download instruction, a multimedia file download notification is sent to the designated device, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to instruct the designated device to send a notification to the server Send a multimedia file download request.

可选地,所述多媒体文件下载指令中携带多媒体文件标识和指定设备标识;Optionally, the multimedia file download instruction carries a multimedia file identifier and a designated device identifier;

相应地,所述基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中,包括:Correspondingly, the downloading the multimedia file from the server to the designated device currently bound to the terminal based on the multimedia file download instruction includes:

基于所述多媒体文件下载指令,向服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带所述多媒体文件标识和所述指定设备标识,所述多媒体文件下载请求用于指示所述服务器将所述多媒体文件下载到所述指定设备中。Based on the multimedia file download instruction, send a multimedia file download request to the server, the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request is used to instruct the server to download the multimedia file The multimedia file is downloaded to the designated device.

根据本公开实施例的第三方面,提供一种指定设备,所述指定设备包括:According to a third aspect of the embodiments of the present disclosure, there is provided a designation device, the designation device includes:

第一接收模块,用于接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;The first receiving module is used to receive the multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, and the multimedia data is composed of the multimedia file data;

第一判断模块,用于当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;The first judging module is used to judge whether the sending event of the multimedia file is triggered after the downloading of the multimedia file is completed, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to a terminal bound to the designated device;

第一发送模块,用于当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。The first sending module is configured to send the multimedia file to the terminal bound to the specified device when the sending event of the multimedia file is triggered.

可选地,所述指定设备还包括:Optionally, the designated device also includes:

第二接收模块,用于接收所述终端发送的多媒体文件下载通知,所述多媒体文件下载通知中携带多媒体文件标识;The second receiving module is configured to receive a multimedia file download notification sent by the terminal, where the multimedia file download notification carries a multimedia file identifier;

第二发送模块,用于向所述服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带指定设备标识和所述多媒体文件标识。The second sending module is configured to send a multimedia file download request to the server, where the multimedia file download request carries a designated device identifier and the multimedia file identifier.

可选地,所述指定设备为网络附属存储设备。Optionally, the specified device is a network attached storage device.

可选地,所述指定设备还包括:Optionally, the designated device also includes:

第二判断模块,用于判断所述终端是否接入指定局域网内,所述指定局域网为所述指定设备当前所接入的局域网;A second judging module, configured to judge whether the terminal is connected to a designated local area network, where the designated local area network is the local area network that the designated device is currently connected to;

第一触发模块,用于当所述终端已接入所述指定局域网内时,触发所述多媒体文件的发送事件。The first triggering module is configured to trigger the sending event of the multimedia file when the terminal has been connected to the specified local area network.

可选地,所述指定设备还包括:Optionally, the designated device also includes:

第三判断模块,用于判断是否通过蓝牙与所述终端建立连接;The third judging module is used to judge whether to establish a connection with the terminal through Bluetooth;

第二触发模块,用于当与所述终端通过蓝牙建立连接时,触发所述多媒体文件的发送事件。The second triggering module is used for triggering the sending event of the multimedia file when establishing a connection with the terminal via Bluetooth.

根据本公开实施例的第四方面,提供一种终端,所述终端包括:According to a fourth aspect of the embodiments of the present disclosure, a terminal is provided, and the terminal includes:

第一接收模块,用于接收多媒体文件下载指令;The first receiving module is used to receive multimedia file download instructions;

下载模块,用于基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;A download module, configured to download the multimedia file from the server to the specified device currently bound to the terminal based on the multimedia file download instruction;

第二接收模块,用于接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The second receiving module is configured to receive the multimedia file sent by the designated device, and the multimedia file is when the designated device detects that a sending event of the multimedia file is triggered after the download of the multimedia file is completed. send.

可选地,所述多媒体文件下载指令中携带多媒体文件标识;Optionally, the multimedia file download instruction carries a multimedia file identifier;

相应地,所述下载模块包括:Correspondingly, the download module includes:

第一发送子模块,用于基于所述多媒体文件下载指令,向所述指定设备发送多媒体文件下载通知,所述多媒体文件下载通知中携带所述多媒体文件标识,所述多媒体文件下载通知用于指示所述指定设备向所述服务器发送多媒体文件下载请求。The first sending submodule is configured to send a multimedia file download notification to the designated device based on the multimedia file download instruction, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to indicate The specified device sends a multimedia file download request to the server.

可选地,所述多媒体文件下载指令中携带多媒体文件标识和指定设备标识;Optionally, the multimedia file download instruction carries a multimedia file identifier and a designated device identifier;

相应地,所述下载模块包括:Correspondingly, the download module includes:

第二发送子模块,用于基于所述多媒体文件下载指令,向服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带所述多媒体文件标识和所述指定设备标识,所述多媒体文件下载请求用于指示所述服务器将所述多媒体文件下载到所述指定设备中。The second sending submodule is configured to send a multimedia file download request to a server based on the multimedia file download instruction, wherein the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request It is used to instruct the server to download the multimedia file to the designated device.

根据本公开实施例的第五方面,提供一种指定设备,所述指定设备包括:According to a fifth aspect of an embodiment of the present disclosure, a specifying device is provided, and the specifying device includes:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;Receiving multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, the multimedia data is data that constitutes the multimedia file;

当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;After the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the specified device bound terminal;

当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。When the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the specified device.

根据本公开实施例的第六方面,提供一种终端,所述终端包括:According to a sixth aspect of embodiments of the present disclosure, a terminal is provided, and the terminal includes:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

接收多媒体文件下载指令;Receive a multimedia file download instruction;

基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;Based on the multimedia file download instruction, download the multimedia file from the server to the specified device currently bound to the terminal;

接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The multimedia file sent by the specified device is received, the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.

本公开的实施例提供的技术方案可以包括以下有益效果:在本公开实施例中,通过指定设备接收服务器发送的构成多媒体文件的多媒体数据,以对多媒体文件进行下载,并在多媒体文件下载完成后,检测到多媒体文件的发送事件被触发时,可以将该多媒体文件给终端,从而避免了终端直接对多媒体数据进行下载,降低了多媒体文件下载时对终端的运行造成影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: In the embodiments of the present disclosure, the designated device receives the multimedia data that constitutes the multimedia file sent by the server to download the multimedia file, and after the download of the multimedia file is completed, When it is detected that the sending event of the multimedia file is triggered, the multimedia file can be sent to the terminal, thereby preventing the terminal from directly downloading the multimedia data and reducing the impact on the operation of the terminal when the multimedia file is downloaded. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的第一种多媒体文件下载方法的流程图。Fig. 1 is a flowchart of a first method for downloading a multimedia file according to an exemplary embodiment.

图2是根据一示例性实施例示出的第二种多媒体文件下载方法的流程图。Fig. 2 is a flowchart of a second method for downloading a multimedia file according to an exemplary embodiment.

图3是根据一示例性实施例示出的第三种多媒体文件下载方法的流程图。Fig. 3 is a flowchart of a third method for downloading a multimedia file according to an exemplary embodiment.

图4A是根据一示例性实施例示出的第一种指定设备的结构框图。Fig. 4A is a structural block diagram of a first designation device according to an exemplary embodiment.

图4B是根据一示例性实施例示出的第二种指定设备的结构框图。Fig. 4B is a structural block diagram of a second specifying device according to an exemplary embodiment.

图4C是根据一示例性实施例示出的第三种指定设备的结构框图。Fig. 4C is a structural block diagram of a third specifying device according to an exemplary embodiment.

图4D是根据一示例性实施例示出的第四种指定设备的结构框图。Fig. 4D is a structural block diagram of a fourth designation device according to an exemplary embodiment.

图5A是根据一示例性实施例示出的一种终端的结构框图。Fig. 5A is a structural block diagram of a terminal according to an exemplary embodiment.

图5B是根据一示例性实施例示出的一种下载模块的框图。Fig. 5B is a block diagram of a download module according to an exemplary embodiment.

图5C是根据一示例性实施例示出的另一种下载模块的框图。Fig. 5C is a block diagram of another download module according to an exemplary embodiment.

图6是根据一示例性实施例示出的第五种指定设备的结构框图。Fig. 6 is a structural block diagram of a fifth designation device according to an exemplary embodiment.

图7是根据一示例性实施例示出的另一种终端的结构框图。Fig. 7 is a structural block diagram of another terminal according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

在对本公开实施例进行详细地解释说明之前,先对本公开实施例的应用场景予以介绍。目前,当终端对多媒体文件进行下载时,该终端必须一直保持联网的状态,直至完成对该多媒体文件的下载,一旦终端断开网络,则会停止对多媒体文件的下载。同时,在对该多媒体文件下载期间,用户可能还会通过终端进行其他操作,而由于在下载多媒体文件将会占用了部分网速和内存资源,导致用户通过终端进行其他操作时,造成终端的卡顿现象。另外,终端通过数据流量下载多媒体文件时,将会耗费大量数据流量,给用户使用数据流量带来压力。又由于对多媒体文件进行下载时,需要保持对终端的运行,会耗费终端大量的电量,从而导致终端耗电过快,给终端运行带来不便。因此,本公开实施例提供一种多媒体文件下载方法,避免了直接通过终端对多媒体文件进行下载,该终端只需进行多媒体文件下载指令的发送,其余操作均可由指定设备进行,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率。同时避免下载多媒体文件时对终端运行状态的影响,提高了终端运行效率。Before explaining and describing the embodiments of the present disclosure in detail, the application scenarios of the embodiments of the present disclosure will be introduced first. At present, when a terminal downloads a multimedia file, the terminal must remain connected to the Internet until the download of the multimedia file is completed. Once the terminal is disconnected from the network, the download of the multimedia file will stop. At the same time, during the downloading of the multimedia file, the user may also perform other operations through the terminal, and since the downloading of the multimedia file will occupy part of the network speed and memory resources, when the user performs other operations through the terminal, the terminal will be stuck. Dayton phenomenon. In addition, when the terminal downloads the multimedia file through the data flow, it will consume a large amount of data flow, which will bring pressure to the user to use the data flow. In addition, when downloading a multimedia file, the terminal needs to be kept running, which consumes a large amount of power of the terminal, which leads to excessive power consumption of the terminal and brings inconvenience to the operation of the terminal. Therefore, the embodiment of the present disclosure provides a method for downloading multimedia files, which avoids downloading multimedia files directly through the terminal. The terminal only needs to send multimedia file download instructions, and other operations can be performed by designated devices. Downloading multimedia files does not require the terminal to be connected to the Internet all the time, thereby saving the power of the terminal and improving the efficiency of downloading multimedia files. At the same time, it avoids the impact on the running state of the terminal when downloading the multimedia file, and improves the running efficiency of the terminal.

图1是根据一示例性实施例示出的一种多媒体文件下载方法的流程图,如图1所示,该方法用于指定设备中,包括以下步骤。Fig. 1 is a flow chart of a method for downloading a multimedia file according to an exemplary embodiment. As shown in Fig. 1, the method is used in a designated device and includes the following steps.

在步骤101中,接收服务器发送的多媒体数据,以对多媒体文件进行下载,该多媒体数据为该服务器在接收到多媒体文件下载请求时发送,该多媒体数据为构成该多媒体文件的数据。In step 101, multimedia data sent by the server is received to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, and the multimedia data is data constituting the multimedia file.

在步骤102中,当完成对该多媒体文件的下载后,判断该多媒体文件的发送事件是否被触发,该多媒体文件的发送事件用于指示将已下载的该多媒体文件发送给与该指定设备绑定的终端。In step 102, after the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the device bound to the designated device. terminal.

在步骤103中,当该多媒体文件的发送事件被触发时,将该多媒体文件发送给与该指定设备绑定的终端。In step 103, when the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the designated device.

在本公开实施例中,由于是指定设备接收服务器发送的构成多媒体文件的多媒体数据,以对多媒体文件进行下载,并在多媒体文件下载完成后,检测到多媒体文件的发送事件被触发时,可以将该多媒体文件给终端,从而避免了终端直接对多媒体数据进行下载,降低了多媒体文件下载时对终端的运行造成影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, since the designated device receives the multimedia data constituting the multimedia file sent by the server to download the multimedia file, and after the download of the multimedia file is completed, when it detects that the sending event of the multimedia file is triggered, the The multimedia file is sent to the terminal, thereby preventing the terminal from directly downloading the multimedia data, and reducing the impact on the operation of the terminal when the multimedia file is downloaded. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

可选地,接收服务器发送的多媒体数据之前,还包括:Optionally, before receiving the multimedia data sent by the server, it also includes:

接收该终端发送的多媒体文件下载通知,该多媒体文件下载通知中携带多媒体文件标识;receiving a multimedia file download notification sent by the terminal, the multimedia file download notification carrying a multimedia file identifier;

向该服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带指定设备标识和该多媒体文件标识。A multimedia file download request is sent to the server, and the multimedia file download request carries the specified device identifier and the multimedia file identifier.

可选地,该指定设备为网络附属存储设备。Optionally, the specified device is a network attached storage device.

可选地,判断该多媒体文件的发送事件是否被触发之前,还包括:Optionally, before judging whether the sending event of the multimedia file is triggered, it also includes:

判断该终端是否接入指定局域网内,该指定局域网为该指定设备当前所接入的局域网;Judging whether the terminal is connected to a designated local area network, where the designated local area network is the local area network to which the designated device is currently connected;

当该终端已接入该指定局域网内时,触发该多媒体文件的发送事件。When the terminal is connected to the specified local area network, a sending event of the multimedia file is triggered.

可选地,判断该多媒体文件的发送事件是否被触发之前,还包括:Optionally, before judging whether the sending event of the multimedia file is triggered, it also includes:

判断是否通过蓝牙与该终端建立连接;Determine whether to establish a connection with the terminal via Bluetooth;

当与该终端通过蓝牙建立连接时,触发该多媒体文件的发送事件。When a connection is established with the terminal via bluetooth, a sending event of the multimedia file is triggered.

上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be described in detail in the embodiments of the present disclosure.

图2是根据一示例性实施例示出的另一种多媒体文件下载方法的流程图,参见图2,该方法应用于终端中,包括如下步骤。Fig. 2 is a flowchart of another method for downloading a multimedia file according to an exemplary embodiment. Referring to Fig. 2, the method is applied in a terminal and includes the following steps.

在步骤201中,接收多媒体文件下载指令。In step 201, a multimedia file download instruction is received.

在步骤202中,基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中。In step 202, based on the multimedia file download instruction, the multimedia file is downloaded from the server to the designated device currently bound to the terminal.

在步骤203中,接收该指定设备发送的该多媒体文件,该多媒体文件为该指定设备在该多媒体文件下载完成之后,且检测到该多媒体文件的发送事件被触发时发送。In step 203, the multimedia file sent by the specified device is received, and the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.

在本公开实施例中,终端可以在接收到多媒体文件下载指令后,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,并接收该指定该设备发送的多媒体文件,由于终端只需接收一个多媒体文件下载指令,即可通过指定设备完成对多媒体文件下载,从而降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, after receiving the multimedia file download instruction, the terminal can download the multimedia file from the server to the designated device currently bound to the terminal, and receive the multimedia file sent by the designated device. Since the terminal Only by receiving a multimedia file download command, the multimedia file download can be completed through the specified device, thereby reducing the impact of the multimedia file download on the running time of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

可选地,该多媒体文件下载指令中携带多媒体文件标识;Optionally, the multimedia file download instruction carries a multimedia file identifier;

相应地,基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,包括:Correspondingly, based on the multimedia file download instruction, the multimedia file is downloaded from the server to the designated device currently bound to the terminal, including:

基于该多媒体文件下载指令,向该指定设备发送多媒体文件下载通知,该多媒体文件下载通知中携带该多媒体文件标识,该多媒体文件下载通知用于指示该指定设备向该服务器发送多媒体文件下载请求。Based on the multimedia file download instruction, a multimedia file download notification is sent to the specified device, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to instruct the specified device to send a multimedia file download request to the server.

可选地,该多媒体文件下载指令中携带多媒体文件标识和指定设备标识;Optionally, the multimedia file download instruction carries a multimedia file identifier and a designated device identifier;

相应地,基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,包括:Correspondingly, based on the multimedia file download instruction, the multimedia file is downloaded from the server to the designated device currently bound to the terminal, including:

基于该多媒体文件下载指令,向服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带该多媒体文件标识和该指定设备标识,该多媒体文件下载请求用于指示该服务器将该多媒体文件下载到该指定设备中。Based on the multimedia file download instruction, a multimedia file download request is sent to the server, the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request is used to instruct the server to download the multimedia file to the designated device in the device.

上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be described in detail in the embodiments of the present disclosure.

图3是根据一示例性实施例示出的一种多媒体文件下载方法的流程图,参见图3,该方法包括如下步骤。Fig. 3 is a flowchart of a method for downloading a multimedia file according to an exemplary embodiment. Referring to Fig. 3 , the method includes the following steps.

在步骤301中,终端接收多媒体文件下载指令。In step 301, the terminal receives a multimedia file download instruction.

需要说明的是,该多媒体文件下载指令用于对多媒体文件进行下载,且该多媒体文件下载指令可以由用户通过指定操作触发,该指定操作可以为点击操作、滑动操作、有语音操作等。It should be noted that the multimedia file download instruction is used to download multimedia files, and the multimedia file download instruction can be triggered by a user through a specified operation, and the specified operation can be a click operation, a slide operation, a voice operation, and the like.

进一步地,终端在接收到该多媒体文件下载指令之前,还可以与指定设备进行绑定。Furthermore, before receiving the instruction for downloading the multimedia file, the terminal may also bind with the designated device.

在一种可能的实现方式中,该终端可以通过蓝牙搜索设备标识,并当搜索到至少一个设备标识时,从该至少一个设备标识中确定指定设备标识,并向该指定设备标识对应的指定设备发送绑定指令,当指定设备接收到该绑定指令时,与该终端进行绑定。In a possible implementation manner, the terminal may search for device identifiers through Bluetooth, and when at least one device identifier is found, determine the designated device identifier from the at least one device identifier, and identify the corresponding designated device to the designated device A binding instruction is sent, and when the specified device receives the binding instruction, it binds with the terminal.

需要说明的是,终端可以基于至少一个设备标识接收选择指令,以通过选择指令确定该指定设备标识,当然,也可以从该至少一个设备标识中确定具有绑定记录的设备标识作为指定设备标识。It should be noted that the terminal may receive a selection instruction based on at least one device identifier, so as to determine the specified device identifier through the selection instruction, and of course, may also determine a device identifier with a binding record from the at least one device identifier as the specified device identifier.

还需要说明的是,该选择指令用于对指定该设备进行选择,且该选择指令可以由用户通过指定操作触发。It should also be noted that the selection instruction is used to select the specified device, and the selection instruction can be triggered by a user through a specified operation.

另外,该绑定指令用于将终端与指定设备进行绑定,且该绑定指令可以由用户通过指定操作触发。In addition, the binding instruction is used to bind the terminal with a designated device, and the binding instruction can be triggered by a user through a designated operation.

再者,该指定设备标识用于唯一标识该指定设备,该指定设备标识可以为该指定设备的MAC(Media Access Control,媒体访问控制)地址、出厂序列号等。Furthermore, the designated device identifier is used to uniquely identify the designated device, and the designated device identifier may be a MAC (Media Access Control, Media Access Control) address, a factory serial number, etc. of the designated device.

在另一种可能的实现方式中,终端还可以搜索与该终端接入同一局域网的多个设备的设备标识,并从该多个设备标识中确定指定设备标识,向该指定设备标识对应的指定设备发送绑定指令,当指定设备接收到该绑定指令时,与该终端进行绑定。In another possible implementation, the terminal may also search for the device IDs of multiple devices connected to the same local area network as the terminal, and determine the specified device ID from the multiple device IDs, and provide the specified device ID corresponding to the specified device ID. The device sends a binding instruction, and when the specified device receives the binding instruction, it binds with the terminal.

其中,终端可以通过网关设备或路由器搜索与该终端接入同一局域网的指定设备,也可以通过其他方式进行搜索,比如,指定设备发送广播帧,终端通过扫描的方式扫描到指定设备发送的广播帧时,确定该指定设备与该终端接入同一局域网。Among them, the terminal can search for the designated device connected to the same LAN as the terminal through the gateway device or router, or search in other ways, for example, the designated device sends a broadcast frame, and the terminal scans the broadcast frame sent by the designated device by scanning. , it is determined that the specified device is connected to the same local area network as the terminal.

其中,终端通过网关设备或路由器搜索与该终端接入同一局域网的操作可以参考相关技术,本公开实施例对此不再进行一一赘述。For the operation of the terminal searching for access to the same local area network as the terminal through a gateway device or a router, reference may be made to related technologies, which will not be repeated in the embodiments of the present disclosure.

值得注意的是,在本公开实施例中,该指定设备可以为网络附属存储设备,当然,在实际应用中还可以为其他设备,比如,具有存储功能的终端等。It should be noted that, in the embodiment of the present disclosure, the designated device may be a network attached storage device, and of course, in practical applications, it may also be other devices, such as a terminal with a storage function.

另外,该终端不仅可以在接收到多媒体文件下载指令之前与该指定设备进行绑定,还可以在接收到该多媒体文件下载指令之后与该指定设备进行绑定。也即是,终端与该指定设备进行绑定的时机不受限制。In addition, the terminal can not only bind with the specified device before receiving the multimedia file download instruction, but also bind with the specified device after receiving the multimedia file download instruction. That is to say, there is no restriction on the timing of binding the terminal to the designated device.

在步骤302中,终端通过该多媒体文件下载指令向服务器发送多媒体文件下载请求。In step 302, the terminal sends a multimedia file download request to the server through the multimedia file download instruction.

其中,终端通过该多媒体文件下载指令向服务器发送多媒体文件下载请求的操作可以包括如下两种方式。Wherein, the operation of the terminal sending a multimedia file download request to the server through the multimedia file download instruction may include the following two manners.

第一种方式,当该多媒体文件下载指令中携带多媒体文件标识时,该终端可以基于该多媒体文件下载指令,向该指定设备发送多媒体文件下载通知,该多媒体文件下载通知中携带该多媒体文件标识。该指定设备可以接收该终端发送的多媒体文件下载通知,并向该服务器发送多媒体文件下载请求。In the first manner, when the multimedia file download instruction carries a multimedia file identifier, the terminal may send a multimedia file download notification to the designated device based on the multimedia file download instruction, and the multimedia file download notification carries the multimedia file identifier. The specified device can receive the multimedia file download notification sent by the terminal, and send a multimedia file download request to the server.

其中,该多媒体文件下载通知用于指示该指定设备向该服务器发送多媒体文件下载请求。Wherein, the multimedia file download notification is used to instruct the specified device to send a multimedia file download request to the server.

需要说明的是,该多媒体文件标识用于唯一标识该多媒体文件,该多媒体标识可以为多媒体文件名称、多媒体文件编号等。It should be noted that the multimedia file identifier is used to uniquely identify the multimedia file, and the multimedia identifier may be a multimedia file name, a multimedia file number, and the like.

另外,该指定该设备接收的该多媒体文件下载通知中可以携带多媒体文件标识;且该指定设备向服务器发送的多媒体文件下载请求中可以携带指定设备标识和该多媒体文件标识。In addition, the multimedia file download notification received by the specified device may carry the multimedia file identifier; and the multimedia file download request sent by the specified device to the server may carry the specified device identifier and the multimedia file identifier.

第二种方式,当该多媒体文件下载指令中携带多媒体文件标识和指定设备标识时,该终端基于该多媒体文件下载指令,向服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带该多媒体文件标识和该指定设备标识,该多媒体文件下载请求用于指示该服务器将该多媒体文件下载到该指定设备中。In the second way, when the multimedia file download instruction carries the multimedia file identifier and the designated device identifier, the terminal sends a multimedia file download request to the server based on the multimedia file download instruction, and the multimedia file download request carries the multimedia file identifier and the specified device identifier, the multimedia file download request is used to instruct the server to download the multimedia file to the specified device.

在步骤303中,当服务器接收到该多媒体文件下载请求时,可以将构成多媒体文件的多媒体数据发送给指定设备。In step 303, when the server receives the multimedia file download request, it may send the multimedia data constituting the multimedia file to the designated device.

需要说明的是,在本公开实施例中,由于该多媒体文件下载请求中携带有多媒体文件标识和指定设备标识,因此,该服务器可以基于该多媒体文件标识获取到构成该多媒体文件的多媒体数据,并将该多媒体数据发送给指定设备标识对应的指定设备。It should be noted that, in the embodiment of the present disclosure, since the multimedia file download request carries the multimedia file identifier and the designated device identifier, the server can obtain the multimedia data constituting the multimedia file based on the multimedia file identifier, and Send the multimedia data to the specified device corresponding to the specified device identifier.

在步骤304中,指定设备接收服务器发送的多媒体数据,以对多媒体文件进行下载。In step 304, the designated device receives the multimedia data sent by the server to download the multimedia file.

其中,由于对该多媒体文件的下载是由指定设备进行的,从而避免了对终端的运行造成影响,节省了终端的电量,提高了终端运行效率。Wherein, since the download of the multimedia file is performed by a designated device, the influence on the operation of the terminal is avoided, the power of the terminal is saved, and the operating efficiency of the terminal is improved.

另外,该指定设备在对该多媒体文件进行下载的过程中,接收到控制指令时,可以根据该控制指令执行相关操作。In addition, when the specified device receives the control instruction during the process of downloading the multimedia file, it can perform related operations according to the control instruction.

需要说明的是,该控制指令用于对指定该设备进行控制,该控制指令可以包括停止下载指令、开始下载指令、多媒体文件删除指令、多媒体文件发送指令等,且该控制指令可以由用户通过指定操作触发。It should be noted that the control command is used to control the specified device, and the control command may include a stop download command, a start download command, a multimedia file deletion command, a multimedia file sending command, etc., and the control command may be specified by the user. Action triggers.

还需要说明的是,该控制指令可以是由终端直接发送给该指定设备的,也可以是由该终端先将该控制指令送给服务器,然后由服务器转发给该指定设备。It should also be noted that the control instruction may be directly sent by the terminal to the specified device, or the terminal may first send the control instruction to the server, and then the server forwards the control instruction to the specified device.

在步骤305中,当该指定设备完成对该多媒体文件的下载后,判断该多媒体文件的发送事件是否被触发,该多媒体文件的发送事件用于指示将已下载的多媒体文件发送给与该指定设备绑定的终端。In step 305, after the designated device finishes downloading the multimedia file, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the designated device The bound terminal.

进一步地,指定设备判断该多媒体文件的发送事件是否被触发之前,还可以通过如下两种方式触发该多媒体的触发事件。Further, before the designated device judges whether the sending event of the multimedia file is triggered, the triggering event of the multimedia file may be triggered in the following two ways.

(1)、指定设备判断该终端是否接入指定局域网内,该指定局域网为该指定设备当前所接入的局域网;当该终端已接入该指定局域网内时,触发该多媒体文件的发送事件。(1), the designated device judges whether the terminal is connected to a designated local area network, and the designated local area network is the local area network currently connected to the designated device; when the terminal has been connected to the designated local area network, the sending event of the multimedia file is triggered.

其中,该指定设备可以通过判断该终端是否接入网关设备或路由器,来判断该终端是否接入指定局域网内。即,当在该网关设备或者路由器中检测到该终端的终端标识时,则确定该终端已接入该指定局域网;当在网关设备或路由器中未检测到该终端的终端标识时,则确定该终端未接入该指定局域网。Wherein, the designated device may judge whether the terminal is connected to the designated local area network by judging whether the terminal is connected to a gateway device or a router. That is, when the terminal identification of the terminal is detected in the gateway device or router, it is determined that the terminal has accessed the specified local area network; when the terminal identification of the terminal is not detected in the gateway device or router, it is determined that the terminal The terminal is not connected to the specified LAN.

需要说明的是,该终端标识用于唯一标识该终端,比如该终端标识可以为终端的MAC地址、出厂序列号等。It should be noted that the terminal identifier is used to uniquely identify the terminal, for example, the terminal identifier may be the terminal's MAC address, factory serial number, and the like.

另外,该指定设备可以实时判断该终端是否接入指定局域网内,也可以从完成多媒体文件下载的时间起,每隔指定时间间隔判断该终端是否接入指定局域网内。In addition, the specified device can judge in real time whether the terminal is connected to the specified local area network, or can determine whether the terminal is connected to the specified local area network at specified time intervals from the time when the multimedia file download is completed.

需要说明的是,该指定时间间隔可以事先设置,比如该指定时间间隔可以为2小时、3小时、5小时等。It should be noted that the specified time interval may be set in advance, for example, the specified time interval may be 2 hours, 3 hours, 5 hours, and so on.

再者,该指定设备不仅可以实时或每隔指定时间间隔主动执行判断该终端是否接入指定局域网内的操作,该指定设备还可以在接收到终端发送的多媒体文件发送指令时,被动执行判断该终端是否接入指定局域网内的操作。Furthermore, the designated device can not only actively execute the operation of judging whether the terminal is connected to the designated local area network in real time or every designated time interval, but also passively execute the judgment of whether the terminal is connected to the designated local area network when receiving a multimedia file sending instruction sent by the terminal. Whether the terminal accesses the operation in the specified LAN.

在另一种可能的实现方式中,当该终端未接入该指定局域网内时,该指定设备可以不做任何操作。In another possible implementation manner, when the terminal is not connected to the designated local area network, the designated device may not perform any operation.

(2)、指定设备判断是否通过蓝牙与该终端建立连接;当与该终端通过蓝牙建立连接时,触发该多媒体文件的发送事件。(2) The designated device judges whether to establish a connection with the terminal through Bluetooth; when establishing a connection with the terminal through Bluetooth, trigger the sending event of the multimedia file.

需要说明的是,该指定设备同样可以实时判断是否通过蓝牙与该终端建立连接,也可以每隔指定时间间隔判断是否通过蓝牙与该终端建立连接。It should be noted that the specified device can also determine whether to establish a connection with the terminal through Bluetooth in real time, or determine whether to establish a connection with the terminal through Bluetooth at specified time intervals.

值得注意的是,该指定设备不仅可以实时或每隔指定时间间隔主动执行判断是否通过蓝牙与该终端建立连接的操作,该指定设备还可以在接收到该终端发送的多媒体文件发送指令时,被动执行判断是否通过蓝牙与该终端建立连接的操作。It is worth noting that the specified device can not only actively execute the operation of judging whether to establish a connection with the terminal through Bluetooth in real time or at specified intervals, but also passively Execute the operation of judging whether to establish a connection with the terminal through Bluetooth.

在另一种可能的实现方式中,当该指定设备未通过蓝牙与该终端建立连接时,该指定设备可以不做任何操作。In another possible implementation manner, when the specified device has not established a connection with the terminal through Bluetooth, the specified device may not perform any operation.

在步骤306中,当该多媒体文件的发送事件被触发时,指定设备将该多媒体文件发送给与该指定设备绑定的终端。In step 306, when the sending event of the multimedia file is triggered, the designated device sends the multimedia file to the terminal bound to the designated device.

其中,该指定设备可以通过蓝牙将该多媒体文件发送至该终端,也可以通过指定局域网将该多媒体文件发送至该终端。由于该蓝牙的传输速度大于家庭宽带的传输速度,且该指定局域网的传输速度同样大于家庭宽带的传输速度,因此,指定设备通过蓝牙或指定局域网发送该多媒体文件时,可以提高传输多媒体文件的传输效率。Wherein, the designated device may send the multimedia file to the terminal via bluetooth, or send the multimedia file to the terminal via a designated local area network. Since the transmission speed of the bluetooth is greater than the transmission speed of the home broadband, and the transmission speed of the designated local area network is also greater than the transmission speed of the home broadband, therefore, when the designated device sends the multimedia file through the bluetooth or the designated local area network, the transmission of the multimedia file can be improved. efficiency.

进一步地,当该指定设备将该多媒体文件发送完成后,还可以向终端发送一个第一提示信息,该第一提示信息可以提示终端该多媒体文件已完成发送。Further, after the designated device finishes sending the multimedia file, it can also send a first prompt message to the terminal, and the first prompt message can remind the terminal that the multimedia file has been sent.

在步骤307中,终端接收该指定设备发送的多媒体文件。In step 307, the terminal receives the multimedia file sent by the designated device.

其中,当该终端完成对该多媒体文件的接收后,可以向该指定设备发送多媒体文件删除指令,当该指定设备接收到该多媒体文件删除指令时,可以将该多媒体文件进行删除。或者,该终端还可以向指定设备发送一个第二提示信息,该第二提示信息可以提示指定设备多媒体文件已完成接收;当该指定设备接收到该第二提示信息后,该指定设备可以将该多媒体文件自动删除,从而避免该多媒体文件对存储空间的占用。也即是,该指定设备删除多媒体文件的操作可以是主动进行的,也可以是被动进行的。Wherein, after the terminal finishes receiving the multimedia file, it can send a multimedia file deletion instruction to the designated device, and when the designated device receives the multimedia file deletion instruction, it can delete the multimedia file. Alternatively, the terminal may also send a second prompt message to the designated device, and the second prompt message may prompt the designated device that the multimedia file has been received; when the designated device receives the second prompt message, the designated device may send the The multimedia file is automatically deleted, thereby avoiding the occupation of the storage space by the multimedia file. That is to say, the operation of the designated device to delete the multimedia file may be performed actively or passively.

在另一种可能的实现方式中,由于该指定设备还可以与其他终端进行绑定,因此,该指定设备可以不将该多媒体文件进行删除。当该指定该设备接收到其他终端发送的针对已下载的多媒体文件的多媒体文件下载通知时,该指定设备可以直接将已下载好的多媒体文件发送至其他终端,从而无需再次从服务器中进行下载,提高了下载多媒体文件的效率。In another possible implementation manner, since the designated device may also be bound with other terminals, the designated device may not delete the multimedia file. When the specified device receives a multimedia file download notification for the downloaded multimedia file sent by other terminals, the specified device can directly send the downloaded multimedia file to other terminals, so that there is no need to download from the server again, Improved the efficiency of downloading multimedia files.

在本公开实施例中,终端可以在接收到多媒体文件下载指令后,可以直接向指定设备发送多媒体文件下载通知,该指定设备接收到该多媒体文件下载通知后,可以向服务器发送多媒体文件下载请求,从而从服务器中下载多媒体文件。或者,该终端直接向服务器发送多媒体文件下载请求,由服务器将构成该多媒体文件的多媒体数据发送至该指定该设备。由于终端只需接收一个多媒体文件下载指令,即可通过指定设备完成对多媒体文件下载,从而降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, after receiving the multimedia file download instruction, the terminal can directly send the multimedia file download notification to the designated device, and the designated device can send the multimedia file download request to the server after receiving the multimedia file download notification, Thereby downloading multimedia files from the server. Alternatively, the terminal directly sends a multimedia file download request to the server, and the server sends the multimedia data constituting the multimedia file to the designated device. Since the terminal only needs to receive a multimedia file download instruction, it can complete the download of the multimedia file through the specified device, thereby reducing the impact of the multimedia file download on the operation of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

图4A是根据一示例性实施例示出的一种指定设备的结构框图。参照图4A,该指定设备包括:第一接收模块401、第一判断模块402和第一发送模块403。Fig. 4A is a structural block diagram of a designated device according to an exemplary embodiment. Referring to FIG. 4A , the specifying device includes: a first receiving module 401 , a first judging module 402 and a first sending module 403 .

第一接收模块401,用于接收服务器发送的多媒体数据,以对多媒体文件进行下载,该多媒体数据为该服务器在接收到多媒体文件下载请求时发送,该多媒体数据为构成该多媒体文件的数据;The first receiving module 401 is used to receive multimedia data sent by the server to download the multimedia file. The multimedia data is sent by the server when receiving a multimedia file download request, and the multimedia data is the data that constitutes the multimedia file;

第一判断模块402,用于当完成对该多媒体文件的下载后,判断该多媒体文件的发送事件是否被触发,该多媒体文件的发送事件用于指示将已下载的该多媒体文件发送给与该指定设备绑定的终端;The first judging module 402 is used to judge whether the sending event of the multimedia file is triggered after the download of the multimedia file is completed, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the specified The terminal bound to the device;

第一发送模块403,用于当该多媒体文件的发送事件被触发时,将该多媒体文件发送给与该指定设备绑定的终端。The first sending module 403 is configured to send the multimedia file to the terminal bound with the specified device when the sending event of the multimedia file is triggered.

可选地,参见图4B,该指定设备还包括:Optionally, referring to FIG. 4B, the designated device also includes:

第二接收模块404,用于接收该终端发送的多媒体文件下载通知,该多媒体文件下载通知中携带多媒体文件标识;The second receiving module 404 is configured to receive a multimedia file download notification sent by the terminal, where the multimedia file download notification carries a multimedia file identifier;

第二发送模块405,用于向该服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带指定设备标识和该多媒体文件标识。The second sending module 405 is configured to send a multimedia file download request to the server, where the multimedia file download request carries the designated device identifier and the multimedia file identifier.

可选地,该指定设备为网络附属存储设备。Optionally, the specified device is a network attached storage device.

可选地,参见图4C,该指定设备还包括:Optionally, referring to Figure 4C, the specified equipment also includes:

第二判断模块406,用于判断该终端是否接入指定局域网内,该指定局域网为该指定设备当前所接入的局域网;The second judging module 406 is used to judge whether the terminal is connected to a designated local area network, and the designated local area network is the local area network currently connected to the designated device;

第一触发模块407,用于当该终端已接入该指定局域网内时,触发该多媒体文件的发送事件。The first triggering module 407 is configured to trigger the sending event of the multimedia file when the terminal has been connected to the designated local area network.

可选地,参见图4D,该指定设备还包括:Optionally, referring to Fig. 4D, the specified equipment also includes:

第三判断模块408,用于判断是否通过蓝牙与该终端建立连接;The third judging module 408 is used to judge whether to establish a connection with the terminal through Bluetooth;

第二触发模块409,用于当与该终端通过蓝牙建立连接时,触发该多媒体文件的发送事件。The second triggering module 409 is configured to trigger the sending event of the multimedia file when establishing a connection with the terminal via Bluetooth.

在本公开实施例中,由于是指定设备接收服务器发送的构成多媒体文件的多媒体数据,以对多媒体文件进行下载,并在多媒体文件下载完成后,检测到多媒体文件的发送事件被触发时,可以将该多媒体文件给终端,避免了终端直接对多媒体数据进行下载,降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, since the designated device receives the multimedia data constituting the multimedia file sent by the server to download the multimedia file, and after the download of the multimedia file is completed, when it detects that the sending event of the multimedia file is triggered, the The multimedia file is provided to the terminal, which prevents the terminal from directly downloading the multimedia data, and reduces the influence of the download of the multimedia file on the operation of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

图5A是根据一示例性实施例示出的一种终端的结构框图。参照图5A,该终端包括:第一接收模块501、下载模块502和第二接收模块503。Fig. 5A is a structural block diagram of a terminal according to an exemplary embodiment. Referring to FIG. 5A , the terminal includes: a first receiving module 501 , a download module 502 and a second receiving module 503 .

第一接收模块501,用于接收多媒体文件下载指令;The first receiving module 501 is configured to receive a multimedia file download instruction;

下载模块502,用于基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中;The download module 502 is configured to download the multimedia file from the server to the designated device currently bound to the terminal based on the multimedia file download instruction;

第二接收模块503,用于接收该指定设备发送的该多媒体文件,该多媒体文件为该指定设备在该多媒体文件下载完成之后,且检测到该多媒体文件的发送事件被触发时发送。The second receiving module 503 is configured to receive the multimedia file sent by the specified device. The multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.

可选地,该多媒体文件下载指令中携带多媒体文件标识;Optionally, the multimedia file download instruction carries a multimedia file identifier;

相应地,参见图5B,该下载模块502包括:Correspondingly, referring to FIG. 5B, the download module 502 includes:

第一发送子模块5021,用于基于该多媒体文件下载指令,向该指定设备发送多媒体文件下载通知,该多媒体文件下载通知中携带该多媒体文件标识,该多媒体文件下载通知用于指示该指定设备向该服务器发送多媒体文件下载请求。The first sending submodule 5021 is configured to send a multimedia file download notification to the designated device based on the multimedia file download instruction, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to instruct the designated device to send The server sends a multimedia file download request.

可选地,该多媒体文件下载指令中携带多媒体文件标识和指定设备标识;Optionally, the multimedia file download instruction carries a multimedia file identifier and a designated device identifier;

相应地,参见图5C,该下载模块502包括:Correspondingly, referring to FIG. 5C, the download module 502 includes:

第二发送子模块5022,用于基于该多媒体文件下载指令,向服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带该多媒体文件标识和该指定设备标识,该多媒体文件下载请求用于指示该服务器将该多媒体文件下载到该指定设备中。The second sending submodule 5022 is configured to send a multimedia file download request to the server based on the multimedia file download instruction, the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request is used to indicate the The server downloads the multimedia file to the designated device.

在本公开实施例中,终端可以在接收到多媒体文件下载指令后,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,并接收该指定该设备发送的多媒体文件,由于终端只需接收一个多媒体文件下载指令,即可通过指定设备完成对多媒体文件下载,从而降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, after receiving the multimedia file download instruction, the terminal can download the multimedia file from the server to the designated device currently bound to the terminal, and receive the multimedia file sent by the designated device. Since the terminal Only by receiving a multimedia file download command, the multimedia file download can be completed through the specified device, thereby reducing the impact of the multimedia file download on the running time of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图6是根据一示例性实施例示出的一种用于多媒体文件下载的指定设备600的框图。例如,指定设备600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 6 is a block diagram showing a designated device 600 for downloading multimedia files according to an exemplary embodiment. For example, the designated device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图6,指定设备600可以包括以下一个或多个组件:处理组件602,存储器604,电源组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传感器组件614,以及通信组件616。Referring to FIG. 6, the specified device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614 , and the communication component 616.

处理组件602通常控制指定设备600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。The processing component 602 generally controls the overall operations of the given device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 602 may include one or more modules that facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602 .

存储器604被配置为存储各种类型的数据以支持在指定设备600的操作。这些数据的示例包括用于在指定设备600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 604 is configured to store various types of data to support operations at a given device 600 . Examples of such data include instructions for any application or method operating on the given device 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件606为指定设备600的各种组件提供电源。电源组件606可以包括电源管理系统,一个或多个电源,及其他与为指定设备600生成、管理和分配电源相关联的组件。Power component 606 provides power to various components of a given device 600 . Power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for a given device 600 .

多媒体组件608包括在所述指定设备600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当指定设备600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 608 includes a screen providing an output interface between the designated device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. When the specified device 600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当指定设备600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器604或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a microphone (MIC) configured to receive external audio signals when the designated device 600 is in operation modes, such as call mode, recording mode, and voice recognition mode. Received audio signals may be further stored in memory 604 or sent via communication component 616 . In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件614包括一个或多个传感器,用于为指定设备600提供各个方面的状态评估。例如,传感器组件614可以检测到指定设备600的打开/关闭状态,组件的相对定位,例如所述组件为指定设备600的显示器和小键盘,传感器组件614还可以检测指定设备600或指定设备600一个组件的位置改变,用户与指定设备600接触的存在或不存在,指定设备600方位或加速/减速和指定设备600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 614 includes one or more sensors for providing various aspects of status assessment for a given device 600 . For example, the sensor component 614 can detect the open/closed state of the specified device 600, the relative positioning of components, such as the display and keypad of the specified device 600, the sensor component 614 can also detect the specified device 600 or a specified device 600 The position of components changes, the presence or absence of user contact with the designated device 600 , the designated device 600 orientation or acceleration/deceleration and the temperature change of the designated device 600 . The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 614 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件616被配置为便于指定设备600和其他设备之间有线或无线方式的通信。指定设备600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 616 is configured to facilitate wired or wireless communications between the given device 600 and other devices. The specified device 600 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,指定设备600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, designated device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由指定设备600的处理器620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, which can be executed by the processor 620 of the specified device 600 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种多媒体文件下载方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute a method for downloading multimedia files, the method comprising:

接收服务器发送的多媒体数据,以对多媒体文件进行下载,该多媒体数据为该服务器在接收到多媒体文件下载请求时发送,该多媒体数据为构成该多媒体文件的数据。The multimedia data sent by the server is received to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, and the multimedia data is data constituting the multimedia file.

当完成对该多媒体文件的下载后,判断该多媒体文件的发送事件是否被触发,该多媒体文件的发送事件用于指示将已下载的该多媒体文件发送给与该指定设备绑定的终端。After the downloading of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate to send the downloaded multimedia file to the terminal bound to the designated device.

当该多媒体文件的发送事件被触发时,将该多媒体文件发送给与该指定设备绑定的终端。When the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the designated device.

可选地,接收服务器发送的多媒体数据之前,还包括:Optionally, before receiving the multimedia data sent by the server, it also includes:

接收该终端发送的多媒体文件下载通知,该多媒体文件下载通知中携带多媒体文件标识;receiving a multimedia file download notification sent by the terminal, the multimedia file download notification carrying a multimedia file identifier;

向该服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带指定设备标识和该多媒体文件标识。A multimedia file download request is sent to the server, and the multimedia file download request carries the specified device identifier and the multimedia file identifier.

可选地,该指定设备为网络附属存储设备。Optionally, the specified device is a network attached storage device.

可选地,判断该多媒体文件的发送事件是否被触发之前,还包括:Optionally, before judging whether the sending event of the multimedia file is triggered, it also includes:

判断该终端是否接入指定局域网内,该指定局域网为该指定设备当前所接入的局域网;Judging whether the terminal is connected to a designated local area network, where the designated local area network is the local area network to which the designated device is currently connected;

当该终端已接入该指定局域网内时,触发该多媒体文件的发送事件。When the terminal is connected to the specified local area network, a sending event of the multimedia file is triggered.

可选地,判断该多媒体文件的发送事件是否被触发之前,还包括:Optionally, before judging whether the sending event of the multimedia file is triggered, it also includes:

判断是否通过蓝牙与该终端建立连接;Determine whether to establish a connection with the terminal via Bluetooth;

当与该终端通过蓝牙建立连接时,触发该多媒体文件的发送事件。When a connection is established with the terminal via bluetooth, a sending event of the multimedia file is triggered.

在本公开实施例中,由于是指定设备接收服务器发送的构成多媒体文件的多媒体数据,以对多媒体文件进行下载,并在多媒体文件下载完成后,检测到多媒体文件的发送事件被触发时,可以将该多媒体文件给终端,避免了终端直接对多媒体数据进行下载,降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, since the designated device receives the multimedia data constituting the multimedia file sent by the server to download the multimedia file, and after the download of the multimedia file is completed, when it detects that the sending event of the multimedia file is triggered, the The multimedia file is provided to the terminal, which prevents the terminal from directly downloading the multimedia data, and reduces the influence of the download of the multimedia file on the operation of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

图7是根据一示例性实施例示出的一种用于多媒体文件下载的终端700的框图。例如,终端700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram of a terminal 700 for downloading multimedia files according to an exemplary embodiment. For example, the terminal 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图7,终端700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。Referring to FIG. 7, a terminal 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and communication component 716 .

处理组件702通常控制终端700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the terminal 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .

存储器704被配置为存储各种类型的数据以支持在终端700的操作。这些数据的示例包括用于在终端700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 704 is configured to store various types of data to support operations at the terminal 700 . Examples of such data include instructions for any application or method operating on the terminal 700, contact data, phonebook data, messages, pictures, videos, etc. The memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件706为终端700的各种组件提供电源。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为终端700生成、管理和分配电源相关联的组件。The power supply component 706 provides power to various components of the terminal 700 . Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 700 .

多媒体组件708包括在所述终端700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当终端700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes a screen providing an output interface between the terminal 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the terminal 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当终端700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive an external audio signal when the terminal 700 is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 . In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件714包括一个或多个传感器,用于为终端700提供各个方面的状态评估。例如,传感器组件714可以检测到终端700的打开/关闭状态,组件的相对定位,例如所述组件为终端700的显示器和小键盘,传感器组件714还可以检测终端700或终端700一个组件的位置改变,用户与终端700接触的存在或不存在,终端700方位或加速/减速和终端700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 714 includes one or more sensors for providing various aspects of a status assessment of the terminal 700 . For example, the sensor component 714 can detect the open/closed state of the terminal 700, the relative positioning of components, such as the display and keypad of the terminal 700, and the sensor component 714 can also detect the position change of the terminal 700 or a component of the terminal 700 , the presence or absence of the user's contact with the terminal 700 , the orientation or acceleration/deceleration of the terminal 700 and the temperature change of the terminal 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件716被配置为便于终端700和其他设备之间有线或无线方式的通信。终端700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the terminal 700 and other devices. The terminal 700 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,终端700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, terminal 700 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由终端700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which can be executed by the processor 720 of the terminal 700 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种多媒体文件下载方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute a method for downloading multimedia files, the method comprising:

接收多媒体文件下载指令;Receive multimedia file download instructions;

基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中;Based on the multimedia file download instruction, download the multimedia file from the server to the designated device currently bound to the terminal;

接收该指定设备发送的该多媒体文件,该多媒体文件为该指定设备在该多媒体文件下载完成之后,且检测到该多媒体文件的发送事件被触发时发送。The multimedia file sent by the specified device is received, and the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.

可选地,该多媒体文件下载指令中携带多媒体文件标识;Optionally, the multimedia file download instruction carries a multimedia file identifier;

相应地,基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,包括:Correspondingly, based on the multimedia file download instruction, the multimedia file is downloaded from the server to the designated device currently bound to the terminal, including:

基于该多媒体文件下载指令,向该指定设备发送多媒体文件下载通知,该多媒体文件下载通知中携带该多媒体文件标识,该多媒体文件下载通知用于指示该指定设备向该服务器发送多媒体文件下载请求。Based on the multimedia file download instruction, a multimedia file download notification is sent to the specified device, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to instruct the specified device to send a multimedia file download request to the server.

可选地,该多媒体文件下载指令中携带多媒体文件标识和指定设备标识;Optionally, the multimedia file download instruction carries a multimedia file identifier and a designated device identifier;

相应地,基于该多媒体文件下载指令,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,包括:Correspondingly, based on the multimedia file download instruction, the multimedia file is downloaded from the server to the designated device currently bound to the terminal, including:

基于该多媒体文件下载指令,向服务器发送多媒体文件下载请求,该多媒体文件下载请求中携带该多媒体文件标识和该指定设备标识,该多媒体文件下载请求用于指示该服务器将该多媒体文件下载到该指定设备中。Based on the multimedia file download instruction, a multimedia file download request is sent to the server, the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request is used to instruct the server to download the multimedia file to the designated device in the device.

在本公开实施例中,终端可以在接收到多媒体文件下载指令后,将多媒体文件从服务器下载至与该终端当前所绑定的指定设备中,并接收该指定该设备发送的多媒体文件。由于终端只需接收一个多媒体文件下载指令,即可通过指定设备完成对多媒体文件下载,从而降低了多媒体文件下载对终端运行时的影响。同时,由于是指定设备对多媒体文件进行下载,无需终端一直保持联网状态,从而节省了终端的电量,提高了下载多媒体文件的效率以及终端的运行效率。In the embodiment of the present disclosure, after receiving the multimedia file download instruction, the terminal may download the multimedia file from the server to the designated device currently bound to the terminal, and receive the multimedia file sent by the designated device. Since the terminal only needs to receive a multimedia file download instruction, it can complete the download of the multimedia file through the specified device, thereby reducing the impact of the multimedia file download on the operation of the terminal. At the same time, since the designated device downloads the multimedia files, it is not necessary for the terminal to remain connected to the Internet, thereby saving the power of the terminal, improving the efficiency of downloading multimedia files and the operating efficiency of the terminal.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1.一种多媒体文件下载方法,应用于指定设备中,其特征在于,所述方法包括:1. A method for downloading a multimedia file, applied in a specified device, is characterized in that the method comprises: 接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;Receiving multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, the multimedia data is data that constitutes the multimedia file; 当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;After the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the specified device bound terminal; 当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。When the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the designated device. 2.根据权利要求1所述的方法,其特征在于,所述接收服务器发送的多媒体数据之前,还包括:2. The method according to claim 1, wherein, before the multimedia data sent by the receiving server, further comprising: 接收所述终端发送的多媒体文件下载通知,所述多媒体文件下载通知中携带多媒体文件标识;receiving a multimedia file download notification sent by the terminal, where the multimedia file download notification carries a multimedia file identifier; 向所述服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带指定设备标识和所述多媒体文件标识。Sending a multimedia file download request to the server, where the multimedia file download request carries a specified device identifier and the multimedia file identifier. 3.根据权利要求1所述的方法,其特征在于,所述指定设备为网络附属存储设备。3. The method according to claim 1, wherein the specified device is a network attached storage device. 4.根据权利要求1所述的方法,其特征在于,所述判断所述多媒体文件的发送事件是否被触发之前,还包括:4. The method according to claim 1, characterized in that, before the judging whether the sending event of the multimedia file is triggered, further comprising: 判断所述终端是否接入指定局域网内,所述指定局域网为所述指定设备当前所接入的局域网;judging whether the terminal is connected to a designated local area network, where the designated local area network is the local area network to which the designated device is currently connected; 当所述终端已接入所述指定局域网内时,触发所述多媒体文件的发送事件。When the terminal has access to the specified local area network, triggering the sending event of the multimedia file. 5.根据权利要求1所述的方法,其特征在于,所述判断所述多媒体文件的发送事件是否被触发之前,还包括:5. The method according to claim 1, characterized in that, before the judging whether the sending event of the multimedia file is triggered, further comprising: 判断是否通过蓝牙与所述终端建立连接;judging whether to establish a connection with the terminal via Bluetooth; 当与所述终端通过蓝牙建立连接时,触发所述多媒体文件的发送事件。When a connection is established with the terminal via bluetooth, a sending event of the multimedia file is triggered. 6.一种多媒体数据下载方法,应用于终端中,其特征在于,所述方法包括:6. A method for downloading multimedia data, applied in a terminal, characterized in that the method comprises: 接收多媒体文件下载指令;Receive a multimedia file download instruction; 基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;Based on the multimedia file download instruction, download the multimedia file from the server to the specified device currently bound to the terminal; 接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The multimedia file sent by the specified device is received, the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered. 7.根据权利要求6所述的方法,其特征在于,所述多媒体文件下载指令中携带多媒体文件标识;7. The method according to claim 6, wherein the multimedia file download instruction carries a multimedia file identifier; 相应地,所述基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中,包括:Correspondingly, the downloading the multimedia file from the server to the designated device currently bound to the terminal based on the multimedia file download instruction includes: 基于所述多媒体文件下载指令,向所述指定设备发送多媒体文件下载通知,所述多媒体文件下载通知中携带所述多媒体文件标识,所述多媒体文件下载通知用于指示所述指定设备向所述服务器发送多媒体文件下载请求。Based on the multimedia file download instruction, a multimedia file download notification is sent to the designated device, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to instruct the designated device to send a notification to the server Send a multimedia file download request. 8.根据权利要求6所述的方法,其特征在于,所述多媒体文件下载指令中携带多媒体文件标识和指定设备标识;8. The method according to claim 6, wherein the multimedia file download instruction carries a multimedia file identifier and a designated device identifier; 相应地,所述基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中,包括:Correspondingly, the downloading the multimedia file from the server to the designated device currently bound to the terminal based on the multimedia file download instruction includes: 基于所述多媒体文件下载指令,向服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带所述多媒体文件标识和所述指定设备标识,所述多媒体文件下载请求用于指示所述服务器将所述多媒体文件下载到所述指定设备中。Based on the multimedia file download instruction, send a multimedia file download request to the server, the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request is used to instruct the server to download the multimedia file The multimedia file is downloaded to the designated device. 9.一种指定设备,其特征在于,所述指定设备包括:9. A designated device, characterized in that the designated device comprises: 第一接收模块,用于接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;The first receiving module is used to receive the multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, and the multimedia data is composed of the multimedia file data; 第一判断模块,用于当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;The first judging module is used to judge whether the sending event of the multimedia file is triggered after the downloading of the multimedia file is completed, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to a terminal bound to the designated device; 第一发送模块,用于当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。The first sending module is configured to send the multimedia file to the terminal bound to the specified device when the sending event of the multimedia file is triggered. 10.根据权利要求9所述的指定设备,其特征在于,所述指定设备还包括:10. The specifying device according to claim 9, further comprising: 第二接收模块,用于接收所述终端发送的多媒体文件下载通知,所述多媒体文件下载通知中携带多媒体文件标识;The second receiving module is configured to receive a multimedia file download notification sent by the terminal, where the multimedia file download notification carries a multimedia file identifier; 第二发送模块,用于向所述服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带指定设备标识和所述多媒体文件标识。The second sending module is configured to send a multimedia file download request to the server, where the multimedia file download request carries a designated device identifier and the multimedia file identifier. 11.根据权利要求9所述的指定设备,其特征在于,所述指定设备为网络附属存储设备。11. The specifying device according to claim 9, wherein the specifying device is a network attached storage device. 12.根据权利要求9所述的指定设备,其特征在于,所述指定设备还包括:12. The specifying device according to claim 9, further comprising: 第二判断模块,用于判断所述终端是否接入指定局域网内,所述指定局域网为所述指定设备当前所接入的局域网;A second judging module, configured to judge whether the terminal is connected to a designated local area network, where the designated local area network is the local area network that the designated device is currently connected to; 第一触发模块,用于当所述终端已接入所述指定局域网内时,触发所述多媒体文件的发送事件。The first triggering module is configured to trigger the sending event of the multimedia file when the terminal has been connected to the specified local area network. 13.根据权利要求9所述的指定设备,其特征在于,所述指定设备还包括:13. The specifying device according to claim 9, further comprising: 第三判断模块,用于判断是否通过蓝牙与所述终端建立连接;The third judging module is used to judge whether to establish a connection with the terminal through Bluetooth; 第二触发模块,用于当与所述终端通过蓝牙建立连接时,触发所述多媒体文件的发送事件。The second triggering module is used for triggering the sending event of the multimedia file when establishing a connection with the terminal via Bluetooth. 14.一种终端,其特征在于,所述终端包括:14. A terminal, characterized in that the terminal comprises: 第一接收模块,用于接收多媒体文件下载指令;The first receiving module is used to receive multimedia file download instructions; 下载模块,用于基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;A download module, configured to download the multimedia file from the server to the specified device currently bound to the terminal based on the multimedia file download instruction; 第二接收模块,用于接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The second receiving module is configured to receive the multimedia file sent by the designated device, and the multimedia file is when the designated device detects that a sending event of the multimedia file is triggered after the download of the multimedia file is completed. send. 15.根据权利要求14所述的终端,其特征在于,所述多媒体文件下载指令中携带多媒体文件标识;15. The terminal according to claim 14, wherein the multimedia file download instruction carries a multimedia file identifier; 相应地,所述下载模块包括:Correspondingly, the download module includes: 第一发送子模块,用于基于所述多媒体文件下载指令,向所述指定设备发送多媒体文件下载通知,所述多媒体文件下载通知中携带所述多媒体文件标识,所述多媒体文件下载通知用于指示所述指定设备向所述服务器发送多媒体文件下载请求。The first sending submodule is configured to send a multimedia file download notification to the designated device based on the multimedia file download instruction, the multimedia file download notification carries the multimedia file identifier, and the multimedia file download notification is used to indicate The specified device sends a multimedia file download request to the server. 16.根据权利要求14所述的终端,其特征在于,所述多媒体文件下载指令中携带多媒体文件标识和指定设备标识;16. The terminal according to claim 14, wherein the multimedia file download instruction carries a multimedia file identifier and a designated device identifier; 相应地,所述下载模块包括:Correspondingly, the download module includes: 第二发送子模块,用于基于所述多媒体文件下载指令,向服务器发送多媒体文件下载请求,所述多媒体文件下载请求中携带所述多媒体文件标识和所述指定设备标识,所述多媒体文件下载请求用于指示所述服务器将所述多媒体文件下载到所述指定设备中。The second sending submodule is configured to send a multimedia file download request to a server based on the multimedia file download instruction, wherein the multimedia file download request carries the multimedia file identifier and the designated device identifier, and the multimedia file download request It is used to instruct the server to download the multimedia file to the designated device. 17.一种指定设备,其特征在于,所述指定设备包括:17. A designated device, characterized in that the designated device comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收服务器发送的多媒体数据,以对多媒体文件进行下载,所述多媒体数据为所述服务器在接收到多媒体文件下载请求时发送,所述多媒体数据为构成所述多媒体文件的数据;Receiving multimedia data sent by the server to download the multimedia file, the multimedia data is sent by the server when receiving a multimedia file download request, the multimedia data is data that constitutes the multimedia file; 当完成对所述多媒体文件的下载后,判断所述多媒体文件的发送事件是否被触发,所述多媒体文件的发送事件用于指示将已下载的所述多媒体文件发送给与所述指定设备绑定的终端;After the download of the multimedia file is completed, it is judged whether the sending event of the multimedia file is triggered, and the sending event of the multimedia file is used to indicate that the downloaded multimedia file is sent to the specified device bound terminal; 当所述多媒体文件的发送事件被触发时,将所述多媒体文件发送给与所述指定设备绑定的终端。When the sending event of the multimedia file is triggered, the multimedia file is sent to the terminal bound to the designated device. 18.一种终端,其特征在于,所述终端包括:18. A terminal, characterized in that the terminal comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收多媒体文件下载指令;Receive a multimedia file download instruction; 基于所述多媒体文件下载指令,将多媒体文件从服务器下载至与所述终端当前所绑定的指定设备中;Based on the multimedia file download instruction, download the multimedia file from the server to the specified device currently bound to the terminal; 接收所述指定设备发送的所述多媒体文件,所述多媒体文件为所述指定设备在所述多媒体文件下载完成之后,且检测到所述多媒体文件的发送事件被触发时发送。The multimedia file sent by the specified device is received, the multimedia file is sent by the specified device after the download of the multimedia file is completed and when a sending event of the multimedia file is detected to be triggered.
CN201610928959.0A 2016-10-31 2016-10-31 Multimedia file downloading method, designated equipment and terminal Pending CN106559479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610928959.0A CN106559479A (en) 2016-10-31 2016-10-31 Multimedia file downloading method, designated equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610928959.0A CN106559479A (en) 2016-10-31 2016-10-31 Multimedia file downloading method, designated equipment and terminal

Publications (1)

Publication Number Publication Date
CN106559479A true CN106559479A (en) 2017-04-05

Family

ID=58443127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610928959.0A Pending CN106559479A (en) 2016-10-31 2016-10-31 Multimedia file downloading method, designated equipment and terminal

Country Status (1)

Country Link
CN (1) CN106559479A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392762A (en) * 2017-04-14 2017-11-24 阿里巴巴集团控股有限公司 Clear the method, apparatus and equipment of file process
CN109040217A (en) * 2018-07-25 2018-12-18 努比亚技术有限公司 Download caching method, mobile terminal and computer readable storage medium
CN109041047A (en) * 2018-08-07 2018-12-18 环球天成科技(北京)有限公司 Method for down loading, terminal and the storage medium of terminal data
CN110958588A (en) * 2018-09-26 2020-04-03 上海擎感智能科技有限公司 Vehicle-mounted storage method/system, storage medium and vehicle terminal of multimedia file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237300A (en) * 2013-04-28 2013-08-07 北京小米科技有限责任公司 Method, device and system for downloading file
CN104123341A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Method and device for downloading file and route device
CN105208107A (en) * 2015-08-28 2015-12-30 小米科技有限责任公司 File downloading method, device, intelligent terminal and downloading device
CN105204915A (en) * 2015-10-29 2015-12-30 小米科技有限责任公司 Application program updating method, device and system
CN105763601A (en) * 2016-01-29 2016-07-13 北京小米移动软件有限公司 File sharing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237300A (en) * 2013-04-28 2013-08-07 北京小米科技有限责任公司 Method, device and system for downloading file
CN104123341A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Method and device for downloading file and route device
CN105208107A (en) * 2015-08-28 2015-12-30 小米科技有限责任公司 File downloading method, device, intelligent terminal and downloading device
CN105204915A (en) * 2015-10-29 2015-12-30 小米科技有限责任公司 Application program updating method, device and system
CN105763601A (en) * 2016-01-29 2016-07-13 北京小米移动软件有限公司 File sharing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392762A (en) * 2017-04-14 2017-11-24 阿里巴巴集团控股有限公司 Clear the method, apparatus and equipment of file process
CN109040217A (en) * 2018-07-25 2018-12-18 努比亚技术有限公司 Download caching method, mobile terminal and computer readable storage medium
CN109040217B (en) * 2018-07-25 2021-03-26 南昌努比亚技术有限公司 Download caching method, mobile terminal and computer readable storage medium
CN109041047A (en) * 2018-08-07 2018-12-18 环球天成科技(北京)有限公司 Method for down loading, terminal and the storage medium of terminal data
CN110958588A (en) * 2018-09-26 2020-04-03 上海擎感智能科技有限公司 Vehicle-mounted storage method/system, storage medium and vehicle terminal of multimedia file

Similar Documents

Publication Publication Date Title
CN108809968A (en) Collaborative share method, apparatus and storage medium
CN105162728B (en) Method for network access, equipment and system
CN105487389A (en) Method and device for controlling intelligent equipment
CN105915627A (en) Service request processing method and service request processing device
CN106254467A (en) Sharing files method and device
CN107608561A (en) Touch-screen control method and device
CN105491048A (en) Account management method and apparatus
CN111654354B (en) Method and device for detecting maximum transmission unit MTU and storage medium
WO2016015403A1 (en) Method and apparatus for accessing wi-fi network
CN107094094B (en) Application networking method and device and terminal
CN106371327A (en) Control right sharing method and device
CN106547216A (en) The method and device of intelligent scene trigger condition is set
CN107071862A (en) Account binding method and device and smart machine
CN106507282A (en) Wireless connection control method and device
CN107371052A (en) Equipment control method and device
CN106792442A (en) data migration method and device
CN105763601A (en) File sharing method and device
CN106559479A (en) Multimedia file downloading method, designated equipment and terminal
CN107220059A (en) The display methods and device of application interface
CN107632835B (en) Application installation method and device
CN106792041A (en) Content share method and device
CN105787342B (en) A kind of method and apparatus of performance objective function
CN108111663A (en) Play multimedia method and device
CN106598540A (en) Audio playing method and device
CN106406941A (en) Method and apparatus for updating firmware

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405