





本发明实施例涉及终端显示领域,具体而言,涉及一种多屏互动方法及装置。Embodiments of the present invention relate to the field of terminal display, and in particular, to a multi-screen interaction method and apparatus.
在目前的多屏互动方案中,主要有推送方式、镜像方式。而具有普遍通用性的多屏互动方案当属镜像方式,其特征如下:In the current multi-screen interactive solution, there are mainly push mode and mirror mode. The multi-screen interactive solution with universal versatility is a mirroring method, and its characteristics are as follows:
(1)第一终端与第二终端建立多屏互动连接后,第一终端将其当前的UI内容与音频内容进行实时编码,随后立即发送给第二终端;(1) After the first terminal establishes a multi-screen interactive connection with the second terminal, the first terminal performs real-time encoding of the current UI content and the audio content, and then immediately sends the content to the second terminal;
(2)第二终端接收到第一终端当前的UI内容与音频内容的编码信息后,第二终端对该编码信息进行解码,随后第二终端立即将解码后的内容进行显示与播放。(2) After the second terminal receives the encoding information of the current UI content and the audio content of the first terminal, the second terminal decodes the encoded information, and then the second terminal immediately displays and plays the decoded content.
在互动的过程中,第一终端将其当前的UI(User Interface,用户界面)内容与音频内容实时地、完整地发送到第二终端进行显示与播放。但实际使用中,某些用户并不想将第一终端上的某些UI内容与音频内容发送到第二终端,例如,锁屏界面上的消息通知、状态栏中的消息通知、下拉通知栏中的消息通知、各类账号密码输入窗口、某些应用程序界面等,这些可能涉及用户隐私的UI内容,以及消息通知提示音、通话音等可能涉及用户隐私的音频内容。因此,现有的多屏互动方案中,对用户隐私毫无保护作用,从而会影响用户的安全。In the process of interaction, the first terminal sends its current UI (User Interface) content and audio content to the second terminal for display and playback in real time. However, in actual use, some users do not want to send certain UI content and audio content on the first terminal to the second terminal, for example, message notification on the lock screen interface, message notification in the status bar, and drop-down notification bar. Message notifications, various account password input windows, certain application interfaces, etc., which may involve UI content of user privacy, as well as message notification sounds, call sounds, and the like that may involve user privacy. Therefore, in the existing multi-screen interaction scheme, there is no protection for user privacy, which may affect user security.
针对相关技术中,多屏互动的安全性较低的问题,目前尚未提出有效的解决方案。In view of the related art, the problem of low security of multi-screen interaction has not yet proposed an effective solution.
发明内容Summary of the invention
本发明实施例提供了一种多屏互动方法及装置,以至少解决相关技术中,多屏互动的安全性较低的问题。The embodiment of the invention provides a multi-screen interaction method and device, so as to at least solve the problem that the security of the multi-screen interaction is low in the related art.
根据本发明的一个实施例,提供了一种多屏互动方法,该方法包括:获取第一终端上的指定内容;基于指定内容的属性信息确定是否将指定内容同步至第二终端。According to an embodiment of the present invention, a multi-screen interaction method is provided, the method comprising: acquiring specified content on a first terminal; determining whether to synchronize the specified content to the second terminal based on attribute information of the specified content.
可选地,属性信息包括指定内容所在的目标用户界面和/或目标应用的分享属性。Optionally, the attribute information includes a target user interface where the specified content is located and/or a sharing attribute of the target application.
可选地,在获取第一终端上的指定内容之后,该方法还包括:在第一终端上建立设置窗口,其中,设置窗口允许查看和变更多个用户界面的分享属性和多个应用的分享属性。Optionally, after acquiring the specified content on the first terminal, the method further includes: establishing a setting window on the first terminal, wherein the setting window allows to view and change the sharing attribute of the multiple user interfaces and the multiple applications. Share attributes.
可选地,在多个用户界面中的任一用户界面的分享属性或多个应用中的任一应用的分享属性发生变更时,保存变更后的属性信息。Optionally, when the sharing attribute of any one of the plurality of user interfaces or the sharing attribute of any of the plurality of applications is changed, the changed attribute information is saved.
可选地,目标用户界面上设置有悬浮控件,悬浮控件设置为展示目标应用的分享属性或目标用户界面的分享属性,其中,允许通过点击悬浮控件来变更目标应用的分享属性或目标用户界面的分享属性。Optionally, a floating control is set on the target user interface, and the floating control is set to display a sharing attribute of the target application or a sharing attribute of the target user interface, wherein the sharing attribute of the target application or the target user interface is allowed to be changed by clicking the floating control. Share attributes.
可选地,在通过点击悬浮控件来变更目标用户界面的分享属性或目标应用的分享属性时,若变更的类型不为临时变更,则保存变更后的属性信息。Optionally, when the sharing attribute of the target user interface or the sharing attribute of the target application is changed by clicking the floating control, if the changed type is not a temporary change, the changed attribute information is saved.
可选地,在获取第一终端上的指定内容之后,在基于指定内容的属性信息确定是否将指定内容同步至第二终端之前,该方法还包括:从数据库中获取指定内容所在的用户界面和/或目标应用的分享属性。Optionally, after obtaining the specified content on the first terminal, before determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content, the method further includes: obtaining a user interface where the specified content is located from the database, and / or the sharing properties of the target app.
可选地,在从数据库中获取指定内容所在的用户界面和/或目标应用的分享属性之前,该方法还包括:判断第一终端上的应用与前一次多屏互动时相比是否发生变化,其中,变化的类型包括新增应用和应用被卸载;在第一终端上存在新增应用的情况下,生成用于提示对新增应用的分享属性进行配置的信息;在第一终端上存在应用被卸载的情况下,删除数据库中被卸载应用的应用信息和属性信息。在获取第一终端上的指定内容之后,在基于指定内容的属性信息确定是否将指定内容同步至第二终端之前,该方法还包括:从数据库中获取指定内容所在的用户界面和/或目标应用的分享属性。Optionally, before obtaining the sharing attribute of the user interface and/or the target application where the specified content is located from the database, the method further includes: determining whether the application on the first terminal changes compared with the previous multi-screen interaction, The type of the change includes the new application and the application being uninstalled. If the new application exists on the first terminal, the information for prompting the configuration of the shared attribute of the newly added application is generated; the application exists on the first terminal. In the case of being uninstalled, the application information and attribute information of the uninstalled application in the database are deleted. After obtaining the specified content on the first terminal, before determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content, the method further includes: obtaining a user interface and/or a target application where the specified content is located from the database PointsEnjoy the property.
可选地,在获取第一终端上的指定内容之后,在确定是否将指定内容同步至第二终端之前,该方法还包括:判断目标用户界面的分享属性和/或目标应用的分享属性是否发生临时变更;若目标用户界面的分享属性和/或目标应用的分享属性发生临时变更,则获取目标用户界面和/或目标应用的变更后的属性信息;若目标用户界面的分享属性和/或目标应用的分享属性没有发生临时变更,则从数据库中获取目标用户界面的分享属性和/或目标应用的属性信息。Optionally, after obtaining the specified content on the first terminal, before determining whether to synchronize the specified content to the second terminal, the method further includes: determining whether the sharing attribute of the target user interface and/or the sharing attribute of the target application occurs. Temporary change; if the shared attribute of the target user interface and/or the shared attribute of the target application are temporarily changed, the changed attribute information of the target user interface and/or the target application is obtained; if the shared attribute and/or target of the target user interface If there is no temporary change in the sharing attribute of the application, the sharing attribute of the target user interface and/or the attribute information of the target application are obtained from the database.
可选地,基于指定内容的属性信息确定是否将指定内容同步至第二终端包括:根据指定内容的内容类型,确定是基于目标用户界面的分享属性和目标应用的分享属性中的之一或者之二,来确定是否将指定内容同步至第二终端。Optionally, determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content includes: determining, according to the content type of the specified content, one of a sharing attribute of the target user interface and a sharing attribute of the target application. Second, to determine whether to synchronize the specified content to the second terminal.
可选地,根据指定内容的内容类型,确定是基于目标用户界面的分享属性和目标应用的分享属性中的之一或者之二,来确定是否将指定内容同步至第二终端包括:若指定内容的内容类型为文字类型,则在目标用户界面的分享属性为允许分享且目标应用的分享属性为允许分享的情况下,将指定内容同步至第二终端上进行展示;若指定内容的内容类型为多媒体类型,则在目标应用的分享属性为允许分享的情况下,将指定内容同步至第二终端上进行播放。Optionally, determining, according to the content type of the specified content, determining whether to synchronize the specified content to the second terminal based on one or two of the sharing attribute of the target user interface and the sharing attribute of the target application comprises: if the content is specified The content type is a text type, and if the sharing attribute of the target user interface is to allow sharing and the sharing attribute of the target application is to allow sharing, the specified content is synchronized to the second terminal for display; if the content type of the specified content is For the multimedia type, if the sharing attribute of the target application is to allow sharing, the specified content is synchronized to the second terminal for playing.
根据本发明的另一个实施例,提供了一种多屏互动装置,该装置包括:获取单元,设置为获取第一终端上的指定内容;确定单元,设置为基于指定内容的属性信息确定是否将指定内容同步至第二终端。According to another embodiment of the present invention, a multi-screen interactive apparatus is provided, the apparatus comprising: an obtaining unit configured to acquire specified content on the first terminal; and a determining unit configured to determine whether to be based on attribute information of the specified content The specified content is synchronized to the second terminal.
可选地,指定内容来源于目标应用,属性信息包括指定内容所在的目标用户界面和/或目标应用的分享属性。Optionally, the specified content is derived from the target application, and the attribute information includes a target user interface where the specified content is located and/or a sharing attribute of the target application.
可选地,还包括建立单元,设置为在获取第一终端上的指定内容之后,在第一终端上建立设置窗口,其中,设置窗口允许查看和变更多个用户界面的分享属性和多个应用的分享属性。Optionally, the method further includes an establishing unit, configured to establish a setting window on the first terminal after acquiring the specified content on the first terminal, wherein the setting window allows to view and change sharing attributes of the multiple user interfaces and multiple The sharing properties of the app.
可选地,在多个用户界面中的任一用户界面的分享属性或多个应用中的任一应用的分享属性发生变更时,保存变更后的属性信息。Optionally, when the sharing attribute of any one of the plurality of user interfaces or the sharing attribute of any of the plurality of applications is changed, the changed attribute information is saved.
可选地,目标用户界面上设置有悬浮控件,悬浮控件设置为展示目标应用的分享属性或目标用户界面的分享属性,其中,允许通过点击悬浮控件来变更目标应用的分享属性或目标用户界面的分享属性。Optionally, a floating control is set on the target user interface, and the floating control is set to display a sharing attribute of the target application or a sharing attribute of the target user interface, wherein the sharing attribute of the target application or the target user interface is allowed to be changed by clicking the floating control. Share attributes.
可选地,在通过点击悬浮控件来变更目标用户界面的分享属性或目标应用的分享属性时,若变更的类型不为临时变更,则保存变更后的属性信息。Optionally, when the sharing attribute of the target user interface or the sharing attribute of the target application is changed by clicking the floating control, if the changed type is not a temporary change, the changed attribute information is saved.
根据本发明的另一个实施例,提供了一种存储介质,存储介质可以被设置为存储用于执行以下步骤的程序代码:获取第一终端上的指定内容;基于指定内容的属性信息确定是否将指定内容同步至第二终端。According to another embodiment of the present invention, there is provided a storage medium, which may be configured to store program code for performing the steps of: acquiring specified content on a first terminal; determining whether to be based on attribute information of the specified content The specified content is synchronized to the second terminal.
通过本发明实施例,获取第一终端上的指定内容;基于指定内容的属性信息确定是否将指定内容同步至第二终端,根据属性信息来确定是否将指定内容同步至第二终端,可避免敏感数据被同步至第二终端,解决了多屏互动的安全性较低的问题,提高了多屏互动的安全性。Obtaining the specified content on the first terminal by using the attribute information of the specified content, determining whether to synchronize the specified content to the second terminal, and determining whether to synchronize the specified content to the second terminal according to the attribute information, thereby avoiding sensitivity The data is synchronized to the second terminal, which solves the problem of low security of multi-screen interaction and improves the security of multi-screen interaction.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的多屏互动方法的流程图;1 is a flow chart of a multi-screen interaction method in accordance with an embodiment of the present invention;
图2是根据本发明实施例的用户隐私保护终端的示意图;2 is a schematic diagram of a user privacy protection terminal according to an embodiment of the present invention;
图3是根据本发明实施例的一个可选的用户隐私保护终端的示意图;3 is a schematic diagram of an optional user privacy protection terminal according to an embodiment of the present invention;
图4是根据本发明实施例的一个可选的多屏互动方法的流程图;4 is a flow chart of an alternative multi-screen interaction method in accordance with an embodiment of the present invention;
图5是根据本发明实施例的另一个可选的多屏互动方法的流程图;5 is a flow chart of another alternative multi-screen interaction method in accordance with an embodiment of the present invention;
图6是根据本发明实施例的多屏互动装置的示意图。6 is a schematic diagram of a multi-screen interactive device in accordance with an embodiment of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
在本实施例中,提供了一种多屏互动方法,图1是根据本发明实施例的多屏互动方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a multi-screen interaction method is provided. FIG. 1 is a flowchart of a multi-screen interaction method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S101,获取第一终端上的指定内容。Step S101: Acquire specified content on the first terminal.
步骤S102,基于指定内容的属性信息确定是否将指定内容同步至第二终端。Step S102: Determine whether to synchronize the specified content to the second terminal based on the attribute information of the specified content.
上述的指定内容来源于目标应用,属性信息包括指定内容所在的目标用户界面和/或目标应用的分享属性。分享属性用指示该应用的数据是否允许被分享至第二终端,或者设置为指示在用户界面中展示的内容是否允许被分享至第二终端,分享属性可以是预先设置好的,也可以是在互动过程中,用户自定义的。The specified content is derived from the target application, and the attribute information includes the target user interface where the specified content is located and/or the sharing attribute of the target application. The sharing attribute is used to indicate whether the data of the application is allowed to be shared to the second terminal, or is set to indicate whether the content displayed in the user interface is allowed to be shared to the second terminal, and the sharing attribute may be preset or may be User-defined during the interaction process.
通过上述步骤,获取第一终端上的指定内容;基于指定内容的属性信息确定是否将指定内容同步至第二终端,根据属性信息来确定是否将指定内容同步至第二终端,可避免敏感数据被同步至第二终端,解决了多屏互动的安全性较低的问题,提高了多屏互动的安全性。Through the above steps, acquiring the specified content on the first terminal; determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content, determining whether to synchronize the specified content to the second terminal according to the attribute information, thereby avoiding sensitive data being avoided Synchronizing to the second terminal solves the problem of low security of multi-screen interaction and improves the security of multi-screen interaction.
上述的指定内容可以为文字内容、音频内容、视频内容、消息通知内容等;上述的方法适用于但不局限于移动终端、笔记本电脑、台式电脑。上述的方法可以在第一终端上运行。The specified content may be text content, audio content, video content, message notification content, etc.; the above method is applicable to, but not limited to, a mobile terminal, a notebook computer, and a desktop computer. The above method can be run on the first terminal.
在上述实施例中,对用户隐私的保护基于UI内容的用户界面的分享属性、UI内容所属的应用程序的分享属性、音频内容所属的应用程序的分享属性。用户界面的分享属性包括但不限于锁屏界面上的消息通知、状态栏中的消息通知、下拉通知栏中的消息通知、各类账号密码输入窗口的用户界面的分享属性;应用程序的分享属性包括但不限于设置、图库等系统自带的应用程序以及用户安装的应用程序(如支付宝、微信等)的分享属性。用户可通过对用户界面的分享属性、应用程序的受保护状态(即应用的分享属性)进行设置,从而达到用户隐私内容自定义的目的。In the above embodiment, the protection of the user's privacy is based on the sharing attribute of the user interface of the UI content, the sharing attribute of the application to which the UI content belongs, and the application to which the audio content belongs.Share attributes. The sharing attributes of the user interface include, but are not limited to, message notification on the lock screen interface, message notification in the status bar, message notification in the drop-down notification column, sharing attributes of the user interface of various account password input windows, and sharing attributes of the application. This includes, but is not limited to, the application properties of the system, such as settings, gallery, etc., and the shared properties of user-installed applications (such as Alipay, WeChat, etc.). The user can customize the privacy content of the user by setting the sharing attribute of the user interface and the protected state of the application (ie, the sharing attribute of the application).
在使用多屏互动前、使用多屏互动中,用户可以对需要受保护的UI的分享属性、应用程序的分享属性进行设置。从而达到用户隐私内容灵活设置的目的。Before using multi-screen interaction, using multi-screen interaction, users can set the sharing properties of the UI to be protected and the sharing properties of the application. Thereby achieving the purpose of flexible setting of user privacy content.
第一终端与第二终端在多屏互动下,第一终端上受保护的UI属性、受保护的应用程序的UI内容、受保护的应用程序的音频内容将不会被发送至第二终端;而第一终端上不受保护的UI属性、不受保护的应用程序的UI内容、不受保护的应用程序的音频内容才会被发送至第二终端。通过这种方法,保证了第一终端上不受保护的内容被实时地发送至第二终端,也保证了第一终端上受保护的内容不被发送至第二终端,从而达到保护用户隐私的目的。The first terminal and the second terminal interact with each other, and the protected UI attribute on the first terminal, the UI content of the protected application, and the audio content of the protected application will not be sent to the second terminal; The unprotected UI attributes on the first terminal, the UI content of the unprotected application, and the audio content of the unprotected application are sent to the second terminal. In this way, it is ensured that the unprotected content on the first terminal is sent to the second terminal in real time, and that the protected content on the first terminal is not sent to the second terminal, thereby achieving protection of user privacy. purpose.
本申请的上述方法可以通过下述的步骤实现:The above method of the present application can be implemented by the following steps:
步骤S11,统计第一终端上已安装的所有应用程序的分享属性;Step S11, collecting sharing attributes of all applications installed on the first terminal;
步骤S12,用户对需要受保护的用户界面的分享属性、应用程序的分享属性进行设置;Step S12, the user sets the sharing attribute of the user interface that needs to be protected, and the sharing attribute of the application;
步骤S13,在第一终端UI上生成一个半透明的悬浮控件,设置为在多屏互动中,用户对第一终端当前应用程序的受保护状态(即分享属性)进行查看与变更;Step S13: Generate a semi-transparent floating control on the first terminal UI, and set the user to view and change the protected state (ie, sharing attribute) of the current application of the first terminal in the multi-screen interaction;
步骤S14,获取第一终端上当前的UI内容;Step S14, acquiring current UI content on the first terminal;
步骤S15,获取第一终端当前的UI内容所属的应用程序的属性;Step S15: Acquire an attribute of an application to which the current UI content of the first terminal belongs;
步骤S16,获取第一终端当前的UI内容的用户界面的属性;Step S16: Acquire an attribute of a user interface of a current UI content of the first terminal.
步骤S17,获取第一终端当前的音频内容;Step S17, acquiring current audio content of the first terminal;
步骤S18,获取当前的音频内容所属应用程序的属性;Step S18: Obtain an attribute of an application to which the current audio content belongs;
步骤S19,将获取到的第一终端当前的UI内容所属应用程序的属性值与受保护的应用程序的属性值进行比对,也即判断应用程序的属性是否为允许分享,将受保护的应用程序的UI内容(即不允许分享的UI内容)进行拦截,防止进入后续数据处理流程,从而达到用户隐私保护的目的,将不受保护的应用程序的UI内容进行相应处理,以发送至第二终端进行显示;In step S19, the obtained attribute value of the application of the current UI content of the first terminal is compared with the attribute value of the protected application, that is, whether the attribute of the application is allowed to be shared, and the protected application is to be protected. The UI content of the program (that is, the UI content that is not allowed to be shared) is intercepted to prevent entry into the subsequent data processing process, thereby achieving the purpose of user privacy protection, and the UI content of the unprotected application is processed accordingly to be sent to the second The terminal performs display;
步骤S20,将获取到的第一终端当前的UI内容的用户界面的属性值与受保护的用户界面的属性值进行比对,也即判断用户界面的属性是否为允许分享,将受保护的用户界面的UI内容(即不允许分享的UI内容)进行拦截,防止进入后续数据处理流程,从而达到用户隐私保护的目的,将不受保护的用户界面的UI内容进行相应处理,以发送至第二终端进行显示;In step S20, the obtained attribute value of the user interface of the current UI content of the first terminal is compared with the attribute value of the protected user interface, that is, whether the attribute of the user interface is allowed to be shared, and the protected user is to be protected. The UI content of the interface (that is, the UI content that is not allowed to be shared) is intercepted to prevent entry into the subsequent data processing process, thereby achieving the purpose of user privacy protection, and the UI content of the unprotected user interface is correspondingly processed to be sent to the second The terminal performs display;
步骤S21,将获取到的第一终端当前的音频内容所属应用程序的属性值与受保护的应用程序的属性值进行比对,将受保护的应用程序的音频内容进行拦截,防止进入后续数据处理流程,从而达到保护用户隐私的目的,将不受保护的应用程序的音频内容进行相应处理,以发送至第二终端进行播放。Step S21: comparing the acquired attribute value of the application of the current audio content of the first terminal with the attribute value of the protected application, intercepting the audio content of the protected application, and preventing entry into subsequent data processing. The process, in order to protect the privacy of the user, the audio content of the unprotected application is processed accordingly, and sent to the second terminal for playing.
上述的方法可用于本申请的多屏互动下的用户隐私保护终端中,如图2所示,该终端主要包括如下模块:UI模块、应用程序统计模块、数据存储模块、设置模块、连接管理模块、数据获取模块、数据比对模块、数据混合模块、数据编码模块、数据发送模块。下面结合图3至图5详述本申请的实施例:The foregoing method can be used in the user privacy protection terminal under the multi-screen interaction of the present application. As shown in FIG. 2, the terminal mainly includes the following modules: a UI module, an application statistics module, a data storage module, a setting module, and a connection management module. , data acquisition module, data comparison module, data mixing module, data encoding module, data sending module. Embodiments of the present application are described in detail below with reference to FIGS. 3 through 5.
(1)UI模块(1) UI module
如图3所示,UI模块主要包括:多屏互动设置窗口、隐私保护设置窗口、半透明的悬浮控件等。As shown in FIG. 3, the UI module mainly includes: a multi-screen interactive setting window, a privacy protection setting window, a translucent floating control, and the like.
UI模块的主要功能是与用户进行交互,如检测用户是否开启多屏互动等,通过该模块,用户可查看、也可设置相关数据,UI模块的各个组成部分的功能如下:The main function of the UI module is to interact with the user, such as detecting whether the user has enabled multi-screen interaction, etc. Through the module, the user can view and also set relevant data. The functions of each component of the UI module are as follows:
多屏互动设置窗口:与设置模块通信连接,通过多屏互动设置窗口,用户可进行开启多屏互动、与第二终端建立多屏互动连接等操作,具体通过连接管理模块实现互动连接;Multi-screen interactive setting window: communication connection with the setting module, through the multi-screen interactive setting window, the user can open multi-screen interaction, establish multi-screen interactive connection with the second terminal, etc., and realize the interactive connection through the connection management module;
隐私保护设置窗口:与半透明的悬浮控件和设置模块通信连接,通过隐私保护设置窗口,用户可对受保护的UI属性、应用程序进行查看与设置等操作,设置后的数据保存在数据存储模块中;Privacy protection setting window: communicates with the translucent floating control and setting module. Through the privacy protection setting window, the user can view and set the protected UI attributes and applications, and the set data is saved in the data storage module. in;
半透明的悬浮控件:通过半透明的悬浮控件,用户可对当前应用程序的受保护状态进行实时查看与变更等操作,在整个多屏互动过程中,半透明的悬浮控件将始终悬浮于第一终端的UI界面上。Translucent floating control: Through the semi-transparent floating control, the user can perform real-time viewing and changing operations on the protected state of the current application. During the entire multi-screen interaction process, the translucent floating control will always float in the first On the UI interface of the terminal.
可选地,在获取第一终端上的指定内容之后,在第一终端上建立设置窗口(即上述的隐私保护设置窗口),其中,设置窗口允许查看和变更多个用户界面的分享属性和多个应用的分享属性。在任一用户界面的分享属性或任一应用的分享属性发生变更时,将变更后的属性信息保存至数据库(即数据存储模块)。Optionally, after acquiring the specified content on the first terminal, establishing a setting window (ie, the privacy protection setting window described above) on the first terminal, wherein the setting window allows to view and change the sharing attributes of the multiple user interfaces and Sharing properties for multiple apps. When the sharing attribute of any user interface or the sharing attribute of any application is changed, the changed attribute information is saved to the database (ie, the data storage module).
可选地,目标用户界面上设置有悬浮控件,悬浮控件设置为展示目标应用的分享属性或目标用户界面的分享属性,其中,允许通过点击悬浮控件来变更目标应用的分享属性或目标用户界面的分享属性;在目标用户界面的分享属性或目标应用的分享属性发生变更时(也即在通过点击悬浮控件来变更目标用户界面的分享属性或目标应用的分享属性时),若变更的类型不为临时变更,则将变更后的属性信息保存至数据库。Optionally, a floating control is set on the target user interface, and the floating control is set to display a sharing attribute of the target application or a sharing attribute of the target user interface, wherein the sharing attribute of the target application or the target user interface is allowed to be changed by clicking the floating control. Sharing attribute; when the sharing attribute of the target user interface or the sharing attribute of the target application is changed (that is, when the sharing attribute of the target user interface or the sharing attribute of the target application is changed by clicking the floating control), if the type of the change is not Temporary changes are saved to the database after the changed attribute information.
半透明的悬浮控件设置为显示当前应用程序是否正在受保护,还用于用户对当前应用程序受保护状态进行临时性更改。可通过在半透明的悬浮控件上显示睁眼的图示来提示用户,当前应用程序不受保护;可通过在半透明的悬浮控件上显示闭眼的图示来提示用户,当前应用程序正在受保护。用户可通过点击半透明的悬浮控件上的睁眼或闭眼图标,从而对当前应用程序的受保护状态进行临时性变更。临时性更改在用户退出该应用程序后失效。通过这种方法,使用户在多屏互动中可灵活地对第一终端当前的应用程序的受保护进行灵活地更改,从而提高用户体验。The translucent hover control is set to show whether the current application is being protected and for temporary changes to the current application's protected state. The user can be prompted to display the blinking icon on the translucent floating control, the current application is unprotected; the user can be prompted by displaying a closed eye icon on the translucent floating control, the current application is being affected protection.The user can make temporary changes to the protected state of the current application by clicking on the blink or closed eye icon on the translucent floating control. Temporary changes expire after the user exits the application. In this way, the user can flexibly change the protection of the current application of the first terminal flexibly in the multi-screen interaction, thereby improving the user experience.
可选地,半透明的悬浮控件的UI内容是受保护的UI属性,即,半透明的悬浮控件的UI内容将不允许被第一终端发送至第二终端,从而达到在用户进行隐私设置时的保护隐私的目的。Optionally, the UI content of the semi-transparent floating control is a protected UI attribute, that is, the UI content of the semi-transparent floating control will not be allowed to be sent by the first terminal to the second terminal, so that when the user performs privacy setting The purpose of protecting privacy.
需要说明的是,用户在UI模块上的查看与设置均由设置模块进行初步处理,而最终的数据来源与数据去处则是数据存储模块、连接管理模块等模块。It should be noted that the user's viewing and setting on the UI module are initially processed by the setting module, and the final data source and data are the data storage module, the connection management module and the like.
(2)应用程序统计模块(2) Application Statistics Module
应用程序统计模块主要设置为执行如下功能,在获取第一终端上的指定内容之前:在接收到多屏互动指令的情况下,将第一终端的所有应用的应用信息与数据库中保存的应用信息进行比对,以确定第一终端上是否存在新增应用或者应用被卸载的情况(即判断第一终端上的应用与前一次多屏互动时相比是否发生变化,变化的类型包括新增应用和应用被卸载),其中,数据库中保存有前一次多屏互动时,第一终端上所有应用的应用信息和属性信息;在第一终端上存在新增应用的情况下,生成用于提示对新增应用的分享属性进行配置的信息;在第一终端上存在应用被卸载的情况下,删除数据库中被卸载应用的应用信息和属性信息。在获取第一终端上的指定内容之后,在基于指定内容的属性信息确定是否将指定内容同步至第二终端之前,可从数据库中获取指定内容所在的用户界面和/或目标应用的分享属性,以得到最新的分享属性。The application statistics module is mainly configured to perform the following functions: before acquiring the specified content on the first terminal: in the case of receiving the multi-screen interactive command, the application information of all applications of the first terminal and the application information saved in the database Performing an alignment to determine whether there is a new application on the first terminal or the application is uninstalled (ie, determining whether the application on the first terminal changes compared with the previous multi-screen interaction, and the type of the change includes a new application. And the application is uninstalled), wherein the database stores the application information and attribute information of all applications on the first terminal when the previous multi-screen interaction is performed; and when there is a new application on the first terminal, the generation is used for the prompt pair The information about the shared attribute of the application is configured to be configured; when the application is uninstalled on the first terminal, the application information and attribute information of the uninstalled application in the database are deleted. After obtaining the specified content on the first terminal, before determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content, the user interface of the specified content and/or the sharing attribute of the target application may be obtained from the database, To get the latest sharing attributes.
具体地,如图4所示:Specifically, as shown in Figure 4:
步骤S401,在第一终端上每次开启多屏互动功能时,应用程序统计模块都将统计第一终端上已安装的所有应用程序的应用程序属性。应用程序属性,包括但不限于应用程序名称、应用程序图标等应用程序属性,可以为每个应用程序名称或者应用程序图标配置一个属性,以确定对应的应用的数据是否允许被分享,通过应用程序名称、应用程序图标等可以确定该应用程序的数据是否允许被分享,即确定其分享属性。In step S401, each time the multi-screen interactive function is enabled on the first terminal, the application statistics module will count the application properties of all the applications installed on the first terminal. Application properties, including but not limited to application properties such as application names, application icons, etc.I think that each application name or application icon is configured with an attribute to determine whether the data of the corresponding application is allowed to be shared. By using the application name, the application icon, etc., it can be determined whether the data of the application is allowed to be shared, that is, it is determined. Share attributes.
步骤S402,在第一终端上每次开启多屏互动功能时,应用程序统计模块都将判断当前操作是否为用户首次开启多屏互动功能,若是则执行步骤S403,否则执行步骤S407;Step S402, each time the multi-screen interactive function is enabled on the first terminal, the application statistics module will determine whether the current operation is the first time the user opens the multi-screen interactive function, and if so, step S403 is performed, otherwise step S407 is performed;
步骤S403,当用户首次开启多屏互动功能时,将强制弹出隐私保护设置窗口,进而使用户对UI属性、应用程序的受保护状态进行设置;Step S403, when the user first opens the multi-screen interactive function, the privacy protection setting window is forcibly popped, thereby enabling the user to set the UI attribute and the protected state of the application;
步骤S404,将用户设置的受保护的内容信息存储到数据存储模块,在用户设置UI属性、应用程序的受保护状态后,数据存储模块将存储用户设置的UI属性、应用程序的受保护状态,即保存分享属性;Step S404, storing the protected content information set by the user to the data storage module. After the user sets the UI attribute and the protected state of the application, the data storage module stores the UI attribute set by the user and the protected state of the application. That is, save the sharing attribute;
步骤S405,将此次统计到的已安装的所有应用程序的应用程序属性存储到数据存储模块,以便下一次使用;Step S405, storing the application properties of all the installed applications that are counted this time to the data storage module, so as to be used next time;
步骤S406,开启多屏互动功能;Step S406, the multi-screen interactive function is turned on;
步骤S407,当用户非首次开启多屏互动功能时,从数据存储模块中读取上一次应用程序统计模块统计到的已安装的所有应用程序的应用程序属性,并与此次应用程序统计到的已安装的所有应用程序的应用程序属性进行比对;Step S407, when the user does not open the multi-screen interactive function for the first time, the application attribute of all installed applications that are counted by the last application statistics module is read from the data storage module, and is compared with the application statistics. Compare the application properties of all installed applications;
步骤S408,根据比对结果判断已安装的应用程序是否有变更,若没有发生变更,则表示第一终端上的应用程序未变化,则执行步骤S406,开启多屏互动功能;若发生变更,则执行步骤S409;Step S408: determining, according to the comparison result, whether the installed application has a change, if there is no change, indicating that the application on the first terminal has not changed, executing step S406 to enable the multi-screen interactive function; if a change occurs, Go to step S409;
步骤S409,判断应用程序变更的类型,若有卸载应用程序则执行步骤S410,若有新增应用程序,则执行步骤S411;Step S409, determining the type of application change, if there is an uninstall application, step S410 is performed, if there is a new application, step S411 is performed;
步骤S410,若变更类型为有卸载过应用程序,则将已被卸载的应用程序从受保护名单中清除;Step S410, if the change type is an uninstalled application, the uninstalled application is cleared from the protected list;
步骤S411,若变更类型为有新增的应用程序,则提示用户是否更新受保护设置,用户可选择更新受保护设置,也可选择不更新受保护设置;Step S411, if the change type is a newly added application, the user is prompted whether to update the receivedProtection settings, the user can choose to update the protected settings, or choose not to update the protected settings;
步骤S412,判断用户是否更新受保护设置,若是则执行步骤S403,否则执行步骤S405。In step S412, it is determined whether the user updates the protected setting, and if so, step S403 is performed, otherwise step S405 is performed.
(3)数据存储模块(3) Data storage module
设置为存储第一终端上已安装的所有应用程序的应用程序属性,还设置为存储第一终端上受保护的UI属性、应用程序属性,以及存储第一终端上不受保护的UI属性、应用程序属性。Set to store application properties of all applications installed on the first terminal, and also set to store protected UI attributes, application attributes on the first terminal, and store unprotected UI attributes, applications on the first terminal Program properties.
(4)设置模块(4) Setting module
用户在UI模块上的查看与设置操作是由设置模块进行初步处理,而最终的数据来源与数据去处则是数据存储模块、连接管理模块等模块。The viewing and setting operations of the user on the UI module are initially processed by the setting module, and the final data source and data are the data storage module, the connection management module and the like.
(5)连接管理模块(5) Connection management module
设置为对第一终端与第二终端的多屏互动连接的建立、断开、监管进行处理。具体设置为执行如图5所示的步骤S501和S502。It is configured to process the establishment, disconnection, and supervision of the multi-screen interactive connection between the first terminal and the second terminal. Specifically, it is set to perform steps S501 and S502 as shown in FIG.
步骤S501,第一终端与第二终端成功建立多屏互动连接;Step S501, the first terminal successfully establishes a multi-screen interactive connection with the second terminal;
步骤S502,在第一终端的UI上将生成一个半透明的悬浮控件。Step S502, a semi-transparent floating control is generated on the UI of the first terminal.
(6)数据获取模块(6) Data acquisition module
数据获取模块设置为执行图5中的如下步骤:The data acquisition module is arranged to perform the following steps in Figure 5:
步骤S503,数据获取模块获取第一终端当前的UI内容;Step S503, the data obtaining module acquires the current UI content of the first terminal.
步骤S504,获取第一终端当前的UI内容所属应用程序的应用程序属性;Step S504, acquiring an application attribute of an application to which the current UI content of the first terminal belongs;
步骤S505,获取第一终端当前的UI内容的UI属性;Step S505: Acquire a UI attribute of a current UI content of the first terminal.
步骤S506,数据获取模块获取第一终端当前的音频内容;Step S506, the data obtaining module acquires current audio content of the first terminal.
步骤S507,获取第一终端当前的音频内容所属应用程序的应用程序属;Step S507: Acquire an application genus of an application to which the current audio content of the first terminal belongs;
步骤S508,获取数据存储模块中存储的用户设置的受保护的UI属性、应用程序属性。Step S508, acquiring the protected UI attribute set by the user stored in the data storage module,Application properties.
需要说明的是,在获取第一终端上的指定内容之后,在确定是否将指定内容同步至第二终端之前,为了根据用户的需求准确地对信息进行同步,且不影响用户的安全,可以通过如下方式准确获取属性信息:判断目标用户界面的分享属性和/或目标应用的分享属性是否发生临时变更;若目标用户界面的分享属性和/或目标应用的分享属性发生临时变更,则获取目标用户界面和/或目标应用的变更后的属性信息;若目标用户界面的分享属性和/或目标应用的分享属性没有发生临时变更,则从数据库中获取目标用户界面的分享属性和/或目标应用的属性信息。It should be noted that, after obtaining the specified content on the first terminal, before determining whether to synchronize the specified content to the second terminal, in order to accurately synchronize the information according to the user's needs without affecting the security of the user, Obtain the attribute information accurately in the following manner: determine whether the sharing attribute of the target user interface and/or the sharing attribute of the target application temporarily change; if the sharing attribute of the target user interface and/or the sharing attribute of the target application temporarily change, the target user is acquired. The changed attribute information of the interface and/or the target application; if the shared attribute of the target user interface and/or the shared attribute of the target application does not change temporarily, the shared attribute of the target user interface and/or the target application is obtained from the database. Attribute information.
在上述实施例中,第一终端上用户设置为受保护的UI属性、应用程序,其对应的UI内容、音频内容均不会被发送至第二终端;而第一终端上不受保护的UI属性、应用程序的UI内容与音频内容才会被发送至第二终端,通过这种方法,保证了第一终端上不受保护的UI内容与音频内容被实时地发送至第二终端,也保证了第一终端上受保护的UI内容与音频内容不被发送至第二终端,从而达到了保护用户隐私的目的。In the above embodiment, the user on the first terminal is configured as a protected UI attribute, an application, and the corresponding UI content and audio content are not sent to the second terminal; and the UI is not protected on the first terminal. The attribute, the UI content of the application, and the audio content are sent to the second terminal. In this way, the unprotected UI content and the audio content on the first terminal are guaranteed to be sent to the second terminal in real time, and it is also guaranteed. The protected UI content and audio content on the first terminal are not sent to the second terminal, thereby achieving the purpose of protecting user privacy.
(7)数据比对模块(7) Data comparison module
数据比对模块设置为执行图5中的如下步骤:The data comparison module is set to perform the following steps in Figure 5:
步骤S509,进行属性比对,并判断比对是否成功,若成功则执行步骤S511,否则执行步骤S510,数据比对模块将数据获取模块获得的第一终端当前的UI内容的UI属性、第一终端当前的UI内容所属应用程序的应用程序属性、第一终端当前的音频内容所属应用程序的应用程序属性与数据存储模块中从数据存储模块中获取用户设置的受保护的UI属性、应用程序属性进行比对;In step S509, an attribute comparison is performed, and it is determined whether the comparison is successful. If successful, step S511 is performed. Otherwise, step S510 is performed, and the data comparison module obtains the UI attribute of the current UI content of the first terminal obtained by the data acquisition module, first. The application attribute of the application to which the current UI content of the terminal belongs, the application attribute of the application to which the current audio content of the first terminal belongs, and the protected UI attribute and application attribute of the user setting in the data storage module from the data storage module. Make comparisons;
步骤S510,将对比不成功的UI内容、音频内容进行保留,随即传递到数据混合模块进行数据混合处理;Step S510, the unsuccessful UI content and the audio content are reserved, and then passed to the data mixing module for data mixing processing;
步骤S511,将比对成功的UI内容、音频内容进行剔除,避免受保护的UI内容与音频内容进入到数据混合模块,从而达到用户隐私保护的目的。In step S511, the successfully compared UI content and audio content are eliminated, and the protected UI content and the audio content are prevented from entering the data mixing module, thereby achieving the purpose of user privacy protection.of.
由于不同的内容,其性质不同,如对于文字信息,就既要考虑其来源,也要考虑用户界面,而对于某些不用在用户界面中展示的内容,就仅需考虑其来源即可,因此,基于指定内容的属性信息确定是否将指定内容同步至第二终端包括:根据指定内容的内容类型,判断是基于目标用户界面的分享属性和目标应用的分享属性中的之一或者之二,确定是否将指定内容同步至第二终端,即根据内容的类型来判断需要考虑用户界面的分享属性或者目标应用的分享属性,又或者都要考虑。Because of different content, its nature is different. For example, for text information, you should consider its source and user interface. For some content that is not displayed in the user interface, you only need to consider its source. Determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content includes: determining, according to the content type of the specified content, based on one or two of the sharing attribute of the target user interface and the sharing attribute of the target application, determining Whether to synchronize the specified content to the second terminal, that is, according to the type of the content, it is necessary to consider the sharing attribute of the user interface or the sharing attribute of the target application, or both.
具体地,根据指定内容的内容类型,判断是基于目标用户界面的分享属性和目标应用的分享属性中的之一或者之二,确定是否将指定内容同步至第二终端包括:若指定内容的内容类型为文字类型,则在目标用户界面的分享属性为允许分享且目标应用的分享属性为允许分享的情况下,将文字内容同步至第二终端上进行展示;若指定内容的内容类型为多媒体类型,则在目标应用的分享属性为允许分享的情况下,将多媒体内容同步至第二终端上进行播放。Specifically, determining whether to synchronize the specified content to the second terminal according to one or two of the sharing attribute of the target user interface and the sharing attribute of the target application according to the content type of the specified content includes: if the content of the content is specified The type is a text type, and if the sharing attribute of the target user interface is to allow sharing and the sharing attribute of the target application is to allow sharing, the text content is synchronized to the second terminal for display; if the content type of the specified content is the multimedia type And, in the case that the sharing attribute of the target application is to allow sharing, the multimedia content is synchronized to the second terminal for playing.
(8)数据混合模块(8) Data mixing module
设置为将数据比对模块中保留下来的UI内容、音频内容进行数据混合处理。It is set to perform data mixing processing on the UI content and audio content retained in the data matching module.
(9)数据编码模块(9) Data Encoding Module
设置为将数据混合模块处理后的数据进行编码处理。It is set to encode the data processed by the data mixing module.
(10)数据发送模块(10) Data transmission module
设置为将数据编码模块处理后的数据发送至第二终端;还设置为对第二终端是否成功接收到第一终端发送的数据的反馈信息进行处理,若第二终端未成功接收数据,则第一终端将开启重传机制。And sending the data processed by the data encoding module to the second terminal; and further configured to process, by the second terminal, whether the second terminal successfully receives the data sent by the first terminal, if the second terminal does not successfully receive the data, A terminal will enable the retransmission mechanism.
通过上述实施例,在多屏互动时,用户可对某些UI属性的UI内容、某些应用程序的UI内容、某些应用程序的音频内容进行受保护设置,从而达到了用户隐私自定义;用户在使用多屏互动前、使用多屏互动中,都可对UI属性、应用程序进行受保护设置,从而达到了用户隐私保护设置的灵活性。Through the above embodiment, during multi-screen interaction, the user can protect the UI content of certain UI attributes, the UI content of some applications, and the audio content of some applications, thereby achieving user privacy customization; Users use multi-screen interaction before using multi-screen interactionUI properties and applications can be protected to achieve the flexibility of user privacy settings.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种多屏互动装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a multi-screen interactive device is also provided, which is configured to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是根据本发明实施例的多屏互动装置的示意图,如图6所示,该装置包括获取单元601和确定单元603。FIG. 6 is a schematic diagram of a multi-screen interaction apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes an acquisition unit 601 and a determination unit 603.
获取单元601,设置为获取第一终端上的指定内容。The obtaining unit 601 is configured to acquire the specified content on the first terminal.
确定单元603,设置为基于指定内容的属性信息确定是否将指定内容同步至第二终端。The determining unit 603 is configured to determine whether to synchronize the specified content to the second terminal based on the attribute information of the specified content.
上述的指定内容来源于目标应用,属性信息包括指定内容所在的目标用户界面和/或目标应用的分享属性。分享属性用指示该应用的数据是否允许被分享至第二终端,或者设置为指示在用户界面中展示的内容是否允许被分享至第二终端,分享属性可以是预先设置好的,也可以是在互动过程中,用户自定义的。The specified content is derived from the target application, and the attribute information includes the target user interface where the specified content is located and/or the sharing attribute of the target application. The sharing attribute is used to indicate whether the data of the application is allowed to be shared to the second terminal, or is set to indicate whether the content displayed in the user interface is allowed to be shared to the second terminal, and the sharing attribute may be preset or may be User-defined during the interaction process.
通过上述实施例,获取单元获取第一终端上的指定内容,确定单元基于指定内容的属性信息确定是否将指定内容同步至第二终端,根据属性信息来确定是否将指定内容同步至第二终端,可避免敏感数据被同步至第二终端,解决了多屏互动的安全性较低的问题,提高了多屏互动的安全性。With the above embodiment, the obtaining unit acquires the specified content on the first terminal, and determines the unit base.Determining whether to synchronize the specified content to the second terminal according to the attribute information of the specified content, determining whether to synchronize the specified content to the second terminal according to the attribute information, to prevent the sensitive data from being synchronized to the second terminal, and solving the security of the multi-screen interaction The problem of lower sex improves the security of multi-screen interaction.
上述的指定内容可以为文字内容、音频内容、视频内容、消息通知内容等;上述的方法适用于但不局限于移动终端、笔记本电脑、台式电脑。The specified content may be text content, audio content, video content, message notification content, etc.; the above method is applicable to, but not limited to, a mobile terminal, a notebook computer, and a desktop computer.
在上述实施例中,对用户隐私的保护基于UI内容的用户界面的分享属性、UI内容所属的应用程序的分享属性、音频内容所属的应用程序的分享属性。用户界面的分享属性包括但不限于锁屏界面上的消息通知、状态栏中的消息通知、下拉通知栏中的消息通知、各类账号密码输入窗口的用户界面的分享属性;应用程序的分享属性包括但不限于设置、图库等系统自带的应用程序以及用户安装的应用程序(如支付宝、微信等)的分享属性。用户可通过对用户界面的分享属性、应用程序的受保护状态(即应用的分享属性)进行设置,从而达到用户隐私内容自定义的目的。In the above embodiment, the protection of the user's privacy is based on the sharing attribute of the user interface of the UI content, the sharing attribute of the application to which the UI content belongs, and the sharing attribute of the application to which the audio content belongs. The sharing attributes of the user interface include, but are not limited to, message notification on the lock screen interface, message notification in the status bar, message notification in the drop-down notification column, sharing attributes of the user interface of various account password input windows, and sharing attributes of the application. This includes, but is not limited to, the application properties of the system, such as settings, gallery, etc., and the shared properties of user-installed applications (such as Alipay, WeChat, etc.). The user can customize the privacy content of the user by setting the sharing attribute of the user interface and the protected state of the application (ie, the sharing attribute of the application).
在使用多屏互动前、使用多屏互动中,用户可以对需要受保护的UI的分享属性、应用程序的分享属性进行设置。从而达到用户隐私内容灵活设置的目的。Before using multi-screen interaction, using multi-screen interaction, users can set the sharing properties of the UI to be protected and the sharing properties of the application. Thereby achieving the purpose of flexible setting of user privacy content.
第一终端与第二终端在多屏互动下,第一终端上受保护的UI属性、受保护的应用程序的UI内容、受保护的应用程序的音频内容将不会被发送至第二终端;而第一终端上不受保护的UI属性、不受保护的应用程序的UI内容、不受保护的应用程序的音频内容才会被发送至第二终端。通过这种方法,保证了第一终端上不受保护的内容被实时地发送至第二终端,也保证了第一终端上受保护的内容不被发送至第二终端,从而达到保护用户隐私的目的。The first terminal and the second terminal interact with each other, and the protected UI attribute on the first terminal, the UI content of the protected application, and the audio content of the protected application will not be sent to the second terminal; The unprotected UI attributes on the first terminal, the UI content of the unprotected application, and the audio content of the unprotected application are sent to the second terminal. In this way, it is ensured that the unprotected content on the first terminal is sent to the second terminal in real time, and that the protected content on the first terminal is not sent to the second terminal, thereby achieving protection of user privacy. purpose.
可选地,该装置还包括:建立单元,设置为在获取第一终端上的指定内容之后,在第一终端上建立设置窗口,其中,设置窗口允许查看和变更多个用户界面的分享属性和多个应用的分享属性。在多个用户界面中的任一用户界面的分享属性或多个应用中的任一应用的分享属性发生变更时,保存变更后的属性信息。Optionally, the device further includes: an establishing unit, configured to establish a setting window on the first terminal after acquiring the specified content on the first terminal, wherein the setting window allows to view and change sharing attributes of the multiple user interfaces Share attributes with multiple apps. When the sharing attribute of any of the plurality of user interfaces or the sharing attribute of any of the plurality of applications is changed,Save the changed attribute information.
可选地,目标用户界面上设置有悬浮控件,悬浮控件设置为展示目标应用的分享属性或目标用户界面的分享属性,其中,允许通过点击悬浮控件来变更目标应用的分享属性或目标用户界面的分享属性。在通过点击悬浮控件来变更目标用户界面的分享属性或目标应用的分享属性时,若变更的类型不为临时变更,则保存变更后的属性信息。Optionally, a floating control is set on the target user interface, and the floating control is set to display a sharing attribute of the target application or a sharing attribute of the target user interface, wherein the sharing attribute of the target application or the target user interface is allowed to be changed by clicking the floating control. Share attributes. When the sharing attribute of the target user interface or the sharing attribute of the target application is changed by clicking the floating control, if the changed type is not temporarily changed, the changed attribute information is saved.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取第一终端上的指定内容;S1. Obtain specified content on the first terminal.
S2,基于指定内容的属性信息确定是否将指定内容同步至第二终端。S2. Determine, according to the attribute information of the specified content, whether to synchronize the specified content to the second terminal.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
如上所述,本发明实施例提供的一种多屏互动方法及装置,具有以下有益效果:获取第一终端上的指定内容;基于指定内容的属性信息确定是否将指定内容同步至第二终端,根据属性信息来确定是否将指定内容同步至第二终端,可避免敏感数据被同步至第二终端,解决了多屏互动的安全性较低的问题,提高了多屏互动的安全性。As described above, the multi-screen interaction method and apparatus provided by the embodiments of the present invention have the following beneficial effects: acquiring specified content on the first terminal; determining whether to synchronize the specified content to the second terminal based on the attribute information of the specified content, Determining whether to synchronize the specified content to the second terminal according to the attribute information prevents the sensitive data from being synchronized to the second terminal, solves the problem of low security of the multi-screen interaction, and improves the security of the multi-screen interaction.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610405733.2 | 2016-06-08 | ||
| CN201610405733.2ACN107479798A (en) | 2016-06-08 | 2016-06-08 | Multi-screen interaction method and device |
| Publication Number | Publication Date |
|---|---|
| WO2017211088A1true WO2017211088A1 (en) | 2017-12-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/071440CeasedWO2017211088A1 (en) | 2016-06-08 | 2017-01-17 | Multi-screen interaction method and device |
| Country | Link |
|---|---|
| CN (1) | CN107479798A (en) |
| WO (1) | WO2017211088A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110471825A (en)* | 2019-06-27 | 2019-11-19 | 维沃移动通信有限公司 | A kind of progress display methods and terminal device |
| CN111221491A (en)* | 2020-01-09 | 2020-06-02 | Oppo(重庆)智能科技有限公司 | Interaction control method and device, electronic equipment and storage medium |
| CN114245157A (en)* | 2021-12-01 | 2022-03-25 | 广州方硅信息技术有限公司 | Live broadcast room activity data display method and device, equipment, medium and product thereof |
| CN115022708A (en)* | 2022-05-31 | 2022-09-06 | 咪咕视讯科技有限公司 | Multi-screen interactive method, device, network device and terminal |
| CN116089118A (en)* | 2022-12-22 | 2023-05-09 | 上海汽车工业(集团)有限公司 | Multi-screen intelligent interaction method, device, equipment and medium for vehicle |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109547628A (en)* | 2018-10-30 | 2019-03-29 | 努比亚技术有限公司 | Mirror image display methods, device and computer readable storage medium |
| CN114691000B (en)* | 2022-05-31 | 2022-08-26 | 上海豪承信息技术有限公司 | Multi-screen linkage method, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2736221A1 (en)* | 2012-11-22 | 2014-05-28 | NEC Corporation | Improved synchronization of an application run on two distinct devices |
| CN104298484A (en)* | 2014-10-17 | 2015-01-21 | 深圳市中兴移动通信有限公司 | Multi-screen interaction method and device |
| CN104317620A (en)* | 2014-10-24 | 2015-01-28 | 中兴通讯股份有限公司 | Multi-screen sharing based application management method and device |
| CN104902075A (en)* | 2015-04-29 | 2015-09-09 | 努比亚技术有限公司 | Multi-screen interaction method and system |
| CN105335120A (en)* | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Multi-screen input/output control method, device and system |
| CN105376701A (en)* | 2015-11-24 | 2016-03-02 | 裴兆欣 | Multi-screen interaction method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104244075B (en)* | 2014-08-29 | 2019-02-22 | 形山科技(深圳)有限公司 | A kind of sharing media information method and system |
| CN105404630A (en)* | 2014-09-12 | 2016-03-16 | 中兴通讯股份有限公司 | Information processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2736221A1 (en)* | 2012-11-22 | 2014-05-28 | NEC Corporation | Improved synchronization of an application run on two distinct devices |
| CN105335120A (en)* | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Multi-screen input/output control method, device and system |
| CN104298484A (en)* | 2014-10-17 | 2015-01-21 | 深圳市中兴移动通信有限公司 | Multi-screen interaction method and device |
| CN104317620A (en)* | 2014-10-24 | 2015-01-28 | 中兴通讯股份有限公司 | Multi-screen sharing based application management method and device |
| CN104902075A (en)* | 2015-04-29 | 2015-09-09 | 努比亚技术有限公司 | Multi-screen interaction method and system |
| CN105376701A (en)* | 2015-11-24 | 2016-03-02 | 裴兆欣 | Multi-screen interaction method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110471825A (en)* | 2019-06-27 | 2019-11-19 | 维沃移动通信有限公司 | A kind of progress display methods and terminal device |
| CN111221491A (en)* | 2020-01-09 | 2020-06-02 | Oppo(重庆)智能科技有限公司 | Interaction control method and device, electronic equipment and storage medium |
| CN114245157A (en)* | 2021-12-01 | 2022-03-25 | 广州方硅信息技术有限公司 | Live broadcast room activity data display method and device, equipment, medium and product thereof |
| CN115022708A (en)* | 2022-05-31 | 2022-09-06 | 咪咕视讯科技有限公司 | Multi-screen interactive method, device, network device and terminal |
| CN115022708B (en)* | 2022-05-31 | 2024-03-12 | 咪咕视讯科技有限公司 | Multi-screen interaction method and device, network equipment and terminal |
| CN116089118A (en)* | 2022-12-22 | 2023-05-09 | 上海汽车工业(集团)有限公司 | Multi-screen intelligent interaction method, device, equipment and medium for vehicle |
| Publication number | Publication date |
|---|---|
| CN107479798A (en) | 2017-12-15 |
| Publication | Publication Date | Title |
|---|---|---|
| WO2017211088A1 (en) | Multi-screen interaction method and device | |
| US9973506B2 (en) | Method and apparatus for clearing notification icon, and storage medium | |
| JP6417035B2 (en) | Unified preparation of applications on devices in enterprise systems | |
| US9697629B1 (en) | System, method and computer product for user performance and device resolution settings | |
| CN114080594A (en) | Notification badges for workspaces or apps | |
| US20240388510A1 (en) | Transitioning Network Entities Associated With A Virtual Cloud Network Through A Series Of Phases Of A Certificate Bundle Distribution Process | |
| US9286599B2 (en) | Redacting content in online meetings | |
| CN106603667A (en) | Screen information sharing method and device | |
| CN112016068A (en) | Account control method, device, equipment and computer readable storage medium | |
| US10481756B2 (en) | Controlling application access to applications and resources via graphical representation and manipulation | |
| KR20150116228A (en) | Method for managing contact information and electronic device implementing the same | |
| KR20210125468A (en) | Method for sharing information on conditional action and an electronic device thereof | |
| US11611519B1 (en) | Event trigger visibility within a group-based communication system | |
| CN113312669B (en) | Password synchronization method, device and storage medium | |
| EP3005141A1 (en) | User centric data maintenance | |
| CN110012163B (en) | Suspended window setting method and device and electronic equipment | |
| US10218769B2 (en) | Monitoring digital images on mobile devices | |
| US10218505B1 (en) | Server based settings for client software with asymmetric signing | |
| WO2024109786A1 (en) | Instant messaging session information processing method and apparatus, and electronic device | |
| KR102071530B1 (en) | Apparatas and method for proposing a response manual of occurring denial in an electronic device | |
| CN110134480B (en) | User trigger operation processing method and device, electronic equipment and storage medium | |
| US10809915B2 (en) | Automatic credential input to a user interface of a remote mobile app | |
| US9531832B2 (en) | Migrating social connections from a first profile to a second profile | |
| WO2017124747A1 (en) | Method and system for managing preference parameter of mobile terminal application | |
| US10380614B1 (en) | User reset voting to identify unwanted settings values in client software |
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:17809529 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:17809529 Country of ref document:EP Kind code of ref document:A1 |