Movatterモバイル変換


[0]ホーム

URL:


CN107835118A - Information processing method, device, mobile terminal, and computer-readable storage medium - Google Patents

Information processing method, device, mobile terminal, and computer-readable storage medium
Download PDF

Info

Publication number
CN107835118A
CN107835118ACN201711015412.2ACN201711015412ACN107835118ACN 107835118 ACN107835118 ACN 107835118ACN 201711015412 ACN201711015412 ACN 201711015412ACN 107835118 ACN107835118 ACN 107835118A
Authority
CN
China
Prior art keywords
window
text information
video
session
video session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711015412.2A
Other languages
Chinese (zh)
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711015412.2ApriorityCriticalpatent/CN107835118A/en
Publication of CN107835118ApublicationCriticalpatent/CN107835118A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the application relates to an information processing method, an information processing device, a mobile terminal and a computer readable storage medium. The method comprises the following steps: when a video session request is received, establishing a video session; if a request for switching from a first window to a second window is detected, detecting whether the video session contains an unauthorized face image, wherein the first window is a video session window which does not contain text information, and the second window is a session window which contains text information; and if so, processing the text information in the second window according to a pre-configured text processing template to enable the text information to be in an invisible state, and switching from the first window to the second window. The information processing method, the information processing device, the mobile terminal and the computer readable storage medium can prevent text information from being leaked during video conversation and protect personal privacy safety of users.

Description

Translated fromChinese
信息处理方法、装置、移动终端及计算机可读存储介质Information processing method, device, mobile terminal, and computer-readable storage medium

技术领域technical field

本申请涉及计算机技术领域,特别是涉及一种信息处理方法、装置、移动终端及计算机可读存储介质。The present application relates to the field of computer technology, and in particular to an information processing method, device, mobile terminal and computer-readable storage medium.

背景技术Background technique

在互联网的快速发展下,即时通信工具已成为用户越来越不可缺少的日常沟通工具。即时通信工具可通过文字、语言或视频等方式进行会话,而视频会话则是当下即时通信工具的一项基本功能。视频会话可通过摄像头等捕捉画面,通过网络进行有影像、有声音的交流,使通信更加便捷生动。With the rapid development of the Internet, instant messaging tools have become increasingly indispensable daily communication tools for users. Instant messaging tools can conduct conversations through text, language, or video, and video conversation is a basic function of instant messaging tools today. Video sessions can capture pictures through cameras, etc., and communicate with images and sounds through the network, making communication more convenient and vivid.

发明内容Contents of the invention

本申请实施例提供一种信息处理方法、装置、移动终端及计算机可读存储介质,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。Embodiments of the present application provide an information processing method, device, mobile terminal, and computer-readable storage medium, which can prevent leakage of text information during video conversations and protect personal privacy of users.

一种信息处理方法,包括:An information processing method, comprising:

当接收到视频会话请求时,建立视频会话;When a video session request is received, a video session is established;

若检测到从第一窗口切换至第二窗口的请求时,检测所述视频会话中是否包含未授权的人脸图像,其中,所述第一窗口为不包含文字信息的视频会话窗口,所述第二窗口为包含文字信息的会话窗口;When detecting a request to switch from the first window to the second window, detect whether an unauthorized face image is included in the video session, wherein the first window is a video session window that does not contain text information, and the The second window is a conversation window containing text information;

若包含,则按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,使所述文字信息处于不可见状态,并从所述第一窗口切换至第二窗口。If so, process the text information in the second window according to a pre-configured text processing template, make the text information invisible, and switch from the first window to the second window.

一种信息处理装置,包括:An information processing device, comprising:

会话建立模块,用于当接收到视频会话请求时,建立视频会话;A session establishment module, configured to establish a video session when a video session request is received;

检测模块,用于若检测到从第一窗口切换至第二窗口的请求时,检测所述视频会话中是否包含未授权的人脸图像,其中,所述第一窗口为不包含文字信息的视频会话窗口,所述第二窗口为包含文字信息的会话窗口;A detection module, configured to detect whether an unauthorized face image is included in the video session if a request to switch from the first window to the second window is detected, wherein the first window is a video that does not contain text information A session window, the second window is a session window containing text information;

文字处理模块,用于若所述视频会话中包含未授权的人脸图像,则按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,使所述文字信息处于不可见状态,并从所述第一窗口切换至第二窗口。A word processing module, configured to process the text information in the second window according to a pre-configured word processing template to make the text information invisible if the video session contains an unauthorized face image , and switch from the first window to the second window.

一种移动终端,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如上所述的方法。A mobile terminal includes a memory and a processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the above method.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method is realized.

上述信息处理方法、装置、移动终端及计算机可读存储介质,进行视频会话时,若检测到从不包含文字信息的视频会话窗口切换至包含文字信息的会话窗口的请求时,检测视频会话中是否包含未授权的人脸图像,若包含,则可按照预先配置的文字处理模板对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。The above information processing method, device, mobile terminal, and computer-readable storage medium, when performing a video session, if a request to switch from a video session window that does not contain text information to a session window that contains text information is detected, it is detected whether the video session is Contains unauthorized face images. If it is included, the text information can be processed according to the pre-configured word processing template to make the text information invisible, which can prevent the leakage of text information during video conversations and protect the user's personal privacy. .

附图说明Description of drawings

图1为一个实施例中信息处理方法的应用场景图;Fig. 1 is an application scenario diagram of an information processing method in an embodiment;

图2为一个实施例中信息处理方法的流程示意图;Fig. 2 is a schematic flow chart of an information processing method in an embodiment;

图3为一个实施例中进行视频会话时会话窗口的示意图;FIG. 3 is a schematic diagram of a session window during a video session in one embodiment;

图4为一个实施例中存储授权的人脸图像及配置的文字处理模板的流程示意图;Fig. 4 is the schematic flow chart of the word processing template of the face image of storing authorization and configuration in one embodiment;

图5为一个实施例中按照预先配置的文字处理模板对文字信息进行处理的流程示意图;FIG. 5 is a schematic flow diagram of processing text information according to a pre-configured text processing template in an embodiment;

图6为另一个实施例中按照预先配置的文字处理模板对文字信息进行处理的流程示意图;FIG. 6 is a schematic flow diagram of processing text information according to a pre-configured text processing template in another embodiment;

图7为一个实施例中信息处理装置的框图;Fig. 7 is a block diagram of an information processing device in an embodiment;

图8为另一个实施例中信息处理装置的框图;Fig. 8 is a block diagram of an information processing device in another embodiment;

图9为一个实施例中移动终端的框图。Figure 9 is a block diagram of a mobile terminal in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It can be understood that the terms "first", "second" and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first client could be termed a second client, and, similarly, a second client could be termed a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.

图1为一个实施例中信息处理方法的应用场景图。如图1所示,当第一终端10接收到视频会话请求时,可与第二终端20建立网络连接,并建立与第二终端20的视频会话。第一终端10进行视频会话时,当检测到从第一窗口切换至第二窗口的请求时,可检测视频会话中是否包含未授权的人脸图像,其中,第一窗口可为不包含文字信息的视频会话窗口,第二窗口可为包含文字信息的会话窗口。若视频会话中包含未授权的人脸图像,则第一终端10可按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,使文字信息处于不可见状态,并从第一窗口切换至第二窗口。Fig. 1 is an application scenario diagram of an information processing method in an embodiment. As shown in FIG. 1 , when the first terminal 10 receives a video session request, it can establish a network connection with the second terminal 20 and establish a video session with the second terminal 20 . When the first terminal 10 conducts a video session, when detecting a request to switch from the first window to the second window, it can detect whether an unauthorized face image is included in the video session, wherein the first window may not contain text information The video session window, the second window may be a session window containing text information. If the video session contains unauthorized face images, the first terminal 10 can process the text information in the second window according to the pre-configured text processing template, so that the text information is in an invisible state, and switch from the first window to the second window.

如图2所示,在一个实施例中,提供一种信息处理方法,包括以下步骤:As shown in Figure 2, in one embodiment, an information processing method is provided, including the following steps:

步骤210,当接收到视频会话请求时,建立视频会话。Step 210, when a video session request is received, a video session is established.

移动终端可开启即时通信工具进行文字、语音或视频等通信,用户可在即时通信工具中选择会话对象,并创建会话窗口,在会话窗口中与选择的会话对象进行通信,其中,会话对象可以是与移动终端建立网络连接后可在该会话窗口中接收或发送消息的其他终端等,可选地,一个会话窗口中可以包含有一个或多个会话对象。The mobile terminal can open the instant messaging tool for text, voice or video communication. The user can select the conversation object in the instant messaging tool, and create a conversation window, and communicate with the selected conversation object in the conversation window. The conversation object can be After establishing a network connection with the mobile terminal, other terminals that can receive or send messages in the session window, etc. Optionally, a session window can contain one or more session objects.

