CN106303676A - The method and apparatus that a kind of wireless video shows - Google Patents
The method and apparatus that a kind of wireless video shows Download PDFInfo
- Publication number
- CN106303676A CN106303676A CN201510292852.7A CN201510292852A CN106303676A CN 106303676 A CN106303676 A CN 106303676A CN 201510292852 A CN201510292852 A CN 201510292852A CN 106303676 A CN106303676 A CN 106303676A
- Authority
- CN
- China
- Prior art keywords
- local device
- wireless video
- video display
- opposite equip
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth®, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4367—Establishing a secure communication between the client and a peripheral device or smart card
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种无线视频显示的方法和设备,该方法可以包括:本端设备通过近距离通信技术扫描到对端设备后,在预设的时间段内捕获第一操作动作;所述本端设备根据预存的操作动作与建立连接指令之间的对应关系,获取所述第一操作动作对应的建立连接指令;所述本端设备根据所述建立连接指令与所述对端设备建立无线视频显示连接。
The embodiment of the present invention discloses a method and device for wireless video display, the method may include: after the local device scans to the peer device through short-distance communication technology, capture the first operation action within a preset time period; The local device acquires the connection establishment instruction corresponding to the first operation action according to the correspondence between the pre-stored operation action and the connection establishment instruction; the local device establishes a connection with the peer device according to the connection establishment instruction Wireless video display connection.
Description
技术领域technical field
本发明涉及图像传输技术,尤其涉及一种无线视频显示的方法和设备。The present invention relates to image transmission technology, in particular to a method and device for wireless video display.
背景技术Background technique
Miracast又称为无线视频显示(WI-FI Display,WIreless FIdelity Display)技术,是由WI-FI联盟制定的一种点到点的多媒体分享协议。原理是利用WIFIDirect建立的p2p网络将源设备的多媒体数据传输到目的设备进行播放显示。Miracast, also known as WI-FI Display (WIreless FIdelity Display) technology, is a point-to-point multimedia sharing protocol developed by the WI-FI Alliance. The principle is to use the p2p network established by WIFIDirect to transmit the multimedia data of the source device to the destination device for playback and display.
目前建立Miracast的连接过程一般包括以下操作过程:先开启Miracast功能,再搜索可连接的Wi-Fi Direct设备(即周围所有可见的支持Wi-Fi Direct功能的设备),再手动配对搜索到的Wi-Fi Direct显示设备,最后建立与Wi-FiDirect显示设备的Miracast连接从而实现屏幕共享。从上述过程可知,现有技术建立Miracast连接的过程繁锁复杂,需要用户的手动参与,用户体验较低。At present, the process of establishing a Miracast connection generally includes the following operations: first enable the Miracast function, then search for connectable Wi-Fi Direct devices (that is, all visible devices that support the Wi-Fi Direct function), and then manually pair the searched Wi-Fi Direct devices. -Fi Direct display device, and finally establish a Miracast connection with the Wi-FiDirect display device to realize screen sharing. It can be seen from the above process that the process of establishing a Miracast connection in the prior art is cumbersome and complicated, requires manual participation of the user, and has low user experience.
发明内容Contents of the invention
为解决上述技术问题,本发明实施例期望提供一种无线视频显示的方法和设备,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。In order to solve the above technical problems, the embodiments of the present invention expect to provide a method and device for wireless video display, which can establish a Miracast connection without manual participation of a user, and simplify the process of establishing a Miracast connection.
本发明的技术方案是这样实现的:Technical scheme of the present invention is realized like this:
第一方面,本发明实施例提供了一种无线视频显示的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for wireless video display, the method comprising:
本端设备通过近距离通信技术扫描到对端设备后,在预设的时间段内捕获第一操作动作;After the local device scans the peer device through short-distance communication technology, it captures the first operation action within a preset time period;
所述本端设备根据预存的操作动作与建立连接指令之间的对应关系,获取所述第一操作动作对应的建立连接指令;The local device acquires the connection establishment instruction corresponding to the first operation action according to the correspondence between the prestored operation action and the connection establishment instruction;
所述本端设备根据所述建立连接指令与所述对端设备建立无线视频显示连接。The local device establishes a wireless video display connection with the peer device according to the connection establishment instruction.
在上述方案中,所述本端设备通过近距离通信技术发现对端设备之后,在预设的时间段内捕获第一操作动作,具体包括:In the above solution, after the local device discovers the peer device through short-distance communication technology, it captures the first operation action within a preset time period, specifically including:
所述本端设备获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;The local device obtains the system identifier of the peer device; wherein, the system identifier is used to indicate whether the peer device supports wireless video display connection;
当所述本端设备根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述在预设的时间段内捕获第一操作动作。When the local device determines, according to the system identifier of the peer device, that the peer device supports wireless video display connections, trigger the first operation action of capturing within a preset time period.
在上述方案中,所述本端设备根据建立连接指令与对端设备建立无线视频显示连接,具体包括:In the above solution, the local device establishes a wireless video display connection with the peer device according to the connection establishment instruction, specifically including:
所述本端设备根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据鉴权信息完成与所述本端设备的无线视频显示连接。After the local device starts its own wireless video display connection function according to the connection establishment instruction, it sends authentication information and a wireless video display connection request to the peer device; the wireless video display connection request is used to indicate the The peer device completes the wireless video display connection with the local device according to the authentication information.
在上述方案中,当所述本端设备为目的端设备时,所述本端设备向所述对端设备发送鉴权信息和无线视频显示连接请求,包括:In the above solution, when the local device is the destination device, the local device sends authentication information and a wireless video display connection request to the peer device, including:
所述本端设备通过反向控制通道向所述本端设备对端设备发送所述本端设备鉴权信息和所述本端设备无线视频显示连接请求。The local device sends the local device authentication information and the local device wireless video display connection request to the local device peer device through a reverse control channel.
在上述方案中,在无线视频显示连接建立完成之后,所述方法还包括:In the above solution, after the wireless video display connection is established, the method further includes:
所述本端设备捕获第二操作动作;The local device captures a second operation action;
所述本端设备通过查找预设的操作动作与控制指令之间的对应关系获取与所述第二操作动作对应的控制指令;The local device acquires the control instruction corresponding to the second operation action by searching for the correspondence between the preset operation action and the control instruction;
所述本端设备按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The local device controls the state of the wireless video display connection between the local device and the peer device according to the control instruction corresponding to the second operation action.
第二方面,本发明实施例提供了一种无线视频显示的设备,所述设备包括:扫描单元、捕获单元、获取单元和连接控制单元,其中,In the second aspect, an embodiment of the present invention provides a device for wireless video display, the device includes: a scanning unit, a capture unit, an acquisition unit, and a connection control unit, wherein,
所述扫描单元,用于通过近距离通信技术扫描对端设备,并且当通过近距离通信技术扫描到对端设备后,触发所述捕获单元;The scanning unit is configured to scan the peer device through the short-range communication technology, and trigger the capture unit when the peer device is scanned through the short-range communication technology;
所述捕获单元,用于在预设的时间段内捕获第一操作动作;The capturing unit is configured to capture the first operation action within a preset time period;
所述获取单元,用于根据预存的操作动作与建立连接指令之间的对应关系,获取所述第一操作动作对应的建立连接指令;The obtaining unit is configured to obtain the connection establishment instruction corresponding to the first operation action according to the pre-stored correspondence between the operation action and the connection establishment instruction;
所述连接控制单元,用于根据所述建立连接指令与所述对端设备建立无线视频显示连接。The connection control unit is configured to establish a wireless video display connection with the peer device according to the connection establishment instruction.
在上述方案中,所述扫描单元,还用于获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;以及,In the above solution, the scanning unit is further configured to acquire the system identifier of the peer device; wherein the system identifier is used to indicate whether the peer device supports wireless video display connection; and,
根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述捕获单元。The capturing unit is triggered when it is determined according to the system identifier of the peer device that the peer device supports wireless video display connections.
在上述方案中,所述连接控制单元,具体用于:In the above solution, the connection control unit is specifically used for:
根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据鉴权信息完成与所述本端设备的无线视频显示连接。After enabling its own wireless video display connection function according to the connection establishment instruction, send authentication information and a wireless video display connection request to the peer device; the wireless video display connection request is used to instruct the peer device to The right information completes the wireless video display connection with the local device.
在上述方案中,当所述本端设备为目的端设备时,所述连接控制单元,具体用于:通过反向控制通道向所述本端设备对端设备发送所述本端设备鉴权信息和所述本端设备无线视频显示连接请求。In the above solution, when the local device is the destination device, the connection control unit is specifically configured to: send the local device authentication information to the peer device through a reverse control channel and the wireless video display connection request of the local device.
在上述方案中,所述捕获单元,还用于捕获第二操作动作;In the above solution, the capturing unit is further configured to capture the second operation action;
所述获取单元,还用于通过查找预设的操作动作与控制指令之间的对应关系获取与所述第二操作动作对应的控制指令;The obtaining unit is further configured to obtain the control instruction corresponding to the second operation action by searching for a preset correspondence between the operation action and the control instruction;
所述连接控制单元,还用于按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The connection control unit is further configured to control the state of the wireless video display connection between the local device and the peer device according to the control instruction corresponding to the second operation action.
本发明实施例提供了一种无线视频显示的方法和设备,利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。The embodiment of the present invention provides a method and device for wireless video display. After discovering the peer device using short-distance communication technology, the establishment process of Miracast connection is started by capturing preset operation actions, and Miracast can be established without manual participation of the user. Connection, which simplifies the process of establishing a Miracast connection.
附图说明Description of drawings
图1为本发明实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图2为本发明实施例提供的一种无线视频显示的方法流程示意图;FIG. 2 is a schematic flowchart of a method for wireless video display provided by an embodiment of the present invention;
图3为本发明实施例提供的对两个设备之间的Miracast连接状态进行控制的流程示意图;3 is a schematic flow diagram of controlling the Miracast connection state between two devices provided by an embodiment of the present invention;
图4为本发明实施例提供的一种无线视频显示的设备结构示意图。Fig. 4 is a schematic structural diagram of a wireless video display device provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.
参见图1,其示出了本发明实施例提供的一种应用场景示意,本发明实施例中,以无线视频显示是Miracast为例进行说明,可以理解地,其他无线视频显示也可以应用本发明实施例的技术方案,在此不再赘述。源端10和目的端20之间的Miracast连接实现屏幕共享;其中,进行影像传输的设备称之为源端设备,接收被传输的影像的设备称之为目的端设备。在该示例性场景中,源端10为支持Miracast功能的智能手机、平板电脑、笔记本电脑等;目的端20可以为支持Miracast功能的电视、投影设备等,本发明实施例中对此不做具体地限定。可以理解地,该应用场景仅用于对本发明实施例提供的技术方案进行说明,并不对本发明实施例进行任何限定。Referring to Fig. 1, it shows a schematic application scenario provided by the embodiment of the present invention. In the embodiment of the present invention, Miracast is used as an example for wireless video display. It can be understood that other wireless video displays can also apply the present invention The technical solutions of the embodiments will not be repeated here. The Miracast connection between the source end 10 and the destination end 20 realizes screen sharing; wherein, the device that transmits the image is called the source end device, and the device that receives the transmitted image is called the destination end device. In this exemplary scenario, the source terminal 10 is a smart phone, a tablet computer, a notebook computer, etc. that support the Miracast function; the destination terminal 20 may be a TV, a projection device, etc. that support the Miracast function, and this is not specifically described in the embodiment of the present invention limited. It can be understood that this application scenario is only used to illustrate the technical solution provided by the embodiment of the present invention, and does not limit the embodiment of the present invention in any way.
参见图2,其示出了本发明实施例提供的一种无线视频显示的方法流程,该方法可以应用于Miracast连接中任一端设备,在本发明实施例中称之为本端,与本端进行Miracast连接的另一端称之为对端,可以理解地,本端设备既可以是Miracast连接中的源端设备,也可以是Miracast连接中的目的端设备,后续不再赘述,该方法可以包括:Referring to Fig. 2, it shows the flow of a method for wireless video display provided by the embodiment of the present invention, the method can be applied to any end device in the Miracast connection, referred to as the local end in the embodiment of the present invention, and the local end The other end of the Miracast connection is called the opposite end. It can be understood that the local device can be either the source device in the Miracast connection or the destination device in the Miracast connection. No further details will be given later. The method can include :
S201:本端设备通过近距离通信技术扫描到对端设备后,在预设的时间段内捕获第一操作动作;S201: After the local device scans the peer device through short-distance communication technology, capture the first operation action within a preset time period;
示例性地,近距离通信技术可以包括以下任一种方式:近场通信(NFC,Near Field Communication)、蓝牙技术、红外线技术及WIFI直连(WIFI Direct)技术等。在本实施例中,本端设备除了通过近距离通信技术扫描到对端设备以外,还可以包括:Exemplarily, the short-distance communication technology may include any of the following methods: Near Field Communication (NFC, Near Field Communication), Bluetooth technology, infrared technology, and WIFI Direct (WIFI Direct) technology. In this embodiment, in addition to scanning to the peer device through short-distance communication technology, the local device may also include:
本端设备获取对端设备的系统识别符;其中,该系统识别符用于指示对端设备是否支持Miracast连接;具体可以通过一个预设的密码信息来实现。The local device obtains the system identifier of the peer device; wherein, the system identifier is used to indicate whether the peer device supports Miracast connection; specifically, it can be realized through a preset password information.
当本端设备根据对端设备的系统识别符确定对端设备支持Miracast连接时,触发所述在预设的时间段内捕获第一操作动作。When the local device determines that the peer device supports the Miracast connection according to the system identifier of the peer device, the first operation action of capturing within a preset time period is triggered.
示例性地,当本端设备为移动终端设备时,本端设备所获取到的操作动作可以包括不同形式的触屏操作,也可以包括不同的操作手势;当本端设备为投影设备或者大尺寸电视设备等时,则可以通过本端设备中体感装置(MotionSensor)来获取用户不同的姿态动作。For example, when the local device is a mobile terminal device, the operation actions acquired by the local device may include different forms of touch screen operations, and may also include different operating gestures; when the local device is a projection device or a large-sized In the case of TV equipment, etc., different gestures and actions of the user can be acquired through the MotionSensor in the local equipment.
需要说明的是,本端设备在预设的时间段内没有捕获到第一操作动作时,则停止捕获第一操作动作,此时,两个设备之间重新进行发现之后再开启第一操作动作的捕获过程。It should be noted that if the local device does not capture the first operation action within the preset time period, it will stop capturing the first operation action. At this time, the first operation action will be started after rediscovery between the two devices capture process.
S202:本端设备根据预存的操作动作与建立连接指令之间的对应关系,获取第一操作动作对应的建立连接指令;S202: The local device obtains the connection establishment instruction corresponding to the first operation action according to the correspondence between the pre-stored operation action and the connection establishment instruction;
示例性地,建立连接指令用于建立本端设备与对端设备之间Miracast连接;具体可以通过预先对建立连接指令设置对应的操作动作进行实现。Exemplarily, the connection establishment instruction is used to establish a Miracast connection between the local device and the peer device; specifically, it may be implemented by setting a corresponding operation action for the connection establishment instruction in advance.
具体地,在本实施例中,与建立连接指令对应的操作动作可以是在本端设备的触屏上进行“S”型滑动;那么,当步骤S201中,本端设备获取到的第一操作动作为用户在其触屏上进行“S”型滑动时,可以通过步骤S202的获取得到建立连接指令。Specifically, in this embodiment, the operation action corresponding to the instruction to establish a connection may be to perform an "S"-shaped slide on the touch screen of the local device; then, in step S201, the first operation obtained by the local device When the action is that the user slides an "S" shape on the touch screen, an instruction to establish a connection can be obtained through the acquisition in step S202.
S203:本端设备根据建立连接指令与对端设备建立Miracast连接。S203: The local device establishes a Miracast connection with the peer device according to the connection establishment instruction.
示例性地,本端设备根据建立连接指令与对端设备建立Miracast连接,具体可以包括:Exemplarily, the local device establishes a Miracast connection with the peer device according to the connection establishment instruction, which may specifically include:
本端设备根据建立连接指令开启自身的Miracast连接功能之后,向对端设备发送鉴权信息和Miracast连接请求;该Miracast连接请求用于指示对端设备根据鉴权信息完成与本端设备的Miracast连接。当对端设备接收到鉴权信息和Miracast连接请求之后,就可以按照WiFi和Miracast标准流程依次建立Miracast连接所需要的WiFi的TCP/IP连接、WiFi的点对点连接和RTSP连接。After the local device starts its own Miracast connection function according to the connection establishment command, it sends authentication information and a Miracast connection request to the peer device; the Miracast connection request is used to instruct the peer device to complete the Miracast connection with the local device according to the authentication information . After the peer device receives the authentication information and the Miracast connection request, it can sequentially establish the WiFi TCP/IP connection, WiFi point-to-point connection and RTSP connection required by the Miracast connection according to the WiFi and Miracast standard procedures.
需要说明的是,两个设备之间建立Miracast连接的具体过程以及连接建立之后的无线视频显示过程均为本领域技术人员的常规技术手段,在此不再赘述。可以理解地,当本端设备为目的端设备时,本端设备可以通过从目的端设备到源端设备方向的反向控制通道向对端设备发送鉴权信息和Miracast连接请求。It should be noted that the specific process of establishing a Miracast connection between two devices and the wireless video display process after the connection is established are conventional technical means for those skilled in the art, and will not be repeated here. Understandably, when the local device is the destination device, the local device may send authentication information and a Miracast connection request to the peer device through a reverse control channel from the destination device to the source device.
上述步骤S201至步骤S203实现了本端设备与对端设备之间建立Miracast连接的具体过程,该过程利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,从而无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。而在Miracast连接建立完成之后,仍然可以通过捕获预设的操作动作来对两个设备之间的Miracast连接状态进行控制,因此,参见图3,本方法还可以包括:The above steps S201 to S203 realize the specific process of establishing a Miracast connection between the local device and the peer device. After the process uses short-distance communication technology to discover the peer device, the establishment of the Miracast connection is started by capturing preset operation actions process, so that the Miracast connection can be established without manual participation of the user, which simplifies the process of establishing the Miracast connection. After the Miracast connection is established, the Miracast connection state between the two devices can still be controlled by capturing preset operation actions. Therefore, referring to FIG. 3, this method can also include:
S301:本端设备捕获第二操作动作;S301: The local device captures the second operation action;
S302:本端设备通过查找预设的操作动作与控制指令之间的对应关系获取得到与第二操作动作对应的控制指令;S302: The local device obtains the control instruction corresponding to the second operation action by searching for the corresponding relationship between the preset operation action and the control instruction;
其中,控制指令可以用于控制本端设备与对端设备之间的Miracast连接的状态,例如,关闭本端设备与对端设备之间Miracast连接、暂停本端设备与对端设备之间Miracast连接,重新建立本端设备与对端设备之间Miracast连接等。Among them, the control command can be used to control the state of the Miracast connection between the local device and the peer device, for example, close the Miracast connection between the local device and the peer device, suspend the Miracast connection between the local device and the peer device , re-establish the Miracast connection between the local device and the peer device, etc.
S303:本端设备按照第二操作动作对应的控制指令对本端设备与对端设备之间的Miracast连接的状态进行控制。S303: The local device controls the state of the Miracast connection between the local device and the peer device according to the control instruction corresponding to the second operation action.
可以理解地,当本端设备为目的端设备时,可以通过目的端设备到源端设备的反向控制通道与源端设备进行交互,从而实现对本端设备与对端设备之间的Miracast连接的状态进行控制。Understandably, when the local device is the destination device, it can interact with the source device through the reverse control channel from the destination device to the source device, so as to implement the Miracast connection between the local device and the peer device. state is controlled.
具体地,以本端设备为具有体感装置的目的端设备为例,预设设置与“关闭本端设备与对端设备之间Miracast连接”对应的操作动作是用户的挥手的姿态动作;当本端设备与对端设备处于Miracast连接时,获取到用户的挥手的姿态动作,本端设备可以根据预设的操作动作与控制指令之间的对应关系得到用户的挥手的姿态动作对应于“关闭本端设备与对端设备之间Miracast连接”,此时,本端设备可以通过反向通道向对端设备发送关闭Miracast连接请求,从而关闭本端设备与对端设备之间Miracast连接,具体的关闭Miracast连接的过程可以按照WiFi和Miracast标准流程进行实现,本发明实施例对此不再赘述。Specifically, taking the local device as a destination device with a somatosensory device as an example, the operation action corresponding to the default setting of "closing the Miracast connection between the local device and the peer device" is the user's gesture of waving; when the local device When the end device is connected to the peer device through Miracast, it obtains the user's waving gesture, and the local device can obtain the corresponding relationship between the user's waving gesture and the "close this The Miracast connection between the end device and the peer device", at this time, the local device can send a request to close the Miracast connection to the peer device through the reverse channel, thereby closing the Miracast connection between the local device and the peer device. The Miracast connection process can be implemented according to the WiFi and Miracast standard procedures, which will not be repeated in this embodiment of the present invention.
上述步骤S301至步骤S303实现了本端设备与对端设备之间建立完成Miracast连接之后,对Miracast连接的状态进行控制的过程,进行控制的过程仅需要用户进行手势操作就能够实现,无需对设备进行按键操作,简化了对Miracast连接的状态进行控制的过程。The above steps S301 to S303 realize the process of controlling the state of the Miracast connection after the Miracast connection is established between the local device and the peer device. Key operation simplifies the process of controlling the state of the Miracast connection.
本发明实施例提供了一种无线视频显示的方法,利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。The embodiment of the present invention provides a method for wireless video display. After discovering the peer device using short-distance communication technology, the establishment process of the Miracast connection is started by capturing the preset operation action, and the Miracast connection can be established without manual participation of the user. Simplified the process of establishing a Miracast connection.
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的一种无线视频显示的设备40,该设备既可以是Miracast连接中的源端设备,也可以是Miracast连接中的目的端设备,该设备40可以包括:扫描单元401、捕获单元402、获取单元403和连接控制单元404,其中,Based on the same technical idea of the foregoing embodiments, see FIG. 4 , which shows a wireless video display device 40 provided by an embodiment of the present invention. This device can be either a source device in a Miracast connection or a Miracast connection. In the destination device, the device 40 may include: a scanning unit 401, a capture unit 402, an acquisition unit 403, and a connection control unit 404, wherein,
扫描单元401,用于通过近距离通信技术扫描对端设备,并且当通过近距离通信技术扫描到对端设备后,触发捕获单元402;The scanning unit 401 is configured to scan the peer device through the short-range communication technology, and when the peer device is scanned through the short-range communication technology, trigger the capture unit 402;
捕获单元402,用于在预设的时间段内捕获第一操作动作;a capture unit 402, configured to capture a first operation action within a preset time period;
获取单元403,用于根据预存的操作动作与建立连接指令之间的对应关系,获取第一操作动作对应的建立连接指令;The obtaining unit 403 is configured to obtain the connection establishment instruction corresponding to the first operation action according to the correspondence between the prestored operation action and the connection establishment instruction;
连接控制单元404,用于根据建立连接指令与对端设备建立无线视频显示连接。The connection control unit 404 is configured to establish a wireless video display connection with the peer device according to the connection establishment instruction.
在上述方案中,扫描单元401,还用于获取对端设备的系统识别符;其中,系统识别符用于指示对端设备是否支持无线视频显示连接;以及,In the above solution, the scanning unit 401 is also used to acquire the system identifier of the peer device; wherein, the system identifier is used to indicate whether the peer device supports wireless video display connection; and,
根据对端设备的系统识别符确定对端设备支持无线视频显示连接时,触发捕获单元402。When it is determined according to the system identifier of the peer device that the peer device supports wireless video display connection, the capturing unit 402 is triggered.
在上述方案中,连接控制单元404,具体用于:In the above solution, the connection control unit 404 is specifically used for:
根据建立连接指令开启自身的无线视频显示连接功能之后,向对端设备发送鉴权信息和无线视频显示连接请求;无线视频显示连接请求用于指示对端设备根据鉴权信息完成与本端设备的无线视频显示连接。After opening its own wireless video display connection function according to the connection establishment instruction, send authentication information and a wireless video display connection request to the peer device; the wireless video display connection request is used to instruct the peer device to complete the connection with the local device according to the authentication information Wireless video display connection.
在上述方案中,当本端设备为目的端设备时,连接控制单元404,具体用于:通过从目的端设备到源端设备方向的反向控制通道向本端设备对端设备发送本端设备鉴权信息和本端设备无线视频显示连接请求。In the above solution, when the local device is the destination device, the connection control unit 404 is specifically used to: send the local device to the peer device through the reverse control channel from the destination device to the source device. Authentication information and the wireless video display connection request of the local device.
在上述方案中,捕获单元402,还用于捕获第二操作动作;In the above solution, the capturing unit 402 is also configured to capture the second operation action;
获取单元403,还用于通过查找预设的操作动作与控制指令之间的对应关系获取与第二操作动作对应的控制指令;The obtaining unit 403 is further configured to obtain the control instruction corresponding to the second operation action by searching for the correspondence between the preset operation action and the control instruction;
连接控制单元404,还用于按照第二操作动作对应的控制指令对本端设备与对端设备之间的无线视频显示连接的状态进行控制。The connection control unit 404 is further configured to control the state of the wireless video display connection between the local device and the peer device according to the control instruction corresponding to the second operation action.
本发明实施例提供了一种无线视频显示的设备,利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。The embodiment of the present invention provides a wireless video display device. After discovering the peer device using the short-distance communication technology, the establishment process of the Miracast connection is started by capturing the preset operation action, and the Miracast connection can be established without manual participation of the user. Simplified the process of establishing a Miracast connection.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510292852.7A CN106303676A (en) | 2015-06-01 | 2015-06-01 | The method and apparatus that a kind of wireless video shows |
| PCT/CN2015/086728 WO2016192200A1 (en) | 2015-06-01 | 2015-08-12 | Miracast method and device, and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510292852.7A CN106303676A (en) | 2015-06-01 | 2015-06-01 | The method and apparatus that a kind of wireless video shows |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106303676A true CN106303676A (en) | 2017-01-04 |
Family
ID=57439984
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510292852.7A Pending CN106303676A (en) | 2015-06-01 | 2015-06-01 | The method and apparatus that a kind of wireless video shows |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106303676A (en) |
| WO (1) | WO2016192200A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110399112A (en) * | 2019-08-28 | 2019-11-01 | 北京小米移动软件有限公司 | A kind of throwing screen method and device |
| CN110798745A (en) * | 2019-11-19 | 2020-02-14 | 深圳传音控股股份有限公司 | Multimedia playback control method, server and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9306992B2 (en) * | 2013-06-07 | 2016-04-05 | Qualcomm Incorporated | Method and system for using Wi-Fi display transport mechanisms to accomplish voice and data communications |
| CN103561117A (en) * | 2013-11-20 | 2014-02-05 | 深圳市中兴移动通信有限公司 | Screen sharing method and system, transmitting terminal and receiving terminal |
| CN104244244B (en) * | 2014-09-05 | 2019-02-05 | 联想(北京)有限公司 | A kind of data transmission method and device |
-
2015
- 2015-06-01 CN CN201510292852.7A patent/CN106303676A/en active Pending
- 2015-08-12 WO PCT/CN2015/086728 patent/WO2016192200A1/en not_active Ceased
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110399112A (en) * | 2019-08-28 | 2019-11-01 | 北京小米移动软件有限公司 | A kind of throwing screen method and device |
| CN110798745A (en) * | 2019-11-19 | 2020-02-14 | 深圳传音控股股份有限公司 | Multimedia playback control method, server and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016192200A1 (en) | 2016-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10021180B2 (en) | Universal environment extender | |
| US10887932B2 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
| US11368453B2 (en) | Network configuration method and device, electronic device and storage medium | |
| TWI536855B (en) | Content sharing method and device | |
| CN103312534B (en) | Method and apparatus for managing the group profile in WI FI direct communication systems | |
| US9473233B2 (en) | Method and apparatus for transmitting data using relay device | |
| CN106507437B (en) | Intelligent equipment networking method and device | |
| CN105376048A (en) | Method and system for connecting terminal with display equipment | |
| EP4064759B1 (en) | Method and device for accessing network by network node, electronic equipment, and storage medium | |
| CN104023257B (en) | Mobile terminal controls the method and system of television terminal | |
| US9270656B2 (en) | Communication device, communication method, computer program, and communication system | |
| CN111465123B (en) | Network connection method, terminal and storage medium | |
| CN104247554A (en) | Information processing device, information processing method, and program | |
| WO2015184877A1 (en) | Method and system for operating presentation document, control apparatus, and presentation apparatus | |
| CN106303676A (en) | The method and apparatus that a kind of wireless video shows | |
| CN106937405A (en) | Control method and device of intelligent equipment and network connection method and system | |
| US10929703B2 (en) | Method apparatus and program product for enabling two or more electronic devices to perform operations based on a common subject | |
| KR20220052115A (en) | A display apparatus, an electronic apparatus and methods thereof | |
| JP6391219B2 (en) | system | |
| JP2017091261A (en) | Apparatus, program and system | |
| CN113726905B (en) | Data acquisition method, device and equipment based on home terminal equipment | |
| CN105786367A (en) | Virtual desktop display method and terminal | |
| JP2015176536A (en) | Communication device, communication method, communication program, and storage medium | |
| WO2016145846A1 (en) | Method, device and terminal for concurrent use of miracast function and wireless hotspot function | |
| CN106533848B (en) | Data acquisition method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170104 |
|
| WD01 | Invention patent application deemed withdrawn after publication |