WO2016192200A1 - Miracast method and device, and computer readable storage medium - Google Patents

Miracast method and device, and computer readable storage medium Download PDF

Info

Publication number
WO2016192200A1
WO2016192200A1 PCT/CN2015/086728 CN2015086728W WO2016192200A1 WO 2016192200 A1 WO2016192200 A1 WO 2016192200A1 CN 2015086728 W CN2015086728 W CN 2015086728W WO 2016192200 A1 WO2016192200 A1 WO 2016192200A1
Authority
WO
WIPO (PCT)
Prior art keywords
connection
video display
wireless video
operation action
local device
Prior art date
Application number
PCT/CN2015/086728
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 WO2016192200A1 publication Critical patent/WO2016192200A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card

Definitions

  • the present invention relates to image transmission technologies, and in particular, to a method, device, and computer readable storage medium for wireless video display.
  • Miracast also known as WI-FI Display (WIreless FIdelity Display) technology
  • WI-FI Display WIreless FIdelity Display
  • the principle is to use the p2p network established by WIFI Direct to transmit the multimedia data of the source device to the destination device for playback display.
  • the connection process for establishing Miracast generally includes the following operations: first open the Miracast function, then search for a connectable Wi-Fi Direct device (that is, all visible Wi-Fi Direct-enabled devices around), and then manually pair the searched Wis. -Fi Direct display device, and finally establish a Miracast connection with the Wi-Fi Direct display device for screen sharing. It can be seen from the above process that the process of establishing a Miracast connection in the prior art is complicated and complicated, requires manual participation by the user, and the user experience is low.
  • embodiments of the present invention are directed to a method, a device, and a computer readable storage medium for wireless video display, which can establish a Miracast connection without manual intervention by a user, and simplify the process of establishing a Miracast connection.
  • an embodiment of the present invention provides a method for wireless video display, where the method includes:
  • the first operation action is captured within a preset time period
  • the local device acquires a connection establishment instruction corresponding to the first operation action according to a correspondence between a pre-stored operation action and a connection establishment instruction;
  • the local device establishes a wireless video display connection with the peer device according to the establishing a connection instruction.
  • the first operation action is captured within a preset time period, and the specific device includes:
  • the local device acquires a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports a wireless video display connection;
  • the local device determines that the peer device supports the wireless video display connection according to the system identifier of the peer device, triggering the capturing of the first operation action within a preset time period.
  • the local device establishes a wireless video display connection with the peer device according to the establishment of the connection instruction, and specifically includes:
  • the local device After the local device starts its own wireless video display connection function according to the establishing connection instruction, the local device sends an 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.
  • the local device when the local device is the destination device, the local device sends the authentication information and the 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.
  • the method further includes:
  • the local device captures a second operation action
  • the local device obtains a correspondence between a preset operation action and a control instruction. Taking a control instruction corresponding to the second operation action;
  • the local device controls a 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.
  • an embodiment of the present invention provides a device for wireless video display, where the device includes: a scanning unit, a capturing unit, an acquiring unit, and a connection control unit, where
  • the scanning unit is configured to scan the peer device by using a short-range communication technology, and trigger the capturing unit after scanning to the peer device by the short-range communication technology;
  • the capturing unit is configured to capture a first operation action within a preset time period
  • the obtaining unit is configured to acquire a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
  • the connection control unit is configured to establish a wireless video display connection with the peer device according to the establishing a connection instruction.
  • the scanning unit is further configured to acquire a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports a wireless video display connection;
  • the capturing unit is triggered when the peer device supports the wireless video display connection according to the system identifier of the peer device.
  • connection control unit is specifically configured to:
  • the wireless video display connection request is used to indicate that the peer device is configured according to the The right information is completed and connected to the wireless video display of the local device.
  • the connection control unit is specifically configured to: send the local device authentication information to the local device peer device by using a reverse control channel. And the local device wireless video display connection request.
  • the capturing unit is further configured to capture a second operation action
  • the obtaining unit is further configured to acquire a control instruction corresponding to the second operation action by searching a correspondence between a preset operation action and a control instruction;
  • connection control unit is further configured to control a 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.
  • the embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of instructions, when executed, causing at least one processor to perform operations including:
  • connection establishment instruction Determining a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction
  • the embodiment of the invention provides a method and a device for displaying a wireless video. After discovering the peer device by using the short-range communication technology, the process of establishing the Miracast connection is started by capturing a preset operation action, and the Miracast can be established without manual participation of the user. The connection simplifies the process of establishing a Miracast connection.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for displaying a wireless video according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of controlling a connection state of a Miracast between two devices according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a device for wireless video display according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • a wireless video display is a Miracast as an example. It can be understood that other wireless video displays can also be applied to the present invention. The technical solutions of the embodiments are not described herein again.
  • the Miracast connection between the source end 10 and the destination end 20 implements screen sharing; wherein the device for performing image transmission is referred to as a source device, and the device for receiving the transmitted image is referred to as a destination device.
  • the source end 10 is a smart phone, a tablet computer, a notebook computer, and the like that support the Miracast function; the destination end 20 may be a TV, a projection device, or the like that supports the Miracast function, which is not specifically described in the embodiment of the present invention. Limited. It is to be understood that the application scenario is only used to describe the technical solutions provided by the embodiments of the present invention, and is not limited to the embodiments of the present invention.
  • FIG. 2 it is a flowchart of a method for wireless video display according to an embodiment of the present invention.
  • the method may be applied to any device in a Miracast connection.
  • the other end of the Miracast connection is called the peer end.
  • the local device can be either the source device in the Miracast connection or the destination device in the Miracast connection.
  • S201 the local device scans the peer device by using the short-range communication function, and captures the first operation action within a preset time period;
  • the short-range communication function may include any one of the following technologies: Near Field Communication (NFC), Bluetooth technology, infrared technology, and WIFI Direct technology.
  • NFC Near Field Communication
  • Bluetooth Bluetooth technology
  • infrared technology infrared technology
  • WIFI Direct technology WIFI Direct technology
  • the local device may include: in addition to scanning to the peer device by the short-range communication technology, the local device may include:
  • the local device obtains the system identifier of the peer device.
  • the system identifier is used to indicate whether the peer device supports the Miracast connection.
  • the specific device can be implemented by using a preset password information.
  • the local device determines that the peer device supports the Miracast connection according to the system identifier of the peer device, triggering the capturing of the first operation action within a preset time period.
  • the operation actions acquired by the local device may include different forms of touch screen operations, and may also include different operation gestures; when the local device is a projection device or a large size
  • the motion sensor of the local device can be used to acquire different posture actions of the user.
  • the local device does not capture the first operation action within a preset time period
  • the first operation action is stopped, and then the first operation action is restarted after the two devices re-discover between the two devices. Capture process.
  • S202 The local device acquires a connection establishment instruction corresponding to the first operation action according to the correspondence between the pre-stored operation action and the establishment of the connection instruction.
  • connection instruction is used to establish a Miracast connection between the local device and the peer device; specifically, the corresponding operation action may be set by setting a connection instruction in advance.
  • the operation action corresponding to the establishment of the connection instruction may be an "S" type sliding on the touch screen of the local device; then, in step S201, the first operation acquired by the local device When the user performs an "S" type slide on the touch screen, the connection establishment instruction can be obtained by the acquisition of step S202.
  • S203 The local device establishes a Miracast connection with the peer device according to the establishment of the connection instruction.
  • the local device establishes a Miracast connection with the peer device according to the establishment of the connection instruction, and specifically includes:
  • the local device After the local device starts its own Miracast connection function according to the connection establishment command, the local device sends the authentication information and the 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.
  • the peer device After the peer device receives the authentication information and the Miracast connection request, it can establish the TCP/IP connection of the WiFi required for the Miracast connection and the point-to-point connection of the WiFi according to the standard process of WiFi and Miracast. Connect to RTSP.
  • the specific process of establishing a Miracast connection between the two devices and the wireless video display process after the connection is established are all conventional technical means of those skilled in the art, and are not described herein again. It can be understood that when the local device is the destination device, the local device can send the authentication information and the Miracast connection request to the peer device through the reverse control channel from the destination device to the source device.
  • the foregoing steps S201 to S203 implement a specific process of establishing a Miracast connection between the local device and the peer device.
  • the establishment of the Miracast connection is started by capturing a preset operation action.
  • the process which allows for the creation of a Miracast connection without the need for manual user involvement, simplifies the process of establishing a Miracast connection.
  • the status of the Miracast connection between the two devices can still be controlled by capturing a preset operation action. Therefore, referring to FIG. 3, the method may further include:
  • S301 The local device captures a second operation action.
  • S302 The local device acquires a control instruction corresponding to the second operation action by searching a corresponding relationship between the preset operation action and the control instruction.
  • the control command can be used to control the status of the Miracast connection between the local device and the peer device. For example, the Miracast connection between the local device and the peer device is disabled, and the Miracast connection between the local device and the peer device is suspended. , re-establish the Miracast connection between the local device and the peer device.
  • 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.
  • the source device can interact with the source device through the reverse control channel of the source device to implement the Miracast connection between the local device and the peer device.
  • the status is controlled.
  • the preset action and the operation action corresponding to “turn off the Miracast connection between the local device and the peer device” is the gesture action of the user;
  • the end device and the peer device are connected to the Miracast, the user's wave gesture is obtained, and the local device can obtain the user's wave gesture according to the corresponding relationship between the preset operation action and the control command.
  • the Miracast connection between the end device and the peer device can send a close Miracast connection request to the peer device through the reverse channel, thereby closing the Miracast connection between the local device and the peer device.
  • the process of the connection of the Miracast can be implemented according to the standard process of the WiFi and the Miracast, which will not be described in detail in the embodiment of the present invention.
  • steps S301 to S303 implement a process of controlling the state of the Miracast connection after the establishment of the Miracast connection between the local device and the peer device, and the process of controlling only needs the gesture operation of the user, and the device is not needed.
  • the button operation simplifies the process of controlling the state of the Miracast connection.
  • An embodiment of the present invention provides a method for wireless video display. After discovering a peer device by using a short-range communication technology, the process of establishing a Miracast connection is started by capturing a preset operation action, and the Miracast connection can be established without manual participation of the user. Simplifies the process of establishing a Miracast connection.
  • a device 40 for wireless video display which may be a source device in a Miracast connection, or a Miracast connection.
  • the device 40 may include: a scanning unit 401, a capturing unit 402, an obtaining unit 403, and a connection control unit 404, where
  • the scanning unit 401 is configured to scan the peer device by the short-range communication technology, and after scanning to the peer device by the short-range communication technology, triggering the capturing unit 402;
  • the capturing unit 402 is configured to capture the first operation action within a preset time period
  • the obtaining unit 403 is configured to perform a correspondence between the pre-stored operation action and the establishment of the connection instruction And acquiring a connection establishment instruction corresponding to the first operation action;
  • the connection control unit 404 is configured to establish a wireless video display connection with the peer device according to the establishment of the connection instruction.
  • the scanning unit 401 is further configured to acquire a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports the wireless video display connection;
  • the capture unit 402 is triggered when it is determined that the peer device supports the wireless video display connection according to the system identifier of the peer device.
  • connection control unit 404 is specifically configured to:
  • the authentication information and the wireless video display connection request are sent 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 is used to instruct the peer device to complete the connection with the local device according to the authentication information.
  • connection control unit 404 is specifically configured to: send the local device to the local device peer device by using a reverse control channel from the destination device to the source device.
  • the authentication information and the local device wireless video display connection request are specifically configured to: send the local device to the local device peer device by using a reverse control channel from the destination device to the source device.
  • the capturing unit 402 is further configured to capture a second operation action
  • the obtaining unit 403 is further configured to obtain a control instruction corresponding to the second operation action by searching a correspondence between the preset operation action and the control instruction;
  • connection control unit 404 is further configured to control a 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.
  • An embodiment of the present invention provides a device for wireless video display. After discovering a peer device by using a short-range communication technology, the process of establishing a Miracast connection is started by capturing a preset operation action, and the Miracast connection can be established without manual participation of the user. Simplifies the process of establishing a Miracast connection.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may employ hardware embodiments, software embodiments, or junctions. In the form of an embodiment of the software and hardware aspects. Moreover, the invention can 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.) including computer usable program code.
  • the embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of instructions, when executed, causing at least one processor to perform operations including:
  • connection establishment instruction Determining a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
  • the embodiment of the invention discloses a method and a device for wireless video display, which can scan a remote device by using a short-range communication function, and capture a first operation action within a preset time period; the local device is pre-stored according to the pre-stored Determining a correspondence between the operation action and the establishing the connection instruction, and determining a connection establishment instruction corresponding to the first operation action; the local device establishes a wireless video display connection with the peer device according to the establishing the connection instruction. This ensures that the Miracast connection can be established without the user's manual participation, simplifying the process of establishing a Miracast connection.