当移动终端接收到视频会话请求时,可建立与会话对象的视频会话,其中,视频会话请求可以由用户触发界面上的视频会话按钮,当移动终端检测到视频会话按钮触发时,接收视频会话请求,并获取用户选择的会话对象,根据该会话对象建立视频会话;视频会话请求也可以是由其他终端发送的,当移动终端接收到其他终端发起的视频会话请求时,可根据该视频会话请求获取会话对象,并根据该会话对象建立视频会话等。在一个实施例中,移动终端建立视频会话后,可开启摄像头、麦克风等设备采集图像信息及语音信息等,通过创建的视频会话窗口将图像信息及语音信息等传送给会话对象,并同时接收会话对象发送的图像信息及语音信息等在视频会话窗口中进行播放。When the mobile terminal receives a video session request, it can establish a video session with the session object, wherein the video session request can be triggered by the user on the video session button on the interface, and when the mobile terminal detects that the video session button is triggered, it receives the video session request , and obtain the session object selected by the user, and establish a video session based on the session object; the video session request can also be sent by other terminals, when the mobile terminal receives a video session request initiated by other terminals, it can obtain the video session request according to the video session request session object, and establish a video session etc. based on the session object. In one embodiment, after the mobile terminal establishes a video session, it can turn on equipment such as a camera and a microphone to collect image information and voice information, etc., transmit the image information and voice information to the session object through the created video session window, and receive the session information at the same time. The image information and voice information sent by the object are played in the video session window.

步骤220,若检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像,若是,则执行步骤230,若否,则执行步骤240。Step 220, if a request to switch from the first window to the second window is detected, check whether the video session contains unauthorized face images, if yes, execute step 230, if not, execute step 240.

移动终端与会话对象进行视频会话时,可采用不同模式的会话窗口,不同模式的会话窗口之间可进行切换。在本实施例中,会话窗口可包括第一窗口及第二窗口,其中,第一窗口可以是不包含文字信息仅能看到视频画面的视频会话窗口,第二窗口可以是既包含有文字信息又包含有视频画面的会话窗口,文字信息可指的是移动终端与会话对象进行会话时发送或接收的文字信息,可包括文字、表情图片等,但不限于此,也可采用其他模式的会话窗口。When the mobile terminal conducts a video conversation with the conversation object, conversation windows of different modes can be used, and conversation windows of different modes can be switched. In this embodiment, the session window can include a first window and a second window, wherein the first window can be a video session window that does not contain text information and can only see video images, and the second window can be a window that contains text information. It also includes a conversation window with a video image. The text information can refer to the text information sent or received when the mobile terminal has a conversation with the conversation object, which can include text, emoticons, etc., but is not limited to this, and other modes of conversation can also be used. window.

在一个实施例中,移动终端建立视频会话,可先采用第一窗口与会话对象进行视频通信,并通过窗口管理器监听窗口切换,检测是否有接收到从第一窗口切换至第二窗口的请求。若移动终端接收到从第一窗口切换至第二窗口的请求时,可检测视频会话中是否包含未授权的人脸图像。视频会话中可能包含有移动终端的摄像头等采集的图像,以及会话对象发送的视频画面。在本实施例中,移动终端可对摄像头等采集的图像进行人脸识别,检测视频会话中是否包含未授权的人脸图像。移动终端可将识别到的人脸与预先存储的携带有授权标签的人脸图像进行比较,若识别到的人脸为授权的人脸图像,则可直接从第一窗口切换至第二窗口,若识别到的人脸中包含未授权的人脸图像,则可对第二窗口中的文字信息进行处理。移动终端可能识别到采集的图像中包含一张或多张人脸图像,可通过预设的模型逐一计算识别到的人脸图像与预先存储的携带有授权标签的人脸图像的相似度,当相似度大于预设阈值时,比如85%或90%等,则可判定为授权的人脸图像,识别到的人脸图像与授权的人脸图像相符合,若识别到的人脸图像与预先存储的携带有授权标签的人脸图像的相似度均不大于预设阈值,则可判定为未授权的人脸图像。In one embodiment, when a mobile terminal establishes a video session, it may first use the first window to communicate with the session object, and monitor window switching through the window manager to detect whether a request for switching from the first window to the second window is received . If the mobile terminal receives a request to switch from the first window to the second window, it can detect whether an unauthorized face image is included in the video session. The video session may include images collected by the camera of the mobile terminal, etc., and video images sent by the session object. In this embodiment, the mobile terminal can perform face recognition on images collected by a camera or the like, and detect whether an unauthorized face image is included in a video session. The mobile terminal can compare the recognized face with the pre-stored face image carrying the authorization tag, if the recognized face is an authorized face image, it can directly switch from the first window to the second window, If the recognized face contains an unauthorized face image, the text information in the second window can be processed. The mobile terminal may recognize that the collected images contain one or more face images, and can calculate the similarity between the recognized face images and the pre-stored face images with authorized tags through the preset model one by one. When the similarity is greater than the preset threshold, such as 85% or 90%, it can be determined as an authorized face image, and the recognized face image matches the authorized face image. If the similarity of the stored face images carrying the authorization tag is not greater than the preset threshold, it can be determined as an unauthorized face image.

步骤230,按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,使文字信息处于不可见状态。Step 230, process the text information in the second window according to the pre-configured text processing template to make the text information invisible.

若移动终端检测到视频会话中包含未授权的人脸图像,则可将第二窗口中的文字信息切换为隐私保护模式,可获取预设配置的与隐私保护模式对应的文字处理模板,并按照该文字处理模板对第二窗口中的文字信息进行处理,其中,对文字信息进行处理可包括但不限于改变文字信息的字体颜色、字体大小、对文字信息进行模糊化处理或直接隐藏文字信息等。移动终端按照与隐私保护模式对应的文字处理模板对第二窗口中的文字信息进行处理后,可使文字信息处于不可见状态,其中,不可见状态指的是人体肉眼较难分辨的状态,可以是直接不显示的隐藏状态,也可以是显示了但是无法通过肉眼准确分辨内容的状态等。If the mobile terminal detects that an unauthorized face image is included in the video session, the text information in the second window can be switched to the privacy protection mode, and the word processing template corresponding to the privacy protection mode with the preset configuration can be obtained, and according to The word processing template processes the text information in the second window, wherein the processing of the text information may include but not limited to changing the font color and font size of the text information, blurring the text information or directly hiding the text information, etc. . After the mobile terminal processes the text information in the second window according to the text processing template corresponding to the privacy protection mode, the text information can be made invisible, wherein the invisible state refers to a state that is difficult for human eyes to distinguish, and can It may be a hidden state that is not displayed directly, or a state that is displayed but the content cannot be accurately distinguished by the naked eye, etc.

步骤240,从第一窗口切换至第二窗口。Step 240, switch from the first window to the second window.

移动终端将第二窗口中的文字信息切换为隐私保护模式后,可将第一窗口切换至第二窗口,进行视频会话的未授权的人用图像对应的用户可较难分辨出第二窗口的文字信息,可防止视频会话时文字会话内容被偷窥,造成用户的隐私信息泄露,可以更好地保障用户的隐私安全。After the mobile terminal switches the text information in the second window to the privacy protection mode, it can switch the first window to the second window, and it is difficult for the user corresponding to the unauthorized person who conducts the video conversation to distinguish the information in the second window. Text information can prevent the content of the text conversation from being peeped during the video conversation, resulting in the leakage of the user's private information, which can better protect the privacy of the user.

图3为一个实施例中进行视频会话时会话窗口的示意图。如图3所示,移动终端可采用第一窗口310或第二窗口320进行视频会话。第一窗口310可以是不包含文字信息仅能看到视频画面的视频会话窗口,第一窗口310中可包含视频画面1及视频画面2,其中,视频画面1可展示会话对象发送的视频画面,视频画面2可展示摄像头采集的视频画面,或者是视频画面1展示摄像头采集的视频画面,视频画面2展示会话对象发送的视频画面等,在此不作限定。第二窗口320可以是既包含有文字信息又包含有视频画面的会话窗口,在第二窗口320中可展示移动终端与会话对象的文字会话内容。当移动终端检测到从第一窗口310切换至第二窗口320的请求时,可检测摄像头采集的图像中是否包含未授权的人脸图像。若包含未授权的人脸图像,则可按照预先配置的文字处理模板对第二窗口320中的文字信息进行处理,使文字信息处于不可见状态,并从第一窗口310切换至第二窗口320,则第二窗口320中的文字信息不会被肉眼准确分辨。若不包含未授权的人脸图像,则可直接从第一窗口310切换至第二窗口320。Fig. 3 is a schematic diagram of a session window during a video session in an embodiment. As shown in FIG. 3 , the mobile terminal can use the first window 310 or the second window 320 to conduct a video session. The first window 310 can be a video conversation window that does not contain text information and can only see the video picture. The first window 310 can include a video picture 1 and a video picture 2, wherein the video picture 1 can display the video picture sent by the conversation object, The video screen 2 can display the video screen captured by the camera, or the video screen 1 can display the video screen captured by the camera, and the video screen 2 can display the video screen sent by the conversation object, etc., which are not limited here. The second window 320 may be a conversation window including both text information and video images, and the text conversation content between the mobile terminal and the conversation object may be displayed in the second window 320 . When the mobile terminal detects a request to switch from the first window 310 to the second window 320, it can detect whether the image collected by the camera contains an unauthorized face image. If an unauthorized face image is included, the text information in the second window 320 can be processed according to the pre-configured word processing template to make the text information invisible, and switch from the first window 310 to the second window 320 , the text information in the second window 320 cannot be accurately distinguished by the naked eye. If there is no unauthorized face image, it can be directly switched from the first window 310 to the second window 320 .

