[go: up one dir, main page]

CN105206292B - A kind of method and device for playing end and responding more control terminal controls - Google Patents

A kind of method and device for playing end and responding more control terminal controls Download PDF

Info

Publication number
CN105206292B
CN105206292B CN201510577878.6A CN201510577878A CN105206292B CN 105206292 B CN105206292 B CN 105206292B CN 201510577878 A CN201510577878 A CN 201510577878A CN 105206292 B CN105206292 B CN 105206292B
Authority
CN
China
Prior art keywords
control
instruction
terminal
shielding
responding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510577878.6A
Other languages
Chinese (zh)
Other versions
CN105206292A (en
Inventor
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510577878.6A priority Critical patent/CN105206292B/en
Publication of CN105206292A publication Critical patent/CN105206292A/en
Application granted granted Critical
Publication of CN105206292B publication Critical patent/CN105206292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Toys (AREA)

Abstract

本发明实施例公开了一种播放端响应多控制端控制的方法及装置。该方法包括:实时接收并响应第一控制端发送的控制指令,且屏蔽除第一控制端外的其他控制端的控制指令,第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端;监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。该方法通过监测到开始屏蔽事件后,将首次向播放端发送控制指令的控制端作为第一控制端,并且只接收并响应第一控制端发送的控制指令,而屏蔽其他控制端发送的控制指令,直达监测到终止屏蔽事件后,才接收并响应其他控制端的控制指令,避免了多控制端同时控制播放端导致的播放端使用体验差且使用寿命低。

The embodiment of the invention discloses a method and a device for a playback terminal to respond to the control of multiple control terminals. The method includes: receiving and responding to the control instructions sent by the first control terminal in real time, and shielding the control instructions of other control terminals except the first control terminal. The control terminal that sends the control command; after monitoring the set termination masking event, it receives and responds to the control commands of other control terminals except the first control terminal. In this method, after monitoring the start shielding event, the control terminal that sends the control command to the playback terminal for the first time is regarded as the first control terminal, and only receives and responds to the control command sent by the first control terminal, while blocking the control commands sent by other control terminals , Only after detecting the termination shielding event, it receives and responds to the control commands of other control terminals, avoiding the poor user experience and low service life of the playback terminal caused by multiple control terminals controlling the playback terminal at the same time.

Description

一种播放端响应多控制端控制的方法及装置A method and device for a playback terminal to respond to multi-control terminal control

技术领域technical field

本发明实施例涉及数据通讯技术领域,尤其涉及一种播放端响应多控制端控制的方法及装置。The embodiment of the present invention relates to the technical field of data communication, and in particular to a method and device for a playback terminal to respond to multi-control terminal control.

背景技术Background technique

目前,诸如智能无线音箱、蓝光碟机、智能电视之类的播放端与智能手机、平板电脑等控制端能够进行通信连接,例如,播放端通过蓝牙或无线保真网络 (WirelessFidelity,wifi)等方式与控制端连接。Currently, playback terminals such as smart wireless speakers, Blu-ray disc players, and smart TVs can communicate with control terminals such as smart phones and tablet computers. Connect with the control terminal.

当多个控制端同时控制播放端的参数调节(如音量调节)时,播放端可能会短时间收到大量来自不同控制端的控制指令,因为各控制端设置的目标调节值不确定,可能存在播放端音量值大幅度来回跳动的情况,比如一个控制端将音量在0到10之间调节,另外一个控制端将音量在90到100之间调节,那么播放端会不停收到这两种幅度差别很大的值,导致音量大幅度来回变化,不仅导致播放端的使用体验差而且导致播放器的使用寿命低。When multiple control terminals control the parameter adjustment (such as volume adjustment) of the playback terminal at the same time, the playback terminal may receive a large number of control commands from different control terminals in a short time, because the target adjustment value set by each control terminal is uncertain, and there may be When the volume value jumps back and forth greatly, for example, one control terminal adjusts the volume between 0 and 10, and the other control terminal adjusts the volume between 90 and 100, then the playback terminal will continuously receive the difference between the two amplitudes If the value is too large, the volume will change back and forth greatly, which will not only lead to poor user experience on the player side but also lead to a low service life of the player.

发明内容Contents of the invention

本发明提供一种播放端响应多控制端控制的方法及装置,以避免多控制端同时控制播放端导致的播放端使用体验差且使用寿命低。The present invention provides a method and device for a playback terminal to respond to the control of multiple control terminals, so as to avoid poor user experience and low service life of the playback terminal caused by simultaneous control of the playback terminal by multiple control terminals.

一方面,本发明实施例提供了一种播放端响应多控制端控制的方法,包括:On the one hand, an embodiment of the present invention provides a method for a playback terminal to respond to multi-control terminal control, including:

实时接收并响应第一控制端发送的控制指令,且屏蔽除所述第一控制端外的其他控制端的控制指令,所述第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端;Receive and respond to the control instructions sent by the first control terminal in real time, and shield the control instructions of other control terminals except the first control terminal. The control terminal that sends the control command from the terminal;

监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。After monitoring the set termination shielding event, receiving and responding to control instructions from other control terminals except the first control terminal.

另一方面,本发明实施例提供了一种播放端响应多控制端控制的装置,包括:On the other hand, an embodiment of the present invention provides a device for a playback terminal to respond to multi-control terminal control, including:

第一指令接收单元,用于实时接收并响应第一控制端发送的控制指令,所述第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端;The first command receiving unit is used to receive and respond to the control command sent by the first control terminal in real time, and the first control terminal is the control terminal that sends the control command to the playback terminal for the first time after monitoring the set start shielding event;

指令屏蔽单元,用于屏蔽除所述第一控制端外的其他控制端的控制指令;An instruction shielding unit, configured to shield control instructions from other control terminals except the first control terminal;

第二指令接收单元,用于监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。The second instruction receiving unit is configured to receive and respond to control instructions from other control terminals except the first control terminal after monitoring the set termination masking event.

本发明实施例提供的技术方案,通过监测到设定的开始屏蔽事件后,将首次向播放端发送控制指令的控制端作为第一控制端,并且只接收并响应第一控制端发送的控制指令,而屏蔽其他控制端发送的控制指令,直达监测到终止屏蔽事件后,才接收并响应其他控制端的控制指令,避免了多控制端同时控制播放端导致的播放端使用体验差且使用寿命低。In the technical solution provided by the embodiment of the present invention, after monitoring the set start shielding event, the control terminal that sends the control command to the player terminal for the first time is used as the first control terminal, and only receives and responds to the control command sent by the first control terminal , and shield the control commands sent by other control terminals, and only receive and respond to the control commands of other control terminals after the monitoring of the termination of the shielding event, avoiding the poor user experience and low service life of the playback terminal caused by multiple control terminals controlling the playback terminal at the same time.

附图说明Description of drawings

图1为本发明实施例一提供的一种播放端响应多控制端控制的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for a playback terminal to respond to multi-control terminal control provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的一种播放端响应多控制端控制的方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for a playback terminal to respond to multi-control terminal control provided by Embodiment 2 of the present invention;

图3为本发明实施例三提供的一种播放端响应多控制端控制的方法的流程示意图;FIG. 3 is a schematic flowchart of a method in which a playback terminal responds to multi-control terminal control provided by Embodiment 3 of the present invention;

图4为本发明实施例四提供的一种播放端响应多控制端控制的装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for a playback terminal to respond to multi-control terminal control provided by Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的一种播放端响应多控制端控制的方法的流程示意图,该方法可以由播放端响应多控制端控制的装置执行,其中该装置可以由软件和/或硬件实现,可作为播放端的一部分被内置在播放端内部,播放端可以是诸如智能无线音箱、蓝光碟机、智能电视之类多媒体文件播放设备。如图1 所示,该实现流程包括:Fig. 1 is a schematic flowchart of a method for a playback terminal to respond to multi-control terminal control provided by Embodiment 1 of the present invention, the method can be executed by a device for the playback terminal to respond to multi-control terminal control, wherein the device can be implemented by software and/or hardware It can be implemented as a part of the playback terminal, which can be built into the playback terminal, and the playback terminal can be a multimedia file playback device such as a smart wireless speaker, a Blu-ray disc player, and a smart TV. As shown in Figure 1, the implementation process includes:

步骤11、实时接收并响应第一控制端发送的控制指令,且屏蔽除所述第一控制端外的其他控制端的控制指令。Step 11: Receive and respond to the control command sent by the first control terminal in real time, and block the control commands of other control terminals except the first control terminal.

在本实施例中,所述第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端。监测到没有未被响应的控制指令时,产生所述开始屏蔽事件。In this embodiment, the first control terminal is the control terminal that sends the control command to the player terminal for the first time after detecting the set start masking event. When it is detected that there is no unresponsive control command, the start masking event is generated.

控制端可以是诸如智能手机、平板电脑、智能手表之类的智能设备。多个控制端与播放端建立无线通讯连接,控制端通过无线通讯连接向播放端发送控制指令,以控制播放端播放多媒体文件。在播放端监测到自身没有未被响应的控制指令时,产生所述开始屏蔽事件,随后将首次接收到的控制指令的发送控制端,作为第一控制端,只接收并响应第一控制端发送的控制指令,而屏蔽(即不响应)其他控制端的控制指令。The control terminal can be a smart device such as a smart phone, a tablet computer, or a smart watch. A plurality of control terminals establish wireless communication connections with the playback terminals, and the control terminals send control commands to the playback terminals through the wireless communication connections to control the playback terminals to play multimedia files. When the playback terminal detects that it has no unresponsive control command, it generates the start shielding event, and then the control terminal that receives the control command for the first time, as the first control terminal, only receives and responds to the first control terminal. control commands, while shielding (that is, not responding to) the control commands of other control terminals.

其中,第一控制端发送的控制指令可以与其他控制端发送的控制指令具有相同功能。即,在监测到开始屏蔽事件后,播放端可以只响应第一控制端发送的第一控制指令,不响应其他控制端发送的与第一控制指令具有相同功能的其他控制指令,而可以响应其他控制端发送的与第一控制指令具有不同功能的其他控制指令。Wherein, the control instruction sent by the first control terminal may have the same function as the control instructions sent by other control terminals. That is, after monitoring the start masking event, the playback terminal can only respond to the first control command sent by the first control terminal, and does not respond to other control commands that have the same function as the first control command sent by other control terminals, but can respond to other control commands. Other control instructions sent by the control terminal and having different functions from the first control instruction.

其中,第一控制端发送的控制指令也可以与其他控制端发送的控制指令具有不同功能。即,在监测到开始屏蔽事件后,播放端可以只响应第一控制端发送的第一控制指令,不响应其他控制端发送的与第一控制指令具有相同功能或不同功能的其他控制指令。Wherein, the control instruction sent by the first control terminal may also have different functions from the control instructions sent by other control terminals. That is, after detecting the start masking event, the playback terminal may only respond to the first control command sent by the first control terminal, and not respond to other control commands with the same or different functions as the first control command sent by other control terminals.

示例性的,所述控制指令包括音量调节指令或亮度调节指令等。Exemplarily, the control instruction includes a volume adjustment instruction or a brightness adjustment instruction.

步骤12、监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。Step 12. After detecting the set termination masking event, receive and respond to control instructions from other control terminals except the first control terminal.

示例性的,监测到从第一控制端接收的控制指令被响应完毕,且预设的时间长度阈 值内未接收到第一控制端发送的控制指令时,产生所述终止屏蔽事件;或者,监测到从第一控制端接收的控制指令包含终止屏蔽标识时,产生所述终止屏蔽事件。Exemplarily, when it is detected that the control instruction received from the first control terminal has been responded to and no control instruction sent by the first control terminal is received within the preset time length threshold, the termination masking event is generated; or, monitoring When the control command received from the first control terminal includes a termination mask identifier, the termination mask event is generated.

具体的,时间长度阈 值可以是固定的时间长度值,也可以是不固定的时间长度值,例如可以是播放端单次响应控制指令所需的时间长度值。在控制端监测到用户停止调节音量或亮度时,控制端可以产生终止屏蔽标识,并将产生的终止屏蔽标识随控制指令一起发送给播放端。因此,监测到设定的终止屏蔽事件时,播放端能够确定第一控制端停止控制自身。Specifically, the time length threshold may be a fixed time length value or an unfixed time length value, for example, it may be the time length value required by the player to respond to the control instruction once. When the control terminal detects that the user stops adjusting the volume or brightness, the control terminal may generate a termination shielding mark, and send the generated termination shielding mark together with the control command to the playback terminal. Therefore, when detecting the set termination masking event, the player can determine that the first control terminal stops controlling itself.

示例性的,在从第一控制端接收的控制指令包含终止屏蔽标识时,所述接收并响应除第一控制端外的其他控制端的控制指令之前,还包括:响应从第一控制端接收的控制指令,并清空除该控制指令外的其他未被响应的控制指令。Exemplarily, when the control command received from the first control terminal includes a termination mask identifier, before receiving and responding to control commands from other control terminals except the first control terminal, it further includes: responding to the control command, and clear other unresponsive control commands except this control command.

本实施例提供的播放端响应多控制端控制的方法,通过监测到设定的开始屏蔽事件后,将首次向播放端发送控制指令的控制端确定为第一控制端,随后只响应第一控制端发送的控制指令,而不响应其他控制端发送的控制指令,直到第一控制端停止控制播放端时才响应其他控制端发送的控制指令,避免了多控制端同时对播放端进行控制导致的播放端使用体验差且使用寿命低。In the method for the player to respond to the control of multiple control terminals provided in this embodiment, after monitoring the set start shielding event, the control terminal that sends the control command to the player for the first time is determined as the first control terminal, and then only responds to the first control terminal. It does not respond to the control commands sent by other control terminals, and does not respond to the control commands sent by other control terminals until the first control terminal stops controlling the playback terminal, avoiding the problem caused by multiple control terminals simultaneously controlling the playback terminal The playback experience is poor and the service life is low.

实施例二Embodiment two

本实施例在上述实施例的基础上提供了一种新的播放端响应多控制端控制的方法。图2为本发明实施例二提供的一种播放端响应多控制端控制的方法的流程示意图,如图2所示,该实现流程包括:This embodiment provides a new method for the player to respond to the control of multiple control terminals on the basis of the above embodiments. Fig. 2 is a schematic flow diagram of a method in which a playback terminal responds to multi-control terminal control provided by Embodiment 2 of the present invention. As shown in Fig. 2, the implementation process includes:

步骤21、实时接收并响应第一控制端发送的控制指令。Step 21: Receive and respond to the control instruction sent by the first control terminal in real time.

所述第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端。The first control terminal is the control terminal that sends a control instruction to the playback terminal for the first time after detecting the set start masking event.

步骤22、在接收到控制指令时,获得发送该控制指令的控制端的属性信息。Step 22, when receiving the control instruction, obtain the attribute information of the control terminal that sent the control instruction.

具体的,获取从第一控制端的属性信息,其中,属性信息可以是第一控制端的IP地址(Internet Protocol Address,互联网协议地址)或MAC地址(Media Access Control,物理地址)等。Specifically, acquire attribute information from the first control terminal, where the attribute information may be an IP address (Internet Protocol Address, Internet Protocol address) or a MAC address (Media Access Control, physical address) of the first control terminal.

步骤23、依据获取的控制端的属性信息确定该控制端是否为第一控制端,若是,则接收并响应该控制指令;若否,则屏蔽该控制指令。Step 23: Determine whether the control terminal is the first control terminal according to the acquired attribute information of the control terminal, if yes, receive and respond to the control command; if not, block the control command.

若该控制端的属性信息与第一控制端的属性信息相同,则确定该控制端为第一控制端;否则,确定该控制端不为第一控制端。若该控制端是第一控制端则响应该控制指令;否则,屏蔽该控制指令。If the attribute information of the control terminal is the same as the attribute information of the first control terminal, it is determined that the control terminal is the first control terminal; otherwise, it is determined that the control terminal is not the first control terminal. If the control terminal is the first control terminal, respond to the control command; otherwise, shield the control command.

步骤24、监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。Step 24: After detecting the set termination masking event, receive and respond to control instructions from other control terminals except the first control terminal.

本实施例提供的播放端响应多控制端控制的方法,通过监测到设定的开始屏蔽事件后,将首次向播放端发送控制指令的控制端确定为第一控制端,随后根据每次接收到的控制指令所属控制端的属性信息确定对应的控制端是否为第一控制端,并依据确定结果响应或屏蔽对应的控制指令,直到第一控制端停止控制播放端时才响应其他控制端发送的控制指令,避免了多控制端同时对播放端进行控制导致的播放端使用体验差且使用寿命低。The playback terminal provided in this embodiment responds to the method for multi-control terminal control. After monitoring the set start shielding event, the control terminal that sends the control command to the playback terminal for the first time is determined as the first control terminal, and then according to each received The attribute information of the control terminal to which the control command belongs determines whether the corresponding control terminal is the first control terminal, and responds or blocks the corresponding control command according to the determination result, and does not respond to the control sent by other control terminals until the first control terminal stops controlling the playback terminal Instructions, avoiding the poor user experience and low service life of the player caused by multiple control terminals controlling the player at the same time.

实施例三Embodiment Three

本实施例在上述实施例的基础上,具体提供了一种播放端响应多控制端控制的方法,在本实施例中控制指令为音量调节指令。图3为本发明实施例三提供的一种播放端响应多控制端控制的方法的流程示意图,如图3所示,该实现流程包括:On the basis of the above-mentioned embodiments, this embodiment specifically provides a method in which the playback terminal responds to the control of multiple control terminals. In this embodiment, the control command is a volume adjustment command. Fig. 3 is a schematic flow diagram of a method in which a playback terminal responds to multi-control terminal control provided by Embodiment 3 of the present invention. As shown in Fig. 3 , the implementation process includes:

步骤31、监测到音量消息队列为空时,产生所述开始屏蔽事件。Step 31. When it is detected that the volume message queue is empty, generate the start masking event.

播放端中的音量消息队列用于存储音量调节指令。在产生开始屏蔽事件后,播放端首次可以接收任意控制端的音量调节指令。The volume message queue in the player is used to store volume adjustment instructions. After the start masking event is generated, the player can receive volume adjustment instructions from any control terminal for the first time.

步骤32、接收任一控制端发送的音量调节指令,将该控制端作为第一控制端,并将第一控制端属性信息作为屏蔽条件,且响应该音量调节指令。Step 32: Receive a volume adjustment instruction sent by any control terminal, use the control terminal as the first control terminal, use the attribute information of the first control terminal as a shielding condition, and respond to the volume adjustment instruction.

步骤33、实时接收音量调节指令,使用屏蔽条件判断音量调节指令的发送控制端是否为第一控制端,若是,则将接收的音量调节指令加入到音量消息队列中;若否,则删除接收的音量调节指令。Step 33: Receive the volume adjustment command in real time, use the shielding condition to judge whether the sending control end of the volume adjustment command is the first control end, if so, add the received volume adjustment command to the volume message queue; if not, delete the received volume adjustment command Volume adjustment command.

播放端实时接收并存储第一控制端发送的音量调节指令,而删除其他控制端发送的控制指令,使音量消息队列中只有第一控制端发送的音量调节指令,而没有其他控制端发送的音量调节指令。The playback terminal receives and stores the volume adjustment commands sent by the first control terminal in real time, and deletes the control commands sent by other control terminals, so that only the volume adjustment commands sent by the first control terminal are in the volume message queue, and there is no volume sent by other control terminals. Adjustment instructions.

步骤34、实时响应音量消息队列中的音量调节指令。Step 34: Respond to the volume adjustment instruction in the volume message queue in real time.

播放端响应完音量调节指令,继续查询并响应音量消息队列中的音量调节指令。After the player has responded to the volume adjustment command, it continues to query and respond to the volume adjustment command in the volume message queue.

步骤35、在音量消息队列中没有未响应的音量调节指令时,等待一个响应周期,若响应周期内收到了第一控制端的音量调节指令则响应,否则确定第一控制端调节已停止,清空屏蔽条件。Step 35. When there is no unresponsive volume adjustment command in the volume message queue, wait for a response period. If a volume adjustment command from the first control terminal is received within the response period, then respond. Otherwise, it is determined that the adjustment of the first control terminal has stopped, and the shield is cleared. condition.

清空屏蔽条件后,播放端首次可以接收任何控制端的音量调节指令,并将首次接收的音量调节指令存储于音量消息队列中。After clearing the shielding conditions, the player can receive the volume adjustment command from any control terminal for the first time, and store the volume adjustment command received for the first time in the volume message queue.

步骤36、在播放端收到第一控制端发过来的音量调节指令带有结束调节标记时,响应音量调节指令,同时清空音量消息队列的屏蔽条件,使播放端可接受任何控制端的音量调节指令。Step 36: When the playback terminal receives the volume adjustment instruction from the first control terminal with the end adjustment mark, it responds to the volume adjustment instruction, and at the same time clears the shielding conditions of the volume message queue, so that the playback terminal can accept any volume adjustment instruction from the control terminal .

本实施例提供的播放端响应多控制端控制的方法,解决了多控制端同时控制播放端的音量导致的音量大幅度跳动所引起的听觉不适,且避免了音量大幅度突变导致的扬声器寿命缩短。The playback terminal provided in this embodiment responds to the control method of multiple control terminals, which solves the auditory discomfort caused by the large volume jump caused by multiple control terminals simultaneously controlling the volume of the playback terminal, and avoids the shortening of the speaker life caused by the large volume change.

第四实施例Fourth embodiment

图4为本发明实施例四提供的一种播放端响应多控制端控制的装置的结构示意图,该装置可以内置在播放端内部。如图4所示,该播放端响应多控制端控制的装置的具体结构可以如下:FIG. 4 is a schematic structural diagram of a device for a playback terminal to respond to control of multiple control terminals according to Embodiment 4 of the present invention. The device can be built in the playback terminal. As shown in Figure 4, the specific structure of the device controlled by the player in response to the multi-controller can be as follows:

第一指令接收单元41,用于实时接收并响应第一控制端发送的控制指令,所述第一控制端为监测到设定的开始屏蔽事件后,首次向播放端发送控制指令的控制端;The first command receiving unit 41 is used to receive and respond to the control command sent by the first control terminal in real time, and the first control terminal is the control terminal that sends the control command to the playback terminal for the first time after monitoring the set start masking event;

指令屏蔽单元42,用于屏蔽除所述第一控制端外的其他控制端的控制指令;An instruction shielding unit 42, configured to shield control instructions from other control terminals except the first control terminal;

第二指令接收单元43,用于监测到设定的终止屏蔽事件后,接收并响应除第一控制端外的其他控制端的控制指令。The second instruction receiving unit 43 is configured to receive and respond to control instructions from other control terminals except the first control terminal after detecting the set termination masking event.

示例性的,该装置还可以包括:Exemplarily, the device may also include:

开始屏蔽单元,用于在监测到没有未被响应的控制指令时,产生所述开始屏蔽事件。The start masking unit is configured to generate the start masking event when it is detected that there is no unresponsive control command.

示例性的,该装置还可以包括:Exemplarily, the device may also include:

终止屏蔽单元,用于在监测到从第一控制端接收的控制指令被响应完毕,且预设的时间长度阈 值内未接收到第一控制端发送的控制指令时,产生所述终止屏蔽事件;或者,在监测到从第一控制端接收的控制指令包含终止屏蔽标识时,产生所述终止屏蔽事件。A termination masking unit is configured to generate the termination masking event when it is detected that the control command received from the first control terminal has been responded to and no control command sent by the first control terminal has been received within a preset time length threshold; Alternatively, when it is detected that the control instruction received from the first control terminal includes a termination shield identifier, the termination shield event is generated.

示例性的,在从第一控制端接收的控制指令包含终止屏蔽标识时,所述装置还可以包括:Exemplarily, when the control instruction received from the first control terminal includes a termination mask identifier, the device may further include:

指令清空单元,用于在所述接收并响应除第一控制端外的其他控制端的控制指令之前,响应从第一控制端接收的控制指令,并清空除该控制指令外的其他未被响应的控制指令。The command emptying unit is used to respond to the control command received from the first control terminal before receiving and responding to the control commands of other control terminals except the first control terminal, and to clear other unresponsive control commands except the control command. Control instruction.

示例性的,所述指令屏蔽单元42可以包括:Exemplarily, the instruction masking unit 42 may include:

属性获得子单元,用于在接收到控制指令时,获得发送该控制指令的控制端的属性信息;The attribute obtaining subunit is used to obtain the attribute information of the control terminal sending the control instruction when receiving the control instruction;

控制端识别子单元,用于依据获取的控制端的属性信息确定该控制端是否为第一控制端,若是,则接收并响应该控制指令;若否,则屏蔽该控制指令。The control terminal identification subunit is used to determine whether the control terminal is the first control terminal according to the obtained attribute information of the control terminal, if so, receive and respond to the control command; if not, block the control command.

在播放端响应多控制端控制的装置中,所述控制指令可以包括音量调节指令或亮度调节指令。In the device in which the playback terminal responds to the control of multiple control terminals, the control instruction may include a volume adjustment instruction or a brightness adjustment instruction.

需要说明的是,本实施例提供的装置,与本发明任意实施例所提供的方法属于同一发明构思,可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的可参见本发明任意实施例所提供的方法。It should be noted that the device provided in this embodiment belongs to the same inventive concept as the method provided in any embodiment of the present invention, can execute the method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For those not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.

上所述仅为本发明实施例的优选实施例,并不用于限制本发明实施例,对于本领域技术人员而言,本发明实施例可以有各种改动和变化。凡在本发明实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above descriptions are only preferred embodiments of the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, various modifications and changes may be made to the embodiments of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention shall be included within the protection scope of the embodiments of the present invention.

Claims (9)

1. A method for a playing end to respond to control of multiple control ends is characterized by comprising the following steps:
when no control command which is not responded is monitored, a starting shielding event is generated;
the method comprises the steps that a first control instruction sent by a first control end is received in real time, only the first control instruction sent by the first control end is responded, other control instructions which have the same function as the first control instruction and are sent by other control ends are not responded, other control instructions which have different functions from the first control instruction and are sent by other control ends are responded, and the first control end is the control end which sends the control instruction to a playing end for the first time after a set shielding starting event is monitored;
and receiving and responding to control instructions of other control ends except the first control end after monitoring the set shielding termination event.
2. The method of claim 1,
when the control instruction received from the first control end is monitored to be responded completely and the control instruction sent by the first control end is not received within a preset time length threshold, generating the shielding termination event; or,
and when the control command received from the first control end is monitored to contain the mask termination identifier, generating the mask termination event.
3. The method of claim 2, wherein when the control command received from the first control end includes the termination mask flag,
before receiving and responding to the control commands of other control terminals except the first control terminal, the method further comprises the following steps:
and responding to the control instruction received from the first control end, and clearing other unresponsive control instructions except the control instruction.
4. The method of claim 1, wherein masking control commands of other control terminals except the first control terminal comprises:
when a control instruction is received, acquiring attribute information of a control end which sends the control instruction;
determining whether the control end is a first control end according to the acquired attribute information of the control end, and if so, receiving and responding to the control instruction; if not, the control instruction is shielded.
5. The method of any of claims 1-4, wherein the control instruction comprises a volume adjustment instruction or a brightness adjustment instruction.
6. An apparatus for a playback end to respond to control of multiple control ends, comprising:
the starting shielding unit is used for generating a starting shielding event when no unresponsive control instruction is monitored;
the first instruction receiving unit is used for receiving and responding to a first control instruction sent by a first control end in real time and responding to other control instructions which are sent by other control ends and have different functions from the first control instruction, and the first control end is the control end which sends the control instruction to a playing end for the first time after monitoring a set shielding starting event;
the command shielding unit is used for not responding to other control commands which are sent by other control terminals and have the same function as the first control command;
and the second instruction receiving unit is used for receiving and responding to the control instructions of other control ends except the first control end after monitoring the set shielding termination event.
7. The apparatus of claim 6, further comprising:
the shielding termination unit is used for generating the shielding termination event when the control instruction received from the first control end is monitored to be responded completely and the control instruction sent by the first control end is not received within a preset time length threshold; or, when it is monitored that the control command received from the first control end contains a termination shielding identifier, generating the termination shielding event.
8. The apparatus of claim 7, wherein when the control command received from the first control end includes the termination mask flag, the apparatus further comprises:
and the command clearing unit is used for responding to the control command received from the first control end and clearing other unresponsive control commands except the control command before receiving and responding to the control commands of other control ends except the first control end.
9. The apparatus of claim 6, wherein the instruction masking unit comprises:
the attribute obtaining subunit is used for obtaining attribute information of a control end sending the control instruction when the control instruction is received;
the control end identification subunit is used for determining whether the control end is a first control end or not according to the acquired attribute information of the control end, and receiving and responding to the control instruction if the control end is the first control end; if not, the control instruction is shielded.
CN201510577878.6A 2015-09-11 2015-09-11 A kind of method and device for playing end and responding more control terminal controls Active CN105206292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510577878.6A CN105206292B (en) 2015-09-11 2015-09-11 A kind of method and device for playing end and responding more control terminal controls

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510577878.6A CN105206292B (en) 2015-09-11 2015-09-11 A kind of method and device for playing end and responding more control terminal controls

Publications (2)

Publication Number Publication Date
CN105206292A CN105206292A (en) 2015-12-30
CN105206292B true CN105206292B (en) 2018-01-19

Family

ID=54953917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510577878.6A Active CN105206292B (en) 2015-09-11 2015-09-11 A kind of method and device for playing end and responding more control terminal controls

Country Status (1)

Country Link
CN (1) CN105206292B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097935A (en) * 2023-10-18 2023-11-21 深圳市慧为智能科技股份有限公司 Bluetooth screen-throwing control method, system, terminal equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256828C (en) * 2003-02-19 2006-05-17 联想(北京)有限公司 Coordinate working method for multiple control equipment in home network based on peer connection
KR100739743B1 (en) * 2005-10-19 2007-07-13 삼성전자주식회사 Method and apparatus for exclusively controlling a device in a home network
CN102209022B (en) * 2010-03-31 2014-12-17 华为终端有限公司 Device control method, network device and network system
CN104320718B (en) * 2014-09-24 2017-07-25 广东欧珀移动通信有限公司 A method and device for avoiding conflicts caused by multiple DMC push media playback

Also Published As

Publication number Publication date
CN105206292A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
KR102154800B1 (en) Data streaming method of electronic apparatus and electronic apparatus thereof
CN104601203B (en) A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity
CN108647089A (en) Resource allocation method, device, terminal and storage medium
TWI628972B (en) Method and apparatus for matching a wireless device
CN104937891B (en) Method and apparatus for controlling business in the electronic device
AU2013371380A1 (en) Mobile device speaker control
US10642573B2 (en) Content streaming apparatus and method
JP2014194768A5 (en) Method and computer-readable medium for advanced television interaction
AU2013371379A1 (en) Mobile device speaker control
US10312874B2 (en) Volume control methods and devices, and multimedia playback control methods and devices
CN105681881A (en) Multimedia data transmission method based on mobile terminal, and mobile terminal
TWI603257B (en) Audio playing system and audio playing method
KR20180062230A (en) Method and Device for Steaming Audio using Wireless Link
CN104994466A (en) Bluetooth connection control method, device and music playing system for multi-playing devices
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
CN106803833A (en) Processing method, the apparatus and system of heartbeat in connection long
CN104869206B (en) A kind of communication means and terminal
US11875085B2 (en) Audio rendering device and audio configurator device for audio stream selection, and related methods
CN105848225A (en) Wireless connection switching method and device applied to audio playing system
CN105025390A (en) A playback scene storage method, system, playback terminal and control terminal
CN105337822A (en) Main playback device selection method and related device
US10291740B2 (en) Method and apparatus for determining application to be recommended
CN105206292B (en) A kind of method and device for playing end and responding more control terminal controls
CN104572105B (en) Data-updating method and device
CN105407452A (en) Method and system for controlling data flow in bluetooth shared network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.