Abstract

Disclosed in embodiments of the present invention are a Miracast method and device, and computer readable storage medium. The method comprises: after scanning for and detecting, using a near-field communication function, a remote device, capturing, by a local device and in a preset period of time, a first operation action; determining, by the local device and according to a corresponding relationship between a pre-stored operation action and a connection establishing instruction, the connection establishing instruction corresponding to the first operation action; and establishing, by the local device and according to the connection establishing instruction, a Miracast connection with the remote device.

Description

一种无线视频显示的方法、设备及计算机可读存储介质Method, device and computer readable storage medium for wireless video display 技术领域Technical field
本发明涉及图像传输技术,尤其涉及一种无线视频显示的方法、设备及计算机可读存储介质。The present invention relates to image transmission technologies, and in particular, to a method, device, and computer readable storage medium for wireless video display.
背景技术Background technique
Miracast又称为无线视频显示(WI-FI Display,WIreless FIdelity Display)技术,是由WI-FI联盟制定的一种点到点的多媒体分享协议。原理是利用WIFI Direct建立的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 WIFI Direct to transmit the multimedia data of the source device to the destination device for playback display.
目前建立Miracast的连接过程一般包括以下操作过程:先开启Miracast功能,再搜索可连接的Wi-Fi Direct设备(即周围所有可见的支持Wi-Fi Direct功能的设备),再手动配对搜索到的Wi-Fi Direct显示设备,最后建立与Wi-Fi Direct显示设备的Miracast连接从而实现屏幕共享。从上述过程可知,现有技术建立Miracast连接的过程繁锁复杂,需要用户的手动参与,用户体验较低。Currently, the connection process for establishing Miracast generally includes the following operations: first open the Miracast function, then search for a connectable Wi-Fi Direct device (that is, all visible Wi-Fi Direct-enabled devices around), and then manually pair the searched Wis. -Fi Direct display device, and finally establish a Miracast connection with the Wi-Fi Direct display device for screen sharing. It can be seen from the above process that the process of establishing a Miracast connection in the prior art is complicated and complicated, requires manual participation by the user, and the user experience is low.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例期望提供一种无线视频显示的方法、设备及计算机可读存储介质,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。In order to solve the above technical problem, embodiments of the present invention are directed to a method, a device, and a computer readable storage medium for wireless video display, which can establish a Miracast connection without manual intervention by a user, and simplify the process of establishing a Miracast connection.
本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种无线视频显示的方法,所述方法包括: In a first aspect, an embodiment of the present invention provides a method for wireless video display, where the method includes:
本端设备通过近距离通信技术扫描到对端设备后,在预设的时间段内捕获第一操作动作;After the local device scans to the peer device through the short-range communication technology, the first operation action is captured within a preset time period;
所述本端设备根据预存的操作动作与建立连接指令之间的对应关系,获取所述第一操作动作对应的建立连接指令;The local device acquires a connection establishment instruction corresponding to the first operation action according to a correspondence between a pre-stored operation action and a connection establishment instruction;
所述本端设备根据所述建立连接指令与所述对端设备建立无线视频显示连接。The local device establishes a wireless video display connection with the peer device according to the establishing a connection instruction.
在上述方案中,所述本端设备通过近距离通信技术发现对端设备之后,在预设的时间段内捕获第一操作动作,具体包括:In the above solution, after the local device discovers the peer device by using the short-range communication technology, the first operation action is captured within a preset time period, and the specific device includes:
所述本端设备获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;The local device acquires a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports a wireless video display connection;
当所述本端设备根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述在预设的时间段内捕获第一操作动作。And when the local device determines that the peer device supports the wireless video display connection according to the system identifier of the peer device, triggering the capturing of the first operation action 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 establishment of the connection instruction, and specifically includes:
所述本端设备根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据鉴权信息完成与所述本端设备的无线视频显示连接。After the local device starts its own wireless video display connection function according to the establishing connection instruction, the local device sends an 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 foregoing solution, when the local device is the destination device, the local device sends the authentication information and the 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 obtains a correspondence between a preset operation action and a control instruction. Taking a control instruction corresponding to the second operation action;
所述本端设备按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The local device controls a 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 a second aspect, an embodiment of the present invention provides a device for wireless video display, where the device includes: a scanning unit, a capturing unit, an acquiring unit, and a connection control unit, where
所述扫描单元,用于通过近距离通信技术扫描对端设备,并且当通过近距离通信技术扫描到对端设备后,触发所述捕获单元;The scanning unit is configured to scan the peer device by using a short-range communication technology, and trigger the capturing unit after scanning to the peer device by the short-range communication technology;
所述捕获单元,用于在预设的时间段内捕获第一操作动作;The capturing unit is configured to capture a first operation action within a preset time period;
所述获取单元,用于根据预存的操作动作与建立连接指令之间的对应关系,获取所述第一操作动作对应的建立连接指令;The obtaining unit is configured to acquire a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
所述连接控制单元,用于根据所述建立连接指令与所述对端设备建立无线视频显示连接。The connection control unit is configured to establish a wireless video display connection with the peer device according to the establishing a connection instruction.
在上述方案中,所述扫描单元,还用于获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;以及,In the above solution, the scanning unit is further configured to acquire a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports a wireless video display connection;
根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述捕获单元。The capturing unit is triggered when the peer device supports the wireless video display connection according to the system identifier of the peer device.
在上述方案中,所述连接控制单元,具体用于:In the above solution, the connection control unit is specifically configured to:
根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据鉴权信息完成与所述本端设备的无线视频显示连接。And after the establishing the connection instruction to enable the wireless video display connection function, sending the authentication information and the wireless video display connection request to the peer device; the wireless video display connection request is used to indicate that the peer device is configured according to the The right information is completed and connected to the wireless video display of the local device.
在上述方案中,当所述本端设备为目的端设备时,所述连接控制单元,具体用于:通过反向控制通道向所述本端设备对端设备发送所述本端设备鉴权信息和所述本端设备无线视频显示连接请求。 In the foregoing 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 local device peer device by using a reverse control channel. And the local device wireless video display connection request.
在上述方案中,所述捕获单元,还用于捕获第二操作动作;In the above solution, the capturing unit is further configured to capture a second operation action;
所述获取单元,还用于通过查找预设的操作动作与控制指令之间的对应关系获取与所述第二操作动作对应的控制指令;The obtaining unit is further configured to acquire a control instruction corresponding to the second operation action by searching a correspondence between a preset operation action and a control instruction;
所述连接控制单元,还用于按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The connection control unit is further configured to control a 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.
本发明实施例还提供了一种计算机可读存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行包括以下的操作:The embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of instructions, when executed, causing at least one processor to perform operations including:
通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;Scanning to the peer device by using the short-range communication function, capturing the first operation action within a preset time period;
根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;Determining a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
根据所述建立连接指令,与所述对端设备建立无线视频显示连接。Establishing a wireless video display connection with the peer device according to the establishing a connection instruction.
本发明实施例提供了一种无线视频显示的方法和设备,利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。The embodiment of the invention provides a method and a device for displaying a wireless video. After discovering the peer device by using the short-range communication technology, the process of establishing the Miracast connection is started by capturing a preset operation action, and the Miracast can be established without manual participation of the user. The connection simplifies the process of establishing a Miracast connection.
附图说明DRAWINGS
图1为本发明实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种无线视频显示的方法流程示意图;2 is a schematic flowchart of a method for displaying a wireless video according to an embodiment of the present invention;
图3为本发明实施例提供的对两个设备之间的Miracast连接状态进行控制的流程示意图;FIG. 3 is a schematic flowchart of controlling a connection state of a Miracast between two devices according to an embodiment of the present invention;
图4为本发明实施例提供的一种无线视频显示的设备结构示意图。FIG. 4 is a schematic structural diagram of a device for wireless video display according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述。The technical solution in the embodiment of the present invention will be further described below with reference to the accompanying drawings in the embodiments of the present invention. Clearly and completely described.
参见图1,其示出了本发明实施例提供的一种应用场景示意,本发明实施例中,以无线视频显示是Miracast为例进行说明,可以理解地,其他无线视频显示也可以应用本发明实施例的技术方案,在此不再赘述。源端10和目的端20之间的Miracast连接实现屏幕共享;其中,进行影像传输的设备称之为源端设备,接收被传输的影像的设备称之为目的端设备。在该示例性场景中,源端10为支持Miracast功能的智能手机、平板电脑、笔记本电脑等;目的端20可以为支持Miracast功能的电视、投影设备等,本发明实施例中对此不做具体地限定。可以理解地,该应用场景仅用于对本发明实施例提供的技术方案进行说明,并不对本发明实施例进行任何限定。FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention. In the embodiment of the present invention, a wireless video display is a Miracast as an example. It can be understood that other wireless video displays can also be applied to the present invention. The technical solutions of the embodiments are not described herein again. The Miracast connection between the source end 10 and the destination end 20 implements screen sharing; wherein the device for performing image transmission is referred to as a source device, and the device for receiving the transmitted image is referred to as a destination device. In the exemplary scenario, the source end 10 is a smart phone, a tablet computer, a notebook computer, and the like that support the Miracast function; the destination end 20 may be a TV, a projection device, or the like that supports the Miracast function, which is not specifically described in the embodiment of the present invention. Limited. It is to be understood that the application scenario is only used to describe the technical solutions provided by the embodiments of the present invention, and is not limited to the embodiments of the present invention.
参见图2,其示出了本发明实施例提供的一种无线视频显示的方法流程,该方法可以应用于Miracast连接中任一端设备,在本发明实施例中称之为本端,与本端进行Miracast连接的另一端称之为对端,可以理解地,本端设备既可以是Miracast连接中的源端设备,也可以是Miracast连接中的目的端设备,后续不再赘述,该方法可以包括:Referring to FIG. 2, it is a flowchart of a method for wireless video display according to an embodiment of the present invention. The method may be applied to any device in a Miracast connection. The other end of the Miracast connection is called the peer 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. :
S201:本端设备通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;S201: the local device scans the peer device by using the short-range communication function, and captures the first operation action within a preset time period;
示例性地,近距离通信功能可以包括基于以下任一种技术:近场通信(NFC,Near Field Communication)、蓝牙技术、红外线技术及WIFI直连(WIFI Direct)技术等。Illustratively, the short-range communication function may include any one of the following technologies: Near Field Communication (NFC), Bluetooth technology, infrared technology, and WIFI Direct technology.
在本实施例中,本端设备除了通过近距离通信技术扫描到对端设备以外,还可以包括:In this embodiment, the local device may include: in addition to scanning to the peer device by the short-range communication technology, the local device may include:
本端设备获取对端设备的系统识别符;其中,该系统识别符用于指示对端设备是否支持Miracast连接;具体可以通过一个预设的密码信息来实现。 The local device obtains the system identifier of the peer device. The system identifier is used to indicate whether the peer device supports the Miracast connection. The specific device can be implemented by using 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, triggering the capturing of the first operation action within a preset time period.
示例性地,当本端设备为移动终端设备时,本端设备所获取到的操作动作可以包括不同形式的触屏操作,也可以包括不同的操作手势;当本端设备为投影设备或者大尺寸电视设备等时,则可以通过本端设备中体感装置(Motion Sensor)来获取用户不同的姿态动作。Illustratively, 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 operation gestures; when the local device is a projection device or a large size When a television device or the like is used, the motion sensor of the local device can be used to acquire different posture actions of the user.
需要说明的是,本端设备在预设的时间段内没有捕获到第一操作动作时,则停止捕获第一操作动作,此时,两个设备之间重新进行发现之后再开启第一操作动作的捕获过程。It should be noted that, when the local device does not capture the first operation action within a preset time period, the first operation action is stopped, and then the first operation action is restarted after the two devices re-discover between the two devices. Capture process.
S202:本端设备根据预存的操作动作与建立连接指令之间的对应关系,获取第一操作动作对应的建立连接指令;S202: The local device acquires a connection establishment instruction corresponding to the first operation action according to the correspondence between the pre-stored operation action and the establishment of the connection instruction.
示例性地,建立连接指令用于建立本端设备与对端设备之间Miracast连接;具体可以通过预先对建立连接指令设置对应的操作动作进行实现。Exemplarily, the connection instruction is used to establish a Miracast connection between the local device and the peer device; specifically, the corresponding operation action may be set by setting a connection instruction in advance.
具体地,在本实施例中,与建立连接指令对应的操作动作可以是在本端设备的触屏上进行“S”型滑动;那么,当步骤S201中,本端设备获取到的第一操作动作为用户在其触屏上进行“S”型滑动时,可以通过步骤S202的获取得到建立连接指令。Specifically, in this embodiment, the operation action corresponding to the establishment of the connection instruction may be an "S" type sliding on the touch screen of the local device; then, in step S201, the first operation acquired by the local device When the user performs an "S" type slide on the touch screen, the connection establishment instruction can be obtained by the acquisition of step S202.
S203:本端设备根据建立连接指令与对端设备建立Miracast连接。S203: The local device establishes a Miracast connection with the peer device according to the establishment of the connection instruction.
示例性地,本端设备根据建立连接指令与对端设备建立Miracast连接,具体可以包括:Illustratively, the local device establishes a Miracast connection with the peer device according to the establishment of the connection instruction, and specifically includes:
本端设备根据建立连接指令开启自身的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, the local device sends the authentication information and the 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 establish the TCP/IP connection of the WiFi required for the Miracast connection and the point-to-point connection of the WiFi according to the standard process of WiFi and Miracast. Connect to RTSP.
需要说明的是,两个设备之间建立Miracast连接的具体过程以及连接建立之后的无线视频显示过程均为本领域技术人员的常规技术手段,在此不再赘述。可以理解地,当本端设备为目的端设备时,本端设备可以通过从目的端设备到源端设备方向的反向控制通道向对端设备发送鉴权信息和Miracast连接请求。It should be noted that the specific process of establishing a Miracast connection between the two devices and the wireless video display process after the connection is established are all conventional technical means of those skilled in the art, and are not described herein again. It can be understood that when the local device is the destination device, the local device can send the authentication information and the Miracast connection request to the peer device through the reverse control channel from the destination device to the source device.
上述步骤S201至步骤S203实现了本端设备与对端设备之间建立Miracast连接的具体过程,该过程利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,从而无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。而在Miracast连接建立完成之后,仍然可以通过捕获预设的操作动作来对两个设备之间的Miracast连接状态进行控制,因此,参见图3,本方法还可以包括:The foregoing steps S201 to S203 implement a specific process of establishing a Miracast connection between the local device and the peer device. After the peer device is discovered by using the short-range communication technology, the establishment of the Miracast connection is started by capturing a preset operation action. The process, which allows for the creation of a Miracast connection without the need for manual user involvement, simplifies the process of establishing a Miracast connection. After the connection of the Miracast connection is established, the status of the Miracast connection between the two devices can still be controlled by capturing a preset operation action. Therefore, referring to FIG. 3, the method may further include:
S301:本端设备捕获第二操作动作;S301: The local device captures a second operation action.
S302:本端设备通过查找预设的操作动作与控制指令之间的对应关系获取得到与第二操作动作对应的控制指令;S302: The local device acquires a control instruction corresponding to the second operation action by searching a corresponding relationship between the preset operation action and the control instruction.
其中,控制指令可以用于控制本端设备与对端设备之间的Miracast连接的状态,例如,关闭本端设备与对端设备之间Miracast连接、暂停本端设备与对端设备之间Miracast连接,重新建立本端设备与对端设备之间Miracast连接等。The control command can be used to control the status of the Miracast connection between the local device and the peer device. For example, the Miracast connection between the local device and the peer device is disabled, and the Miracast connection between the local device and the peer device is suspended. , re-establish the Miracast connection between the local device and the peer device.
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连接的状态进行控制。 It can be understood that when the local device is the destination device, the source device can interact with the source device through the reverse control channel of the source device to implement the Miracast connection between the local device and the peer device. The status is controlled.
具体地,以本端设备为具有体感装置的目的端设备为例,预设设置与“关闭本端设备与对端设备之间Miracast连接”对应的操作动作是用户的挥手的姿态动作;当本端设备与对端设备处于Miracast连接时,获取到用户的挥手的姿态动作,本端设备可以根据预设的操作动作与控制指令之间的对应关系得到用户的挥手的姿态动作对应于“关闭本端设备与对端设备之间Miracast连接”,此时,本端设备可以通过反向通道向对端设备发送关闭Miracast连接请求,从而关闭本端设备与对端设备之间Miracast连接,具体的关闭Miracast连接的过程可以按照WiFi和Miracast标准流程进行实现,本发明实施例对此不再赘述。Specifically, taking the local device as the destination device with the somatosensory device as an example, the preset action and the operation action corresponding to “turn off the Miracast connection between the local device and the peer device” is the gesture action of the user; When the end device and the peer device are connected to the Miracast, the user's wave gesture is obtained, and the local device can obtain the user's wave gesture according to the corresponding relationship between the preset operation action and the control command. The Miracast connection between the end device and the peer device. In this case, the local device can send a close Miracast connection request to the peer device through the reverse channel, thereby closing the Miracast connection between the local device and the peer device. The process of the connection of the Miracast can be implemented according to the standard process of the WiFi and the Miracast, which will not be described in detail in the embodiment of the present invention.
上述步骤S301至步骤S303实现了本端设备与对端设备之间建立完成Miracast连接之后,对Miracast连接的状态进行控制的过程,进行控制的过程仅需要用户进行手势操作就能够实现,无需对设备进行按键操作,简化了对Miracast连接的状态进行控制的过程。The foregoing steps S301 to S303 implement a process of controlling the state of the Miracast connection after the establishment of the Miracast connection between the local device and the peer device, and the process of controlling only needs the gesture operation of the user, and the device is not needed. The button operation simplifies the process of controlling the state of the Miracast connection.
本发明实施例提供了一种无线视频显示的方法,利用近距离通信技术发现对端设备之后,通过捕获预设的操作动作来启动Miracast连接的建立过程,无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。An embodiment of the present invention provides a method for wireless video display. After discovering a peer device by using a short-range communication technology, the process of establishing a Miracast connection is started by capturing a preset operation action, and the Miracast connection can be established without manual participation of the user. Simplifies the process of establishing a Miracast connection.
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的一种无线视频显示的设备40,该设备既可以是Miracast连接中的源端设备,也可以是Miracast连接中的目的端设备,该设备40可以包括:扫描单元401、捕获单元402、获取单元403和连接控制单元404,其中,Based on the same technical concept of the foregoing embodiment, referring to FIG. 4, a device 40 for wireless video display according to an embodiment of the present invention is shown, which may be 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 capturing unit 402, an obtaining unit 403, and a connection control unit 404, where
扫描单元401,用于通过近距离通信技术扫描对端设备,并且当通过近距离通信技术扫描到对端设备后,触发捕获单元402;The scanning unit 401 is configured to scan the peer device by the short-range communication technology, and after scanning to the peer device by the short-range communication technology, triggering the capturing unit 402;
捕获单元402,用于在预设的时间段内捕获第一操作动作;The capturing unit 402 is configured to capture the first operation action within a preset time period;
获取单元403,用于根据预存的操作动作与建立连接指令之间的对应关 系,获取第一操作动作对应的建立连接指令;The obtaining unit 403 is configured to perform a correspondence between the pre-stored operation action and the establishment of the connection instruction And acquiring a connection establishment instruction corresponding to the first operation action;
连接控制单元404,用于根据建立连接指令与对端设备建立无线视频显示连接。The connection control unit 404 is configured to establish a wireless video display connection with the peer device according to the establishment of the connection instruction.
在上述方案中,扫描单元401,还用于获取对端设备的系统识别符;其中,系统识别符用于指示对端设备是否支持无线视频显示连接;以及,In the above solution, the scanning unit 401 is further configured to acquire a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports the wireless video display connection;
根据对端设备的系统识别符确定对端设备支持无线视频显示连接时,触发捕获单元402。The capture unit 402 is triggered when it is determined that the peer device supports the wireless video display connection according to the system identifier of the peer device.
在上述方案中,连接控制单元404,具体用于:In the above solution, the connection control unit 404 is specifically configured to:
根据建立连接指令开启自身的无线视频显示连接功能之后,向对端设备发送鉴权信息和无线视频显示连接请求;无线视频显示连接请求用于指示对端设备根据鉴权信息完成与本端设备的无线视频显示连接。After the connection of the wireless video display connection function is started according to the establishment of the connection instruction, the authentication information and the wireless video display connection request are sent 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 foregoing solution, when the local device is the destination device, the connection control unit 404 is specifically configured to: send the local device to the local device peer device by using a reverse control channel from the destination device to the source device. The authentication information and the local device wireless video display connection request.
在上述方案中,捕获单元402,还用于捕获第二操作动作;In the above solution, the capturing unit 402 is further configured to capture a second operation action;
获取单元403,还用于通过查找预设的操作动作与控制指令之间的对应关系获取与第二操作动作对应的控制指令;The obtaining unit 403 is further configured to obtain a control instruction corresponding to the second operation action by searching a correspondence between the preset operation action and the control instruction;
连接控制单元404,还用于按照第二操作动作对应的控制指令对本端设备与对端设备之间的无线视频显示连接的状态进行控制。The connection control unit 404 is further configured to control a 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连接的过程。An embodiment of the present invention provides a device for wireless video display. After discovering a peer device by using a short-range communication technology, the process of establishing a Miracast connection is started by capturing a preset operation action, and the Miracast connection can be established without manual participation of the user. Simplifies the process of establishing a Miracast connection.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结 合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may employ hardware embodiments, software embodiments, or junctions. In the form of an embodiment of the software and hardware aspects. Moreover, the invention can 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.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
本发明实施例还提供了一种计算机可读存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行包括以下的操作:The embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of instructions, when executed, causing at least one processor to perform operations including:
通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;Scanning to the peer device by using the short-range communication function, capturing the first operation action within a preset time period;
根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;Determining a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
根据所述建立连接指令,与所述对端设备建立无线视频显示连接。Establishing a wireless video display connection with the peer device according to the establishing a connection instruction.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例公开了一种无线视频显示的方法和设备,能够通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;所述本端设备根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;所述本端设备根据所述建立连接指令,与所述对端设备建立无线视频显示连接。如此,保证了无需用户手动参与就能够建立Miracast连接,简化了建立Miracast连接的过程。 The embodiment of the invention discloses a method and a device for wireless video display, which can scan a remote device by using a short-range communication function, and capture a first operation action within a preset time period; the local device is pre-stored according to the pre-stored Determining a correspondence between the operation action and the establishing the connection instruction, and determining a connection establishment instruction corresponding to the first operation action; the local device establishes a wireless video display connection with the peer device according to the establishing the connection instruction. This ensures that the Miracast connection can be established without the user's manual participation, simplifying the process of establishing a Miracast connection.