在本实施例中,进行视频会话时,若检测到从不包含文字信息的视频会话窗口切换至包含文字信息的会话窗口的请求时,检测视频会话中是否包含未授权的人脸图像,若包含,则可按照预先配置的文字处理模板对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, when performing a video session, if a request for switching from a video session window that does not contain text information to a session window that contains text information is detected, whether an unauthorized face image is included in the video session is detected. , the text information can be processed according to the pre-configured word processing template, so that the text information is in an invisible state, which can prevent the leakage of text information during video conversations and protect the personal privacy of users.

如图4所示,在一个实施例中,在步骤210当接收到视频会话请求时,建立视频会话之前,还包括以下步骤:As shown in Figure 4, in one embodiment, when the video session request is received in step 210, before the video session is established, the following steps are also included:

步骤402,当接收到开启视频隐私保护请求时,采集人脸图像并添加授权标签。Step 402, when receiving a request to enable video privacy protection, collect a face image and add an authorization tag.

移动终端可设置有视频隐私保护开关,用户可根据实际需求选择开启或关闭视频隐私保护功能。当移动终端接收到开启视频隐私保护请求时,可采集授权的人脸图像并进行存储。在一个实施例中,当移动终端接收到开启视频隐私保护请求时,可开启摄像头等设备,并通过摄像头等设备采集当前的图像,可对采集的图像进行人脸识别,并对识别到的人脸图像添加授权标签。可选地,用户也可选择移动终端中已经存储的图像中包含的人脸进行授权,移动终端对用户选择的图像进行人脸识别,并对识别到的人脸图像添加授权标签。The mobile terminal can be provided with a video privacy protection switch, and the user can choose to enable or disable the video privacy protection function according to actual needs. When the mobile terminal receives a request to enable video privacy protection, it can collect authorized face images and store them. In one embodiment, when the mobile terminal receives a request to enable video privacy protection, it can turn on the camera and other equipment, and collect the current image through the camera and other equipment, can perform face recognition on the collected image, and identify the person Add authorization tags to face images. Optionally, the user may also select a face contained in an image stored in the mobile terminal for authorization, and the mobile terminal performs face recognition on the image selected by the user, and adds an authorization tag to the recognized face image.

在一个实施例中,移动终端可对添加授权标签的人脸图像进行展示,用户可在展示的人脸图像中选择取消授权标签,移动终端根据用户的选择操作可删除对应人脸图像的授权标签,将授权的人脸图像变更为未授权的人脸图像。In one embodiment, the mobile terminal can display the face image with the authorization tag added, the user can choose to cancel the authorization tag in the displayed face image, and the mobile terminal can delete the authorization tag corresponding to the face image according to the user's selection operation , changing the authorized face image to an unauthorized face image.

步骤404,获取配置的文字处理模板,并将添加授权标签的人脸图像及文字处理模板进行存储。In step 404, the configured word processing template is obtained, and the face image and the word processing template with the authorization tag added are stored.

用户可根据实际需求设置视频会话时文字信息切换为隐私保护模式进行的处理方式,可包括但不限于改变文字信息的字体颜色、字体大小、对文字信息进行模糊化处理或直接隐藏文字信息等,例如,可将文字信息的字体调整为预设透明度,将字体大小调整为较小的字号,或是选择对文字信息进行马赛克处理等。移动终端可根据用户的设置信息配置文字处理模板,并将添加授权标签的人脸图像与配置的文字处理模板进行存储,当移动终端进行视频会话时,若检测到从第一窗口切换至第二窗口的请求,可根据存储的添加授权标签的人脸图像检测视频会话中是否包含未授权的人脸图像,若包含,则可按照存储的文字处理模板对第二窗口的文字信息进行存储,使文字信息处于不可见状态。Users can set the processing method of switching text information to privacy protection mode during video sessions according to actual needs, which may include but not limited to changing the font color and font size of text information, blurring text information or directly hiding text information, etc. For example, the font of the text information can be adjusted to a preset transparency, the font size can be adjusted to a smaller font size, or a mosaic process can be selected to be performed on the text information. The mobile terminal can configure the word processing template according to the user's setting information, and store the face image with the authorized tag and the configured word processing template. The request of the window can detect whether an unauthorized face image is included in the video session according to the stored face image with an authorization tag added. If it is included, the text information of the second window can be stored according to the stored word processing template, so that Text information is invisible.

在一个实施例中,若移动终端未开启视频隐私保护功能,进行视频会话时,移动终端可不对视频会话的人脸图像进行识别,也可在检测到从第一窗口切换至第二窗口的请求时,在屏幕中展示开启视频隐私保护功能的提示信息,根据用户的选择操作确定是否对视频会话的人脸图像进行识别。若用户根据提示信息选择开启视频隐私保护功能,则移动终端可对当前采集的图像进行人脸识别,并判断视频会话中是否包含未授权的人脸图像,若用户根据提示信息选择不开启视频隐私保护功能,则可不对视频会话的人脸图像进行人脸识别。In one embodiment, if the mobile terminal does not enable the video privacy protection function, the mobile terminal may not recognize the face image of the video session during a video session, or may detect a request to switch from the first window to the second window , a prompt message to enable the video privacy protection function is displayed on the screen, and it is determined whether to recognize the face image of the video session according to the user's selection operation. If the user chooses to enable the video privacy protection function according to the prompt information, the mobile terminal can perform face recognition on the currently collected images and determine whether the video session contains unauthorized face images. If the user chooses not to enable the video privacy protection function according to the prompt information If the protection function is not used, face recognition may not be performed on the face images of the video session.

在本实施例中,可预设存储授权的人脸图像及配置的文字处理模板,方便在进行视频会话时对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, the authorized face image and the configured text processing template can be stored in advance, so that the text information can be processed conveniently during the video conversation, so that the text information is in an invisible state, and the text information can be prevented from being displayed during the video conversation. Disclosure, to protect the personal privacy of users.

在一个实施例中,在步骤210当接收到视频会话请求时,建立视频会话之后,还包括:获取视频会话中的会话对象标识,若会话对象标识存在于预设的隐私列表中,则执行步骤220当检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像。In one embodiment, when the video session request is received in step 210, after the video session is established, it also includes: obtaining the session object identifier in the video session, and if the session object identifier exists in the preset privacy list, then perform the steps 220 When a request to switch from the first window to the second window is detected, detect whether an unauthorized face image is included in the video session.

移动终端建立视频会话之后,可获取视频会话中包含的会话对象标识,其中,会话对象标识可以是会话对象的账号身份标识(identification,ID),也可以是会话对象所在的终端的介质访问控制层(Media Access Control,MAC)地址或网际协议(InternetProtocol,IP)地址等。移动终端可将视频会话中包含的会话对象标识与预设的隐私列表进行比对,判断会话对象标识是否存在于预设的隐私列表中,其中,隐私列表可存储有被标记为隐私保护对象的会话对象标识,用户可根据实际需求选择需要进行隐私保护的会话对象,移动终端可将选择的会话对象进行标记,并将标记的会话对象标识添加到隐私列表中。若视频会话中的会话对象标识存在于预设的隐私列表中,说明该会话对象被标记为隐私保护对象,则当移动终端检测到从第一窗口切换至第二窗口的请求时,可检测视频会话中是否包含未授权的人脸图像,若包含未授权的人脸图像,可将第二窗口的文字信息切换为隐私保护模式。若视频会话中的会话对象标识不存在于预设的隐私列表中,则可直接从第一窗口切换至第二窗口,不对第二窗口的文字信息进行处理。After the mobile terminal establishes the video session, it can obtain the session object identifier contained in the video session, wherein the session object identifier can be the account identity (identification, ID) of the session object, or can be the media access control layer of the terminal where the session object is located. (Media Access Control, MAC) address or Internet Protocol (Internet Protocol, IP) address, etc. The mobile terminal can compare the session object identifier contained in the video session with the preset privacy list, and judge whether the session object identifier exists in the preset privacy list, wherein the privacy list can store information marked as privacy protection objects. The session object identifier, the user can select the session object that requires privacy protection according to actual needs, the mobile terminal can mark the selected session object, and add the marked session object identifier to the privacy list. If the session object identifier in the video session exists in the preset privacy list, it means that the session object is marked as a privacy protection object, then when the mobile terminal detects a request to switch from the first window to the second window, it can detect the video Whether the session contains unauthorized face images, if any unauthorized face images are included, the text information in the second window can be switched to privacy protection mode. If the session object identifier in the video session does not exist in the preset privacy list, it can directly switch from the first window to the second window without processing the text information of the second window.

