WO2017101523A1 - Method and apparatus for controlling wearable device - Google Patents

Method and apparatus for controlling wearable device Download PDF

Info

Publication number
WO2017101523A1
WO2017101523A1 PCT/CN2016/097886 CN2016097886W WO2017101523A1 WO 2017101523 A1 WO2017101523 A1 WO 2017101523A1 CN 2016097886 W CN2016097886 W CN 2016097886W WO 2017101523 A1 WO2017101523 A1 WO 2017101523A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
multimedia data
wearable device
indication
mark
Prior art date
Application number
PCT/CN2016/097886
Other languages
French (fr)
Chinese (zh)
Inventor
任海林
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017101523A1 publication Critical patent/WO2017101523A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Abstract

The present application provides a method and apparatus for controlling a wearable device. The method comprises: in a process in which a terminal and a wearable device connected to the terminal synchronously play first multimedia data, detecting a vibration mark in the first multimedia data; and if the vibration mark is detected in the first multimedia data, sending a vibration instruction to the wearable device, so that the wearable device vibrates according to the vibration instruction. In the technical solution of the present application, when a vibration mark is detected in first multimedia data, a vibration instruction is sent to a wearable device, so that the wearable device can vibrate; accordingly the wearable device can output a vibration signal while the multimedia data is outputted, thereby improving the diversity of outputted signals of the wearable device.

Description

