WO2014183547A1 - 投影方法和装置 - Google Patents

投影方法和装置 Download PDF

Info

Publication number
WO2014183547A1
WO2014183547A1 PCT/CN2014/076198 CN2014076198W WO2014183547A1 WO 2014183547 A1 WO2014183547 A1 WO 2014183547A1 CN 2014076198 W CN2014076198 W CN 2014076198W WO 2014183547 A1 WO2014183547 A1 WO 2014183547A1
Authority
WO
WIPO (PCT)
Prior art keywords
projection
local
application
projection device
connection
Prior art date
Application number
PCT/CN2014/076198
Other languages
English (en)
French (fr)
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 WO2014183547A1 publication Critical patent/WO2014183547A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3191Testing thereof
    • H04N9/3194Testing thereof including sensor feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Definitions

  • the present disclosure relates to the field of projection technologies, and in particular, to a projection method and apparatus. Background technique
  • the projection device can project content such as pictures or images on the mobile terminal onto the television.
  • content such as pictures or images on the mobile terminal onto the television.
  • the smartphone is connected to the smart set-top box
  • the pictures or images on the smartphone can be projected onto the TV through the smart set-top box.
  • a mobile terminal When a mobile terminal projects local content onto a television through a projection device, it usually requires the user to open the corresponding application and perform a series of operations to complete.
  • the mobile terminal is connected to the projection device, and the user opens the video player on the mobile terminal.
  • the interface of the video player is provided with a specific button for triggering playback. After the user clicks the button, the interface displays a menu, which includes “projecting the video. To the option of "projecting video” and “playing video locally", the user selects "project video to projection device" from the menu, thereby completing the projection of the video local to the mobile terminal to the television.
  • a mobile terminal A When a mobile terminal A has been connected to the projection device and is projecting to the television, if another mobile terminal B also projects to the television through the projection device, the mobile terminal B will steal the mobile terminal A for projection, at this time, if the mobile If terminal A wants to resume the projection, it still needs to perform a series of operations when the first projection is performed, that is, click the specific button for triggering the playback, and then select the option of "projecting the video to the projection device" in the menu displayed on the interface to recover.
  • the mobile terminal A projects onto the television.
  • embodiments of the present disclosure provide a projection method and apparatus to simplify the operation at the time of projection, which is more convenient to use.
  • the technical solution is as follows:
  • a projection method comprising:
  • the method when the setting gesture operation is detected, the method further includes:
  • the step of projecting the content of the local first application is directly performed.
  • establishing a connection with the projection device including: scanning a projection device in the same local area network through the underlying service;
  • the above steps perform scanning and sending connection requests through the underlying service, thereby realizing the local connection with the projection device, thereby providing a guarantee for projection.
  • the projecting the content of the local first application includes:
  • the monitoring the status of the projection includes:
  • the above method can be applied to various scenarios, including a scenario in which a disconnection indication message is received due to projection of other devices, a scenario interrupted due to projection of other local applications, and a disconnection between the local and the projection device, and the application is more flexible. , a wider range.
  • the setting gesture operation includes: a click operation, a sliding operation or a long press operation at any position on the interface of the first application; wherein the long press operation refers to a pressing operation exceeding a set time.
  • the method when it is detected that the state of the projection is interrupted, the method further comprises: displaying a button for triggering re-projection on an interface of the first application;
  • the setting gesture operation includes: a click operation on the button for triggering re-projection.
  • the setting gesture operation is not specifically limited, including but not limited to a click operation, a sliding operation, or a long-press operation, etc., and the user can easily perform the restoration of the projection of the first application by performing these conventional operations. Easy to operate and easy to implement.
  • a projection apparatus comprising:
  • a projection module configured to project content of the local first application
  • a first monitoring module configured to monitor a state of the projection
  • a second monitoring module configured to: when the first monitoring module detects that the state of the projection is interrupted, monitor a set gesture operation on an interface of the first application, when the set gesture operation is detected , triggering the projection module to resume operation.
  • the device further includes:
  • a judging module configured to determine, when the second monitoring module detects the setting gesture operation, whether the connection between the local device and the projection device is disconnected, and when the connection between the local device and the projection device is disconnected, The triggering connection establishing module performs an operation, and when the local connection with the projection device is not disconnected, notifying the second monitoring module to perform the triggering operation;
  • the connection establishing module is configured to establish a connection with the projection device, and notify the second monitoring module to perform the triggering operation.
  • a scanning unit configured to scan a projection device in the same local area network by using an underlying service
  • connection establishing unit configured to send a connection request to the projection device after the scanning unit scans to the projection device, and establish a connection with the projection device after obtaining the confirmation of the projection device.
  • An obtaining unit configured to acquire content of a local first application or a corresponding link thereof
  • a sending unit configured to send information acquired by the acquiring unit to a projection device
  • the projection device is configured to project the content of the local first application to the playback device according to the received information.
  • the first monitoring module includes:
  • the third monitoring unit is configured to monitor whether the connection between the local and the projection device is abnormally disconnected.
  • the above device can be applied to various scenarios, including a scenario in which a disconnection indication message is received due to projection of other devices, a scenario interrupted due to projection of other local applications, and a disconnection between the local and the projection device, and the application is more flexible. , a wider range.
  • the setting gesture operation includes: a click operation, a sliding operation or a long press operation at any position on the interface of the first application; wherein the long press operation refers to a pressing operation exceeding a set time.
  • the device further includes:
  • a display module configured to: when the first monitoring module detects that the state of the projection is interrupted, display a button for triggering re-projection on an interface of the first application;
  • the setting gesture operation includes: a click operation on the button for triggering re-projection.
  • the device does not specifically limit the setting gesture operation, including but not limited to a click operation, a sliding operation, or a long-press operation, etc., and the user can easily perform the restoration of the projection of the first application by performing these conventional operations. Simple and easy to implement.
  • the technical solution provided by the embodiment of the present disclosure may include the following effects: monitoring the state of the projection by projecting the content of the local first application; monitoring the interface of the first application when the state of the projection is monitored as being interrupted Setting a gesture operation; when the setting gesture operation is monitored, performing the step of projecting the content of the local first application, realizing rapid projection, and the user only needs to perform the setting gesture operation when performing projection after interruption It does not need to perform a series of operations such as clicking the menu and then selecting options, which greatly simplifies the user's operation and is more convenient to use.
  • FIG. 1 is a flow chart showing a projection method according to an exemplary embodiment.
  • FIG. 2 is a flow chart showing a projection method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a projection method according to an exemplary embodiment.
  • FIG. 4 is a flowchart of a projection method according to an exemplary embodiment.
  • FIG. 5 is a structural diagram of a projection apparatus according to an exemplary embodiment
  • FIG. 6 is a second structural diagram of a projection apparatus according to an exemplary embodiment
  • the local and the projection device are currently powered on, and the local underlying service scans whether there is a projection device in the same local area network, and if so, sends an initial connection request to the underlying service of the projection device, where the request carries information about the local device, such as a device.
  • the underlying service of the projection device saves the relevant information of the local device and returns the confirmation to the local underlying service.
  • the local underlying service establishes a connection with the underlying service of the projection device.
  • the first application may be any one of the applications, including but not limited to: a video playing application, a picture browsing application, a slideshow application, and the like, which are not specifically limited in the embodiment of the present disclosure.
  • the projection device refers to a device that can be connected to an electronic device and project content on the electronic device onto the playback device.
  • the electronic device can be a mobile terminal such as a cell phone, a tablet, or the like.
  • the playback device is such as a television or the like.
  • the step of projecting the content of the local first application is directly performed.
  • establishing a connection with the projection device includes: scanning, by the underlying service, a projection device in the same local area network;
  • the monitoring the status of the projection includes: monitoring whether an indication message that the local connection with the projection device is disconnected is received; Or,
  • the setting gesture operation includes: a click operation, a sliding operation, or a long press operation at any position on the interface of the first application, where
  • the long press operation refers to a pressing operation exceeding a set duration.
  • the direction of the sliding operation may be any direction, and the implementation of the present disclosure The example is not limited, such as sliding to the left, sliding to the right, sliding up, sliding down, and the like.
  • the set duration of the long press operation is also not limited, such as 300 ms, 500 ms, 800 ms or Is, and the like.
  • the method further includes: displaying, on the interface of the first application, a trigger for restarting Projected button; the set gesture operation includes: a click operation on the button for triggering re-projection.
  • the method provided in this embodiment monitors the state of the projection by projecting the content of the local first application; and monitors the setting gesture operation on the interface of the first application when the state of the projection is detected to be interrupted;
  • the setting gesture operation is performed, the step of projecting the content of the local first application is performed, and the fast projection is realized, and when the projection is performed after the interruption, the user only needs to perform the setting gesture operation without performing the click menu and then selecting the option.
  • a series of operations greatly simplifies the user's operation and is more convenient to use.
  • this embodiment provides a projection method, including:
  • the projection device is configured to project the content of the local first application to the playback device according to the received information.
  • this step before the content of the first application or its corresponding link is sent, there is also a process of establishing a connection with the projection device locally, which may be as follows:
  • the local and the projection device are currently powered on, and the local underlying service scans whether there is a projection device in the same local area network, and if so, sends an initial connection request to the underlying service of the projection device, where the request carries information about the local device, such as a device.
  • the underlying service of the projection device saves the relevant information of the local device and returns the confirmation to the local underlying service.
  • the local underlying service establishes a connection with the underlying service of the projection device.
  • the first application may be any one of the applications, including but not limited to: a video playing application, a picture browsing application, a slideshow application, and the like, which are not specifically limited in the embodiment of the present disclosure.
  • the projection device refers to a device that can be connected to an electronic device and project content on the electronic device onto the playback device.
  • the electronic device can be a mobile terminal such as a cell phone, a tablet, or the like.
  • the playback device is such as a television or the like.
  • step 201 if the content of the local first application is projected in step 201 as the first projection of the first application, the user still needs to perform operations such as clicking a menu on the application interface and selecting an option in the menu. Too much explanation.
  • monitoring the state of the projection may include any one of the following:
  • establishing a connection with the projection device may include the following steps:
  • the setting gesture operation includes, but is not limited to: a click operation, a sliding operation, or a long press operation at any position on the interface of the first application; wherein the long press operation refers to exceeding the setting Timed long press operation.
  • the direction of the sliding operation may be any direction, and the embodiment of the present disclosure is not limited, such as sliding to the left, sliding to the right, sliding upward, sliding downward, and the like.
  • the set duration of the long press operation is also not limited, such as 300 ms, 500 ms, 800 ms or Is, and the like.
  • the method provided in this embodiment monitors the state of the projection by projecting the content of the local first application; and monitors the setting gesture operation on the interface of the first application when the state of the projection is detected to be interrupted;
  • the setting gesture operation is performed, the step of projecting the content of the local first application is performed, and the fast projection is realized, and when the projection is performed after the interruption, the user only needs to perform the setting gesture operation without performing the click menu and then selecting the option.
  • a series of operations greatly simplifies the user's operation and is more convenient to use.
  • connection between the local and the projection device it is determined whether the connection between the local and the projection device has been disconnected.
  • disconnection the connection is first established and the content of the local first application or the corresponding link is sent, thereby ensuring local and localization regardless of the interruption. Whether the connection of the projection device exists or not can be successfully projected.
  • the bottom layer service scans and sends a connection request, and the local connection with the projection device is re-established, thereby providing a guarantee for projection.
  • this embodiment provides a projection method for switching projections between different mobile terminals.
  • the method includes:
  • the process of establishing a connection between the first mobile terminal and the projection device may be as follows:
  • the first mobile terminal and the projection device are currently in a power-on state, and the underlying service of the first mobile terminal scans whether there is a projection device in the same local area network, and if so, sends an initial connection request to the scanned underlying service of the projection device, the request Carrying relevant information of the first mobile terminal, such as a device identifier, etc., after receiving the request, the underlying service of the projection device saves related information of the first mobile terminal and returns an underlying service confirmed to the first mobile terminal, the first mobile terminal After receiving the confirmation, the underlying service establishes a connection with the underlying service of the projection device.
  • the first mobile terminal monitors a state of the projection of the first application
  • the second mobile terminal establishes a connection with the projection device, and projects the content of the local second application.
  • the content of the local second application is projected, including:
  • the projection currently performed by the projection device is the content of the second application of the second mobile terminal, thereby causing the projection of the first mobile terminal to be interrupted.
  • the first mobile terminal, the second mobile terminal, and the projection device are all located in the same local area network.
  • the process of establishing a connection between the second mobile terminal and the projection device is the same as the process of establishing a connection between the first mobile terminal and the projection device, and details are not described herein.
  • the first application or the second application may be any one of the applications, including but not limited to: a video playing application, a picture browsing application, a slide show application, and the like, which are not specifically limited in the embodiment of the present disclosure.
  • the projection device refers to a device that can be connected to an electronic device and project content on the electronic device onto the playback device.
  • the electronic device can be a mobile terminal such as a cell phone, a tablet, or the like.
  • the playback device is such as a television or the like.
  • monitoring when the first mobile terminal detects that the state of the projection of the first application is interrupted, monitoring a set gesture operation on the interface of the first application;
  • the projection of the first mobile terminal when the projection of the first mobile terminal is interrupted, there are two cases in the connection between the first mobile terminal and the projection device.
  • the first case the first mobile terminal remains connected to the projection device, but the projection is interrupted;
  • the second case is that the connection of the first mobile terminal to the projection device has been disconnected, and the projection is also interrupted.
  • the setting gesture operation includes, but is not limited to: a click operation, a sliding operation, or a long press operation at any position on the interface of the first application; wherein the long press operation refers to exceeding the setting Timed long press operation.
  • the direction of the sliding operation may be any direction, and the embodiment of the present disclosure is not limited, such as sliding to the left and sliding to the right. Move, slide up, slide down, and more.
  • the set duration of the long press operation is also not limited, such as 300 ms, 500 ms, 800 ms or Is, and the like.
  • this step can include the following steps:
  • the step of projecting the content of the local first application is directly performed.
  • the user when the first application of the first mobile terminal is projected to the projection device for the first time, or when the second application of the second mobile terminal is projected to the projection device for the first time, the user needs to click a menu on the application interface. And select options in the menu, etc., do not explain too much here.
  • the video playing application of the mobile terminal A projects to the projection device
  • the picture browsing application of the mobile terminal B also projects to the projection device, and steals the projection of the mobile terminal A
  • the mobile terminal A monitors the interface of the video playing application.
  • the gesture operation is performed, and after the setting gesture operation is monitored, the content of the video playing application of the mobile terminal A is re-projected, thereby realizing rapid projection, and the user is prevented from performing a series of operations on the video playing application of the mobile terminal A to resume the projection. , simplifying user operations.
  • the method provided in this embodiment monitors the state of the projection by projecting the content of the local first application; and monitors the setting gesture operation on the interface of the first application when the state of the projection is detected to be interrupted;
  • the setting gesture operation is performed, the step of projecting the content of the local first application is performed, and the fast projection is realized, and when the projection is performed after the interruption, the user only needs to perform the setting gesture operation without performing the click menu and then selecting the option.
  • a series of operations greatly simplifies the user's operation and is more convenient to use.
  • connection between the local and the projection device it is determined whether the connection between the local and the projection device has been disconnected.
  • disconnection the connection is first established and the content of the local first application or the corresponding link is sent, thereby ensuring local and localization regardless of the interruption. Whether the connection of the projection device exists or not can be successfully projected.
  • the bottom layer service scans and sends a connection request, and the local connection with the projection device is re-established, thereby providing a guarantee for projection.
  • the above method can be applied to various scenarios, including a scenario in which a disconnection indication message is received due to projection of other devices, a scenario interrupted due to projection of other local applications, and a disconnection between the local and the projection device, and the application is more flexible. , a wider range.
  • the setting gesture operation is not specifically limited in the above method, including but not limited to a point. By clicking on the operation, sliding operation, or long-press operation, the user can easily perform the restoration of the projection of the first application by simply performing these conventional operations, and the operation is simple and easy to implement.
  • Example 4
  • the content of the local first application is projected, including:
  • the projection device Transmitting the content of the local first application or its corresponding link to the projection device, wherein the projection device is configured to project the content of the local first application to the playback device according to the received information.
  • the method provided in this embodiment monitors the state of the projection by projecting the content of the local first application; and monitors the setting gesture operation on the interface of the first application when the state of the projection is detected to be interrupted;
  • the setting gesture operation is performed, the step of projecting the content of the local first application is performed, and the fast projection is realized, and when the projection is performed after the interruption, the user only needs to perform the setting gesture operation without performing the click menu and then selecting the option.
  • a series of operations greatly simplifies the user's operation and is more convenient to use.
  • connection between the local and the projection device it is determined whether the connection between the local and the projection device has been disconnected.
  • disconnection the connection is first established and the content of the local first application or the corresponding link is sent, thereby ensuring local and localization regardless of the interruption. Whether the connection of the projection device exists or not can be successfully projected.
  • the bottom layer service scans and sends a connection request, and the local connection with the projection device is re-established, thereby providing a guarantee for projection.
  • the above method can be applied to various scenarios, including a scenario in which a disconnection indication message is received due to projection of other devices, a scenario interrupted due to projection of other local applications, and a disconnection between the local and the projection device, and the application is more flexible. , a wider range.
  • the setting gesture operation is not specifically limited, including but not limited to a click operation, a sliding operation, or a long-press operation, etc., and the user can perform the restoration of the projection of the first application simply by performing these conventional operations. Easy to operate and easy to implement.
  • the embodiment provides a projection apparatus, including:
  • a projection module 501 configured to project content of the local first application
  • a first monitoring module 502 configured to monitor a status of the projection
  • the second monitoring module 503 is configured to monitor a set gesture operation on the interface of the first application when the first monitoring module 502 detects that the state of the projection is interrupted, when the set gesture operation is monitored , triggering the projection module 501 to resume operation.
  • the projection module 501 includes:
  • the obtaining unit 501a is configured to acquire content of the local first application or a corresponding link thereof;
  • the sending unit 501b is configured to send the information acquired by the obtaining unit 501a to the projection device; wherein the projection device is configured to project the content of the local first application to the playback device according to the received information.
  • the first monitoring module 502 includes:
  • the foregoing apparatus provided in this embodiment may perform the method provided in any one of the foregoing method embodiments.
  • the device may be applied to a mobile terminal, which is not limited in this embodiment of the disclosure.
  • the device provided in this embodiment monitors the state of the projection by projecting the content of the local first application; and monitors the set gesture operation on the interface of the first application when the state of the projection is monitored as being interrupted;
  • the gesture operation is set, the projection module is triggered to resume the operation, and the fast projection is realized, and the user only needs to perform the set gesture operation when performing the projection after the interruption, without performing a series of operations such as clicking the menu and then selecting the option,
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本公开提供了一种投影方法和装置,属于投影技术领域。所述方法包括:投影本地第一应用的内容;监测所述投影的状态;当监测到所述投影的状态为中断时,监测所述第一应用的界面上的设定手势操作;当监测到所述设定手势操作时,执行所述投影本地第一应用的内容的步骤。所述装置包括:投影模块、第一监测模块和第二监测模块。本公开实现了快速投影,简化了用户的操作,使用更方便。