在一个实施例中,若视频会话中包含有多个会话对象标识,移动终端可逐一判断会话对象标识是否存在于预设的隐私列表中。若视频会话中有会话对象标识存在于预设的隐私列表中,当接收到从第一窗口切换至第二窗口的请求时,若检测到视频会话中包含未授权的人脸图像,移动终端可按照预先配置的文字处理模板对存在于预设隐私列表中的会话对象标识关联的文字信息进行处理,使存在于预设隐私列表中的会话对象标识关联的文字信息处于不可见状态,其他不存在于预设隐私列表中的会话对象标识关联的文字信息可不进行处理。In one embodiment, if the video session includes multiple session object identifiers, the mobile terminal can determine whether the session object identifiers exist in the preset privacy list one by one. If a session object identifier exists in the preset privacy list in the video session, when receiving a request to switch from the first window to the second window, if it detects that an unauthorized face image is included in the video session, the mobile terminal can According to the pre-configured word processing template, the text information associated with the session object identifier existing in the preset privacy list is processed, so that the text information associated with the session object identifier existing in the preset privacy list is invisible, and other text information does not exist Text information associated with session object identifiers in the default privacy list may not be processed.

在本实施例中,当与被标记为隐私保护对象的会话对象进行视频会话时,可对视频会话时的文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, when having a video conversation with a conversation object marked as a privacy protection object, the text information during the video conversation can be processed so that the text information is in an invisible state, which can prevent the text information from leaking during the video conversation , to protect the personal privacy of users.

如图5所示,在一个实施例中,步骤230按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,包括以下步骤:As shown in FIG. 5, in one embodiment, step 230 processes the text information in the second window according to a pre-configured text processing template, including the following steps:

步骤502,提取第二窗口的背景颜色。Step 502, extracting the background color of the second window.

移动终端可获取第二窗口中展示文字会话内容的背景图像,该背景图像可以是带有图案的背景图片,也可以是简单进行色彩填充的背景图像等,并根据背景图像提取第二窗口的背景颜色。在一个实施例中,移动终端可绘制背景图像的颜色直方图,颜色直方图可用于展示背景图像中的像素在各个颜色的分布情况。移动终端根据颜色直方图确定背景图像中像素分布最多的颜色区间,并将该像素分布最多的颜色区间对应的颜色作为第二窗口的背景颜色。The mobile terminal can obtain the background image showing the content of the text conversation in the second window. The background image can be a background image with a pattern, or a background image simply filled with color, etc., and extract the background of the second window according to the background image color. In one embodiment, the mobile terminal can draw a color histogram of the background image, and the color histogram can be used to display the distribution of pixels in the background image in each color. The mobile terminal determines the color interval with the most pixels in the background image according to the color histogram, and uses the color corresponding to the color interval with the most pixels as the background color of the second window.

步骤504,根据背景颜色调整第二窗口中的文字信息的字体颜色。Step 504, adjusting the font color of the text information in the second window according to the background color.

移动终端可根据提取的第二窗口的背景颜色对第二窗口中的文字信息的字体颜色进行调整,将文字信息调整为与背景颜色相同或相似的颜色,可选地,移动终端可从背景图像中像素分布最多的颜色区间中随机选取一个颜色值对文字信息的字体颜色进行调整,或是从该颜色区间中获取像素分布最多的颜色值,并将文字信息的字体颜色调整为该像素分布最多的颜色值。The mobile terminal can adjust the font color of the text information in the second window according to the extracted background color of the second window, and adjust the text information to a color that is the same as or similar to the background color. Optionally, the mobile terminal can select from the background image Randomly select a color value from the color interval with the most pixel distribution to adjust the font color of the text information, or obtain the color value with the most pixel distribution from the color interval, and adjust the font color of the text information to the most pixel distribution color value.

在一个实施例中,移动终端按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,可先获取第二窗口中文字信息的显示坐标信息,该显示坐标信息可用于指示文字信息在屏幕中的展示位置。移动终端可确定背景图像中与该显示坐标信息对应的背景区域,再从背景区域中提取颜色,根据提取的颜色调整对应显示坐标信息展示的文字信息的字体颜色,可使第二窗口的文字信息的字体颜色更贴近背景,不容易被分辨。In one embodiment, the mobile terminal processes the text information in the second window according to a pre-configured text processing template, and may first obtain the display coordinate information of the text information in the second window, and the display coordinate information may be used to indicate the text information in the second window. The placement in the screen. The mobile terminal can determine the background area corresponding to the display coordinate information in the background image, then extract the color from the background area, and adjust the font color of the text information corresponding to the display coordinate information according to the extracted color, so that the text information of the second window The font color of is closer to the background and is not easy to be distinguished.

在本实施例中,进行视频会话时,可根据第二窗口的背景颜色调整文字信息的字体颜色,使字体颜色贴近背景,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, during the video conversation, the font color of the text information can be adjusted according to the background color of the second window, so that the font color is close to the background, which can prevent the leakage of the text information during the video conversation and protect the user's personal privacy.

如图6所示,在一个实施例中,步骤230按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,包括以下步骤:As shown in FIG. 6, in one embodiment, step 230 processes the text information in the second window according to a pre-configured text processing template, including the following steps:

步骤602,确定检测到的未授权的人脸与屏幕之间的距离。Step 602, determining the distance between the detected unauthorized face and the screen.

移动终端对摄像头采集的图像进行人脸识别,当检测到识别的人脸中包含未授权的人脸图像时,可确定检测到的未授权的人脸与屏幕之间的距离。可选地,移动终端可通过距离传感器确定检测到的未授权的人脸与屏幕之间的距离,距离传感器可发射红外线,当屏幕前有人脸时,可对红外线进行反射。距离传感器可根据从发射至接收到未授权的人脸反射的红外线的时间计算未授权的人脸与屏幕之间的距离。The mobile terminal performs face recognition on images collected by the camera, and when an unauthorized face image is detected in the recognized face, the distance between the detected unauthorized face and the screen can be determined. Optionally, the mobile terminal can determine the distance between the detected unauthorized face and the screen through the distance sensor, the distance sensor can emit infrared rays, and when there is a face in front of the screen, the infrared rays can be reflected. The distance sensor can calculate the distance between the unauthorized face and the screen based on the time from emission to reception of the infrared rays reflected by the unauthorized face.

可以理解地,移动终端也可采用其他方式确定检测到的未授权的人脸与屏幕之间的距离,例如,移动终端可获取检测到的未授权的人脸图像的景深信息,并根据该景深信息确定未授权的人脸与屏幕之间的距离等,其中,景深指的是在摄影机镜头或其他成像设备前沿能够取得清晰图像的成像所测定的被摄物体前后距离范围。It can be understood that the mobile terminal can also use other methods to determine the distance between the detected unauthorized face and the screen, for example, the mobile terminal can obtain the depth of field information of the detected unauthorized face image, and according to the depth of field The information determines the distance between the unauthorized face and the screen, etc., where the depth of field refers to the distance range before and after the subject measured by imaging that can obtain a clear image at the front of the camera lens or other imaging equipment.

步骤604,根据距离缩小第二窗口中的文字信息的字体大小。Step 604, reducing the font size of the text information in the second window according to the distance.