Claims (11)

  1. 一种无线视频显示的方法,所述方法包括:A method of wireless video display, the method comprising:
    本端设备通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;The local device scans the peer device by using the short-range communication function, and captures the first operation action within a preset time period;
    所述本端设备根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;Determining, by the local device, a connection establishment instruction corresponding to the first operation action according to a correspondence between a pre-stored operation action and a connection establishment instruction;
    所述本端设备根据所述建立连接指令,与所述对端设备建立无线视频显示连接。The local device establishes a wireless video display connection with the peer device according to the establishing a connection instruction.
  2. 根据权利要求1所述的方法,其中,所述本端设备通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作,包括:The method according to claim 1, wherein the local device scans the peer device by using a short-range communication function, and captures the first operation action for a preset period of time, including:
    所述本端设备获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;The local device acquires a system identifier of the peer device, where the system identifier is used to indicate whether the peer device supports a wireless video display connection;
    当所述本端设备根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述在预设的时间段内捕获第一操作动作。And when the local device determines that the peer device supports the wireless video display connection according to the system identifier of the peer device, triggering the capturing of the first operation action within a preset time period.
  3. 根据权利要求1所述的方法,其中,所述本端设备根据建立连接指令与对端设备建立无线视频显示连接,具体包括:The method of claim 1, wherein the local device establishes a wireless video display connection with the peer device according to the establishing connection instruction, and specifically includes:
    所述本端设备根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据所述鉴权信息建立与所述本端设备的无线视频显示连接。After the local device starts its own wireless video display connection function according to the establishing connection instruction, the local device sends an 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 establishes a wireless video display connection with the local device according to the authentication information.
  4. 根据权利要求3所述的方法,其中,所述本端设备向所述对端设备发送鉴权信息和无线视频显示连接请求,包括:The method of claim 3, wherein the local device sends the authentication information and the 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.
  5. 根据权利要求1所述的方法,其中,在无线视频显示连接建立完成 之后,所述方法还包括:The method of claim 1 wherein the wireless video display connection is established Thereafter, the method further includes:
    所述本端设备捕获第二操作动作;The local device captures a second operation action;
    所述本端设备通过查找预设的操作动作与控制指令之间的对应关系获取与所述第二操作动作对应的控制指令;The local device acquires a control instruction corresponding to the second operation action by searching a correspondence between a preset operation action and a control instruction;
    所述本端设备按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The local device controls a 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.
  6. 一种无线视频显示的设备,所述设备包括:扫描单元、捕获单元、获取单元和连接控制单元,其中,A device for wireless video display, the device comprising: a scanning unit, a capturing unit, an acquiring unit, and a connection control unit, wherein
    所述扫描单元,配置为通过采用近距离通信功能扫描到对端设备,触发所述捕获单元;The scanning unit is configured to trigger the capturing unit by scanning to a peer device by using a short-range communication function;
    所述捕获单元,配置为在预设的时间段内捕获第一操作动作;The capturing unit is configured to capture a first operation action within a preset time period;
    所述获取单元,配置为根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;The obtaining unit is configured to determine a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
    所述连接控制单元,配置为根据所述建立连接指令与所述对端设备建立无线视频显示连接。The connection control unit is configured to establish a wireless video display connection with the peer device according to the establishing a connection instruction.
  7. 根据权利要求6所述的设备,其中,所述扫描单元,配置为获取所述对端设备的系统识别符;其中,所述系统识别符用于指示所述对端设备是否支持无线视频显示连接;以及,The device according to claim 6, wherein the scanning unit is configured to acquire a system identifier of the peer device; wherein the system identifier is used to indicate whether the peer device supports a wireless video display connection ;as well as,
    根据所述对端设备的系统识别符确定所述对端设备支持无线视频显示连接时,触发所述捕获单元。The capturing unit is triggered when the peer device supports the wireless video display connection according to the system identifier of the peer device.
  8. 根据权利要求6所述的设备,其中,所述连接控制单元,配置为根据所述建立连接指令开启自身的无线视频显示连接功能之后,向所述对端设备发送鉴权信息和无线视频显示连接请求;所述无线视频显示连接请求用于指示所述对端设备根据鉴权信息完成与所述本端设备的无线视频显示连接。 The device according to claim 6, wherein the connection control unit is configured to send the authentication information and the wireless video display connection to the peer device after the wireless video display connection function is turned on according to the establishing the connection instruction. The wireless video display connection request is used to instruct the peer device to complete a wireless video display connection with the local device according to the authentication information.
  9. 根据权利要求8所述的方法,其中,当所述本端设备为目的端设备时,所述连接控制单元,配置为通过反向控制通道向所述本端设备对端设备发送所述本端设备鉴权信息和所述本端设备无线视频显示连接请求。The method according to claim 8, wherein, when the local device is a destination device, the connection control unit is configured to send the local end to the local device peer device through a reverse control channel. The device authentication information and the local device wireless video display connection request.
  10. 根据权利要求6所述的设备,其中,所述捕获单元,配置为捕获第二操作动作;The apparatus of claim 6, wherein the capturing unit is configured to capture a second operational action;
    相应的,所述获取单元,配置为通过查找预设的操作动作与控制指令之间的对应关系获取与所述第二操作动作对应的控制指令;Correspondingly, the acquiring unit is configured to acquire a control instruction corresponding to the second operation action by searching a correspondence between a preset operation action and a control instruction;
    所述连接控制单元,配置为按照所述第二操作动作对应的控制指令对所述本端设备与对端设备之间的无线视频显示连接的状态进行控制。The connection control unit is configured to control a 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.
  11. 一种计算机可读存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行包括以下的操作:A computer readable storage medium comprising a set of instructions that, when executed, cause at least one processor to perform operations comprising:
    通过采用近距离通信功能扫描到对端设备,在预设的时间段内捕获第一操作动作;Scanning to the peer device by using the short-range communication function, capturing the first operation action within a preset time period;
    根据预存的操作动作与建立连接指令之间的对应关系,确定所述第一操作动作对应的建立连接指令;Determining a connection establishment instruction corresponding to the first operation action according to a correspondence between the pre-stored operation action and the establishment of the connection instruction;
    根据所述建立连接指令,与所述对端设备建立无线视频显示连接。 Establishing a wireless video display connection with the peer device according to the establishing a connection instruction.