Description

投影方法和装置 本申请基于申请号为 201310178545.7、 申请日为 2013年 5月 15日的中国专利申请提 出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参 考。 技术领域
本公开涉及投影技术领域, 特别涉及一种投影方法和装置。 背景技术
目前, 移动终端在连接投影设备后, 可以通过该投影设备将移动终端上的图片或影像 等内容投影至电视上。 例如, 智能手机连接智能机顶盒之后, 可以通过智能机顶盒将智能 手机上的图片或影像投影至电视上观看。
当移动终端通过投影设备向电视上投影本地内容时,通常需要用户打开相应的应用并 执行一系列操作才能完成。 例如, 移动终端连接投影设备, 用户在该移动终端上打开视频 播放器, 视频播放器的界面上设置有触发播放的特定按钮, 用户点击该按钮之后, 界面显 示一个菜单, 其中包括 "将视频投影至投影设备"和 "在本地播放视频"的选项, 用户从 该菜单中选择 "将视频投影至投影设备", 从而完成将移动终端本地的视频投影至电视上 播放。
当一个移动终端 A已经与投影设备连接且正在向电视投影时,如果另一个移动终端 B 也通过该投影设备向电视投影, 则该移动终端 B会抢断移动终端 A进行投影, 此时, 如 果移动终端 A想要恢复投影,则仍然需要执行首次投影时的一系列操作, 即点击用于触发 播放的特定按钮, 然后在界面显示的菜单中选择 "将视频投影至投影设备"的选项, 才能 恢复移动终端 A向电视投影。
因此, 移动终端将本地内容通过投影设备投影至电视时, 用户必须每次都执行一系列 的操作才能实现, 操作比较繁琐, 使用不方便。 发明内容
有鉴于此, 本公开实施例提供了一种投影方法及装置, 以简化投影时的操作, 使用更 方便。 所述技术方案如下:
根据本公开实施例的第一方面, 提供一种投影方法, 所述方法包括:
投影本地第一应用的内容;
监测所述投影的状态;
当监测到所述投影的状态为中断时, 监测所述第一应用的界面上的设定手势操作; 当监测到所述设定手势操作时, 执行所述投影本地第一应用的内容的步骤。
在一个实施例中, 当监测到所述设定手势操作时, 所述方法还包括:
判断本地与所述投影设备的连接是否已断开;
如果本地与所述投影设备的连接已断开, 则先与所述投影设备建立连接, 然后再执行 投影本地第一应用的内容的步骤;
如果本地与所述投影设备的连接未断开, 则直接执行投影本地第一应用的内容的步 骤。
通过上述步骤,可以保证在所述投影被中断后,无论本地与投影设备的连接是否存在, 都能够成功进行本地第一应用的内容的投影。
其中, 与所述投影设备建立连接, 包括- 通过底层服务扫描同一局域网中的投影设备;
扫描到所述投影设备后, 向所述投影设备发送连接请求;
在得到所述投影设备的确认后, 与所述投影设备建立连接。
上述步骤通过底层服务进行扫描以及发送连接请求,实现了本地与投影设备重新建立 连接, 从而为投影提供了保证。
在一个实施例中, 所述投影本地第一应用的内容, 包括:
将本地第一应用的内容或其对应的链接发送给投影设备; 其中, 所述投影设备用于根 据接收到的信息, 将本地第一应用的内容投影至播放设备。
其中, 所述监测所述投影的状态, 包括:
监测是否接收到本地与所述投影设备断开连接的指示消息; 或者,
监测是否投影本地第二应用的内容; 或者,
监测本地与所述投影设备的连接是否异常断开。
上述方法可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。
其中, 所述设定手势操作包括: 对所述第一应用的界面上任意位置处的点击操作、 滑 动操作或者长按操作; 其中, 所述长按操作是指超过设定时长的按压操作。
在一个实施例中, 当监测到所述投影的状态为中断时, 所述方法还包括: 在所述第一 应用的界面上显示用于触发重新投影的按钮;
所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。
上述方法中对所述设定手势操作不做具体限定, 包括但不限于点击操作、 滑动操作或 长按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第一应用的投影, 操作 简单, 容易实现。
根据本公开实施例的第二方面, 提供一种投影装置, 所述装置包括:
投影模块, 用于投影本地第一应用的内容; 第一监测模块, 用于监测所述投影的状态;
第二监测模块, 用于在所述第一监测模块监测到所述投影的状态为中断时, 监测所述 第一应用的界面上的设定手势操作, 在监测到所述设定手势操作时, 触发所述投影模块恢 复操作。
在一个实施例中, 所述装置还包括:
判断模块, 用于在所述第二监测模块监测到所述设定手势操作时, 判断本地与所述投 影设备的连接是否已断开, 在本地与所述投影设备的连接已断开时, 触发连接建立模块执 行操作, 在本地与所述投影设备的连接未断开时, 通知所述第二监测模块执行所述触发操 作;
所述连接建立模块, 用于与所述投影设备建立连接, 通知所述第二监测模块执行所述 触发操作。
通过上述操作,可以保证在所述投影被中断后,无论本地与投影设备的连接是否存在, 都能够成功进行投影。
其中, 所述连接建立模块包括:
扫描单元, 用于通过底层服务扫描同一局域网中的投影设备;
连接建立单元, 用于在所述扫描单元扫描到所述投影设备后, 向所述投影设备发送连 接请求, 在得到所述投影设备的确认后, 与所述投影设备建立连接。
通过底层服务进行扫描以及发送连接请求, 实现了本地与投影设备重新建立连接, 从 而为投影提供了保证。
在一个实施例中, 所述投影模块包括:
获取单元, 用于获取本地第一应用的内容或其对应的链接;
发送单元, 用于将所述获取单元获取的信息发送给投影设备;
其中,所述投影设备用于根据接收到的信息,将本地第一应用的内容投影至播放设备。 其中, 所述第一监测模块包括:
第一监测单元,用于监测是否接收到本地与所述投影设备断开连接的指示消息;或者, 第二监测单元, 用于监测是否投影本地第二应用的内容; 或者,
第三监测单元, 用于监测本地与所述投影设备的连接是否异常断开。
上述装置可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。
其中, 所述设定手势操作包括: 对所述第一应用的界面上任意位置处的点击操作、 滑 动操作或者长按操作; 其中, 所述长按操作是指超过设定时长的按压操作。
在一个实施例中, 所述装置还包括:
显示模块, 用于在所述第一监测模块监测到所述投影的状态为中断时, 在所述第一应 用的界面上显示用于触发重新投影的按钮; 所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。 上述装置对所述设定手势操作不做具体限定, 包括但不限于点击操作、 滑动操作或长 按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第一应用的投影, 操作简 单, 容易实现。
本公开的实施例提供的技术方案可以包括以下有益效果:通过投影本地第一应用的内 容, 监测该投影的状态; 当监测到所述投影的状态为中断时, 监测第一应用的界面上的设 定手势操作; 监测到该设定手势操作时, 执行所述投影本地第一应用的内容的步骤, 实现 了快速投影, 而且, 中断之后进行投影时用户只需执行所述设定手势操作, 不用执行点击 菜单再选择选项等一系列的操作, 极大地简化了用户的操作, 使用更方便。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。 附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是根据一示例性实施例示出的投影方法流程图
图 2是根据一示例性实施例示出的投影方法流程图
图 3是根据一示例性实施例示出的投影方法流程图
图 4是根据一示例性实施例示出的投影方法流程图
图 5是根据一示例性实施例示出的投影装置结构图之一;
图 6是根据一示例性实施例示出的投影装置结构图之二;
图 7是根据一示例性实施例示出的投影装置结构图之三。
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。 具体实施方式
为使本发明的目的、技术方案和优点更加清楚, 下面将结合附图对本发明作进一步地 详细描述。
实施例 1
参见图 1, 本实施例提供了一种投影方法, 包括:
101: 投影本地第一应用的内容;
102: 监测该投影的状态;
103: 当监测到该投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 104: 当监测到该设定手势操作时, 执行所述投影本地第一应用的内容的步骤, 即执 行步骤 101。
其中, 步骤 101 中投影本地第一应用的内容之前也有本地与投影设备建立连接的过 程, 可以如下:
本地和投影设备当前均处于开机状态,本地的底层服务扫描同一局域网中是否存在投 影设备, 如果存在, 则向该投影设备的底层服务发送初始连接请求, 该请求中携带本地设 备的相关信息如设备标识等, 该投影设备的底层服务收到该请求后, 保存本地设备的相关 信息并返回确认给本地的底层服务,本地的底层服务收到该确认后与投影设备的底层服务 建立连接。
本实施例中, 所述第一应用可以为任意一种应用, 包括但不限于: 视频播放应用、 图 片浏览应用、 幻灯片播放应用等等, 本公开实施例对此不做具体限定。 所述投影设备是指 可以与电子设备连接且将该电子设备上的内容投影至播放设备上的设备。所述电子设备可 以为移动终端, 如手机、 平板电脑等等。 所述播放设备如电视等等。
在第一种实施方式下, 当监测到所述设定手势操作时, 上述方法还包括:
判断本地与所述投影设备的连接是否已断开;
如果本地与所述投影设备的连接已断开, 则先与所述投影设备建立连接, 然后再执行 投影本地第一应用的内容的步骤;
如果本地与所述投影设备的连接未断开, 则直接执行投影本地第一应用的内容的步 骤。
基于上述第一种实施方式, 在第二种实施方式下, 与该投影设备建立连接, 包括: 通过底层服务扫描同一局域网中的投影设备;
扫描到该投影设备后, 向该投影设备发送连接请求;
在得到该投影设备的确认后, 与该投影设备建立连接。
基于上述方法或第一种或第二种实施方式, 在第三种实施方式下, 所述投影本地第一 应用的内容, 包括:
将本地第一应用的内容或其对应的链接发送给投影设备; 其中, 所述投影设备用于根 据接收到的信息, 将本地第一应用的内容投影至播放设备。
基于上述方法或第一种或第二种实施方式, 在第四种实施方式下, 所述监测所述投影 的状态, 包括- 监测是否接收到本地与所述投影设备断开连接的指示消息; 或者,
监测是否投影本地第二应用的内容; 或者,
监测本地与所述投影设备的连接是否异常断开。
基于上述方法以及任一种实施方式, 在第五种实施方式下, 所述设定手势操作包括: 对所述第一应用的界面上任意位置处的点击操作、 滑动操作或者长按操作, 其中, 所述长 按操作是指超过设定时长的按压操作。所述滑动操作的方向可以为任意方向, 本公开实施 例不限定, 如可以为向左滑动、 向右滑动、 向上滑动、 向下滑动等等。 所述长按操作的设 定时长也不限定, 如可以为 300ms、 500ms、 800ms或 Is等等。
基于上述方法以及任一种实施方式, 在第六种实施方式下, 当监测到所述投影的状态 为中断时, 所述方法还包括: 在所述第一应用的界面上显示用于触发重新投影的按钮; 所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。
本实施例提供的上述方法, 通过投影本地第一应用的内容, 监测该投影的状态; 当监 测到所述投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 监测到该设定手 势操作时, 执行所述投影本地第一应用的内容的步骤, 实现了快速投影, 而且, 中断之后 进行投影时用户只需执行所述设定手势操作,不用执行点击菜单再选择选项等一系列的操 作, 极大地简化了用户的操作, 使用更方便。 实施例 2
参见图 2, 本实施例提供了一种投影方法, 包括:
201: 将本地第一应用的内容或其对应的链接发送给投影设备;
其中,所述投影设备用于根据接收到的信息,将本地第一应用的内容投影至播放设备。 本步骤中在发送第一应用的内容或其对应的链接之前也有本地与投影设备建立连接 的过程, 可以如下:
本地和投影设备当前均处于开机状态,本地的底层服务扫描同一局域网中是否存在投 影设备, 如果存在, 则向该投影设备的底层服务发送初始连接请求, 该请求中携带本地设 备的相关信息如设备标识等, 该投影设备的底层服务收到该请求后, 保存本地设备的相关 信息并返回确认给本地的底层服务,本地的底层服务收到该确认后与投影设备的底层服务 建立连接。
本实施例中, 所述第一应用可以为任意一种应用, 包括但不限于: 视频播放应用、 图 片浏览应用、 幻灯片播放应用等等, 本公开实施例对此不做具体限定。 所述投影设备是指 可以与电子设备连接且将该电子设备上的内容投影至播放设备上的设备。所述电子设备可 以为移动终端, 如手机、 平板电脑等等。 所述播放设备如电视等等。
本实施例中, 如果步骤 201中投影本地第一应用的内容为该第一应用的首次投影, 则 仍然需要用户执行点击该应用界面上的菜单及在菜单中选择选项等操作,此处不做过多说 明。
202: 监测所述投影的状态;
本实施例中, 监测所述投影的状态, 可以包括以下任一种:
监测是否接收到本地与该投影设备断开连接的指示消息; 或者,
监测是否投影本地第二应用的内容; 或者,
监测本地与该投影设备的连接是否异常断开。
其中, 收到本地与该投影设备断开连接的指示消息, 通常是指另一设备也通过该投影 设备进行投影从而导致本地与该投影设备的连接断开的场景。所述另一设备可以是与本地 设备及投影设备位于同一个局域网内的设备, 如移动终端等。所述第二应用是指本地除了 上述第一应用以外的任意一种应用。 例如, 第一应用为视频播放应用, 第二应用为图片浏 览应用; 或者, 第一应用为图片浏览应用, 第二应用为幻灯片播放应用等等。
203: 当监测到该投影的状态为中断时, 监测该第一应用的界面上的设定手势操作;
204: 当监测到该设定手势操作时, 判断本地与该投影设备的连接是否已断开, 如果 是, 则执行 205 ; 否则, 执行 206;
205: 先与该投影设备建立连接, 然后执行将本地第一应用的内容或其对应的链接发 送给投影设备的步骤, 流程结束;
本步骤中, 与该投影设备建立连接, 可以包括以下步骤:
通过底层服务扫描同一局域网中的投影设备;
扫描到该投影设备后, 向该投影设备发送连接请求;
在得到该投影设备的确认后, 与该投影设备建立连接。
206: 此时, 本地与该投影设备仍保持连接, 则直接执行将本地第一应用的内容或其 对应的链接发送给所述投影设备的步骤, 流程结束。
本实施例中, 所述设定手势操作包括但不限于: 对所述第一应用的界面上任意位置处 的点击操作、滑动操作或者长按操作;其中,所述长按操作是指超过设定时长的按压操作。 所述滑动操作的方向可以为任意方向, 本公开实施例不限定, 如可以为向左滑动、 向右滑 动、向上滑动、向下滑动等等。所述长按操作的设定时长也不限定,如可以为 300ms、 500ms, 800ms或 Is等等。
本实施例提供的上述方法, 通过投影本地第一应用的内容, 监测该投影的状态; 当监 测到所述投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 监测到该设定手 势操作时, 执行所述投影本地第一应用的内容的步骤, 实现了快速投影, 而且, 中断之后 进行投影时用户只需执行所述设定手势操作,不用执行点击菜单再选择选项等一系列的操 作, 极大地简化了用户的操作, 使用更方便。
另外,通过在投影中断后判断本地与投影设备的连接是否已断开,在已断开的情况下, 先建立连接再发送本地第一应用的内容或对应的链接,从而保证无论中断后本地与投影设 备的连接是否存在都能够成功进行投影。在本地与投影设备的连接断开的情况下, 通过底 层服务进行扫描以及发送连接请求, 实现了本地与投影设备重新建立连接, 从而为投影提 供了保证。
上述方法可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。 上述方法中对所述设定手势操作不做具体限定, 包括但不限于点 击操作、滑动操作或长按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第 一应用的投影, 操作简单, 容易实现。 实施例 3
参见图 3, 本实施例提供了一种投影方法, 用于在不同移动终端之间切换投影, 该方 法包括:
301: 第一移动终端与投影设备建立连接, 并投影本地第一应用的内容;
其中, 投影本地第一应用的内容, 包括:
将本地第一应用的内容或其对应的链接发送给投影设备; 其中, 所述投影设备用于根 据接收到的信息, 将本地第一应用的内容投影至播放设备。
其中, 第一移动终端与投影设备建立连接的过程, 可以如下:
第一移动终端和投影设备当前均处于开机状态,第一移动终端的底层服务扫描同一局 域网中是否存在投影设备, 如果存在, 则向扫描到的该投影设备的底层服务发送初始连接 请求, 该请求中携带第一移动终端的相关信息如设备标识等, 该投影设备的底层服务收到 该请求后, 保存第一移动终端的相关信息并返回确认给第一移动终端的底层服务, 第一移 动终端的底层服务收到该确认后与投影设备的底层服务建立连接。
302: 第一移动终端监测所述第一应用的投影的状态;
303: 第二移动终端与投影设备建立连接, 并投影本地第二应用的内容;
其中, 投影本地第二应用的内容, 包括:
将本地的第二应用的内容或其对应的链接发送给所述投影设备;
其中, 投影设备当前进行的投影为第二移动终端的第二应用的内容, 从而导致第一移 动终端的投影被中断。
本实施例中, 第一移动终端、 第二移动终端以及投影设备均位于同一个局域网内。 第 二移动终端与投影设备建立连接的过程与第一移动终端与投影设备建立连接的过程相同, 此处不赘述。
所述第一应用或第二应用可以为任意一种应用, 包括但不限于: 视频播放应用、 图片 浏览应用、 幻灯片播放应用等等, 本公开实施例对此不做具体限定。 所述投影设备是指可 以与电子设备连接且将该电子设备上的内容投影至播放设备上的设备。所述电子设备可以 为移动终端, 如手机、 平板电脑等等。 所述播放设备如电视等等。
304: 当第一移动终端监测到第一应用的投影的状态为中断时, 监测该第一应用的界 面上的设定手势操作;
其中,第一移动终端的投影被中断时,第一移动终端与投影设备的连接存在两种情况。 第一种情况是, 第一移动终端与投影设备仍然保持着连接, 但是投影被中断; 第二种情况 是, 第一移动终端与投影设备的连接已断开, 而且投影也被中断。
本实施例中, 所述设定手势操作包括但不限于: 对所述第一应用的界面上任意位置处 的点击操作、滑动操作或者长按操作;其中,所述长按操作是指超过设定时长的按压操作。 所述滑动操作的方向可以为任意方向, 本公开实施例不限定, 如可以为向左滑动、 向右滑 动、向上滑动、向下滑动等等。所述长按操作的设定时长也不限定,如可以为 300ms、 500ms, 800ms或 Is等等。
305: 当第一移动终端监测到该设定手势操作时, 执行所述投影本地第一应用的内容 的步骤;
例如, 本步骤可以包括以下步骤:
当监测到所述设定手势操作时, 判断本地与所述投影设备的连接是否已断开; 如果本地与所述投影设备的连接已断开, 则先与所述投影设备建立连接, 然后执行所 述投影本地第一应用的内容的步骤;
如果本地与所述投影设备的连接未断开,则直接执行所述投影本地第一应用的内容的 步骤。
其中, 所述第一移动终端在监测到该设定手势操作后, 与投影设备建立连接的过程, 可以包括: 第一移动终端通过底层服务扫描同一局域网中的投影设备, 扫描到该投影设备 后, 向该投影设备的底层服务发送连接请求; 在得到该投影设备底层服务的确认后, 与该 投影设备建立连接。
本实施例中, 第一移动终端的第一应用首次向投影设备进行投影时, 或者, 第二移动 终端的第二应用首次向投影设备进行投影时,均需要用户执行点击该应用界面上的菜单及 在菜单中选择选项等操作, 此处不做过多说明。
例如, 移动终端 A的视频播放应用向投影设备投影, 移动终端 B的图片浏览应用也 向该投影设备投影, 并抢断了移动终端 A的投影, 则移动终端 A在视频播放应用的界面 上监测设定手势操作,监测到该设定手势操作后,重新投影移动终端 A的视频播放应用的 内容,从而实现了快速投影,避免了用户在移动终端 A的视频播放应用上执行一系列操作 才能恢复投影, 简化了用户操作。
本实施例提供的上述方法, 通过投影本地第一应用的内容, 监测该投影的状态; 当监 测到所述投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 监测到该设定手 势操作时, 执行所述投影本地第一应用的内容的步骤, 实现了快速投影, 而且, 中断之后 进行投影时用户只需执行所述设定手势操作,不用执行点击菜单再选择选项等一系列的操 作, 极大地简化了用户的操作, 使用更方便。
另外,通过在投影中断后判断本地与投影设备的连接是否已断开,在已断开的情况下, 先建立连接再发送本地第一应用的内容或对应的链接,从而保证无论中断后本地与投影设 备的连接是否存在都能够成功进行投影。在本地与投影设备的连接断开的情况下, 通过底 层服务进行扫描以及发送连接请求, 实现了本地与投影设备重新建立连接, 从而为投影提 供了保证。
上述方法可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。 上述方法中对所述设定手势操作不做具体限定, 包括但不限于点 击操作、滑动操作或长按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第 一应用的投影, 操作简单, 容易实现。 实施例 4
参见图 4, 本实施例提供了一种投影方法, 用于在同一设备内的不同应用之间切换投 影, 该方法包括:
401: 本地与投影设备建立连接, 并投影本地第一应用的内容;
其中, 投影本地第一应用的内容, 包括:
将本地第一应用的内容或其对应的链接发送给投影设备, 其中, 所述投影设备用于根 据接收到的信息, 将本地第一应用的内容投影至播放设备。
402: 监测第一应用的投影的状态;
403: 投影本地第二应用的内容;
本步骤可以包括:
将本地的第二应用的内容或其对应的链接发送给所述投影设备。
本实施例中, 本地设备与投影设备位于同一个局域网内。所述投影设备是指可以与本 地设备连接且将该本地设备上的内容投影至播放设备上的设备。所述本地设备可以为移动 终端, 如手机、 平板电脑等等。 所述播放设备如电视等等。
所述第一应用可以为任意一种应用, 包括但不限于: 视频播放应用、 图片浏览应用、 幻灯片播放应用等等, 所述第二应用为不同于第一应用的任意一种应用, 本公开实施例对 此不做具体限定。
404: 监测到第一应用的投影状态为中断时, 监测该第一应用的界面上的设定手势操 作;
本实施例中, 所述设定手势操作包括但不限于: 对所述第一应用的界面上任意位置处 的点击操作、滑动操作或者长按操作;其中,所述长按操作是指超过设定时长的按压操作。 所述滑动操作的方向可以为任意方向, 本公开实施例不限定, 如可以为向左滑动、 向右滑 动、向上滑动、向下滑动等等。所述长按操作的设定时长也不限定,如可以为 300ms、 500ms, 800ms或 Is等等。
405: 当监测到该设定手势操作后, 执行所述投影第一应用的内容的步骤; 例如, 本步骤可以包括以下步骤:
当监测到所述设定手势操作时, 判断本地与所述投影设备的连接是否已断开; 如果本地与所述投影设备的连接已断开, 则先与所述投影设备建立连接, 然后执行所 述投影本地第一应用的内容的步骤;
如果本地与所述投影设备的连接未断开,则直接执行所述投影本地第一应用的内容的 步骤。
例如, 移动终端的幻灯片播放应用向投影设备投影, 该移动终端的图片浏览应用也向 该投影设备投影, 并抢断了幻灯片播放应用的投影, 则在幻灯片播放应用的界面上监测设 定手势操作, 监测到该设定手势操作后重新投影该幻灯片应用, 从而实现了快速投影, 避 免了用户在幻灯片播放应用上执行一系列操作才能恢复投影, 简化了用户操作。
本实施例中, 本地的第一应用首次向投影设备进行投影时, 或者, 本地的第二应用首 次向投影设备进行投影时,均需要用户执行点击该应用界面上的菜单及在菜单中选择选项 等操作, 此处不做过多说明。
本实施例提供的上述方法, 通过投影本地第一应用的内容, 监测该投影的状态; 当监 测到所述投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 监测到该设定手 势操作时, 执行所述投影本地第一应用的内容的步骤, 实现了快速投影, 而且, 中断之后 进行投影时用户只需执行所述设定手势操作,不用执行点击菜单再选择选项等一系列的操 作, 极大地简化了用户的操作, 使用更方便。
另外,通过在投影中断后判断本地与投影设备的连接是否已断开,在已断开的情况下, 先建立连接再发送本地第一应用的内容或对应的链接,从而保证无论中断后本地与投影设 备的连接是否存在都能够成功进行投影。在本地与投影设备的连接断开的情况下, 通过底 层服务进行扫描以及发送连接请求, 实现了本地与投影设备重新建立连接, 从而为投影提 供了保证。
上述方法可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。 上述方法中对所述设定手势操作不做具体限定, 包括但不限于点 击操作、滑动操作或长按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第 一应用的投影, 操作简单, 容易实现。 实施例 5
参见图 5, 本实施例提供了一种投影装置, 包括:
投影模块 501, 用于投影本地第一应用的内容;
第一监测模块 502, 用于监测所述投影的状态;
第二监测模块 503, 用于在第一监测模块 502监测到所述投影的状态为中断时, 监测 所述第一应用的界面上的设定手势操作,在监测到所述设定手势操作时,触发投影模块 501 恢复操作。
参见图 6,在第一种实施方式下,上述装置还包括:判断模块 504和连接建立模块 505 ; 判断模块 504, 用于在所述第二监测模块监测到所述设定手势操作时, 判断本地与所 述投影设备的连接是否已断开, 在本地与所述投影设备的连接已断开时, 触发连接建立模 块 505执行操作, 在本地与所述投影设备的连接未断开时, 通知第二监测模块 503执行所 述触发操作;
连接建立模块 505, 用于与所述投影设备建立连接, 通知第二监测模块执行所述触发 操作。
参见图 6, 基于上述第一种实施方式, 在第二种实施方式下, 连接建立模块 505包括: 扫描单元 505a, 用于通过底层服务扫描同一局域网中的投影设备;
连接建立单元 505b, 用于在扫描单元 505a扫描到所述投影设备后, 向所述投影设备 发送连接请求, 在得到所述投影设备的确认后, 与所述投影设备建立连接。
参见图 7, 基于上述装置或第一种或第二种实施方式, 在第三种实施方式下, 投影模 块 501包括:
获取单元 501a, 用于获取本地第一应用的内容或其对应的链接;
发送单元 501b, 用于将获取单元 501a获取的信息发送给投影设备; 其中, 所述投影 设备用于根据接收到的信息, 将本地第一应用的内容投影至播放设备。
参见图 7,基于上述装置或任一种实施方式,在第四种实施方式下,第一监测模块 502 包括:
第一监测单元 502a, 用于监测是否接收到本地与所述投影设备断开连接的指示消息; 或者,
第二监测单元 502b, 用于监测是否投影本地第二应用的内容; 或者,
第三监测单元 502c, 用于监测本地与所述投影设备的连接是否异常断开。
基于上述方法或任一种实施方式, 在第五种实施方式下, 所述设定手势操作包括: 对 所述第一应用的界面上任意位置处的点击操作、 滑动操作或者长按操作; 其中, 所述长按 操作是指超过设定时长的按压操作。
基于上述方法或任一种实施方式, 在第六种实施方式下, 所述装置还包括: 显示模块, 用于在所述第一监测模块监测到所述投影的状态为中断时, 在所述第一应 用的界面上显示用于触发重新投影的按钮;
所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。
本实施例提供的上述装置可以执行上述任一方法实施例中提供的方法,详细过程见方 法实施例中的描述, 此处不赘述。 所述装置可以应用于移动终端中, 本公开实施例对此不 限定。
本实施例提供的上述装置, 通过投影本地第一应用的内容, 监测该投影的状态; 当监 测到所述投影的状态为中断时, 监测第一应用的界面上的设定手势操作; 监测到该设定手 势操作时, 触发投影模块恢复操作, 实现了快速投影, 而且, 中断之后进行投影时用户只 需执行所述设定手势操作, 不用执行点击菜单再选择选项等一系列的操作, 极大地简化了 用户的操作, 使用更方便。
另外,通过在投影中断后判断本地与投影设备的连接是否已断开,在已断开的情况下, 先建立连接再发送本地第一应用的内容或对应的链接,从而保证无论中断后本地与投影设 备的连接是否存在都能够成功进行投影。在本地与投影设备的连接断开的情况下, 通过底 层服务进行扫描以及发送连接请求, 实现了本地与投影设备重新建立连接, 从而为投影提 供了保证。
上述方法可以应用于多种场景,包括由于其它设备投影而收到断开连接指示消息的场 景、 由于本地其它应用投影而中断的场景以及本地与投影设备的连接异常断开等场景, 应 用更加灵活, 范围更广。 上述方法中对所述设定手势操作不做具体限定, 包括但不限于点 击操作、滑动操作或长按操作等等, 用户只需执行这些常规的操作就可以轻松实现恢复第 一应用的投影, 操作简单, 容易实现。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种投影方法, 其特征在于, 所述方法包括:
投影本地第一应用的内容;
监测所述投影的状态;
当监测到所述投影的状态为中断时, 监测所述第一应用的界面上的设定手势操作; 当监测到所述设定手势操作时, 执行所述投影本地第一应用的内容的步骤。
2、 根据权利要求 1所述的方法, 其特征在于, 当监测到所述设定手势操作时, 所述 方法还包括:
判断本地与所述投影设备的连接是否已断开;
如果本地与所述投影设备的连接已断开,则先与所述投影设备建立连接,然后再执行 投影本地第一应用的内容的步骤;
如果本地与所述投影设备的连接未断开, 则直接执行投影本地第一应用的内容的步 骤。
3、 根据权利要求 2所述的方法, 其特征在于, 与所述投影设备建立连接, 包括: 通过底层服务扫描同一局域网中的投影设备;
扫描到所述投影设备后, 向所述投影设备发送连接请求;
在得到所述投影设备的确认后, 与所述投影设备建立连接。
4、根据权利要求 1、 2或 3所述的方法,其特征在于,所述投影本地第一应用的内容, 包括:
将本地第一应用的内容或其对应的链接发送给投影设备;其中,所述投影设备用于根 据接收到的信息, 将本地第一应用的内容投影至播放设备。
5、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述监测所述投影的状态, 包 括- 监测是否接收到本地与所述投影设备断开连接的指示消息; 或者,
监测是否投影本地第二应用的内容; 或者,
监测本地与所述投影设备的连接是否异常断开。
6、 根据权利要求 1所述的方法, 其特征在于, 所述设定手势操作包括: 对所述第一 应用的界面上任意位置处的点击操作、滑动操作或者长按操作, 其中, 所述长按操作是指 超过设定时长的按压操作。
7、 根据权利要求 1所述的方法, 其特征在于, 当监测到所述投影的状态为中断时, 所述方法还包括: 在所述第一应用的界面上显示用于触发重新投影的按钮;
所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。
8、 一种投影装置, 其特征在于, 所述装置包括:
投影模块, 用于投影本地第一应用的内容;
第一监测模块, 用于监测所述投影的状态; 第二监测模块,用于在所述第一监测模块监测到所述投影的状态为中断时,监测所述 第一应用的界面上的设定手势操作,在监测到所述设定手势操作时,触发所述投影模块恢 复操作。
9、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括:
判断模块,用于在所述第二监测模块监测到所述设定手势操作时,判断本地与所述投 影设备的连接是否已断开,在本地与所述投影设备的连接已断开时,触发连接建立模块执 行操作,在本地与所述投影设备的连接未断开时,通知所述第二监测模块执行所述触发操 作;
连接建立模块,用于与所述投影设备建立连接,通知所述第二监测模块执行所述触发 操作。
10、 根据权利要求 9所述的装置, 其特征在于, 所述连接建立模块包括:
扫描单元, 用于通过底层服务扫描同一局域网中的投影设备;
连接建立单元,用于在所述扫描单元扫描到所述投影设备后, 向所述投影设备发送连 接请求, 在得到所述投影设备的确认后, 与所述投影设备建立连接。
11、 根据权利要求 8、 9或 10所述的装置, 其特征在于, 所述投影模块包括: 获取单元, 用于获取本地第一应用的内容或其对应的链接;
发送单元, 用于将所述获取单元获取的信息发送给投影设备;
其中,所述投影设备用于根据接收到的信息,将本地第一应用的内容投影至播放设备。
12、 根据权利要求 8、 9或 10所述的装置, 其特征在于, 所述第一监测模块包括: 第一监测单元,用于监测是否接收到本地与所述投影设备断开连接的指示消息;或者, 第二监测单元, 用于监测是否投影本地第二应用的内容; 或者,
第三监测单元, 用于监测本地与所述投影设备的连接是否异常断开。
13、根据权利要求 8所述的装置, 其特征在于, 所述设定手势操作包括: 对所述第一 应用的界面上任意位置处的点击操作、滑动操作或者长按操作; 其中, 所述长按操作是指 超过设定时长的按压操作。
14、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括:
显示模块,用于在所述第一监测模块监测到所述投影的状态为中断时,在所述第一应 用的界面上显示用于触发重新投影的按钮;
所述设定手势操作包括: 对所述用于触发重新投影的按钮的点击操作。
PCT/CN2014/076198 2013-05-15 2014-04-25 投影方法和装置 WO2014183547A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310178545.7 2013-05-15
CN201310178545.7A CN103227913B (zh) 2013-05-15 2013-05-15 投影方法和装置