移动终端确定检测到的未授权的人脸与屏幕之间的距离后,可根据该距离按比例缩小第二窗口中的文字信息的字体大小。可预先划分不同的距离区间,并配置每个距离区间对应的缩小比例,移动终端确定检测到的未授权的人脸与屏幕之间的距离后,可获取该距离所在的距离区间,并根据该所在的距离区间对应的缩小比例缩小第二窗口中的文字信息的字体大小,其中,缩小比例指的是将文字信息的字体大小缩小的程度,缩小比例越大时,字体的缩小程度越大,缩小比例越小时,字体的缩小程度越小。例如,距离区间可包括小于0.5米,0.5米~1米,1米~5米,大于5米等,可分别对应的缩小比例为0.8、0.6、0.4、0.2等,但不限于此,当未授权的人脸与屏幕之间的距离越小时,可对应较大的缩小比例,将文字信息调整得越小,当未授权的人脸与屏幕之间的距离越大时,可对应较小的缩小比例,对文字信息进行较小程度的缩小。After the mobile terminal determines the distance between the detected unauthorized face and the screen, it can proportionally reduce the font size of the text information in the second window according to the distance. Different distance intervals can be divided in advance, and the reduction ratio corresponding to each distance interval can be configured. After the mobile terminal determines the distance between the detected unauthorized face and the screen, it can obtain the distance interval where the distance is located, and according to the The reduction ratio corresponding to the distance interval reduces the font size of the text information in the second window, wherein the reduction ratio refers to the degree of reducing the font size of the text information, and the larger the reduction ratio, the greater the reduction degree of the font. The smaller the reduction ratio, the smaller the reduction of the font. For example, the distance interval may include less than 0.5 meters, 0.5 meters to 1 meter, 1 meter to 5 meters, greater than 5 meters, etc., and the corresponding reduction ratios are 0.8, 0.6, 0.4, 0.2, etc., but not limited thereto. The smaller the distance between the authorized face and the screen, it can correspond to a larger reduction ratio, and the smaller the text information is adjusted, when the distance between the unauthorized face and the screen is larger, it can correspond to a smaller scale. Scale down, to reduce the text information to a small degree.

在一个实施例中,移动终端可确定检测到的未授权的人脸图像占采集的图像的面积比例,并根据该面积比例缩小第二窗口中的文字信息的字体大小。当该面积比例越大时,说明未授权的人脸距离屏幕较近,可选取较大的缩小比例调整文字信息的字体大小,当该面积比例越小时,说明未授权的人脸距离屏幕较远,可选取较小的缩小比例调整文字信息的字体大小。In one embodiment, the mobile terminal may determine the area ratio of the detected unauthorized face image to the collected image, and reduce the font size of the text information in the second window according to the area ratio. When the area ratio is larger, it means that the unauthorized face is closer to the screen. You can choose a larger reduction ratio to adjust the font size of the text information. When the area ratio is smaller, it means that the unauthorized face is farther away from the screen. , you can select a smaller reduction ratio to adjust the font size of the text information.

可选地,移动终端还可对第二窗口的文字信息进行模糊化处理,其中,模糊化处理可以是马赛克处理,随机取文字信息在第二窗口中所在的展示区域的像素并进行重新排列,从而得到马赛克的效果,也可以是对文字信息进行平滑化处理,对文字信息所在的展示区域的像素进行平均处理,使各个像素之间的差距变小,从而实现模糊化的效果等,并不限于此。文字信息所在的展示区域可以是第二窗口中的消息汽泡,该消息汽泡中可展示一条发送或接收的文字信息。Optionally, the mobile terminal may also perform fuzzy processing on the text information in the second window, wherein the fuzzy processing may be mosaic processing, randomly taking and rearranging the pixels of the display area where the text information is located in the second window, In order to obtain the mosaic effect, it is also possible to smooth the text information, average the pixels in the display area where the text information is located, and make the gap between each pixel smaller, so as to achieve the effect of blurring, etc. limited to this. The display area where the text information is located may be a message bubble in the second window, and a sent or received text message may be displayed in the message bubble.

可以理解地,移动终端按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,并不仅包括上述的几种处理方式,还可以是其他处理方式,比如调整文字信息的字体透明度,使文字信息呈现透明状态,或是在文字信息的展示区域上覆盖图层,对文字信息进行遮挡等,也可同时对文字信息进行多种不同的处理,比如既调整文字信息的字体颜色,又缩小文字信息的字体大小等,可根据需求对处理方式进行设置,并配置成对应的文字处理模板。It can be understood that the mobile terminal processes the text information in the second window according to the pre-configured text processing template, which not only includes the above-mentioned several processing methods, but also other processing methods, such as adjusting the font transparency of the text information, so that The text information is in a transparent state, or a layer is overlaid on the display area of the text information to block the text information, etc., and a variety of different processing can be performed on the text information at the same time, such as adjusting the font color of the text information and shrinking the size of the text information. The font size of the text information, etc., can be set according to the needs of the processing method, and configured as a corresponding word processing template.

在本实施例中,可根据未授权的人脸与屏幕的距离缩小第二窗口中的文字信息的字体大小,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, the font size of the text information in the second window can be reduced according to the distance between the unauthorized face and the screen, which can prevent the text information from leaking during the video conversation and protect the personal privacy of the user.

在一个实施例中,在步骤230按照预先配置的文字处理模板对第二窗口中的文字信息进行处理之前,还包括:记录第二窗口中的文字信息未进行处理时的状态。In one embodiment, before step 230 of processing the text information in the second window according to the pre-configured text processing template, it further includes: recording the status of the text information in the second window when it is not processed.

若移动终端检测到视频会话中包含未授权的人脸图像,在按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,将文字信息切换为隐私保护模式之前,可先记录文字信息未进行处理时的状态,其中,未进行处理时的状态可包括文字信息未进行处理时的字体颜色、字体大小、文字内容等。If the mobile terminal detects that an unauthorized face image is included in the video session, it can first record the text information before processing the text information in the second window according to the pre-configured text processing template and switching the text information to the privacy protection mode The state when not being processed, wherein the state when not being processed may include font color, font size, text content, etc. when the text information is not processed.

在步骤240从第一窗口切换至第二窗口之后,还包括:若检测到视频会话中不包含未授权的人脸图像,则将第二窗口中的文字信息恢复成未进行处理时的状态。After switching from the first window to the second window in step 240, it also includes: if it is detected that the video session does not contain unauthorized face images, restoring the text information in the second window to the state when it is not processed.

移动终端按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,可使文字信息处于不可见状态。从第一窗口切换至第二窗口后,当移动终端采用第二窗口进行视频会话时,可实时或定时对摄像头采集的图像进行人脸识别,并检测识别的人脸中是否包含未授权的人脸图像。若移动终端检测到采集的图像中不包含未授权的人脸图像,则可将第二窗口中的文字信息从不可见状态恢复成未进行处理时的状态,使文字信息正常进行展示。当移动终端再次检测到采集的图像中包含未授权的人脸图像时,可再按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,重新使文字信息处于不可见状态。The mobile terminal processes the text information in the second window according to the pre-configured text processing template, so that the text information can be kept in an invisible state. After switching from the first window to the second window, when the mobile terminal uses the second window for video conversation, it can perform face recognition on the images collected by the camera in real time or regularly, and detect whether the recognized faces contain unauthorized people face image. If the mobile terminal detects that the collected images do not contain unauthorized face images, the text information in the second window can be restored from an invisible state to an unprocessed state, so that the text information can be displayed normally. When the mobile terminal detects that the collected image contains an unauthorized face image again, it can process the text information in the second window according to the pre-configured text processing template, and make the text information invisible again.

在一个实施例中,当移动终端接收到关闭视频会话请求时,若当前处于第一窗口,则可断开与会话对象的视频连接,并从第一窗口切换至不包含视频画面的会话窗口。移动终端断开与会话对象的视频连接后,可使摄像头继续保持开启状态,通过摄像头采集当前的图像,对采集的图像进行人脸识别,检测识别的人脸中是否包含未授权的人脸图像。若包含未授权的人脸图像,则可按照预先配置的文字处理模板对不包含视频画面的会话窗口中的文字信息进行处理,使文字信息处于不可见状态,再切换至该不包含视频画面的会话窗口。当检测到摄像头采集的图像中不包含未授权的人脸图像时,可将不包含视频画面的会话窗口中的文字信息恢复成未处理时的状态,使文字信息正常进行显示,并关闭摄像头。In one embodiment, when the mobile terminal receives the request to close the video session, if it is currently in the first window, it can disconnect the video connection with the session object, and switch from the first window to a session window that does not contain video images. After the mobile terminal disconnects the video connection with the session object, the camera can continue to be turned on, collect the current image through the camera, perform face recognition on the collected image, and detect whether the recognized face contains unauthorized face images . If it contains unauthorized face images, the text information in the conversation window that does not contain video images can be processed according to the pre-configured word processing template, so that the text information is in an invisible state, and then switch to the session window that does not contain video images. session window. When it is detected that the images collected by the camera do not contain unauthorized face images, the text information in the session window that does not contain video images can be restored to the unprocessed state, so that the text information can be displayed normally, and the camera is turned off.

在本实施例中,可先记录第二窗口中的文字信息未进行处理时的状态,当视频会话中不包含未授权的人脸图像,可使文字信息恢复成未进行处理时的状态,正常进行显示,操作简便快捷。In this embodiment, the state when the text information in the second window is not processed can be recorded first, and when the video session does not include unauthorized face images, the text information can be restored to the state when it is not processed, and it is normal Display, easy and quick operation.