可穿戴设备的控制方法及装置Control method and device for wearable device
本申请要求于2015年12月15日提交中国专利局,申请号为2015109534579,发明名称为“可穿戴设备的控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2015109534579, the entire disclosure of which is incorporated herein by reference. in.
技术领域Technical field
本申请涉及影音播放技术领域,尤其涉及一种可穿戴设备的控制方法及装置。The present application relates to the field of video and audio playback technologies, and in particular, to a method and an apparatus for controlling a wearable device.
背景技术Background technique
随着终端的普及,越来越多与终端相关的功能配件也随之完善。可穿戴设备如智能头盔、智能眼镜等,作为终端的一个重要配件,可以通过通用串行总线(Universal Serial Bus,USB)接口、移动终端高清影音标准(Mobile High-Definition Link,MHL)接口或者蓝牙与终端进行有线连接或者无线连接。终端可以通过与可穿戴设备之间的连接,将多媒体数据发送给可穿戴设备。With the popularity of terminals, more and more functional accessories related to terminals have also been perfected. Wearable devices such as smart helmets, smart glasses, etc., as an important accessory for the terminal, can be connected via Universal Serial Bus (USB) interface, Mobile High-Definition Link (MHL) interface or Bluetooth Wired or wirelessly connected to the terminal. The terminal can transmit the multimedia data to the wearable device through a connection with the wearable device.
然而,现有技术中,可穿戴设备只能实现多媒体数据的输出,如播放视频数据、输出音频数据等,因此可穿戴设备输出信号的种类比较单一,影响多媒体数据的输出效果。However, in the prior art, the wearable device can only realize the output of multimedia data, such as playing video data, outputting audio data, etc., so the type of the output signal of the wearable device is relatively simple, which affects the output effect of the multimedia data.
发明内容Summary of the invention
本申请提供一种可穿戴设备的控制方法及装置,以克服现有技术中可穿戴设备输出信号的种类比较单一,影响多媒体数据的输出效果的技术问题。The present invention provides a control method and device for a wearable device, which overcomes the technical problem that the output signal of the wearable device is relatively simple and affects the output effect of the multimedia data in the prior art.
在第一方面,本申请实施例提供一种可穿戴设备的控制方法,包括:在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对所述第一多媒体数据中的振动标记进行检测;若在所述第一多媒体数据中检测到所述振动标记,向所述可穿戴设备发送振动指示,以便于所述可穿戴设备根据所述振动指示进行振动。In a first aspect, the embodiment of the present application provides a control method of a wearable device, including: in a process in which a terminal plays a first multimedia data synchronously with a connected wearable device, the first multimedia The vibration mark in the data is detected; if the vibration mark is detected in the first multimedia data, a vibration indication is sent to the wearable device, so that the wearable device vibrates according to the vibration indication .
可选地,对所述第一多媒体数据中的振动标记进行检测,包括: Optionally, detecting the vibration mark in the first multimedia data, including:
提取所述第一多媒体数据的头文件;Extracting a header file of the first multimedia data;
检测所述头文件中是否携带所述振动标记。Detecting whether the vibration flag is carried in the header file.
可选地,对所述第一多媒体数据中的振动标记进行检测之前,包括:在所述头文件中设置所述振动标记;将第二多媒体数据和所述头文件进行压缩编码,以获得所述第一多媒体数据。Optionally, before detecting the vibration mark in the first multimedia data, including: setting the vibration mark in the header file; and compressing and encoding the second multimedia data and the header file Obtaining the first multimedia data.
可选地,所述第一多媒体数据中的振动标记进行检测,包括:对所述第一多媒体数据的音频通道进行解码,得到所述振动标记。Optionally, detecting, by the vibration flag in the first multimedia data, the audio channel of the first multimedia data is decoded to obtain the vibration flag.
可选地,对所述多媒体数据中的振动标记进行检测之前,包括:为第一多媒体数据创建音频通道,在所述音频通道中设置所述振动标记;将所述音频通道与所述第二多媒体数据进行编码,以获得所述第一多媒体数据。Optionally, before detecting the vibration mark in the multimedia data, comprising: creating an audio channel for the first multimedia data, setting the vibration mark in the audio channel; and the audio channel and the The second multimedia data is encoded to obtain the first multimedia data.
可选地,所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。Optionally, the vibration indication includes at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
在第二方面,本申请实施例提供一种可穿戴设备的控制方法,包括:接收所连接的终端发送的振动指示;其中,所述振动指示为在所述可穿戴设备与所述终端同步播放第一多媒体数据的过程中,所述终端在所述第一多媒体数据中检测到振动标记时发出的;根据所述振动指示进行振动。In a second aspect, an embodiment of the present application provides a method for controlling a wearable device, including: receiving a vibration indication sent by a connected terminal; wherein the vibration indication is that the wearable device plays synchronously with the terminal. In the process of the first multimedia data, the terminal sends out when the vibration mark is detected in the first multimedia data; and vibrates according to the vibration indication.
可选地,所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。Optionally, the vibration indication includes at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
可选地,根据所述振动指示进行振动,包括:根据所述振动指示控制至少一个振动马达进行振动。Optionally, performing vibration according to the vibration indication comprises: controlling at least one vibration motor to perform vibration according to the vibration indication.
在第三方面,本申请实施例提供一种可穿戴设备的控制装置,包括:检测模块,用于在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对所述第一多媒体数据中的振动标记进行检测;发送模块,用于若在所述第一多媒体数据中检测到所述振动标记,向所述可穿戴设备发送振动指示,以便于所述可穿戴设备根据所述振动指示进行振动。In a third aspect, the embodiment of the present application provides a control device for a wearable device, including: a detecting module, configured to: when the terminal plays the first multimedia data synchronously with the connected wearable device, The vibration mark in the first multimedia data is detected; the sending module is configured to: if the vibration mark is detected in the first multimedia data, send a vibration indication to the wearable device, to facilitate the The wearable device vibrates according to the vibration indication.
可选地,所述检测模块,具体用于:提取所述第一多媒体数据的头文件;检测所述头文件中是否携带所述振动标记。 Optionally, the detecting module is specifically configured to: extract a header file of the first multimedia data; and detect whether the vibration flag is carried in the header file.
可选地,所述装置还包括:设置模块,用于在所述头文件中设置所述振动标记;第一编码模块,用于将第二多媒体数据和所述头文件进行压缩编码,以获得所述第一多媒体数据。Optionally, the device further includes: a setting module, configured to set the vibration flag in the header file; and a first encoding module, configured to compress and encode the second multimedia data and the header file, Obtaining the first multimedia data.
可选地,所述装置还包括:解码模块,用于对所述第一多媒体数据的音频通道进行解码,得到所述振动标记。Optionally, the device further includes: a decoding module, configured to decode an audio channel of the first multimedia data to obtain the vibration flag.
可选地,所述装置还包括:创建模块,用于为第一多媒体数据创建音频通道,在所述音频通道中设置所述振动标记;第二编码模块,将所述音频通道与所述第二多媒体数据进行编码,以获得所述第一多媒体数据。Optionally, the device further includes: a creating module, configured to create an audio channel for the first multimedia data, set the vibration flag in the audio channel; and a second encoding module, the audio channel and the The second multimedia data is encoded to obtain the first multimedia data.
可选地,所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。Optionally, the vibration indication includes at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
在第四方面,本申请实施例提供一种可穿戴设备的控制装置,包括:接收模块,用于接收所连接的终端发送的振动指示;其中,所述振动指示为在可穿戴设备与所述终端同步播放第一多媒体数据的过程中,所述终端在所述第一多媒体数据中检测到振动标记时发出的;振动模块,用于根据所述振动指示进行振动。In a fourth aspect, the embodiment of the present application provides a control device for a wearable device, including: a receiving module, configured to receive a vibration indication sent by the connected terminal; wherein the vibration indication is in the wearable device and the And the sounding module is configured to perform vibration according to the vibration indication when the terminal synchronously plays the first multimedia data, when the terminal detects the vibration mark in the first multimedia data.
可选地,所述振动指示包含振动起止时间、振动次数和振动类型信息。Optionally, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
可选地,所述振动模块,用于:根据所述振动指示控制至少一个振动马达进行振动。Optionally, the vibration module is configured to: control the at least one vibration motor to perform vibration according to the vibration indication.
本申请实施例提供的可穿戴设备的控制方法及装置,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,根据在第一多媒体数据中的振动标记,向可穿戴设备发送振动指示,以使得可穿戴设备能够进行振动,实现振动信号的输出,与现有技术中只能输出多媒体数据的技术方案相比,提高了可穿戴设备输出信号的多样性。The method and device for controlling a wearable device provided by the embodiment of the present application, in the process of playing the first multimedia data synchronously with the connected wearable device, according to the vibration mark in the first multimedia data, The wearable device transmits the vibration indication to enable the wearable device to vibrate to realize the output of the vibration signal, which improves the diversity of the wearable device output signal compared with the prior art technology that can only output the multimedia data.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。 The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1为本申请实施例提供一种可穿戴设备的控制方法的流程图;FIG. 1 is a flowchart of a method for controlling a wearable device according to an embodiment of the present application;
图2为本申请实施例提供一种可穿戴设备的控制系统的架构示意图;2 is a schematic structural diagram of a control system of a wearable device according to an embodiment of the present application;
图3是本申请实施例提供另一种可穿戴设备的控制方法的流程图;3 is a flowchart of another method for controlling a wearable device according to an embodiment of the present application;
图4是本申请实施例提供另一种可穿戴设备的控制方法的流程图;4 is a flowchart of another method for controlling a wearable device according to an embodiment of the present application;
图5为本申请实施例提供另一种可穿戴设备的控制方法的流程图;FIG. 5 is a flowchart of another method for controlling a wearable device according to an embodiment of the present application;
图6为本申请实施例提供一种可穿戴设备的控制装置的示意图;FIG. 6 is a schematic diagram of a control device for a wearable device according to an embodiment of the present application;
图7为本申请实施例提供另一种可穿戴设备的控制装置的示意图;FIG. 7 is a schematic diagram of another apparatus for controlling a wearable device according to an embodiment of the present application; FIG.
图8为本申请实施例提供另一种可穿戴设备的控制装置的示意图;FIG. 8 is a schematic diagram of another apparatus for controlling a wearable device according to an embodiment of the present application; FIG.
图9为本申请实施例提供另一种可穿戴设备的控制装置的示意图;以及FIG. 9 is a schematic diagram of another apparatus for controlling a wearable device according to an embodiment of the present application;
图10是本申请实施例提供的执行可穿戴设备的控制方法的电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of an electronic device for performing a method for controlling a wearable device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
图1为本申请实施例提供一种可穿戴设备的控制方法的流程图,如图1所示,本实施例的可穿戴设备的控制方法,具体可以包括如下步骤:FIG. 1 is a flowchart of a method for controlling a wearable device according to an embodiment of the present disclosure. As shown in FIG. 1 , the method for controlling a wearable device in this embodiment may include the following steps:
S101,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对第一多媒体数据中的振动标记进行检测。S101. The vibration mark in the first multimedia data is detected during a process in which the terminal plays the first multimedia data synchronously with the connected wearable device.
具体地,本实施例的执行主体是终端。Specifically, the execution subject of this embodiment is a terminal.
随着终端的迅速发展,越来越多的功能配件也被开发出来。例如,可穿戴设备,作为终端的重要配件,可以是如智能头盔、智能眼镜等,用户将可穿戴设备与终端通过USB接口、MHL接口或者蓝牙进行连接。 With the rapid development of terminals, more and more functional accessories have also been developed. For example, the wearable device, as an important accessory of the terminal, may be, for example, a smart helmet, smart glasses, etc., and the user connects the wearable device with the terminal through a USB interface, an MHL interface, or Bluetooth.
终端,如手机或者平板电脑等,在播放多媒体数据的同时,可以通过MHL协议将多媒体数据发送至可穿戴设备,使可穿戴设备和终端同时播放该多媒体数据。终端将所播放的第一多媒体数据发送至可穿戴设备,使可穿戴设备与终端同步播放第一多媒体数据,用户通过可穿戴设备上的耳机收听可穿戴设备发出的音频信号。The terminal, such as a mobile phone or a tablet computer, can transmit the multimedia data to the wearable device through the MHL protocol while playing the multimedia data, so that the wearable device and the terminal simultaneously play the multimedia data. The terminal sends the played first multimedia data to the wearable device, causes the wearable device to play the first multimedia data in synchronization with the terminal, and the user listens to the audio signal sent by the wearable device through the earphone on the wearable device.
但是用户在观看视频信号和收听音频信号时,对于第一多媒体数据中的一些情节,例如爆炸、撞车、开枪或地震等情节,没有切身的体验。因此,可以在可穿戴设备上安装振动马达,同时在第一多媒体数据中设置振动标记,当终端与可穿戴设备同时播放第一多媒体数据时,终端检测第一多媒体数据带有振动标记的位置。以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在爆炸的情节,预先在第一多媒体数据与爆炸情节相对应的帧处设定振动标记,当智能头盔和手机同步播放第一多媒体数据时,手机检测是否存在振动标记。However, when the user watches the video signal and listens to the audio signal, there is no personal experience for some episodes in the first multimedia data, such as an explosion, a crash, a shot, or an earthquake. Therefore, the vibration motor can be installed on the wearable device while the vibration mark is set in the first multimedia data, and when the terminal plays the first multimedia data simultaneously with the wearable device, the terminal detects the first multimedia data band. Location with vibration marks. Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an explosion episode in the first multimedia data, and the vibration mark is set in advance in the frame corresponding to the first multimedia data and the explosion scenario, when the smart helmet is used. When the first multimedia data is played synchronously with the mobile phone, the mobile phone detects whether there is a vibration mark.
S102,若在第一多媒体数据中检测到振动标记,向可穿戴设备发送振动指示,以便于可穿戴设备根据振动指示进行振动。S102. If a vibration mark is detected in the first multimedia data, send a vibration indication to the wearable device, so that the wearable device vibrates according to the vibration indication.
具体地,终端检测到第一多媒体数据设置的振动标记时,向可穿戴设备发送振动指示。Specifically, when the terminal detects the vibration flag set by the first multimedia data, the terminal sends a vibration indication to the wearable device.
在一些实施例中,振动指示包含振动起止时间、振动次数和振动类型信息。In some embodiments, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
具体地,在可穿戴设备上安装振动马达。当可穿戴设备接收到振动指令时,可穿戴设备上的振动马达,根据振动指示所包含的振动起止时间、振动次数和振动类型信息进行振动。Specifically, a vibration motor is mounted on the wearable device. When the wearable device receives the vibration command, the vibration motor on the wearable device vibrates according to the vibration start and end time, the number of vibrations, and the vibration type information included in the vibration instruction.
其中,振动类型可以包括长振动、短振动和心跳式振动。Among them, the vibration type may include long vibration, short vibration, and heartbeat vibration.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在爆炸的情节,预先在第一多媒体数据播放爆炸情节的相对应的帧设定振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测到某一帧带有振动标记,当播放该帧时向智能头盔发送长振动指令,智能头盔可以进行振动,从而使用户切身感受到爆炸时产生的震感,也可以根据具体情节将爆炸情况处的振动标记设置成多次长振动和短振动,以示存在连环爆炸的情节,使播放效果更加真 实。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an explosion episode in the first multimedia data, and the vibration flag is set in advance in the corresponding frame of the first multimedia data playing explosion episode. When the smart helmet and the mobile phone synchronously play the first multimedia data, the mobile phone detects that a certain frame has a vibration mark, and when the frame is played, sends a long vibration command to the smart helmet, and the smart helmet can vibrate, thereby making the user feel the whole body. The vibration generated by the explosion can also be set to multiple long vibrations and short vibrations according to the specific circumstances, so as to show the existence of a chain explosion, so that the playback effect is more true. real.
如图2所示,图2为本申请实施例提供一种可穿戴设备的控制系统的架构示意图。在采用本实施例所述的可穿戴设备的控制方法实现控制可穿戴设备时,将手机21与智能头盔22通过USB接口进行连接,使手机21与智能头盔22同步播放多媒体数据,用户使用耳机23来收听智能头盔22播放的音频数据。智能头盔22上在前、后、左和右分别设备振动马达24,当手机21上播放第一多媒体播放数据到振动标记处时,向智能头盔22发送振动指示,智能头盔22根据振动指示进行振动,这样,提高了智能头盔22的播放效果。As shown in FIG. 2, FIG. 2 is a schematic structural diagram of a control system of a wearable device according to an embodiment of the present application. When the controllable device of the present invention is used to control the wearable device, the mobile phone 21 and the smart helmet 22 are connected through the USB interface, so that the mobile phone 21 and the smart helmet 22 play multimedia data synchronously, and the user uses the earphone 23 To listen to the audio data played by the smart helmet 22. The smart helmet 22 respectively vibrates the motor 24 on the front, rear, left and right. When the first multimedia play data is played on the mobile phone 21 to the vibration mark, the vibration indication is sent to the smart helmet 22, and the smart helmet 22 according to the vibration indication Vibration is performed, thus improving the playback effect of the smart helmet 22.
本领域技术人员应该可以理解,若在第一多媒体数据中未检测到振动标记,则终端不发送振动指示,可穿戴设备在播放第一多媒体数据时不发生振动。It should be understood by those skilled in the art that if the vibration flag is not detected in the first multimedia data, the terminal does not transmit the vibration indication, and the wearable device does not vibrate when playing the first multimedia data.
本实施例的技术方案,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,根据在第一多媒体数据中的振动标记,向可穿戴设备发送振动指示,以使得可穿戴设备能够进行振动,实现振动信号的输出,与现有技术中只能输出多媒体数据的技术方案相比,提高了可穿戴设备输出信号的多样性。In the technical solution of the embodiment, when the terminal plays the first multimedia data synchronously with the connected wearable device, sending a vibration indication to the wearable device according to the vibration mark in the first multimedia data, The wearable device can be vibrated to realize the output of the vibration signal, and the diversity of the output signal of the wearable device is improved compared with the prior art technology that can only output the multimedia data.
图3是本申请实施例提供另一种可穿戴设备的控制方法的流程图,本实施例的可穿戴设备的控制方法在上述实施例的基础上,进一步更加详细地介绍本申请的技术方案。如图3所示,本实施例的可穿戴设备的控制方法,具体可以包括如下步骤:FIG. 3 is a flowchart of a method for controlling another wearable device according to an embodiment of the present application. The control method of the wearable device of the present embodiment further introduces the technical solution of the present application in more detail on the basis of the foregoing embodiment. As shown in FIG. 3, the control method of the wearable device in this embodiment may specifically include the following steps:
S301,在头文件中设置振动标记。S301, setting a vibration mark in the header file.
本实施例的执行主体是终端。The execution subject of this embodiment is a terminal.
具体地,本领域技术人员应该可以知道,通常所说的多媒体数据是将头文件、视频文件和音频文件等文件压缩合成在一起形成的具有编码格式的数据,例如,音频视频交错格式(Audio Video Interleaved,AVI)、增强流媒体格式(Advanced Streaming Format,ASF)、窗口媒体视频(Windows Media Video,WMV)格式、3GP、高压缩比的视频格式(Real Video)及闪光视频(Flash Video,FLV)等编码格式的多媒体数据。Specifically, those skilled in the art should be aware that the so-called multimedia data is a data with an encoded format formed by compressing and combining files such as a header file, a video file, and an audio file, for example, an audio video interlaced format (Audio Video). Interleaved, AVI), Advanced Streaming Format (ASF), Windows Media Video (WMV) format, 3GP, high compression video format (Real Video) and flash video (Flash Video, FLV) Multimedia data in an encoded format.
当播放第一多媒体数据时,对第一多媒体数据进行解码,获得头文件、视频文件和音频文件等的过程。 When the first multimedia data is played, the process of decoding the first multimedia data to obtain a header file, a video file, an audio file, and the like.
其中,头文件中记录了关于第一多媒体数据的信息,例如,文件帧索引、每帧的大小和位置和视频文件与音频文件的同步信息。在本实施例中,还在头文件中记录帧的信息时,在指定的帧处设定振动标记,以便于当播放到该帧时,终端发送振动指令给可穿戴设备。The information about the first multimedia data is recorded in the header file, for example, the file frame index, the size and position of each frame, and the synchronization information of the video file and the audio file. In the present embodiment, when the information of the frame is also recorded in the header file, the vibration flag is set at the specified frame so that when the frame is played, the terminal transmits a vibration command to the wearable device.
S302,将第二多媒体数据和头文件进行压缩编码,以获得第一多媒体数据。S302. Compress and encode the second multimedia data and the header file to obtain the first multimedia data.
具体地,未对第一多媒体数据进行编码前的数据为第二多媒体数据,具体包括视频文件和音频文件。第二多媒体数据并不能直接播放,必须经过压缩编码将音频文件和视频文件合成在一起。采用编码工具,例如,终端上的视频录制软件或者windows影音视频制作软件等,将第二多媒体数据和含有振动标记的头文件进行压缩编码,获得第一多媒体数据。Specifically, the data before the encoding of the first multimedia data is the second multimedia data, specifically including the video file and the audio file. The second multimedia data cannot be directly played, and the audio file and the video file must be synthesized by compression encoding. The second multimedia data and the header file containing the vibration mark are compression-encoded by using an encoding tool, for example, a video recording software on the terminal or a Windows video and audio production software, to obtain the first multimedia data.
S303,提取第一多媒体数据的头文件。S303. Extract a header file of the first multimedia data.
具体地,需要播放第一多媒体数据时,需要将第一多媒体数据进行解码,以提取所第一多媒体数据的头文件。人们日常生活中常的播放器,例如,实时播放器(Real Player)、窗口媒体播放器(Windows Media Player)和万能播放器(Kmplayer)等播放器,其相当于解码器,也就是说,终端中安装的播放器在播放第一多媒体数据时,其对第一多媒体数据进行解码的过程。Specifically, when the first multimedia data needs to be played, the first multimedia data needs to be decoded to extract a header file of the first multimedia data. Players commonly used in everyday life, such as Real Player, Windows Media Player, and Kmplayer, are equivalent to decoders, that is, in terminals. The process in which the installed player decodes the first multimedia data while playing the first multimedia data.
本实施例中,播放器在对第一多媒体数据进行解码的过程中,先提取第一多媒体数据的头文件,以获得头文件中记载的文件帧索引、每帧大小和位置和视频文件与音频文件的同步信息等信息。In this embodiment, in the process of decoding the first multimedia data, the player first extracts a header file of the first multimedia data to obtain a file frame index, a size and a position of each frame recorded in the header file, and Information such as synchronization information between video files and audio files.
S304,检测头文件中是否携带振动标记。S304. Check whether the vibration flag is carried in the header file.
具体地,终端在播放多媒体数据的同时,通过MHL协议将多媒体数据发送至可穿戴设备,使终端和可穿戴设备同时播放该多媒体数据。但是用户在观看视频信号和收听音频信号时,对于第一多媒体数据中的一些情节,例如爆炸、撞车、开枪或地震等情节,却没有很好的切身的体验。因此,可以在可穿戴设备上安装振动马达。Specifically, the terminal sends the multimedia data to the wearable device through the MHL protocol while playing the multimedia data, so that the terminal and the wearable device simultaneously play the multimedia data. However, when the user watches the video signal and listens to the audio signal, there is no good personal experience for some episodes in the first multimedia data, such as an explosion, a crash, a shot, or an earthquake. Therefore, a vibration motor can be mounted on the wearable device.
本实施例在第一多媒体数据的头文件中设置振动标记,当终端与可穿戴设备同时播放第一多媒体数据时,终端检测到第一多媒体数据是否带有振动标记的位置。若是,当播放到与振动标记对应的帧时,终端向可穿戴设备发送振动 指示。In this embodiment, a vibration flag is set in the header file of the first multimedia data, and when the terminal plays the first multimedia data simultaneously with the wearable device, the terminal detects whether the first multimedia data has a position with a vibration mark. . If yes, the terminal sends a vibration to the wearable device when playing the frame corresponding to the vibration mark Instructions.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在爆炸的情节,预先在第一多媒体数据处设定振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测第一多媒体数据的头文件中,是否携带了振动标记。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an explosion episode in the first multimedia data, and the vibration mark is set in advance at the first multimedia data. When the smart helmet and the mobile phone synchronously play the first multimedia data, the mobile phone detects whether the vibration flag is carried in the header file of the first multimedia data.
S305,若在第一多媒体数据中检测到振动标记,向可穿戴设备发送振动指示,以便于可穿戴设备根据振动指示进行振动。S305. If a vibration mark is detected in the first multimedia data, send a vibration indication to the wearable device, so that the wearable device vibrates according to the vibration indication.
具体地,终端检测到第一多媒体数据设置的振动标记时,向可穿戴设备发送振动指示。Specifically, when the terminal detects the vibration flag set by the first multimedia data, the terminal sends a vibration indication to the wearable device.
进一步地,振动指示包含振动起止时间、振动次数和振动类型信息。Further, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
具体地,在可穿戴设备上安装振动马达。当可穿戴设备接收到振动指令时,可穿戴设备上的振动马达,根据振动指示所包含的振动起止时间、振动次数和振动类型信息进行振动。Specifically, a vibration motor is mounted on the wearable device. When the wearable device receives the vibration command, the vibration motor on the wearable device vibrates according to the vibration start and end time, the number of vibrations, and the vibration type information included in the vibration instruction.
振动类型包括长振动、短振动和心跳式振动。Vibration types include long vibrations, short vibrations, and heartbeat vibrations.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在爆炸的情节,预先在第一多媒体数据中与爆炸情节相对应的帧设置振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测第一多媒体数据的头文件中存在振动标记,当播放第一多媒体数据至与爆炸情节相对应的帧时,向智能头盔发送长振动指令,使用户切身感受到地震时产生的震感,也可以根据具体情节将地震情况处的振动标记设置成多次长振动和短振动,以示存在连环爆炸的情节,使播放效果更加真实。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an explosion scenario in the first multimedia data, and a vibration flag is set in advance in the frame corresponding to the explosion scenario in the first multimedia data. When the smart helmet and the mobile phone play the first multimedia data synchronously, the mobile phone detects that there is a vibration mark in the header file of the first multimedia data, and when the first multimedia data is played to the frame corresponding to the explosion scenario, The smart helmet sends a long vibration command, so that the user can feel the earthquake feeling when the earthquake is felt. The vibration mark at the earthquake situation can be set to multiple long vibrations and short vibrations according to the specific circumstances, so as to show the existence of the serial explosion and play. The effect is more real.
例如,长振动为振动10秒,短振动为振动3秒,心跳式振动为振动20次,以终端是手机,可穿戴设备是智能头盔为例,当所播放的第一多媒体数据至第20分37秒时有爆炸情节时,爆炸持续10秒,则此时手机向智能头盔发送振动10秒的振动指令:For example, long vibration is vibration for 10 seconds, short vibration is vibration for 3 seconds, heartbeat vibration is vibration for 20 times, the terminal is a mobile phone, and the wearable device is a smart helmet, for example, when the first multimedia data is played to the 20th. When there is an explosion in 37 seconds, the explosion lasts for 10 seconds, then the mobile phone sends a vibration command to the smart helmet for 10 seconds:
MHL_Send_command(“cmd=vibrator:10s”)://下发振动命令10s命令到头盔。MHL_Send_command ("cmd=vibrator:10s"): Issue the vibration command 10s command to the helmet.
本领域技术人员应该可以理解,若在第一多媒体数据中未检测到振动标记,则终端不发送振动指示,可穿戴设备在播放第一多媒体数据时不发生振动。 It should be understood by those skilled in the art that if the vibration flag is not detected in the first multimedia data, the terminal does not transmit the vibration indication, and the wearable device does not vibrate when playing the first multimedia data.
本实施例的技术方案,通过在第一多媒体数据的头文件中设置振动标记,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,根据在第一多媒体数据的头文件中的振动标记,向可穿戴设备发送振动指示,以使得可穿戴设备能够进行振动,实现振动信号的输出,与现有技术中只能输出多媒体数据的技术方案相比,提高了可穿戴设备输出信号的多样性。In the technical solution of the embodiment, in the process of playing the first multimedia data synchronously with the connected wearable device by setting the vibration mark in the header file of the first multimedia data, according to the first multimedia The vibration mark in the header file of the volume data sends a vibration indication to the wearable device, so that the wearable device can vibrate and realize the output of the vibration signal, which is improved compared with the technical solution that can only output multimedia data in the prior art. The diversity of output signals of wearable devices.
图4是本申请实施例提供另一种可穿戴设备的控制方法的流程图,本实施例的可穿戴设备的控制方法在上述实施例的基础上,进一步更加详细地介绍本申请的技术方案。如图4所示,本实施例的可穿戴设备的控制方法,具体可以包括如下步骤:FIG. 4 is a flowchart of a method for controlling another wearable device according to an embodiment of the present application. The control method of the wearable device of the present embodiment further introduces the technical solution of the present application in more detail on the basis of the foregoing embodiments. As shown in FIG. 4, the control method of the wearable device in this embodiment may specifically include the following steps:
S401,为第一多媒体数据创建音频通道,在音频通道中设置振动标记。S401. Create an audio channel for the first multimedia data, and set a vibration flag in the audio channel.
具体地,本实施例的执行主体是终端。Specifically, the execution subject of this embodiment is a terminal.
第一多媒体数据的播放是输出视频信号和音频信号的过程,其中,视频信号是通过视频通道传输,音频信号通过音频通道传输。也就是说,在进行第一多媒体数据的制作过程中,合成了用于输出视频信号的视频通道和用于输出音频信号的音频通道。The playing of the first multimedia data is a process of outputting a video signal and an audio signal, wherein the video signal is transmitted through a video channel, and the audio signal is transmitted through the audio channel. That is to say, in the process of making the first multimedia data, a video channel for outputting a video signal and an audio channel for outputting an audio signal are synthesized.
本实施例的技术方案为第一多媒体数据另外创建一个音频通道,以用于设定振动标记,从而在为第一多媒体数据解码时,对音频通道解码时,能够检测到振动标记。The technical solution of the embodiment separately creates an audio channel for the first multimedia data, so as to set the vibration flag, so that when the audio channel is decoded, the vibration flag can be detected when decoding the first multimedia data. .
所设置的振动标记的位置与剧中例如爆炸、撞车、开枪或地震等情节相对应的位置,具体可以根据时间相对应,例如,第一多媒体数据在播放第20分30秒时有爆炸10秒的情节,则相应地,在所创建的音频通道播放第20分30秒处设置振动标记。The position of the set vibration mark corresponds to a position corresponding to an episode such as an explosion, a crash, a shot, or an earthquake, and may be corresponding according to time. For example, the first multimedia data is played at the 20th minute and 30 seconds. The plot of the explosion for 10 seconds, correspondingly, sets the vibration mark at the 20th minute and 30 seconds of the created audio channel playback.
S402,将音频通道与第二多媒体数据进行编码,以获得第一多媒体数据。S402. Encode the audio channel and the second multimedia data to obtain the first multimedia data.
具体地,未对第一多媒体数据进行编码前的数据为第二多媒体数据,具体包括视频文件和音频文件。第二多媒体数据并不能直接播放,必须经过压缩编码。采用编码工具,例如,终端上的视频录制软件或者windows影音视频制作软件等,将第二多媒体数据和头文件进行压缩编码,获得第一多媒体数据。本实施例在对第二多媒体数据和头文件进行压缩编码时,将在步骤S301创建的音 频通道与第二多媒体数据和头文件一起进行压缩编码,从而获得第一多媒体数据。Specifically, the data before the encoding of the first multimedia data is the second multimedia data, specifically including the video file and the audio file. The second multimedia data cannot be played directly and must be compression encoded. The second multimedia data and the header file are compression-encoded by using an encoding tool, for example, a video recording software on the terminal or a Windows video and audio production software, to obtain the first multimedia data. In this embodiment, when the second multimedia data and the header file are compression-encoded, the tone created in step S301 is The frequency channel is compression-encoded together with the second multimedia data and the header file to obtain the first multimedia data.
S403,对第一多媒体数据的音频通道进行解码,得到振动标记。S403. Decode the audio channel of the first multimedia data to obtain a vibration flag.
具体地,终端在播放多媒体数据的同时,通过MHL协议将多媒体数据发送至可穿戴设备,使终端和可穿戴设备同时播放该多媒体数据。终端将所播放的第一多媒体数据发送至可穿戴设备,使可穿戴设备与终端同步播放第一多媒体数据,用户通过可穿戴设备上的耳机听可穿戴设备发出的音频信号。Specifically, the terminal sends the multimedia data to the wearable device through the MHL protocol while playing the multimedia data, so that the terminal and the wearable device simultaneously play the multimedia data. The terminal sends the played first multimedia data to the wearable device, causes the wearable device to play the first multimedia data synchronously with the terminal, and the user listens to the audio signal sent by the wearable device through the earphone on the wearable device.
但是用户在观看视频信号和收听音频信号时,对于第一多媒体数据中的一些情节,例如爆炸、撞车、开枪或地震等情节,却没有很好的体验。因此,可以在可穿戴设备上安装振动马达,同时在第一多媒体数据中设置振动标记,当终端与可穿戴设备同时播放第一多媒体数据时,终端检测到第一多媒体数据带有振动标记的位置。However, when the user watches the video signal and listens to the audio signal, there is no good experience for some episodes in the first multimedia data, such as an explosion, a crash, a shot, or an earthquake. Therefore, the vibration motor can be installed on the wearable device while the vibration mark is set in the first multimedia data, and when the terminal plays the first multimedia data simultaneously with the wearable device, the terminal detects the first multimedia data. Location with vibration marks.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在地震的情节,预先在第一多媒体数据处设定振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测是否存在振动标记。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an earthquake episode in the first multimedia data, and the vibration mark is set in advance at the first multimedia data. When the smart helmet and the mobile phone simultaneously play the first multimedia data, the mobile phone detects whether there is a vibration mark.
具体的实现方法为,将第一多媒体数据进行解码,例如,Real Player、Windows Media Player和Kmplayer等播放器,相当于解码器,也就是说,终端中安装的播放器在播放第一多媒体数据时,是对第一多媒体数据进行解码的过程。The specific implementation method is: decoding the first multimedia data, for example, a player such as Real Player, Windows Media Player, and Kmplayer, which is equivalent to a decoder, that is, the player installed in the terminal plays the first time. In the case of media data, it is a process of decoding the first multimedia data.
在播放器中,设置有用于分解第一多媒体数据的视频信号和音频信号的工具parse,同时播放器中设置有音频通道和视频通道,播放器在对第一多媒体数据的音频信号和视频信号进行分解之后,将第一多媒体数据的视频信号通过视频通道传输,将音频信号通过音频通道传输,当解码另外设置的音频通道时,检测到其中设置有振动信号,通知终端的处理器,以使终端的处理器向可穿戴设备发送振动指示。In the player, a tool parse for decomposing the video signal and the audio signal of the first multimedia data is provided, and at the same time, the audio channel and the video channel are set in the player, and the audio signal of the player is in the first multimedia data. After the video signal is decomposed, the video signal of the first multimedia data is transmitted through the video channel, and the audio signal is transmitted through the audio channel. When decoding the additionally set audio channel, detecting that a vibration signal is set therein, notifying the terminal a processor to cause the processor of the terminal to send a vibration indication to the wearable device.
S404,若在第一多媒体数据中检测到振动标记,向可穿戴设备发送振动指示,以便于可穿戴设备根据振动指示进行振动。S404. If a vibration mark is detected in the first multimedia data, send a vibration indication to the wearable device, so that the wearable device vibrates according to the vibration indication.
人们日常生活中常的播放器,例如,Real Player、Windows Media Player和 Kmplayer等播放器,实际上相当于解码器,也就是说播放器在播放第一多媒体数据时,实际是对第一多媒体数据进行解码的过程。当播放器播放第一多媒体数据时,在对音频通道解码至设置音频标记的位置时,终端发送振动指示。Players that are common in everyday life, such as Real Player, Windows Media Player, and A player such as Kmplayer is actually equivalent to a decoder, that is, the player actually decodes the first multimedia data when playing the first multimedia data. When the player plays the first multimedia data, the terminal transmits a vibration indication when decoding the audio channel to the position where the audio mark is set.
进一步地,振动指示包含振动起止时间、振动次数和振动类型信息。Further, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
具体地,在可穿戴设备上安装振动马达。当可穿戴设备接收到振动指令时,可穿戴设备上的振动马达,根据振动指示所包含的振动起止时间、振动次数和振动类型信息进行振动。振动类型包括长振动、短振动和心跳式振动。Specifically, a vibration motor is mounted on the wearable device. When the wearable device receives the vibration command, the vibration motor on the wearable device vibrates according to the vibration start and end time, the number of vibrations, and the vibration type information included in the vibration instruction. Vibration types include long vibrations, short vibrations, and heartbeat vibrations.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在地震的情节,预先在第一多媒体数据处设定振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测到存在振动标记,向智能头盔发送长振动指令,使用户切身感受到地震时产生的震感,也可以根据具体情节将地震情况处的振动标记设置成多次长振动和短振动,以示存在余震的情况,使播放效果更加真实。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an earthquake episode in the first multimedia data, and the vibration mark is set in advance at the first multimedia data. When the smart helmet and the mobile phone simultaneously play the first multimedia data, the mobile phone detects the presence of the vibration mark, sends a long vibration command to the smart helmet, so that the user feels the earthquake generated during the earthquake, and can also take the earthquake according to the specific situation. The vibration mark is set to multiple long vibrations and short vibrations to show the presence of aftershocks, making the playback effect more realistic.
例如,长振动为振动10秒,短振动为振动3秒,心跳式振动为振动20次,以终端是手机,可穿戴设备是智能头盔为例,当所播放的视频中有爆炸情节时,爆炸持续10秒,则手机向智能头盔发送振动指令:For example, long vibration is vibration for 10 seconds, short vibration is vibration for 3 seconds, heartbeat vibration is vibration for 20 times, the terminal is a mobile phone, and the wearable device is a smart helmet. When there is an explosion in the video being played, the explosion continues. 10 seconds, the phone sends a vibration command to the smart helmet:
MHL_Send_command(“cmd=vibrator:10s”);//下发振动命令10s命令到头盔。MHL_Send_command ("cmd=vibrator: 10s"); / / issued a vibration command 10s command to the helmet.
本实施例的技术方案,为第一多媒体数据创建音频通道,将振动标记设置于所创建的音频通道中,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,根据在第一多媒体数据的音频通道中的振动标记,向可穿戴设备发送振动指示,以使得可穿戴设备能够进行振动,实现振动信号的输出,与现有技术中只能输出多媒体数据的技术方案相比,提高了可穿戴设备输出信号的多样性。In the technical solution of the embodiment, an audio channel is created for the first multimedia data, and the vibration flag is set in the created audio channel, and the terminal plays the first multimedia data synchronously with the connected wearable device. Transmitting a vibration indication to the wearable device according to the vibration mark in the audio channel of the first multimedia data, so that the wearable device can vibrate to realize the output of the vibration signal, and only the multimedia data can be output in the prior art. Compared with the technical solution, the diversity of the output signals of the wearable device is improved.
图5为本申请实施例提供另一种可穿戴设备的控制方法的流程图,如图5所示,本实施例的可穿戴设备的控制方法,具体可以包括如下步骤:FIG. 5 is a flowchart of a method for controlling a wearable device according to an embodiment of the present disclosure. As shown in FIG. 5, the control method of the wearable device in this embodiment may specifically include the following steps:
S501,可穿戴设备接收所连接的终端发送的振动指示。S501. The wearable device receives the vibration indication sent by the connected terminal.
其中,振动指示为在可穿戴设备与终端同步播放第一多媒体数据的过程中,终端在第一多媒体数据中检测到振动标记时发出的。 The vibration indication is sent when the terminal detects the vibration mark in the first multimedia data in the process that the wearable device plays the first multimedia data synchronously with the terminal.
具体地,本实施例的执行主体是可穿戴设备。Specifically, the execution subject of the embodiment is a wearable device.
随着终端的迅速发展,越来越多的功能配件也被开发出来。例如,可穿戴设备,作为终端的重要配件,可以是如智能头盔、智能眼镜等,用户将可穿戴设备与终端通过USB接口、MHL接口或者蓝牙进行连接。With the rapid development of terminals, more and more functional accessories have also been developed. For example, the wearable device, as an important accessory of the terminal, may be, for example, a smart helmet, smart glasses, etc., and the user connects the wearable device with the terminal through a USB interface, an MHL interface, or Bluetooth.
终端,如手机或者平板电脑等,在播放多媒体数据的同时,通过MHL协议将多媒体数据发送至可穿戴设备,使可穿戴设备和终端同时播放该多媒体数据。终端将所播放的第一多媒体数据发送至可穿戴设备,使可穿戴设备与终端同步播放第一多媒体数据,用户通过可穿戴设备上的耳机收听可穿戴设备发出的音频信号。The terminal, such as a mobile phone or a tablet computer, transmits the multimedia data to the wearable device through the MHL protocol while playing the multimedia data, so that the wearable device and the terminal simultaneously play the multimedia data. The terminal sends the played first multimedia data to the wearable device, causes the wearable device to play the first multimedia data in synchronization with the terminal, and the user listens to the audio signal sent by the wearable device through the earphone on the wearable device.
但是用户在观看视频信号和收听音频信号时,对于第一多媒体数据中的一些情节,例如爆炸、撞车、开枪或地震等情节,没有切身的体验。因此,可以在可穿戴设备上安装振动马达,同时在第一多媒体数据中设置振动标记,当终端与可穿戴设备同时播放第一多媒体数据时,终端检测第一多媒体数据带有振动标记时,向可穿戴设备发送振动指示。However, when the user watches the video signal and listens to the audio signal, there is no personal experience for some episodes in the first multimedia data, such as an explosion, a crash, a shot, or an earthquake. Therefore, the vibration motor can be installed on the wearable device while the vibration mark is set in the first multimedia data, and when the terminal plays the first multimedia data simultaneously with the wearable device, the terminal detects the first multimedia data band. When there is a vibration mark, a vibration indication is sent to the wearable device.
以终端是手机,可穿戴设备是智能头盔为例,第一多媒体数据中存在爆炸的情节,预先在第一多媒体数据与爆炸情节相对应的帧处设定振动标记,当智能头盔和手机同步播放第一多媒体数据时,手机检测存在振动标记时,向智能头盔发送振动指示。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, there is an explosion episode in the first multimedia data, and the vibration mark is set in advance in the frame corresponding to the first multimedia data and the explosion scenario, when the smart helmet is used. When the first multimedia data is played synchronously with the mobile phone, when the mobile phone detects that there is a vibration mark, the mobile phone sends a vibration indication to the smart helmet.
S502,可穿戴设备根据振动指示进行振动。S502. The wearable device vibrates according to the vibration indication.
进一步地,振动指示包含振动起止时间、振动次数和振动类型信息。Further, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
具体地,S502具体包括:可穿戴设备的处理器根据振动指示控制至少一个振动马达进行振动。Specifically, S502 specifically includes: the processor of the wearable device controls the at least one vibration motor to vibrate according to the vibration indication.
具体地,在可穿戴设备上安装至少一个振动马达。当可穿戴设备接收到振动指令时,可穿戴设备上的四个振动马达,根据振动指示所包含的振动起止时间、振动次数和振动类型信息进行振动。Specifically, at least one vibration motor is mounted on the wearable device. When the wearable device receives the vibration command, the four vibration motors on the wearable device vibrate according to the vibration start and end time, the number of vibrations, and the vibration type information included in the vibration indication.
振动类型包括长振动、短振动和心跳式振动。Vibration types include long vibrations, short vibrations, and heartbeat vibrations.
以终端是手机,可穿戴设备是智能头盔为例,在智能头盔的前、后、左和右分别设置有振动马达,第一多媒体数据中存在爆炸的情节,预先在第一多媒 体数据播放爆炸情节的相对应的帧设定振动标记。当智能头盔和手机同步播放第一多媒体数据时,手机检测到某一帧带有振动标记,当播放该帧时向智能头盔发送进行长振动的振动指示,智能头盔接收到该振动指示时,向智能头盔上安装的振动成达发送振动指令,使振动马达根据振动指示进行振动,从而指使用户切身感受到爆炸时产生的震感,使播放效果更加真实。Taking the terminal as a mobile phone and the wearable device as a smart helmet as an example, a vibration motor is respectively arranged on the front, the rear, the left and the right of the smart helmet, and the first multimedia data has an explosion episode, which is pre-in the first multimedia. The corresponding frame of the volume data playback explosion plot sets the vibration marker. When the smart helmet and the mobile phone synchronously play the first multimedia data, the mobile phone detects that a certain frame has a vibration mark, and when the frame is played, sends a vibration indication for long vibration to the smart helmet, and the smart helmet receives the vibration indication. The vibration is installed on the smart helmet to send a vibration command, so that the vibration motor vibrates according to the vibration indication, thereby causing the user to feel the shock generated when the explosion is felt, and the play effect is more realistic.
本实施例的技术方案,在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,根据在第一多媒体数据中的振动标记,向可穿戴设备发送振动指示,以使得可穿戴设备能够进行振动,实现振动信号的输出,与现有技术中只能输出多媒体数据的技术方案相比,提高了可穿戴设备输出信号的多样性。In the technical solution of the embodiment, when the terminal plays the first multimedia data synchronously with the connected wearable device, sending a vibration indication to the wearable device according to the vibration mark in the first multimedia data, The wearable device can be vibrated to realize the output of the vibration signal, and the diversity of the output signal of the wearable device is improved compared with the prior art technology that can only output the multimedia data.
图6为本申请实施例提供一种可穿戴设备的控制装置的示意图,如图6所示,本实施例的可穿戴设备的控制装置60,具体可以包括检测模块601和发送模块602。FIG. 6 is a schematic diagram of a control device for a wearable device according to an embodiment of the present application. As shown in FIG. 6 , the control device 60 of the wearable device of the present embodiment may specifically include a detection module 601 and a sending module 602.
检测模块601,用于在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对第一多媒体数据中的振动标记进行检测;The detecting module 601 is configured to detect a vibration mark in the first multimedia data in a process in which the terminal synchronously plays the first multimedia data with the connected wearable device;
发送模块602,用于若在第一多媒体数据中检测到振动标记,向可穿戴设备发送振动指示,以便于可穿戴设备根据振动指示进行振动。The sending module 602 is configured to: if the vibration flag is detected in the first multimedia data, send a vibration indication to the wearable device, so that the wearable device vibrates according to the vibration indication.
振动指示包含振动起止时间、振动次数和振动类型信息。The vibration indication includes information on the start and end time of the vibration, the number of vibrations, and the type of vibration.
本实施例的可穿戴设备的控制装置60,通过采用上述模块实现控制可穿戴设备的实现机制与上述图1所示实施例的可穿戴设备的控制方法的实现机制相同,详细可以参考上述图1所示实施例的记载,在此不再赘述。The control mechanism of the wearable device of the present embodiment is the same as the implementation mechanism of the control method of the wearable device of the embodiment shown in FIG. 1 by using the above-mentioned module. For details, refer to FIG. 1 above. The description of the illustrated embodiment will not be repeated here.
图7为本申请实施例提供另一种可穿戴设备的控制装置的示意图,本实施例的可穿戴设备的控制装置在如图6所示的实施例的基础上,进一步更加详细地介绍本申请的技术方案。如图7所示,本实施例的可穿戴设备的控制装置60,进一步包括:FIG. 7 is a schematic diagram of another apparatus for controlling a wearable device according to an embodiment of the present application. The control device of the wearable device of the present embodiment further introduces the present application in more detail on the basis of the embodiment shown in FIG. 6 . Technical solution. As shown in FIG. 7, the control device 60 of the wearable device of the embodiment further includes:
检测模块601,具体用于:The detecting module 601 is specifically configured to:
提取第一多媒体数据的头文件;Extracting a header file of the first multimedia data;
检测头文件中是否携带振动标记。 Whether the vibration mark is carried in the detection header file.
进一步地,本实施例所述的装置还包括:Further, the device in this embodiment further includes:
设置模块603,用于在头文件中设置振动标记;a setting module 603, configured to set a vibration mark in the header file;
第一编码模块604,用于将第二多媒体数据和头文件进行压缩编码,以获得第一多媒体数据。The first encoding module 604 is configured to compress and encode the second multimedia data and the header file to obtain the first multimedia data.
本实施例的可穿戴设备的控制装置60,通过采用上述模块实现控制可穿戴设备的实现机制与上述图3所示实施例的可穿戴设备的控制方法的实现机制相同,详细可以参考上述图3所示实施例的记载,在此不再赘述。The implementation mechanism of the control device for the wearable device of the present embodiment is the same as that of the control method for the wearable device of the embodiment shown in FIG. 3 by using the above-mentioned module. For details, refer to FIG. 3 above. The description of the illustrated embodiment will not be repeated here.
图8为本申请实施例提供另一种可穿戴设备的控制装置的示意图,本实施例的可穿戴设备的控制装置在如图6所示的实施例的基础上,进一步更加详细地介绍本申请的技术方案。如图8所示,本实施例的可穿戴设备的控制装置60,进一步包括:FIG. 8 is a schematic diagram of another apparatus for controlling a wearable device according to an embodiment of the present application. The control device of the wearable device of the present embodiment further introduces the present application in more detail on the basis of the embodiment shown in FIG. 6 . Technical solution. As shown in FIG. 8, the control device 60 of the wearable device of the embodiment further includes:
解码模块605,用于对第一多媒体数据的音频通道进行解码,得到振动标记。The decoding module 605 is configured to decode the audio channel of the first multimedia data to obtain a vibration flag.
进一步地,本实施例所述的装置,还包括:Further, the device in this embodiment further includes:
创建模块606,用于为第一多媒体数据创建音频通道,在音频通道中设置振动标记;a creating module 606, configured to create an audio channel for the first multimedia data, and set a vibration flag in the audio channel;
第二编码模块607,将音频通道与第二多媒体数据进行编码,以获得第一多媒体数据。The second encoding module 607 encodes the audio channel and the second multimedia data to obtain the first multimedia data.
进一步地,振动指示包含振动起止时间、振动次数和振动类型信息。Further, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
本实施例的可穿戴设备的控制装置60,通过采用上述模块实现控制可穿戴设备的实现机制与上述图4所示实施例的可穿戴设备的控制方法的实现机制相同,详细可以参考上述图4所示实施例的记载,在此不再赘述。The control mechanism of the wearable device of the present embodiment is the same as the implementation mechanism of the control method of the wearable device of the embodiment shown in FIG. 4 by using the above-mentioned module. For details, refer to FIG. 4 above. The description of the illustrated embodiment will not be repeated here.
图9为本申请实施例提供另一种可穿戴设备的控制装置的示意图,如图9所示,本实施例的可穿戴设备的控制装置90,具体可以包括接收模块901和振动模块902。FIG. 9 is a schematic diagram of a control device for another wearable device according to an embodiment of the present application. As shown in FIG. 9 , the control device 90 of the wearable device of the present embodiment may specifically include a receiving module 901 and a vibration module 902 .
接收模块901,用于可穿戴设备接收所连接的终端发送的振动指示;其中,振动指示为在可穿戴设备与终端同步播放第一多媒体数据的过程中,终端在第一多媒体数据中检测到振动标记时发出的; The receiving module 901 is configured to receive, by the wearable device, a vibration indication sent by the connected terminal, where the vibration indication is that the terminal is in the first multimedia data in a process that the wearable device plays the first multimedia data synchronously with the terminal. Issued when a vibration marker is detected;
振动模块902,用于可穿戴设备根据振动指示进行振动。The vibration module 902 is configured to vibrate the wearable device according to the vibration indication.
进一步地,振动模块902,具体用于:Further, the vibration module 902 is specifically configured to:
可穿戴设备的处理器根据振动指示控制至少一个振动马达进行振动。The processor of the wearable device controls the at least one vibration motor to vibrate according to the vibration indication.
进一步地,振动指示包含振动起止时间、振动次数和振动类型信息。Further, the vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
本实施例的可穿戴设备的控制装置90,通过采用上述模块实现控制可穿戴设备的实现机制与上述图5所示实施例的可穿戴设备的控制方法的实现机制相同,详细可以参考上述图5所示实施例的记载,在此不再赘述。The control mechanism 90 of the wearable device of the present embodiment is the same as the implementation mechanism of the control method of the wearable device of the embodiment shown in FIG. 5 by using the above-mentioned module. For details, refer to FIG. 5 above. The description of the illustrated embodiment will not be repeated here.
图10是本申请实施例提供的执行可穿戴设备的控制方法的电子设备的硬件结构示意图,如图10所示,该电子设备100包括:FIG. 10 is a schematic diagram of a hardware structure of an electronic device for performing a method for controlling a wearable device according to an embodiment of the present disclosure. As shown in FIG. 10, the electronic device 100 includes:
一个或多个处理器1001以及存储器1002,图10中以一个处理器1001为例。One or more processors 1001 and a memory 1002, one processor 1001 is taken as an example in FIG.
处理器1001和存储器1002可以通过总线或者其他方式连接,图10中以通过总线连接为例。The processor 1001 and the memory 1002 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器1002作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的可穿戴设备的控制方法对应的程序指令/模块(例如,附图6至9所示的各个模块)。处理器1001通过运行存储在存储器1002中的非易失性软件程序、指令以及模块,从而执行可穿戴设备的控制装置60,90的各种功能应用以及数据处理,即实现上述方法实施例可穿戴设备的控制方法以及上述装置实施例的各个模块的功能。The memory 1002 is a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, as in the control method of the wearable device in the embodiment of the present application. Program instructions/modules (eg, the various modules shown in Figures 6 through 9). The processor 1001 performs various functional applications and data processing of the control devices 60, 90 of the wearable device by executing non-volatile software programs, instructions, and modules stored in the memory 1002, that is, implementing the above-described method embodiments. The control method of the device and the functions of the respective modules of the above device embodiment.
存储器1002可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1002可选包括相对于处理器1001远程设置的存储器,这些远程存储器可以通过网络连接至处理器1001。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1002 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 1002 can optionally include memory remotely disposed relative to processor 1001, which can be coupled to processor 1001 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述程序指令/模块存储在所述存储器1002中,当被所述一个或者多个处理器1001执行时,执行上述任意方法实施例中的可穿戴设备的控制方法,例如,执行以上描述的图1中的方法步骤S101和步骤S102,图3中的方法步骤S301至步骤S305,图4中的方法步骤S401至步骤S404,和图5中的方法步骤S501 和步骤S502;也可实现图6中的模块601-602的功能,图7中的模块601-604的功能,图8中的模块601、602、605、606以及607的功能,图9中的模块901-902的功能。The program instructions/modules are stored in the memory 1002, and when executed by the one or more processors 1001, perform a control method of the wearable device in any of the above method embodiments, for example, performing the above described diagram Method step S101 and step S102 in 1, method step S301 to step S305 in FIG. 3, method step S401 to step S404 in FIG. 4, and method step S501 in FIG. And step S502; the functions of the modules 601-602 in FIG. 6, the functions of the modules 601-604 in FIG. 7, the functions of the modules 601, 602, 605, 606, and 607 in FIG. 8, and the functions in FIG. The functions of modules 901-902.
本申请实施例的电子设备100以多种形式存在,在执行图1中的方法步骤S101和步骤S102,图3中的方法步骤S301至步骤S305,和图4中的方法步骤S401至步骤S404,和实现图6中的模块601-602的功能,图7中的模块601-604的功能,图8中的模块601、602、605、606以及607的功能时,上述电子设备100包括但不限于:The electronic device 100 of the embodiment of the present application exists in various forms, and performs the method steps S101 and S102 in FIG. 1, the method steps S301 to S305 in FIG. 3, and the method steps S401 to S404 in FIG. And implementing the functions of the modules 601-602 in FIG. 6, the functions of the modules 601-604 in FIG. 7, the functions of the modules 601, 602, 605, 606, and 607 in FIG. 8, the electronic device 100 includes but is not limited to :
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放视频内容,一般也具备移动上网特性。该类设备包括:视频播放器,掌上游戏机,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play video content, and generally have mobile Internet access. Such devices include: video players, handheld game consoles, as well as smart toys and portable car navigation devices.
(4)互联网智能电视,这类设备可以在线播放视频内容。(4) Internet smart TV, which can play video content online.
(5)其他具有视频播放功能和上网功能的电子设备。(5) Other electronic devices with video playback and Internet access.
本申请实施例的电子设备100以多种形式存在,在执行图5中的方法步骤S501和步骤S502,和图9中的模块901-902的功能时,上述电子设备100为可穿戴设备。The electronic device 100 of the embodiment of the present application exists in various forms. When performing the steps S501 and S502 in FIG. 5 and the functions of the modules 901-902 in FIG. 9, the electronic device 100 is a wearable device.
本申请实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图10中的一个处理器1001,可使得上述一个或多个处理器可执行上述任意方法实施例中的可穿戴设备的控制方法,例如,执行以上描述的图1中的方法步骤S101和步骤S102,图3中的方法步骤S301至步骤S305,图4中的方法步骤S401至步骤S404,图5中的方法步骤S501和步骤S502,实现图6中的模块601-602的功能,图7中的模块601-604的功能,图8中的模块601、602、605、 606以及607的功能,图9中的模块901-902的功能。Embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions that are executed by one or more processors, such as one of FIG. The apparatus 1001 may be configured to enable the one or more processors to perform the control method of the wearable device in any of the foregoing method embodiments, for example, to perform the method steps S101 and S102 in FIG. 1 described above, the method in FIG. Step S301 to step S305, method step S401 to step S404 in FIG. 4, method step S501 and step S502 in FIG. 5, the functions of the modules 601-602 in FIG. 6 and the functions of the modules 601-604 in FIG. 7 are implemented. , modules 601, 602, 605 in FIG. 8, The functions of 606 and 607, the functions of modules 901-902 in FIG.
以上所描述的装置或设备实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The apparatus or device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical units, ie It can be located in one place or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; in the idea of the present application, the technical features in the above embodiments or different embodiments may also be combined. The steps may be carried out in any order, and there are many other variations of the various aspects of the present application as described above, which are not provided in the details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, The skilled person should understand that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the embodiments of the present application. The scope of the technical solution.