Publications (1)

Publication Number Publication Date
WO2014183547A1 true WO2014183547A1 (zh) 2014-11-20

Family

ID=48838151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076198 WO2014183547A1 (zh) 2013-05-15 2014-04-25 投影方法和装置

Country Status (2)

Country Link
CN (1) CN103227913B (zh)
WO (1) WO2014183547A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227913B (zh) * 2013-05-15 2016-04-27 小米科技有限责任公司 投影方法和装置
CN104683720B (zh) * 2013-11-28 2019-12-03 联想(北京)有限公司 一种电子设备及控制方法
CN103686408A (zh) * 2013-12-05 2014-03-26 小米科技有限责任公司 一种投射资源的方法、装置及终端设备
CN104572285B (zh) * 2015-01-29 2018-10-26 深圳酷派技术有限公司 终端的屏幕投影方法、投影装置和终端
CN105049763B (zh) * 2015-07-28 2018-10-19 小米科技有限责任公司 触发投影的方法及装置
CN105376617A (zh) * 2015-11-13 2016-03-02 播思通讯技术(北京)有限公司 一种无线映射交互的处理方法
CN106375743A (zh) * 2016-05-03 2017-02-01 深圳市美贝壳科技有限公司 云存储设备的幻灯演示方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098819A1 (en) * 2001-11-29 2003-05-29 Compaq Information Technologies Group, L.P. Wireless multi-user multi-projector presentation system
CN1991564A (zh) * 2005-12-29 2007-07-04 联想(北京)有限公司 一种无线投影方法和系统及其无线投影装置
CN101952880A (zh) * 2008-05-29 2011-01-19 佳能株式会社 显示设备及其控制方法和程序
CN102346647A (zh) * 2011-09-19 2012-02-08 盛乐信息技术(上海)有限公司 投影仪控制方法及系统
CN103227913A (zh) * 2013-05-15 2013-07-31 北京小米科技有限责任公司 投影方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101526995B1 (ko) * 2008-10-15 2015-06-11 엘지전자 주식회사 이동 단말기 및 이것의 디스플레이 제어 방법
CN102637119B (zh) * 2011-11-17 2015-06-24 朱琴琴 智能手持终端的外接显示控制器及控制方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098819A1 (en) * 2001-11-29 2003-05-29 Compaq Information Technologies Group, L.P. Wireless multi-user multi-projector presentation system
CN1991564A (zh) * 2005-12-29 2007-07-04 联想(北京)有限公司 一种无线投影方法和系统及其无线投影装置
CN101952880A (zh) * 2008-05-29 2011-01-19 佳能株式会社 显示设备及其控制方法和程序
CN102346647A (zh) * 2011-09-19 2012-02-08 盛乐信息技术(上海)有限公司 投影仪控制方法及系统
CN103227913A (zh) * 2013-05-15 2013-07-31 北京小米科技有限责任公司 投影方法和装置