PCT/CN2015/086728 2015-06-01 2015-08-12 Miracast method and device, and computer readable storage medium WO2016192200A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510292852.7 2015-06-01
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
WO2016192200A1 true WO2016192200A1 (en) 2016-12-08

Family

ID=57439984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086728 WO2016192200A1 (en) 2015-06-01 2015-08-12 Miracast method and device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN106303676A (en)
WO (1) WO2016192200A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3787325A1 (en) * 2019-08-28 2021-03-03 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen mirroring

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798745A (en) * 2019-11-19 2020-02-14 深圳传音控股股份有限公司 Multimedia playing control method, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561117A (en) * 2013-11-20 2014-02-05 深圳市中兴移动通信有限公司 Screen sharing method and system, transmitting terminal and receiving terminal
US20140365611A1 (en) * 2013-06-07 2014-12-11 Qualcomm Incorporated Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
CN104244244A (en) * 2014-09-05 2014-12-24 联想(北京)有限公司 Data transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140365611A1 (en) * 2013-06-07 2014-12-11 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
CN104244244A (en) * 2014-09-05 2014-12-24 联想(北京)有限公司 Data transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3787325A1 (en) * 2019-08-28 2021-03-03 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen mirroring
US11023197B2 (en) 2019-08-28 2021-06-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for mirroring screen