Claims (18)

  1. 一种可穿戴设备的控制方法,其特征在于,包括:A method for controlling a wearable device, comprising:
    在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对所述第一多媒体数据中的振动标记进行检测;And detecting, in the process of playing the first multimedia data synchronously with the connected wearable device, the vibration mark in the first multimedia data;
    若在所述第一多媒体数据中检测到所述振动标记,向所述可穿戴设备发送振动指示,以便于所述可穿戴设备根据所述振动指示进行振动。And if the vibration mark is detected in the first multimedia data, transmitting a vibration indication to the wearable device, so that the wearable device vibrates according to the vibration indication.
  2. 根据权利要求1所述的方法,其特征在于,对所述第一多媒体数据中的振动标记进行检测,包括:The method according to claim 1, wherein detecting the vibration mark in the first multimedia data comprises:
    提取所述第一多媒体数据的头文件;Extracting a header file of the first multimedia data;
    检测所述头文件中是否携带所述振动标记。Detecting whether the vibration flag is carried in the header file.
  3. 根据权利要求2所述的方法,其特征在于,对所述第一多媒体数据中的振动标记进行检测之前,包括:The method according to claim 2, wherein before detecting the vibration mark in the first multimedia data, the method comprises:
    在所述头文件中设置所述振动标记;Setting the vibration mark in the header file;
    将第二多媒体数据和所述头文件进行压缩编码,以获得所述第一多媒体数据。The second multimedia data and the header file are compression-encoded to obtain the first multimedia data.
  4. 根据权利要求1所述的方法,其特征在于,所述对第一多媒体数据中的振动标记进行检测,包括:The method according to claim 1, wherein the detecting the vibration mark in the first multimedia data comprises:
    对所述第一多媒体数据的音频通道进行解码,得到所述振动标记。Decoding the audio channel of the first multimedia data to obtain the vibration flag.
  5. 根据权利要求4所述的方法,其特征在于,对所述多媒体数据中的振动标记进行检测之前,包括:The method according to claim 4, wherein before detecting the vibration mark in the multimedia data, the method comprises:
    为第一多媒体数据创建音频通道,在所述音频通道中设置所述振动标记;Creating an audio channel for the first multimedia data, the vibration flag being set in the audio channel;
    将所述音频通道与所述第二多媒体数据进行编码,以获得所述第一多媒体数据。Encoding the audio channel and the second multimedia data to obtain the first multimedia data.
  6. 根据权利要求1至5中任一所述的方法,其特征在于,A method according to any one of claims 1 to 5, characterized in that
    所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。 The vibration indication includes at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
  7. 一种可穿戴设备的控制方法,其特征在于,包括:A method for controlling a wearable device, comprising:
    接收所连接的终端发送的振动指示;其中,所述振动指示为在所述可穿戴设备与所述终端同步播放第一多媒体数据的过程中,所述终端在所述第一多媒体数据中检测到振动标记时发出的;Receiving a vibration indication sent by the connected terminal; wherein the vibration indication is in a process in which the wearable device plays the first multimedia data synchronously with the terminal, the terminal is in the first multimedia Issued when a vibration marker is detected in the data;
    根据所述振动指示进行振动。Vibration is performed according to the vibration indication.
  8. 根据权利要求7所述的方法,其特征在于,所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。The method according to claim 7, wherein the vibration indication comprises at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
  9. 根据权利要求7或8所述的方法,其特征在于,根据所述振动指示进行振动,包括:The method according to claim 7 or 8, wherein the vibrating according to the vibration indication comprises:
    根据所述振动指示控制至少一个振动马达进行振动。The at least one vibration motor is controlled to vibrate according to the vibration indication.
  10. 一种可穿戴设备的控制装置,其特征在于,包括:A control device for a wearable device, comprising:
    检测模块,用于在终端与所连接的可穿戴设备同步播放第一多媒体数据的过程中,对所述第一多媒体数据中的振动标记进行检测;a detecting module, configured to detect a vibration mark in the first multimedia data in a process in which the terminal synchronously plays the first multimedia data with the connected wearable device;
    发送模块,用于若在所述第一多媒体数据中检测到所述振动标记,向所述可穿戴设备发送振动指示,以便于所述可穿戴设备根据所述振动指示进行振动。And a sending module, configured to send a vibration indication to the wearable device if the vibration flag is detected in the first multimedia data, so that the wearable device vibrates according to the vibration indication.
  11. 根据权利要求10所述的装置,其特征在于,所述检测模块,具体用于:The device according to claim 10, wherein the detecting module is specifically configured to:
    提取所述第一多媒体数据的头文件;Extracting a header file of the first multimedia data;
    检测所述头文件中是否携带所述振动标记。Detecting whether the vibration flag is carried in the header file.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    设置模块,用于在所述头文件中设置所述振动标记;a setting module, configured to set the vibration mark in the header file;
    第一编码模块,用于将第二多媒体数据和所述头文件进行压缩编码,以获得所述第一多媒体数据。And a first encoding module, configured to compress and encode the second multimedia data and the header file to obtain the first multimedia data.
  13. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    解码模块,用于对所述第一多媒体数据的音频通道进行解码,得到所述振 动标记。a decoding module, configured to decode an audio channel of the first multimedia data, to obtain the vibration Mark.
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:
    创建模块,用于为第一多媒体数据创建音频通道,在所述音频通道中设置所述振动标记;a creating module, configured to create an audio channel for the first multimedia data, where the vibration flag is set in the audio channel;
    第二编码模块,将所述音频通道与所述第二多媒体数据进行编码,以获得所述第一多媒体数据。And a second encoding module that encodes the audio channel and the second multimedia data to obtain the first multimedia data.
  15. 根据权利要求10至14中任一所述的装置,其特征在于,A device according to any one of claims 10 to 14, wherein
    所述振动指示包含振动起止时间、振动次数和振动类型信息中至少一个。The vibration indication includes at least one of a vibration start and end time, a vibration number of times, and a vibration type information.
  16. 一种可穿戴设备的控制装置,其特征在于,包括:A control device for a wearable device, comprising:
    接收模块,用于接收所连接的终端发送的振动指示;其中,所述振动指示为在可穿戴设备与所述终端同步播放第一多媒体数据的过程中,所述终端在所述第一多媒体数据中检测到振动标记时发出的;a receiving module, configured to receive a vibration indication sent by the connected terminal, where the vibration indication is in a process in which the wearable device plays the first multimedia data synchronously with the terminal, where the terminal is in the first Issued when a vibration marker is detected in the multimedia data;
    振动模块,用于根据所述振动指示进行振动。a vibration module for vibrating according to the vibration indication.
  17. 根据权利要求16所述的装置,其特征在于,所述振动指示包含振动起止时间、振动次数和振动类型信息。The apparatus according to claim 16, wherein said vibration indication includes vibration start and end time, number of vibrations, and vibration type information.
  18. 根据权利要求16或17所述的装置,其特征在于,所述振动模块,具体用于:The device according to claim 16 or 17, wherein the vibration module is specifically configured to:
    根据所述振动指示控制至少一个振动马达进行振动。 The at least one vibration motor is controlled to vibrate according to the vibration indication.