在一个实施例中,提供一种信息处理方法,包括以下步骤:In one embodiment, an information processing method is provided, comprising the following steps:

步骤(1),当接收到开启视频隐私保护请求时,采集人脸图像并添加授权标签,获取配置的文字处理模板,并将添加授权标签的人脸图像及文字处理模板进行存储。Step (1), when receiving a request to enable video privacy protection, collect face images and add authorization tags, obtain configured word processing templates, and store the face images and word processing templates with authorization tags added.

步骤(2),当接收到视频会话请求时,建立视频会话。Step (2), when a video session request is received, a video session is established.

步骤(3),若检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像,其中,第一窗口可为不包含文字信息的视频会话窗口,第二窗口可为包含文字信息的会话窗口。Step (3), when detecting the request to switch from the first window to the second window, detect whether an unauthorized face image is included in the video session, wherein the first window can be a video session window that does not contain text information, The second window may be a conversation window containing text information.

可选地,可获取视频会话中的会话对象标识,若会话对象标识存在于预设的隐私列表中,则执行步骤(3)。Optionally, the session object identifier in the video session may be acquired, and if the session object identifier exists in the preset privacy list, step (3) is performed.

步骤(4),若视频会话中包含未授权的人脸图像,则可按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,使文字信息处于不可见状态。In step (4), if the video session contains unauthorized face images, the text information in the second window can be processed according to the pre-configured text processing template to make the text information invisible.

可选地,按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,包括:提取第二窗口的背景颜色,根据背景颜色调整第二窗口中的文字信息的字体颜色。Optionally, processing the text information in the second window according to a pre-configured text processing template includes: extracting the background color of the second window, and adjusting the font color of the text information in the second window according to the background color.

可选地,按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,包括:确定检测到的未授权的人脸与屏幕之间的距离,根据距离缩小第二窗口中的文字信息的字体大小。Optionally, processing the text information in the second window according to a pre-configured text processing template includes: determining the distance between the detected unauthorized face and the screen, and narrowing down the text information in the second window according to the distance font size.

步骤(5),从第一窗口切换至第二窗口。Step (5), switch from the first window to the second window.

可选地,在按照预设模板对所述第二窗口中的文字信息进行处理之前,可记录第二窗口中的文字信息未进行处理时的状态。在从第一窗口切换至第二窗口之后,若检测到视频会话中不包含未授权的人脸图像,则将第二窗口中的文字信息恢复成未进行处理时的状态。Optionally, before the text information in the second window is processed according to the preset template, a state when the text information in the second window is not processed may be recorded. After switching from the first window to the second window, if it is detected that the video session does not contain unauthorized face images, the text information in the second window is restored to the state when it is not processed.

在本实施例中,进行视频会话时,若检测到从不包含文字信息的视频会话窗口切换至包含文字信息的会话窗口的请求时,检测视频会话中是否包含未授权的人脸图像,若包含,则可按照预先配置的文字处理模板对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, when performing a video session, if a request for switching from a video session window that does not contain text information to a session window that contains text information is detected, whether an unauthorized face image is included in the video session is detected. , the text information can be processed according to the pre-configured word processing template, so that the text information is in an invisible state, which can prevent the leakage of text information during video conversations and protect the personal privacy of users.

如图7所示,在一个实施例中,提供一种信息处理装置700,包括会话建立模块710、检测模块720及文字处理模块730。As shown in FIG. 7 , in one embodiment, an information processing device 700 is provided, including a session establishment module 710 , a detection module 720 and a word processing module 730 .

会话建立模块710,用于当接收到视频会话请求时,建立视频会话。The session establishment module 710 is configured to establish a video session when a video session request is received.

检测模块720,用于若检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像,其中,第一窗口为不包含文字信息的视频会话窗口,第二窗口为包含文字信息的会话窗口。The detection module 720 is used to detect whether an unauthorized face image is included in the video session if a request to switch from the first window to the second window is detected, wherein the first window is a video session window that does not contain text information, The second window is a conversation window containing text information.

文字处理模块730,用于若视频会话中包含未授权的人脸图像,则按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,使文字信息处于不可见状态,并从第一窗口切换至第二窗口。The word processing module 730 is used to process the text information in the second window according to the pre-configured word processing template if the video session contains an unauthorized face image, so that the text information is in an invisible state, and from the first The window switches to the second window.

在本实施例中,进行视频会话时,若检测到从不包含文字信息的视频会话窗口切换至包含文字信息的会话窗口的请求时,检测视频会话中是否包含未授权的人脸图像,若包含,则可按照预先配置的文字处理模板对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, when performing a video session, if a request for switching from a video session window that does not contain text information to a session window that contains text information is detected, whether an unauthorized face image is included in the video session is detected. , the text information can be processed according to the pre-configured word processing template, so that the text information is in an invisible state, which can prevent the leakage of text information during video conversations and protect the personal privacy of users.

如图8所示,在一个实施例中,上述信息处理装置700,除了包括会话建立模块710、检测模块720及文字处理模块730,还包括采集模块740及存储模块750。As shown in FIG. 8 , in one embodiment, the information processing device 700 includes a collection module 740 and a storage module 750 in addition to a session establishment module 710 , a detection module 720 and a word processing module 730 .

采集模块740,用于当接收到开启视频隐私保护请求时,采集人脸图像并添加授权标签。The collection module 740 is configured to collect a face image and add an authorization tag when receiving a video privacy protection request.

存储模块750,用于获取配置的文字处理模板,并将添加授权标签的人脸图像及文字处理模板进行存储。The storage module 750 is configured to obtain the configured word processing template, and store the face image and the word processing template with the authorization tag added.

在本实施例中,可预设存储授权的人脸图像及配置的文字处理模板,方便在进行视频会话时对文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, the authorized face image and the configured text processing template can be stored in advance, so that the text information can be processed conveniently during the video conversation, so that the text information is in an invisible state, and the text information can be prevented from being displayed during the video conversation. Disclosure, to protect the personal privacy of users.

在一个实施例中,检测模块720,还用于获取视频会话中的会话对象标识,若会话对象标识存在于预设的隐私列表中,则当检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像。In one embodiment, the detection module 720 is also used to obtain the session object identifier in the video session. If the session object identifier exists in the preset privacy list, when a request to switch from the first window to the second window is detected , detect whether unauthorized face images are included in the video session.

在本实施例中,当与被标记为隐私保护对象的会话对象进行视频会话时,可对视频会话时的文字信息进行处理,使文字信息处于不可见状态,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, when having a video conversation with a conversation object marked as a privacy protection object, the text information during the video conversation can be processed so that the text information is in an invisible state, which can prevent the text information from leaking during the video conversation , to protect the personal privacy of users.

在一个实施例中,文字处理模块730,包括颜色提取单元及颜色调整单元。In one embodiment, the word processing module 730 includes a color extraction unit and a color adjustment unit.

颜色提取单元,用于提取第二窗口的背景颜色。The color extracting unit is used for extracting the background color of the second window.

颜色调整单元,用于根据背景颜色调整第二窗口中的文字信息的字体颜色。The color adjustment unit is configured to adjust the font color of the text information in the second window according to the background color.

在本实施例中,进行视频会话时,可根据第二窗口的背景颜色调整文字信息的字体颜色,使字体颜色贴近背景,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, during the video conversation, the font color of the text information can be adjusted according to the background color of the second window, so that the font color is close to the background, which can prevent the leakage of the text information during the video conversation and protect the user's personal privacy.

在一个实施例中,上述文字处理模块730,除了包括颜色提取单元及颜色调整单元,还包括距离确定单元及缩小单元。In one embodiment, the word processing module 730 includes a distance determination unit and a reduction unit in addition to the color extraction unit and the color adjustment unit.

距离确定单元,用于确定检测到的未授权的人脸与屏幕之间的距离。a distance determining unit, configured to determine the distance between the detected unauthorized face and the screen.

缩小单元,用于根据距离缩小第二窗口中的文字信息的字体大小。The reduction unit is configured to reduce the font size of the text information in the second window according to the distance.

在本实施例中,可根据未授权的人脸与屏幕的距离缩小第二窗口中的文字信息的字体大小,可以防止进行视频会话时文字信息泄露,保护用户的个人隐私安全。In this embodiment, the font size of the text information in the second window can be reduced according to the distance between the unauthorized face and the screen, which can prevent the text information from leaking during the video conversation and protect the personal privacy of the user.

在一个实施例中,上述信息处理装置700,除了包括会话建立模块710、检测模块720、文字处理模块730、采集模块740及存储模块750,还包括记录模块。In one embodiment, the above-mentioned information processing device 700 includes a recording module in addition to the session establishment module 710 , the detection module 720 , the word processing module 730 , the collection module 740 and the storage module 750 .