Also Published As

Publication number Publication date
CN106303676A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
TWI536855B (en) Content sharing method and device
EP3057284B1 (en) Method and apparatus for binding or securing a device
US10021180B2 (en) Universal environment extender
US9473233B2 (en) Method and apparatus for transmitting data using relay device
US20140119234A1 (en) Electronic apparatus and control method of system
JP5586925B2 (en) Imaging apparatus, control method thereof, and program
WO2017110035A1 (en) Information processing method, program, and information processing system
KR101808773B1 (en) Method, device, system, program and recording medium for starting target function
JP2017512037A (en) Connection method, apparatus, program, and recording medium
WO2015184770A1 (en) Information processing method, system and terminal
KR102374855B1 (en) Communication apparatus, communication method, and storage medium
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN103984664A (en) Cloud space access method, device and system
WO2017008394A1 (en) Method of implementing download control procedure and device utilizing same
CN105578557A (en) Routing information transmission method and device
US9270656B2 (en) Communication device, communication method, computer program, and communication system
WO2016192200A1 (en) Miracast method and device, and computer readable storage medium
CN108632244B (en) Communication apparatus, communication system, communication method, and storage medium
JP2016127379A5 (en)
CN113794996A (en) Device communication method, device control method, device communication apparatus, electronic device, and storage medium
JP6157190B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
WO2018045882A1 (en) Method and system for controlling soft operational key of application of intelligent terminal
JP2015104098A (en) Radio communication system and radio communication method
JP2014143660A (en) Mobile terminal, display device, television receiver, and radio communication system
JP6391219B2 (en) 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: 15893856

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: 15893856

Country of ref document: EP

Kind code of ref document: A1