PCT/CN2016/097886 2015-12-15 2016-09-02 Method and apparatus for controlling wearable device WO2017101523A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510953457.9 2015-12-15
CN201510953457.9A CN105871664A (en) 2015-12-15 2015-12-15 Control method and device of wearable device

Publications (1)

Publication Number Publication Date
WO2017101523A1 true WO2017101523A1 (en) 2017-06-22

Family

ID=56623892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097886 WO2017101523A1 (en) 2015-12-15 2016-09-02 Method and apparatus for controlling wearable device

Country Status (2)

Country Link
CN (1) CN105871664A (en)
WO (1) WO2017101523A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196629A (en) * 2018-02-27 2019-09-03 优酷网络技术(北京)有限公司 Virtual reality interface shows control method and device
CN111158470A (en) * 2019-12-17 2020-05-15 瑞声科技(新加坡)有限公司 Method and apparatus for controlling output vibration signal, computer device and storage medium
CN113055739A (en) * 2019-12-26 2021-06-29 青岛海尔多媒体有限公司 Method for sending and receiving odor characteristic data, video and audio playing device and wearable device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871664A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Control method and device of wearable device
CN111494962A (en) * 2019-01-31 2020-08-07 致伸科技股份有限公司 Game system
CN115211820A (en) * 2021-04-15 2022-10-21 Oppo广东移动通信有限公司 Awakening method and device of electronic accessory, wearable device and electronic accessory

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409797A (en) * 2008-11-26 2009-04-15 中兴通讯股份有限公司 Specific play method and terminal for multimedia broadcast
CN103927205A (en) * 2014-03-28 2014-07-16 方小祥 Video playing method based on triggered vibrating of scripts and implemented by handheld device
CN104423701A (en) * 2013-08-23 2015-03-18 意美森公司 Haptically enabled viewing of sporting events
CN104780403A (en) * 2014-03-28 2015-07-15 方小祥 System and method for providing somatosensory video based on script
CN105143996A (en) * 2013-03-15 2015-12-09 苹果公司 Facilitating transactions with a user account using a wireless device
CN105871664A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Control method and device of wearable device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10013857B2 (en) * 2011-12-21 2018-07-03 Qualcomm Incorporated Using haptic technologies to provide enhanced media experiences
CN109710057B (en) * 2012-09-16 2022-04-12 吴东辉 Method and system for dynamically reproducing virtual reality
CN103793063B (en) * 2014-03-11 2016-06-08 哈尔滨工业大学 Hyperchannel strengthens reality system
CN104503084A (en) * 2014-12-31 2015-04-08 青岛歌尔声学科技有限公司 Head-mounted display with vibrating function
CN105007369A (en) * 2015-06-11 2015-10-28 广东欧珀移动通信有限公司 Information prompting method and mobile terminal
CN104857704A (en) * 2015-06-11 2015-08-26 苏州百源软件设计有限公司 Wearable virtual reality motion helmet and wearable virtual action game system
CN204745623U (en) * 2015-06-11 2015-11-11 苏州百源软件设计有限公司 Wearable virtual reality motion helmet and wearable virtual action recreation system
CN105468152B (en) * 2015-11-24 2019-02-19 小米科技有限责任公司 Terminal operation control method, device and equipment based on wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409797A (en) * 2008-11-26 2009-04-15 中兴通讯股份有限公司 Specific play method and terminal for multimedia broadcast
CN105143996A (en) * 2013-03-15 2015-12-09 苹果公司 Facilitating transactions with a user account using a wireless device
CN104423701A (en) * 2013-08-23 2015-03-18 意美森公司 Haptically enabled viewing of sporting events
CN103927205A (en) * 2014-03-28 2014-07-16 方小祥 Video playing method based on triggered vibrating of scripts and implemented by handheld device
CN104780403A (en) * 2014-03-28 2015-07-15 方小祥 System and method for providing somatosensory video based on script
CN105871664A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Control method and device of wearable device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196629A (en) * 2018-02-27 2019-09-03 优酷网络技术(北京)有限公司 Virtual reality interface shows control method and device
CN111158470A (en) * 2019-12-17 2020-05-15 瑞声科技(新加坡)有限公司 Method and apparatus for controlling output vibration signal, computer device and storage medium
CN111158470B (en) * 2019-12-17 2024-02-23 瑞声科技(新加坡)有限公司 Method, apparatus, computer device and storage medium for controlling output vibration signal
CN113055739A (en) * 2019-12-26 2021-06-29 青岛海尔多媒体有限公司 Method for sending and receiving odor characteristic data, video and audio playing device and wearable device