Also Published As

Publication number Publication date
CN103227913A (zh) 2013-07-31
CN103227913B (zh) 2016-04-27

Similar Documents

Publication Publication Date Title
WO2014183547A1 (zh) 投影方法和装置
WO2018161870A1 (zh) 一种数据传输方法、装置及智能终端
CN106231259B (zh) 监控画面的显示方法、视频播放器及服务器
JP5521774B2 (ja) 情報処理装置、情報処理方法、及びそのプログラム
TWI489371B (zh) 用以執行無線顯示控制之方法與裝置
WO2018076820A1 (zh) 一种无线链路失败的处理方法和装置
WO2021018274A1 (zh) 一种投屏方法及电子设备
EP3105919B1 (en) Photographing method of an electronic device and the electronic device thereof
CN102780816B (zh) 拍照的方法、装置及移动终端
JP2017519316A (ja) インテリジェントシーン削除方法、装置、プログラム及び記録媒体
JP2007316925A (ja) 表示装置、端末装置、画像貼付システムおよびそれらの方法
CN106569758B (zh) 一种无线投屏方法及装置
JP5982079B2 (ja) 画像伝送の方法、装置、プログラム及び記録媒体
US9894132B2 (en) Data storage method and system of portable terminal
JP2004240279A (ja) 情報処理装置および画像データ送信方法
WO2016070305A1 (zh) 分享屏幕的方法、分享设备及接收设备
WO2015058623A1 (zh) 一种多媒体数据共享方法和系统、及电子设备
JP7328900B2 (ja) ファイル伝送方法、装置、およびコンピュータ読み取り可能な記憶媒体
WO2017088627A1 (zh) 网络检测方法、装置、数字机顶盒及存储介质
US20180121079A1 (en) Operation Track Response Method and Operation Track Response Apparatus
CN111491097B (zh) 一种拍摄方法和移动设备
JP2017505081A (ja) 機器接続を促す方法および装置
CN108605373B (zh) 用于提供网络共享服务的方法和电子装置
WO2014036974A1 (zh) 一种终端设备、同屏显示方法和系统
WO2019141182A1 (zh) 波束失败恢复方法及终端

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

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

Country of ref document: EP

Kind code of ref document: A1