记录模块,用于记录第二窗口中的文字信息未进行处理时的状态。The recording module is used for recording the status when the text information in the second window is not processed.

文字处理模块730,还用于若检测到视频会话中不包含未授权的人脸图像,则将第二窗口中的文字信息恢复成所述未进行处理时的状态。The text processing module 730 is further configured to restore the text information in the second window to the state when it is not processed if it is detected that the video session does not contain unauthorized face images.

在本实施例中,可先记录第二窗口中的文字信息未进行处理时的状态,当视频会话中不包含未授权的人脸图像,可使文字信息恢复成未进行处理时的状态,正常进行显示,操作简便快捷。In this embodiment, the state when the text information in the second window is not processed can be recorded first, and when the video session does not include unauthorized face images, the text information can be restored to the state when it is not processed, and it is normal Display, easy and quick operation.

本申请实施例还提供了一种移动终端。如图9所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以移动终端为手机为例:The embodiment of the present application also provides a mobile terminal. As shown in FIG. 9 , for ease of description, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The mobile terminal can be any terminal device including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, wearable device, etc., taking the mobile terminal as a mobile phone as an example :

图9为与本申请实施例提供的移动终端相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless-Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 is a block diagram of a partial structure of a mobile phone related to the mobile terminal provided by the embodiment of the present application. Referring to FIG. 9, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (Wireless-Fidelity, WiFi) module 970, a processor 980, and power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 9 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

其中,RF电路910可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器980处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信系统(Global System forMobile Communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、CDMA、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。Among them, the RF circuit 910 can be used for sending and receiving information or receiving and sending signals during a call. After receiving the downlink information from the base station, it can be processed by the processor 980; it can also send uplink data to the base station. Generally, an RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 910 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (Global System for Mobile Communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), CDMA, Wideband Code Division Multiple Access ( Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Message Service (Short Messaging Service, SMS), etc.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.); The data storage area can store data created according to the use of the mobile phone (such as audio data, address book, etc.) and the like. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机900的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板932以及其他输入设备934。触控面板932,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板932上或在触控面板932附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板932可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板932。除了触控面板932,输入单元930还可以包括其他输入设备934。具体地,其他输入设备934可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 930 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone 900 . Specifically, the input unit 930 may include a touch panel 932 and other input devices 934 . The touch panel 932, which can also be referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 932 or near the touch panel 932 operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 932 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch panel 932 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 932 , the input unit 930 may also include other input devices 934 . Specifically, other input devices 934 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板942。在一个实施例中,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板942。在一个实施例中,触控面板932可覆盖显示面板942,当触控面板932检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板942上提供相应的视觉输出。虽然在图9中,触控面板932与显示面板942是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板932与显示面板942集成而实现手机的输入和输出功能。The display unit 940 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 942 . In one embodiment, the display panel 942 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. In one embodiment, the touch panel 932 can cover the display panel 942, and when the touch panel 932 detects a touch operation on or near it, the touch operation is sent to the processor 980 to determine the type of the touch event, and then the processor 980 according to the The type of touch event provides a corresponding visual output on the display panel 942 . Although in FIG. 9, the touch panel 932 and the display panel 942 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 932 and the display panel 942 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.

手机900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板942的亮度,接近传感器可在手机移动到耳边时,关闭显示面板942和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。Cell phone 900 may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 942 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 942 and/or when the mobile phone is moved to the ear. or backlight. The motion sensor can include an acceleration sensor, through which the magnitude of acceleration in various directions can be detected, and the magnitude and direction of gravity can be detected when stationary, and can be used for applications that recognize the attitude of a mobile phone (such as switching between horizontal and vertical screens), vibration recognition related functions (such as pedometer, tap), etc.; in addition, the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors.

音频电路960、扬声器962和传声器964可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器962,由扬声器962转换为声音信号输出;另一方面,传声器964将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910可以发送给另一手机,或者将音频数据输出至存储器920以便后续处理。Audio circuitry 960, speaker 962, and microphone 964 may provide an audio interface between the user and the handset. The audio circuit 960 can transmit the electrical signal converted from the received audio data to the speaker 962, and the speaker 962 converts it into an audio signal for output; After being received, it is converted into audio data, and after being processed by the output processor 980, the audio data can be sent to another mobile phone through the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access.

处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器980可包括一个或多个处理单元。在一个实施例中,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 920, and calling data stored in the memory 920, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. In one embodiment, processor 980 may include one or more processing units. In one embodiment, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc.; the modem processor mainly processes wireless communications. It can be understood that, the foregoing modem processor may not be integrated into the processor 980 .

手机900还包括给各个部件供电的电源990(比如电池),优选的,电源990可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 900 also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply 990 can be logically connected to the processor 980 through a power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. .

在一个实施例中,手机900还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 900 may also include a camera, a Bluetooth module, and the like.

在本申请实施例中,该移动终端所包括的处理器980执行存储在存储器上的计算机程序时实现上述的信息处理方法。In the embodiment of the present application, the processor 980 included in the mobile terminal implements the above information processing method when executing the computer program stored in the memory.

在一个实施例中,该移动终端可包括存储器920及处理器980,存储器920中存储有计算机程序,该计算机程序被处理器980执行时,使得处理器执行如下步骤:In one embodiment, the mobile terminal may include a memory 920 and a processor 980. A computer program is stored in the memory 920. When the computer program is executed by the processor 980, the processor performs the following steps:

当接收到视频会话请求时,建立视频会话;When a video session request is received, a video session is established;

若检测到从第一窗口切换至第二窗口的请求时,检测视频会话中是否包含未授权的人脸图像,其中,第一窗口为不包含文字信息的视频会话窗口,第二窗口为包含文字信息的会话窗口;If a request to switch from the first window to the second window is detected, detect whether an unauthorized face image is included in the video session, wherein the first window is a video session window that does not contain text information, and the second window contains text message session window;

若包含,则按照预先配置的文字处理模板对第二窗口中的文字信息进行处理,使文字信息处于不可见状态,并从所述第一窗口切换至第二窗口。If so, process the text information in the second window according to the pre-configured text processing template, make the text information invisible, and switch from the first window to the second window.

在一个实施例中,提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述的信息处理方法。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above information processing method is implemented.

在一个实施例中,提供一种包含计算机程序的计算机程序产品,当其在计算机设备上运行时,使得计算机设备执行时实现上述的信息处理方法。In one embodiment, a computer program product including a computer program is provided, which, when run on a computer device, enables the computer device to implement the above information processing method when executed.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) and the like.

如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The various technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (10)