Also Published As

Publication number Publication date
CN105871664A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017101523A1 (en) Method and apparatus for controlling wearable device
JP6883636B2 (en) Metadata for ducking control
US10034036B2 (en) Media synchronization for real-time streaming
EP2901204B1 (en) Glasses apparatus and method for controlling glasses apparatus, audio apparatus and method for providing audio signal and display apparatus
CN107005800B (en) Audio file transmission and receiving method, device, equipment and system
CN106464953A (en) Binaural audio systems and methods
WO2017148442A1 (en) Audio and video processing method and apparatus, and computer storage medium
RU2015156224A (en) SYSTEMS AND METHODS FOR REDUCING TRANSIT SECTIONS RELATED TO THE STREAM SYSTEM
WO2016150316A1 (en) Audio output control method and apparatus
WO2017096983A1 (en) Method for switching video playing terminal, and terminal device
US9089783B2 (en) System and method for a toy to interact with a computing device through wireless transmissions
EP3454327A1 (en) Computer implemented method for providing real-time interaction between first player and second player to collaborate for musical performance over network
TWI528794B (en) System and method for delivering media over network
WO2013159663A1 (en) Content reproduction method and device, and mobile terminal
JP2013093840A (en) Apparatus and method for generating stereoscopic data in portable terminal, and electronic device
CN202907119U (en) Digital television terminal with WIFI display function
US20210297478A1 (en) Method, apparatus, device, and storage medium for running stand-alone program
CN103578516A (en) System to deliver prioritized game audio wirelessly with a minimal latency
CN104378807B (en) A kind of quick method and electronic equipment for establishing connection
JP2022083444A (en) Computer system for sending audio content for achieving user-customized being-there and method thereof
CN103197836A (en) Interactive method, device and system of multimedia information
CN106331763A (en) Method of playing slicing media files seamlessly and device of realizing the method
KR101357901B1 (en) Method and appratus for providing realizable service in n-screen enviroment and recording media therefor
CN114915874A (en) Audio processing method, apparatus, device, medium, and program product
CN105392088A (en) Wireless connection sound system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16874583

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874583

Country of ref document: EP

Kind code of ref document: A1