Translated fromChinese
1.一种信息处理方法,其特征在于,包括:1. An information processing method, characterized in that, comprising:当接收到视频会话请求时,建立视频会话;When a video session request is received, a video session is established;若检测到从第一窗口切换至第二窗口的请求时,检测所述视频会话中是否包含未授权的人脸图像,其中,所述第一窗口为不包含文字信息的视频会话窗口,所述第二窗口为包含文字信息的会话窗口;When detecting a request to switch from the first window to the second window, detect whether an unauthorized face image is included in the video session, wherein the first window is a video session window that does not contain text information, and the The second window is a conversation window containing text information;若包含,则按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,使所述文字信息处于不可见状态,并从所述第一窗口切换至第二窗口。If so, process the text information in the second window according to a pre-configured text processing template, make the text information invisible, and switch from the first window to the second window.2.根据权利要求1所述的方法,其特征在于,在所述当接收到视频会话请求时,建立视频会话之前,所述方法还包括:2. The method according to claim 1, characterized in that, before the video session is established when the video session request is received, the method further comprises:当接收到开启视频隐私保护请求时,采集人脸图像并添加授权标签;When receiving a request to enable video privacy protection, collect face images and add authorization tags;获取配置的文字处理模板,并将添加授权标签的人脸图像及文字处理模板进行存储。Obtain the configured word processing template, and store the face image and word processing template with the authorization tag added.3.根据权利要求1所述的方法,其特征在于,在所述当接收到视频会话请求时,建立视频会话之后,所述方法还包括:3. The method according to claim 1, characterized in that, after the video session is established when the video session request is received, the method further comprises:获取所述视频会话中的会话对象标识;Obtain the session object identifier in the video session;若所述会话对象标识存在于预设的隐私列表中,则当检测到从第一窗口切换至第二窗口的请求时,检测所述视频会话中是否包含未授权的人脸图像。If the session object identifier exists in the preset privacy list, when a request to switch from the first window to the second window is detected, it is detected whether the video session contains an unauthorized face image.4.根据权利要求1所述的方法,其特征在于,所述按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,包括:4. The method according to claim 1, wherein the processing of the text information in the second window according to a pre-configured text processing template comprises:提取所述第二窗口的背景颜色;extracting the background color of the second window;根据所述背景颜色调整所述第二窗口中的文字信息的字体颜色。Adjusting the font color of the text information in the second window according to the background color.5.根据权利要求1所述的方法,其特征在于,所述按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,包括:5. The method according to claim 1, wherein the processing of the text information in the second window according to a pre-configured text processing template comprises:确定检测到的未授权的人脸与屏幕之间的距离;Determine the distance between the detected unauthorized face and the screen;根据所述距离缩小所述第二窗口中的文字信息的字体大小。reducing the font size of the text information in the second window according to the distance.6.根据权利要求1至5任一所述的方法,其特征在于,在所述按照预设模板对所述第二窗口中的文字信息进行处理之前,所述方法还包括:6. The method according to any one of claims 1 to 5, characterized in that, before the text information in the second window is processed according to the preset template, the method further comprises:记录所述第二窗口中的文字信息未进行处理时的状态;Record the status when the text information in the second window is not processed;在所述从所述第一窗口切换至第二窗口之后,所述方法还包括:After the switching from the first window to the second window, the method further includes:若检测到所述视频会话中不包含未授权的人脸图像,则将所述第二窗口中的文字信息恢复成所述未进行处理时的状态。If it is detected that the video session does not contain unauthorized face images, the text information in the second window is restored to the state when it is not processed.7.一种信息处理装置,其特征在于,包括:7. An information processing device, characterized in that it comprises:会话建立模块,用于当接收到视频会话请求时,建立视频会话;A session establishment module, configured to establish a video session when a video session request is received;检测模块,用于若检测到从第一窗口切换至第二窗口的请求时,检测所述视频会话中是否包含未授权的人脸图像,其中,所述第一窗口为不包含文字信息的视频会话窗口,所述第二窗口为包含文字信息的会话窗口;A detection module, configured to detect whether an unauthorized face image is included in the video session if a request to switch from the first window to the second window is detected, wherein the first window is a video that does not contain text information A session window, the second window is a session window containing text information;文字处理模块,用于若所述视频会话中包含未授权的人脸图像,则按照预先配置的文字处理模板对所述第二窗口中的文字信息进行处理,使所述文字信息处于不可见状态,并从所述第一窗口切换至第二窗口。A word processing module, configured to process the text information in the second window according to a pre-configured word processing template to make the text information invisible if the video session contains an unauthorized face image , and switch from the first window to the second window.8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The device according to claim 7, further comprising:采集模块,用于当接收到开启视频隐私保护请求时,采集人脸图像并添加授权标签;The collection module is used to collect face images and add authorization tags when receiving a video privacy protection request;存储模块,用于获取配置的文字处理模板,并将添加授权标签的人脸图像及文字处理模板进行存储。The storage module is used to obtain the configured word processing template, and store the face image and the word processing template with the authorization tag added.9.一种移动终端,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求1至6任一所述的方法。9. A mobile terminal, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor realizes any one of claims 1 to 6. Methods.10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6任一所述的方法。10. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
CN201711015412.2A2017-10-262017-10-26 Information processing method, device, mobile terminal, and computer-readable storage mediumPendingCN107835118A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711015412.2ACN107835118A (en)2017-10-262017-10-26 Information processing method, device, mobile terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711015412.2ACN107835118A (en)2017-10-262017-10-26 Information processing method, device, mobile terminal, and computer-readable storage medium

Publications (1)

Publication NumberPublication Date
CN107835118Atrue CN107835118A (en)2018-03-23

Family

ID=61649448

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711015412.2APendingCN107835118A (en)2017-10-262017-10-26 Information processing method, device, mobile terminal, and computer-readable storage medium

Country Status (1)

CountryLink
CN (1)CN107835118A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109190418A (en)*2018-07-272019-01-11努比亚技术有限公司A kind of changing interface control method, terminal and computer readable storage medium
US10650121B1 (en)2018-12-042020-05-12Citrix Systems, Inc.Real time digital content concealment
CN111211965A (en)*2019-12-272020-05-29宇龙计算机通信科技(深圳)有限公司Chat window protection method and device, storage medium and terminal
CN112887192A (en)*2021-01-122021-06-01讯飞智元信息科技有限公司Cross-network communication method, electronic device thereof, and computer-readable storage medium
CN113821780A (en)*2021-09-262021-12-21深圳市商汤科技有限公司Video analysis method and device, electronic equipment and storage medium
CN114821588A (en)*2022-03-312022-07-29五八有限公司Image processing method, image processing device, electronic equipment and readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2008276274A (en)*2005-07-042008-11-13Nec CorpInformation processor and information processing method
CN105472303A (en)*2015-11-202016-04-06小米科技有限责任公司Privacy protection method and apparatus for video chatting
CN106156663A (en)*2015-04-142016-11-23小米科技有限责任公司A kind of terminal environments detection method and device
CN106599716A (en)*2016-11-302017-04-26广东欧珀移动通信有限公司 Method, device and mobile terminal for protecting message content
CN107169329A (en)*2017-05-242017-09-15维沃移动通信有限公司A kind of method for protecting privacy, mobile terminal and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2008276274A (en)*2005-07-042008-11-13Nec CorpInformation processor and information processing method
CN106156663A (en)*2015-04-142016-11-23小米科技有限责任公司A kind of terminal environments detection method and device
CN105472303A (en)*2015-11-202016-04-06小米科技有限责任公司Privacy protection method and apparatus for video chatting
CN106599716A (en)*2016-11-302017-04-26广东欧珀移动通信有限公司 Method, device and mobile terminal for protecting message content
CN107169329A (en)*2017-05-242017-09-15维沃移动通信有限公司A kind of method for protecting privacy, mobile terminal and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
原田秀司: "《多设备时代的UI设计法则 打造完美体验的用户界面》", 29 February 2016*

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109190418A (en)*2018-07-272019-01-11努比亚技术有限公司A kind of changing interface control method, terminal and computer readable storage medium
US10650121B1 (en)2018-12-042020-05-12Citrix Systems, Inc.Real time digital content concealment
WO2020113427A1 (en)*2018-12-042020-06-11Citrix Systems, Inc.Real time digital content concealment
CN113366475A (en)*2018-12-042021-09-07思杰系统有限公司Real-time digital content hiding
US11423121B2 (en)2018-12-042022-08-23Citrix Systems, Inc.Real time digital content concealment
CN111211965A (en)*2019-12-272020-05-29宇龙计算机通信科技(深圳)有限公司Chat window protection method and device, storage medium and terminal
CN111211965B (en)*2019-12-272022-06-03宇龙计算机通信科技(深圳)有限公司 Chat window protection method, device, storage medium and terminal
CN112887192A (en)*2021-01-122021-06-01讯飞智元信息科技有限公司Cross-network communication method, electronic device thereof, and computer-readable storage medium
CN113821780A (en)*2021-09-262021-12-21深圳市商汤科技有限公司Video analysis method and device, electronic equipment and storage medium
CN114821588A (en)*2022-03-312022-07-29五八有限公司Image processing method, image processing device, electronic equipment and readable medium

Similar Documents

PublicationPublication DateTitle
CN107835118A (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN106453052B (en) Message interaction method and device
CN108563932B (en)Application control method and device, readable storage medium and terminal
CN110069229B (en)Screen sharing method, mobile terminal and computer readable storage medium
CN109241775B (en)Privacy protection method and terminal
CN103914634A (en)Image encryption method, image encryption device and electronic device
US10158749B2 (en)Method by which portable device displays information through wearable device, and device therefor
CN109800602B (en)Privacy protection method, mobile terminal and computer readable storage medium
US11775625B2 (en)Alert task processing method, terminal, and computer-readable storage medium
CN108038393A (en)A kind of application program method for secret protection, mobile terminal
CN108572717A (en)Method and device for controlling mobile terminal, mobile terminal and storage medium
CN110188524B (en) Information encryption method, information decryption method and terminal
CN106326773A (en)Method and device for photo encryption management as well as terminal
CN108256853A (en)A kind of method of payment and mobile terminal
CN107770478A (en)video call method and related product
CN109739602A (en)A kind of mobile terminal wallpaper setting method and device, mobile terminal and storage medium
CN112162870A (en)File processing operation method, mobile terminal and storage medium
WO2020063107A1 (en)Screenshot method and terminal
CN108280337A (en)A kind of message protection method and mobile terminal
CN108629171A (en)A kind of unread message processing method and terminal
CN110149628B (en) An information processing method and terminal device
CN107147815B (en) Taxi-based call processing method and device
CN111967871B (en) Secure payment method, device and storage medium
CN109993010A (en) Information display method and mobile terminal
CN110443752B (en)Image processing method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180323


[8]ページ先頭

©2009-2025 Movatter.jp