CN106407771A - Message management method and device - Google Patents
Message management method and device Download PDFInfo
- Publication number
- CN106407771A CN106407771A CN201610717816.5A CN201610717816A CN106407771A CN 106407771 A CN106407771 A CN 106407771A CN 201610717816 A CN201610717816 A CN 201610717816A CN 106407771 A CN106407771 A CN 106407771A
- Authority
- CN
- China
- Prior art keywords
- message
- fingerprint
- user
- new information
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例涉及终端技术领域,公开了一种消息管理方法及设备。其中,该方法包括:监测终端设备是否接收到新消息;若是,则判断上述新消息是否为预设的消息类型;若是,则获取用户的指纹;验证上述指纹是否为合法,若是,则在终端设备的屏幕显示上述新消息以供用户阅读。由此可见,实施本发明实施例,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。
The embodiment of the present invention relates to the field of terminal technology, and discloses a message management method and device. The method includes: monitoring whether the terminal device receives a new message; if so, determining whether the new message is a preset message type; if so, obtaining the user's fingerprint; verifying whether the fingerprint is legal, and if so, displaying the new message on the screen of the terminal device for the user to read. It can be seen that by implementing the embodiment of the present invention, when the new message is a message involving the property safety and privacy of the user, the terminal device can display the new message on the screen after verifying the user's identity, effectively preventing criminals from stealing the user's message content and endangering the user's property safety and privacy security.
Description
技术领域technical field
本发明涉及终端技术领域,尤其涉及一种消息管理方法及设备。The present invention relates to the technical field of terminals, in particular to a message management method and device.
背景技术Background technique
随着终端技术的发展,智能手机、平板电脑、个人数字助理等(PersonalDigitalAssistant,PDA)终端设备已成为人们生活中必不可少的重要工具,人们可利用终端设备收发邮件、网上购物、转账汇款等,相比传统的途径,更加方便快捷。然而,随着终端设备中可以进行的操作愈发多样,终端设备中涉及用户的隐私和财产安全的信息也越来越多,若终端设备丢失,或其中的信息被他人获取,则可能导致信息泄露,为用户带来巨大损失。例如,用户利用手机银行进行支付操作时,银行服务器会向用户的终端设备发送验证码,用户在手机银行的相应界面输入该验证码,即可完成支付过程。假如用户的手机遗失,或验证码短信被他人看到,就可能造成验证码泄露,危害用户的财产安全。With the development of terminal technology, terminal devices such as smartphones, tablet computers, and personal digital assistants (PDA) have become indispensable and important tools in people's lives. People can use terminal devices to send and receive emails, shop online, transfer money, etc. , which is more convenient and quicker than the traditional way. However, as the operations that can be performed on terminal devices become more and more diverse, there are more and more information related to user privacy and property security in terminal devices. If the terminal device is lost or the information in it is obtained by others, it may cause information Leakage will bring huge losses to users. For example, when a user uses mobile banking to perform payment operations, the bank server will send a verification code to the user's terminal device, and the user can enter the verification code on the corresponding interface of the mobile banking to complete the payment process. If the user's mobile phone is lost, or the text message of the verification code is seen by others, the verification code may be leaked, endangering the user's property safety.
发明内容Contents of the invention
本发明实施例提供了一种消息管理方法及设备,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。The embodiment of the present invention provides a message management method and device, which can make the terminal device display the above-mentioned new message on the screen after verifying the user's identity when the new message is a message related to the user's property security and privacy, effectively Prevent lawbreakers from stealing the user's message content, endangering the user's property security and privacy security.
本发明实施例第一方面公开了一种消息管理方法,包括:The first aspect of the embodiment of the present invention discloses a message management method, including:
监测终端设备是否接收到新消息;Monitor whether the terminal device receives new messages;
若是,则判断所述新消息是否为预设的消息类型;If so, then determine whether the new message is a preset message type;
若是,则获取用户的指纹;If so, get the user's fingerprint;
验证所述指纹是否为合法,若是,则在所述终端设备的屏幕显示所述新消息以供用户阅读。Verify whether the fingerprint is legal, and if so, display the new message on the screen of the terminal device for the user to read.
作为一种可选的实施方式,所述监测终端设备是否接收到新消息,包括:As an optional implementation manner, the monitoring whether the terminal device receives a new message includes:
在所述终端设备处于唤醒状态时,监测所述终端设备是否接收到新消息。When the terminal device is in a wake-up state, it is monitored whether the terminal device receives a new message.
作为一种可选的实施方式,所述验证所述指纹是否为合法,包括:As an optional implementation manner, the verifying whether the fingerprint is legal includes:
将获取的所述指纹发送至服务器,以使所述服务器将所述指纹与预置的合法用户的指纹进行对比;sending the acquired fingerprint to a server, so that the server compares the fingerprint with a preset legal user fingerprint;
接收所述服务器返回的对比结果,以确认所述指纹是否为合法。Receive the comparison result returned by the server to confirm whether the fingerprint is legal.
作为一种可选的实施方式,所述获取用户的指纹之前,所述方法还包括:As an optional implementation manner, before acquiring the fingerprint of the user, the method further includes:
确定所述新消息的消息类型所对应的指纹;determining the fingerprint corresponding to the message type of the new message;
提示用户输入所述新消息的消息类型所对应的指纹;Prompting the user to input the fingerprint corresponding to the message type of the new message;
所述验证所述指纹是否为合法,包括:The verification of whether the fingerprint is legal includes:
验证所述指纹是否为所述新消息的消息类型所对应的指纹。Verifying whether the fingerprint is a fingerprint corresponding to the message type of the new message.
作为一种可选的实施方式,所述在所述终端设备的屏幕显示所述新消息以供用户阅读之后,所述方法还包括:As an optional implementation manner, after the screen of the terminal device displays the new message for the user to read, the method further includes:
复制用户在所述新消息中选定的目标内容;copy the user-selected target content in said new message;
根据所述新消息的消息类型,将所述终端设备显示的界面切换到需要填写所述目标内容的界面;According to the message type of the new message, switch the interface displayed by the terminal device to an interface that needs to fill in the target content;
在所述需要填写所述目标内容的界面上的指定位置粘贴所述目标内容。Paste the target content at a specified position on the interface where the target content needs to be filled.
作为一种可选的实施方式,所述判断所述新消息是否为预设的消息类型,包括:As an optional implementation manner, the judging whether the new message is a preset message type includes:
解析所述新消息的内容,通过分析所述新消息的内容是否含有预设关键字以判断所述新消息是否为预设的消息类型。Analyzing the content of the new message, and judging whether the new message is a preset message type by analyzing whether the content of the new message contains a preset keyword.
本发明实施例第二方面公开了一种消息管理设备,包括:The second aspect of the embodiment of the present invention discloses a message management device, including:
监测单元,用于监测终端设备是否接收到新消息;a monitoring unit, configured to monitor whether the terminal device receives a new message;
判断单元,用于当终端设备接收到新消息时,判断所述新消息是否为预设的消息类型;A judging unit, configured to, when the terminal device receives a new message, judge whether the new message is a preset message type;
获取单元,用于当所述新消息为预设的消息类型时,获取用户的指纹;An acquisition unit, configured to acquire the user's fingerprint when the new message is a preset message type;
验证单元,用于验证所述指纹是否为合法;a verification unit, configured to verify whether the fingerprint is legal;
显示单元,用于当所述指纹为合法时,在所述终端设备的屏幕显示所述新消息以供用户阅读。The display unit is configured to display the new message on the screen of the terminal device for the user to read when the fingerprint is valid.
作为一种可选的实施方式,所述监测单元,具体用于当所述终端设备为唤醒状态时,监测所述终端设备是否接收到新消息。9、根据权利要求8所述设备,其特征在于,所述验证单元,包括:As an optional implementation manner, the monitoring unit is specifically configured to monitor whether the terminal device receives a new message when the terminal device is in a wake-up state. 9. The device according to claim 8, wherein the verification unit comprises:
发送子单元,用于将获取的所述指纹发送至服务器,以使所述服务器将所述指纹与预置的合法用户的指纹进行对比;a sending subunit, configured to send the acquired fingerprint to a server, so that the server compares the fingerprint with a preset legal user fingerprint;
接收子单元,用于接收所述服务器返回的对比结果,以确认所述指纹是否为合法。The receiving subunit is configured to receive the comparison result returned by the server to confirm whether the fingerprint is legal.
作为一种可选的实施方式,所述设备还包括:As an optional implementation manner, the device further includes:
确定单元,用于确定所述新消息的消息类型所对应的指纹;a determining unit, configured to determine the fingerprint corresponding to the message type of the new message;
提示单元,用于提示用户输入所述新消息的消息类型所对应的指纹;a prompting unit, configured to prompt the user to input the fingerprint corresponding to the message type of the new message;
所述验证单元,具体用于验证所述指纹是否为所述新消息的消息类型所对应的指纹。The verification unit is specifically configured to verify whether the fingerprint corresponds to the message type of the new message.
作为一种可选的实施方式,所述设备还包括:As an optional implementation manner, the device further includes:
复制单元,用于复制用户在所述新消息中选定的目标内容;a copying unit, for copying the target content selected by the user in the new message;
切换单元,用于根据所述新消息的消息类型,将所述终端设备显示的界面切换到需要填写所述目标内容的界面;A switching unit, configured to switch the interface displayed by the terminal device to an interface that needs to fill in the target content according to the message type of the new message;
粘贴单元,用于在所述需要填写所述目标内容的界面上的指定位置粘贴所述目标内容。A paste unit, configured to paste the target content at a specified position on the interface where the target content needs to be filled.
作为一种可选的实施方式,所述第一判断单元,包括:As an optional implementation manner, the first judging unit includes:
解析子单元,用于解析所述新消息的内容;A parsing subunit, configured to parse the content of the new message;
分析子单元,用于通过分析所述新消息的内容是否含有预设关键字以判断所述新消息是否为预设的消息类型。The analysis subunit is used to determine whether the new message is a preset message type by analyzing whether the content of the new message contains a preset keyword.
本发明实施例第三方面公开了一种终端设备,包括:处理器和存储器,所述处理器用于执行上述第一方面所公开的方法。The third aspect of the embodiments of the present invention discloses a terminal device, including: a processor and a memory, and the processor is configured to execute the method disclosed in the first aspect above.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,监测终端设备是否接收到新消息;若是,则判断所述新消息是否为预设的消息类型;若是,则获取用户的指纹;验证所述指纹是否为合法,若是,则在所述终端设备的屏幕显示所述新消息以供用户阅读。由此可见,实施本发明实施例,若新消息为涉及用户财产安全和隐私类型的消息,终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。In the embodiment of the present invention, monitor whether the terminal device receives a new message; if so, judge whether the new message is a preset message type; if so, obtain the user's fingerprint; verify whether the fingerprint is legal, and if so, then The new message is displayed on the screen of the terminal device for the user to read. It can be seen that, implementing the embodiment of the present invention, if the new message is a message related to the user's property security and privacy, the terminal device will display the above-mentioned new message on the screen after verifying the user's identity, effectively preventing criminals from stealing the user's message content, endangering the property security and privacy security of users.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例公开的一种消息管理方法的流程示意图;FIG. 1 is a schematic flowchart of a message management method disclosed in an embodiment of the present invention;
图2为本发明实施例公开的另一种消息管理方法的流程示意图;FIG. 2 is a schematic flowchart of another message management method disclosed in an embodiment of the present invention;
图3为本发明实施例公开的一种消息管理设备的结构示意图;FIG. 3 is a schematic structural diagram of a message management device disclosed in an embodiment of the present invention;
图4为本发明实施例公开的另一种消息管理设备的结构示意图;FIG. 4 is a schematic structural diagram of another message management device disclosed in an embodiment of the present invention;
图5为本发明实施例公开的一种终端设备的结构示意图;FIG. 5 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present invention;
图6为本发明实施例公开的另一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods or apparatuses.
本发明实施例提供了一种消息管理方法及设备,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。以下分别进行详细说明。The embodiment of the present invention provides a message management method and device, which can make the terminal device display the above-mentioned new message on the screen after verifying the user's identity when the new message is a message related to the user's property security and privacy, effectively Prevent lawbreakers from stealing the user's message content, endangering the user's property security and privacy security. Each will be described in detail below.
请参阅图1,图1是本发明实施例公开的一种消息管理方法的流程示意图。其中,图1所示的消息管理方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a message management method disclosed in an embodiment of the present invention. Wherein, the message management method shown in Figure 1 may include the following steps:
101、监测终端设备是否接收到新消息。101. Monitor whether the terminal device receives a new message.
本发明实施例中,终端设备可为智能手机、智能手表、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)等,本发明实施例后续不作复述。In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a handheld computer, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), a sales terminal (Point of Sales, POS), etc. repeat.
本发明实施例中,在终端设备处于唤醒状态时,监测终端设备是否接收到新消息。上述新消息可为短信、通讯应用的聊天消息以及其他应用程序的系统推送消息等,具体为何种消息,本发明实施例不作限定。In the embodiment of the present invention, when the terminal device is in a wake-up state, it is monitored whether the terminal device receives a new message. The above-mentioned new message may be a short message, a chat message of a communication application, and a system push message of other application programs, etc. The specific message is not limited by the embodiment of the present invention.
其中,上述监测终端设备是否接收到新消息的操作,可以通过监听终端设备的系统进程,通过判断通知栏是否出现新的通知,来确定是否接收到了新消息。在安卓系统中,作为一种可选的实施方式,终端设备可以调用名为AccessibilityService的API(Application Programming Interface,应用程序编程接口),利用该API可以监测UI(UserInterface,用户界面)中通知栏出现的新的通知,从而确定出现了新消息;除此以外,利用该API还能够在后续的步骤中实现解析通知的内容,从而判断上述新消息是否为预设的消息类型。Wherein, the above-mentioned operation of monitoring whether the terminal device receives a new message can determine whether a new message has been received by monitoring the system process of the terminal device and judging whether a new notification appears in the notification bar. In the Android system, as an optional implementation mode, the terminal device can call an API (Application Programming Interface, application programming interface) named AccessibilityService, which can be used to monitor the appearance of the notification bar in the UI (UserInterface, user interface) In addition, the API can also be used to analyze the content of the notification in subsequent steps, so as to determine whether the above-mentioned new message is a preset message type.
102、若是,则判断上述新消息是否为预设的消息类型。102. If yes, judge whether the above-mentioned new message is a preset message type.
本发明实施例中,终端设备监测通知栏出现的新通知,解析上述新通知的内容,通过分析上述通知的内容是否含有预设关键字,以判断上述通知所对应的新消息是否为预设的消息类型。In the embodiment of the present invention, the terminal device monitors new notifications appearing in the notification bar, analyzes the content of the new notification, and determines whether the new message corresponding to the notification is a preset one by analyzing whether the content of the notification contains preset keywords. message type.
举例来说,若预设的消息类型为验证码消息,则终端设备需要分析通知事件的内容是否包含验证码相关的关键字,然后确定该通知事件所对应的新消息是否为预设消息类型的消息。作为一种可选的实施方式,在安卓系统中,终端设备调用名为AccessibilityService的API,在onAccessibilityEvent中,监听AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED和For example, if the preset message type is a verification code message, the terminal device needs to analyze whether the content of the notification event contains keywords related to the verification code, and then determine whether the new message corresponding to the notification event is a message of the preset message type information. As an optional implementation, in the Android system, the terminal device calls the API named AccessibilityService, and in onAccessibilityEvent, monitor AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED and
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED事件,获取通知事件的内容,如果包含“验证码”或“身份验证”等验证码相关的字样,则判断该通知事件所对应的新消息为验证码消息。AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED event, to obtain the content of the notification event, if it contains words related to the verification code such as "verification code" or "identity verification", then it is judged that the new message corresponding to the notification event is a verification code message.
103、若是,则获取用户的指纹。103. If yes, acquire the fingerprint of the user.
本发明实施例中,终端设备的屏幕全屏幕均可实现采集用户指纹的功能,这样,当用户发现终端设备上的新消息时,通过点击新消息的通知打开新消息的动作,即可完成指纹的采集和验证的过程。由此可见,指纹采集和验证的过程对用户来讲完全透明,不影响用户顺畅的阅读消息的体验。In the embodiment of the present invention, the full screen of the terminal device can realize the function of collecting user fingerprints. In this way, when the user finds a new message on the terminal device, he can complete the fingerprint by clicking the notification of the new message to open the new message. collection and verification process. It can be seen that the process of fingerprint collection and verification is completely transparent to the user, and does not affect the user's smooth experience of reading messages.
104、验证上述指纹是否为合法,若是,则在终端设备的屏幕显示上述新消息以供用户阅读。104. Verify whether the above-mentioned fingerprint is legal, and if so, display the above-mentioned new message on the screen of the terminal device for the user to read.
本发明实施例中,终端设备将获取的用户的指纹发送至服务器,以使上述服务器将上述指纹与预置的合法用户的指纹进行对比;在此之后,终端设备接收上述服务器返回的对比结果,以确认上述指纹是否为合法。上述服务器可设定为用户的个人信息管理服务器,可以存储有用户的指纹、账号密码等信息,用于多种需要验证用户身份的场景。其中,用户存储于该服务器的信息与用户的个人身份绑定,例如,利用身份证号进行实名认证,之后在该用户的名下存储多个需要验证用户身份的应用的信息(如短消息、需进行账号登陆的应用等)和上述应用所对应的身份验证信息(如指纹、触摸轨迹验证码、账号密码等)。这样做与常规的在终端设备本地进行身份验证的不同在于:在本地进行的身份验证,由于其用于验证的信息存储在本地,较易被破解而被不法分子所利用;而上述服务器作为集约化的设备,相较于用户的终端设备,具备更高的安全防护能力,因而可以更为有效地保护用户的信息安全。In the embodiment of the present invention, the terminal device sends the obtained user's fingerprint to the server, so that the above-mentioned server compares the above-mentioned fingerprint with the preset legitimate user's fingerprint; after that, the terminal device receives the comparison result returned by the above-mentioned server, To confirm whether the above fingerprints are legal. The above server can be set as the user's personal information management server, which can store the user's fingerprint, account password and other information, and is used in various scenarios that need to verify the user's identity. Among them, the information stored by the user on the server is bound to the user's personal identity. For example, the identity card number is used for real-name authentication, and then the information of multiple applications that need to verify the user's identity (such as short messages, Applications that require account login, etc.) and identity verification information corresponding to the above applications (such as fingerprints, touch track verification codes, account passwords, etc.). The difference between this and the conventional local authentication of the terminal device is that: the local authentication, because the information used for authentication is stored locally, is easier to be cracked and used by lawbreakers; Compared with the user's terminal equipment, the modernized equipment has higher security protection capabilities, so it can more effectively protect the user's information security.
由此可见,利用图1所描述的方法,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。It can be seen that, using the method described in Figure 1, when the new message is a message related to the user's property security and privacy, the terminal device can only display the above-mentioned new message on the screen after verifying the user's identity, effectively preventing illegal Molecules steal the user's message content, endangering the user's property security and privacy security.
请参阅图2,图2是本发明实施例公开的另一种消息管理方法的流程示意图。如图2所示,该方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another message management method disclosed in an embodiment of the present invention. As shown in Figure 2, the method may include the following steps:
201、监测终端设备是否接收到新消息。201. Monitor whether the terminal device receives a new message.
本发明实施例中,在终端设备处于唤醒状态时,监测终端设备是否接收到新消息。作为一种可选的实施方式,上述监测终端设备是否接收到新消息的操作,可以通过监听终端设备的系统进程,通过判断通知栏是否出现新的通知,来确定是否接收到了新消息。在安卓系统中,作为一种可选的实施方式,终端设备可以调用名为AccessibilityService的API(Application Programming Interface,应用程序编程接口),利用该API可以监测UI(UserInterface,用户界面)中通知栏出现的新的通知,从而确定出现了新消息;除此以外,利用该API还能够在后续的步骤中实现解析通知的内容,从而判断上述新消息是否为预设的消息类型。In the embodiment of the present invention, when the terminal device is in a wake-up state, it is monitored whether the terminal device receives a new message. As an optional implementation, the above operation of monitoring whether the terminal device receives a new message can determine whether a new message has been received by monitoring the system process of the terminal device and judging whether a new notification appears in the notification bar. In the Android system, as an optional implementation mode, the terminal device can call an API (Application Programming Interface, application programming interface) named AccessibilityService, which can be used to monitor the appearance of the notification bar in the UI (UserInterface, user interface) In addition, the API can also be used to analyze the content of the notification in subsequent steps, so as to determine whether the above-mentioned new message is a preset message type.
202、若是,则判断上述新消息是否为预设的消息类型。202. If yes, determine whether the above-mentioned new message is a preset message type.
举例来说,若预设的消息类型为验证码消息,则终端设备需要分析通知事件的内容是否包含验证码相关的关键字,然后确定该通知事件所对应的新消息是否为预设消息类型的消息。作为一种可选的实施方式,在安卓系统中,终端设备调用名为AccessibilityService的API,在onAccessibilityEvent中,监听AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED和For example, if the preset message type is a verification code message, the terminal device needs to analyze whether the content of the notification event contains keywords related to the verification code, and then determine whether the new message corresponding to the notification event is a message of the preset message type information. As an optional implementation, in the Android system, the terminal device calls the API named AccessibilityService, and in onAccessibilityEvent, monitor AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED and
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED事件,获取通知事件的内容,如果包含“验证码”或“身份验证”等验证码相关的字样,则判断该通知事件所对应的新消息为验证码消息。AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED event, to obtain the content of the notification event, if it contains words related to the verification code such as "verification code" or "identity verification", then it is judged that the new message corresponding to the notification event is a verification code message.
203、若是,确定上述新消息的消息类型所对应的指纹。203. If yes, determine the fingerprint corresponding to the message type of the above new message.
本发明实施例中,不同类型的消息,可以对应利用不同的手指的指纹来进行身份验证,进一步降低被不法分子破解进而获取信息内容的可能性。举例来说,可以预先设置右手食指指纹用于验证码信息的验证、右手中指指纹用于包含图像、视频等多媒体内容的通讯应用消息的验证等。In the embodiment of the present invention, the fingerprints of different fingers can be used for identity verification for different types of messages, which further reduces the possibility of being cracked by criminals to obtain information content. For example, the fingerprint of the index finger of the right hand can be preset for verification of verification code information, and the fingerprint of the middle finger of the right hand can be used for verification of communication application messages containing multimedia content such as images and videos.
204、提示用户输入上述新消息的消息类型所对应的指纹。204. Prompt the user to input the fingerprint corresponding to the message type of the new message.
205、获取用户的指纹。205. Obtain the fingerprint of the user.
本发明实施例中,终端设备的屏幕全屏幕均可实现采集用户指纹的功能,这样,当用户发现终端设备上的新消息时,通过点击新消息的通知打开新消息的动作,即可完成指纹的采集和验证的过程。由此可见,指纹采集和验证的过程对用户来讲完全透明,不影响用户顺畅的阅读消息的体验。In the embodiment of the present invention, the full screen of the terminal device can realize the function of collecting user fingerprints. In this way, when the user finds a new message on the terminal device, he can complete the fingerprint by clicking the notification of the new message to open the new message. collection and verification process. It can be seen that the process of fingerprint collection and verification is completely transparent to the user, and does not affect the user's smooth experience of reading messages.
206、验证上述指纹是否为上述新消息的消息类型所对应的指纹。206. Verify whether the foregoing fingerprint is a fingerprint corresponding to the message type of the foregoing new message.
本发明实施例中,终端设备将获取的用户的指纹发送至服务器,以使上述服务器将上述指纹与新消息的消息类型所对应的指纹进行对比;在此之后,终端设备接收上述服务器返回的对比结果,以确认上述指纹是否为合法。In the embodiment of the present invention, the terminal device sends the acquired user's fingerprint to the server, so that the server compares the fingerprint with the fingerprint corresponding to the message type of the new message; after that, the terminal device receives the comparison returned by the server As a result, to confirm whether the above fingerprints are legitimate.
207、若是,则在终端设备的屏幕显示上述新消息以供用户阅读。207. If yes, display the above new message on the screen of the terminal device for the user to read.
208、复制用户在上述新消息中选定的目标内容。208. Copy the target content selected by the user in the above new message.
举例来说,当上述新消息为验证码信息时,用户常常需要记忆该消息中包含的验证码,再转到需要填写该验证码的页面进行填写。在本发明实施例中,用户可以直接通过触摸屏幕等方式,在上述新消息中选定验证码的内容,之后终端设备分析该验证码所应填写的界面,并自动跳转到该界面。For example, when the above-mentioned new message is verification code information, the user often needs to memorize the verification code contained in the message, and then turn to the page where the verification code needs to be filled in. In the embodiment of the present invention, the user can directly select the content of the verification code in the above-mentioned new message by touching the screen, etc., and then the terminal device analyzes the interface that the verification code should be filled in, and automatically jumps to this interface.
209、根据上述新消息的消息类型,将终端设备显示的界面切换到需要填写上述目标内容的界面。209. According to the message type of the above-mentioned new message, switch the interface displayed by the terminal device to an interface that needs to fill in the above-mentioned target content.
210、在上述需要填写上述目标内容的界面上的指定位置粘贴上述目标内容。210. Paste the above target content at a specified position on the interface where the above target content needs to be filled.
本发明实施例中,当跳转到需要填写上述目标内容的界面后,终端设备自动在指定位置粘贴之前复制的目标内容,从而减少用户的手动操作,为用户的使用带来便利。In the embodiment of the present invention, after jumping to the interface where the above-mentioned target content needs to be filled in, the terminal device automatically pastes the previously copied target content at the specified position, thereby reducing the manual operation of the user and bringing convenience to the user.
由此可见,利用图2所描述的方法,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。除此以外,当上述新消息为验证码消息时,终端设备可以复制用户在新消息中选定的验证码内容,并自动跳转到需要填写上述验证码的界面并完成粘贴,起到简化用户操作步骤,提高用户体验的作用。It can be seen that, using the method described in Figure 2, when the new message is a message related to the user's property security and privacy, the terminal device can display the above-mentioned new message on the screen after verifying the user's identity, effectively preventing illegal Molecules steal the user's message content, endangering the user's property security and privacy security. In addition, when the above-mentioned new message is a verification code message, the terminal device can copy the content of the verification code selected by the user in the new message, and automatically jump to the interface where the above-mentioned verification code needs to be filled in and paste it, which simplifies user Operation steps to improve user experience.
请参阅图3,图3是本发明实施例公开的一种消息管理设备的结构示意图。如图3所示,该消息管理设备可以包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a message management device disclosed in an embodiment of the present invention. As shown in Figure 3, the message management device may include:
监测单元301,用于监测终端设备是否接收到新消息。The monitoring unit 301 is configured to monitor whether the terminal device receives new messages.
本发明实施例中,在终端设备处于唤醒状态时,监测单元301监测终端设备是否接收到新消息。上述新消息可为短信、通讯应用的聊天消息以及其他应用程序的系统推送消息等,具体为何种消息,本发明实施例不作限定。In the embodiment of the present invention, when the terminal device is in the wake-up state, the monitoring unit 301 monitors whether the terminal device receives a new message. The above-mentioned new message may be a short message, a chat message of a communication application, and a system push message of other application programs, etc. The specific message is not limited by the embodiment of the present invention.
其中,上述监测终端设备是否接收到新消息的操作,可以通过监听终端设备的系统进程,通过判断通知栏是否出现新的通知,来确定是否接收到了新消息。在安卓系统中,作为一种可选的实施方式,监测单元301可以调用名为AccessibilityService的API(Application Programming Interface,应用程序编程接口),利用该API可以监测UI(UserInterface,用户界面)中通知栏出现的新的通知,从而确定出现了新消息;除此以外,利用该API还能够在后续的步骤中实现解析通知的内容,从而判断上述新消息是否为预设的消息类型。Wherein, the above-mentioned operation of monitoring whether the terminal device receives a new message can determine whether a new message has been received by monitoring the system process of the terminal device and judging whether a new notification appears in the notification bar. In the Android system, as an optional implementation, the monitoring unit 301 can call an API (Application Programming Interface, application programming interface) named AccessibilityService, and utilize this API to monitor the notification bar in the UI (UserInterface, user interface) A new notification appears, so as to determine that a new message has appeared; in addition, the API can also be used to analyze the content of the notification in subsequent steps, so as to determine whether the above-mentioned new message is a preset message type.
判断单元302,用于当终端设备接收到新消息时,判断上述新消息是否为预设的消息类型。The judging unit 302 is configured to judge whether the new message is a preset message type when the terminal device receives a new message.
本发明实施例中,监测单元301监测通知栏出现的新通知,判断单元302解析上述新通知的内容,通过分析上述通知的内容是否含有预设关键字,以判断上述通知所对应的新消息是否为预设的消息类型。In the embodiment of the present invention, the monitoring unit 301 monitors new notifications appearing in the notification bar, and the judging unit 302 analyzes the content of the new notification to determine whether the new message corresponding to the notification is is the default message type.
举例来说,若预设的消息类型为验证码消息,则判断单元302需要分析通知事件的内容是否包含验证码相关的关键字,然后确定该通知事件所对应的新消息是否为预设消息类型的消息。作为一种可选的实施方式,在安卓系统中,监测单元301调用名为AccessibilityService的API,在onAccessibilityEvent中,判断单元302监听AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED和AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED事件,获取通知事件的内容,如果包含“验证码”或“身份验证”等验证码相关的字样,则判断该通知事件所对应的新消息为验证码消息。For example, if the preset message type is a verification code message, the judging unit 302 needs to analyze whether the content of the notification event contains keywords related to the verification code, and then determine whether the new message corresponding to the notification event is a preset message type news. As an optional implementation, in the Android system, the monitoring unit 301 calls the API named AccessibilityService. In onAccessibilityEvent, the judging unit 302 listens to the AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED and AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED events to obtain the content of the notification event. If it contains " Verification code" or "identity verification" and other verification code-related words, it is determined that the new message corresponding to the notification event is a verification code message.
获取单元303,用于当上述新消息为预设的消息类型时,获取用户的指纹。The obtaining unit 303 is configured to obtain the user's fingerprint when the above new message is a preset message type.
本发明实施例中,终端设备的屏幕全屏幕均可实现采集用户指纹的功能,这样,当用户发现终端设备上的新消息时,通过点击新消息的通知打开新消息的动作,即可完成指纹的采集和验证的过程。由此可见,指纹采集和验证的过程对用户来讲完全透明,不影响用户顺畅的阅读消息的体验。In the embodiment of the present invention, the full screen of the terminal device can realize the function of collecting user fingerprints. In this way, when the user finds a new message on the terminal device, he can complete the fingerprint by clicking the notification of the new message to open the new message. collection and verification process. It can be seen that the process of fingerprint collection and verification is completely transparent to the user, and does not affect the user's smooth experience of reading messages.
验证单元304,用于验证上述指纹是否为合法。The verification unit 304 is configured to verify whether the above-mentioned fingerprint is legal.
本发明实施例中,验证单元304将获取的用户的指纹发送至服务器,以使上述服务器将上述指纹与预置的合法用户的指纹进行对比;在此之后,验证单元304接收上述服务器返回的对比结果,以确认上述指纹是否为合法。In the embodiment of the present invention, the verification unit 304 sends the obtained user's fingerprint to the server, so that the above-mentioned server compares the above-mentioned fingerprint with the preset legitimate user's fingerprint; after that, the verification unit 304 receives the comparison returned by the above-mentioned server As a result, to confirm whether the above fingerprints are legitimate.
显示单元305,用于当上述指纹为合法时,在终端设备的屏幕显示上述新消息以供用户阅读。The display unit 305 is configured to display the above new message on the screen of the terminal device for the user to read when the above fingerprint is valid.
由此可见,利用图3所描述的消息管理设备,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。It can be seen that by using the message management device described in Figure 3, when the new message is a message related to the user's property security and privacy, the terminal device can display the above-mentioned new message on the screen after verifying the user's identity, which is effective. Prevent lawbreakers from stealing the user's message content, endangering the user's property security and privacy security.
请一并参阅图4,图4是本发明实施例公开的另一种消息管理设备的结构示意图。其中,图4所示的消息管理设备是由图3所示的设备进行优化得到的,与图3所示的设备相比,图4所示的设备还包括:Please also refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another message management device disclosed in an embodiment of the present invention. Among them, the message management device shown in Figure 4 is obtained by optimizing the device shown in Figure 3. Compared with the device shown in Figure 3, the device shown in Figure 4 also includes:
确定单元306,用于确定上述新消息的消息类型所对应的指纹。The determining unit 306 is configured to determine the fingerprint corresponding to the message type of the above new message.
本发明实施例中,不同类型的消息,可以对应利用不同的手指的指纹来进行身份验证,进一步降低被不法分子破解进而获取信息内容的可能性。举例来说,可以预先设置右手食指指纹用于验证码信息的验证、右手中指指纹用于包含图像、视频等多媒体内容的通讯应用消息的验证等。In the embodiment of the present invention, the fingerprints of different fingers can be used for identity verification for different types of messages, which further reduces the possibility of being cracked by criminals to obtain information content. For example, the fingerprint of the index finger of the right hand can be preset for verification of verification code information, and the fingerprint of the middle finger of the right hand can be used for verification of communication application messages containing multimedia content such as images and videos.
提示单元307,用于提示用户输入上述新消息的消息类型所对应的指纹。The prompting unit 307 is configured to prompt the user to input the fingerprint corresponding to the message type of the above new message.
上述验证单元304,具体用于验证上述指纹是否为上述新消息的消息类型所对应的指纹。The verification unit 304 is specifically configured to verify whether the fingerprint is a fingerprint corresponding to the message type of the new message.
作为一种可选的实施方式,图4所示的设备还包括:As an optional implementation manner, the device shown in Figure 4 also includes:
复制单元308,用于复制用户在上述新消息中选定的目标内容。The copying unit 308 is configured to copy the target content selected by the user in the above new message.
切换单元309,用于根据上述新消息的消息类型,将终端设备显示的界面切换到需要填写上述目标内容的界面。The switching unit 309 is configured to switch the interface displayed by the terminal device to an interface that needs to be filled with the above-mentioned target content according to the message type of the above-mentioned new message.
粘贴单元310,用于在上述需要填写上述目标内容的界面上的指定位置粘贴上述目标内容。The pasting unit 310 is configured to paste the above-mentioned target content at a specified position on the above-mentioned interface where the above-mentioned target content needs to be filled.
举例来说,当上述新消息为验证码信息时,用户常常需要记忆该消息中包含的验证码,再转到需要填写该验证码的页面进行填写。在本发明实施例中,用户可以直接通过触摸屏幕等方式,在上述新消息中选定验证码的内容,之后终端设备分析该验证码所应填写的界面,并自动跳转到该界面。当跳转到需要填写上述目标内容的界面后,终端设备自动在指定位置粘贴之前复制的目标内容,从而减少用户的手动操作,为用户的使用带来便利。For example, when the above-mentioned new message is verification code information, the user often needs to memorize the verification code contained in the message, and then turn to the page where the verification code needs to be filled in. In the embodiment of the present invention, the user can directly select the content of the verification code in the above-mentioned new message by touching the screen, etc., and then the terminal device analyzes the interface that the verification code should be filled in, and automatically jumps to this interface. After jumping to the interface that needs to fill in the above target content, the terminal device will automatically paste the previously copied target content at the specified location, thereby reducing manual operations by the user and bringing convenience to the user.
作为一种可选的实施方式,上述验证单元304,包括:As an optional implementation manner, the verification unit 304 includes:
发送子单元3041,用于将获取的上述指纹发送至服务器,以使上述服务器将上述指纹与预置的合法用户的指纹进行对比。The sending subunit 3041 is configured to send the obtained fingerprint to the server, so that the server compares the fingerprint with the preset fingerprint of the legitimate user.
接收子单元3042,用于接收上述服务器返回的对比结果,以确认上述指纹是否为合法。The receiving subunit 3042 is configured to receive the comparison result returned by the above server to confirm whether the above fingerprint is legal.
由此可见,利用图4所描述的消息管理设备,可以当新消息为涉及用户财产安全和隐私类型的消息时,使终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。除此以外,当上述新消息为验证码消息时,终端设备可以复制用户在新消息中选定的验证码内容,并自动跳转到需要填写上述验证码的界面并完成粘贴,起到简化用户操作步骤,提高用户体验的作用。It can be seen that, using the message management device described in Figure 4, when the new message is a message related to the user's property security and privacy, the terminal device can display the above-mentioned new message on the screen after verifying the user's identity, which is effective. Prevent lawbreakers from stealing the user's message content, endangering the user's property security and privacy security. In addition, when the above-mentioned new message is a verification code message, the terminal device can copy the content of the verification code selected by the user in the new message, and automatically jump to the interface where the above-mentioned verification code needs to be filled in and paste it, which simplifies user Operation steps to improve user experience.
请参阅图5,图5为本发明实施例公开的一种终端设备的结构示意图。如图5所示,该终端设备包括:处理器501以及存储器502;其中存储器502可以用于处理器501执行数据处理所需要的缓存,还可以用于提供处理器501执行数据处理调用的数据以及获得的结果数据的存储空间。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present invention. As shown in FIG. 5, the terminal device includes: a processor 501 and a memory 502; wherein the memory 502 can be used for the cache required by the processor 501 to perform data processing, and can also be used to provide data for the processor 501 to perform data processing calls and The storage space for the obtained result data.
在本发明实施例中,处理器501通过调用存储于存储器502中的程序代码,用于执行以下操作:In the embodiment of the present invention, the processor 501 is used to perform the following operations by calling the program code stored in the memory 502:
监测终端设备是否接收到新消息;Monitor whether the terminal device receives new messages;
若是,则判断上述新消息是否为预设的消息类型;If so, then determine whether the above-mentioned new message is a preset message type;
若是,则获取用户的指纹;If so, get the user's fingerprint;
验证上述指纹是否为合法,若是,则在终端设备的屏幕显示上述新消息以供用户阅读。Verify whether the above-mentioned fingerprint is legal, and if so, display the above-mentioned new message on the screen of the terminal device for the user to read.
由此可见,在图5所描述的终端设备汇总,当新消息为涉及用户财产安全和隐私类型的消息时,终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。It can be seen that, in the summary of the terminal device described in Figure 5, when the new message is a message related to the user's property security and privacy, the terminal device will display the above-mentioned new message on the screen after verifying the user's identity, effectively preventing illegal Molecules steal the user's message content, endangering the user's property security and privacy security.
请参阅图6,图6为本发明实施例公开的另一种终端设备的结构示意图。如图6所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present invention. As shown in FIG. 6 , for ease of description, only the parts related to the embodiment of the present invention are shown, and for specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The 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, etc. Taking the terminal as a mobile phone as an example:
图6示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图6,手机包括:射频(Radio Frequency,RF)电路601、存储器602、输入单元603、显示单元604、传感器605、音频电路606、无线保真(wireless fidelity,WiFi)模块607、处理器608、以及电源609等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 6 shows a block diagram of a partial structure of a mobile phone related to the terminal provided by the embodiment of the present invention. Referring to FIG. 6 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 601, a memory 602, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (wireless fidelity, WiFi) module 607, and a processor 608 , and power supply 609 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 6 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.
下面结合图6对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 6:
RF电路601可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器608处理;另外,将设计上行的数据发送给基站。通常,RF电路601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路601还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 601 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 608; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 601 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, the RF circuit 601 can also communicate with networks and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器602可用于存储软件程序以及模块,处理器608通过运行存储在存储器602的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 602 can be used to store software programs and modules, and the processor 608 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 602 . The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 602 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.
输入单元603可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元603可包括触控面板6031以及其他输入设备6032。触控面板6031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6031上或在触控面板6031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板6031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器608,并能接收处理器608发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6031。除了触控面板6031,输入单元603还可以包括其他输入设备6032。具体地,其他输入设备6032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 603 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. Specifically, the input unit 603 may include a touch panel 6031 and other input devices 6032 . The touch panel 6031, also 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 6031 or near the touch panel 6031). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 6031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, 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 to the processor 608, and can receive and execute commands sent by the processor 608. In addition, the touch panel 6031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6031 , the input unit 603 may also include other input devices 6032 . Specifically, other input devices 6032 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元604可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元604可包括显示面板6041,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6041。进一步的,触控面板6031可覆盖显示面板6041,当触控面板6031检测到在其上或附近的触摸操作后,传送给处理器608以确定触摸事件的类型,随后处理器608根据触摸事件的类型在显示面板6041上提供相应的视觉输出。虽然在图6中,触控面板6031与显示面板6041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板6031与显示面板6041集成而实现手机的输入和输出功能。The display unit 604 can be used to display information input by the user or provided to the user and various menus of the mobile phone. The display unit 604 may include a display panel 6041. Optionally, the display panel 6041 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. Furthermore, the touch panel 6031 can cover the display panel 6041. When the touch panel 6031 detects a touch operation on or near it, it sends it to the processor 608 to determine the type of the touch event, and then the processor 608 according to the touch event The type provides a corresponding visual output on the display panel 6041. Although in FIG. 6 , the touch panel 6031 and the display panel 6041 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 6031 and the display panel 6041 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板6041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 6041 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 6041 and/or or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路606、扬声器6061,传声器6062可提供用户与手机之间的音频接口。音频电路606可将接收到的音频数据转换后的电信号,传输到扬声器6061,由扬声器6061转换为声音信号输出;另一方面,传声器6062将收集的声音信号转换为电信号,由音频电路606接收后转换为音频数据,再将音频数据输出处理器608处理后,经RF电路601以发送给比如另一手机,或者将音频数据输出至存储器602以便进一步处理。The audio circuit 606, the speaker 6061 and the microphone 6062 can provide an audio interface between the user and the mobile phone. The audio circuit 606 can transmit the electrical signal converted from the received audio data to the speaker 6061, and the speaker 6061 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 608, and then sent to another mobile phone through the RF circuit 601, or the audio data is output to the memory 602 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块607可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块607,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。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 607, which provides users with wireless broadband Internet access. Although FIG. 6 shows a WiFi module 607, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器608是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器608可包括一个或多个处理单元;优选的,处理器608可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器608中。The processor 608 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 602, and calling data stored in the memory 602, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 608 may include one or more processing units; preferably, the processor 608 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 handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 608 .
手机还包括给各个部件供电的电源609(比如电池),优选的,电源可以通过电源管理系统与处理器608逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 609 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 608 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
前述实施例中,各步骤方法流程可以基于该终端设备的结构实现。其中应用层和操作系统内核均可视为处理器608的抽象化结构的组成部分。In the foregoing embodiments, the method flow of each step can be implemented based on the structure of the terminal device. Both the application layer and the operating system kernel can be regarded as components of the abstract structure of the processor 608 .
在本发明实施例中,处理器608通过调用存储于存储器602中的程序代码,可以用于执行以下操作:In the embodiment of the present invention, the processor 608 can be used to perform the following operations by calling the program code stored in the memory 602:
监测终端设备是否接收到新消息;Monitor whether the terminal device receives new messages;
若是,则判断上述新消息是否为预设的消息类型;If so, then determine whether the above-mentioned new message is a preset message type;
若是,则获取用户的指纹;If so, get the user's fingerprint;
验证上述指纹是否为合法,若是,则在终端设备的屏幕显示上述新消息以供用户阅读。Verify whether the above-mentioned fingerprint is legal, and if so, display the above-mentioned new message on the screen of the terminal device for the user to read.
作为一种可选的实施方式,处理器608通过调用存储于存储器602中的程序代码,还可以用于执行以下操作:As an optional implementation manner, the processor 608 may also be used to perform the following operations by calling the program code stored in the memory 602:
复制用户在上述新消息中选定的目标内容;Copy the target content selected by the user in the above-mentioned new message;
根据上述新消息的消息类型,将终端设备显示的界面切换到需要填写上述目标内容的界面;According to the message type of the above new message, switch the interface displayed by the terminal device to the interface that needs to fill in the above target content;
在上述需要填写上述目标内容的界面上的指定位置粘贴上述目标内容。Paste the above target content at the specified position on the interface where the above target content needs to be filled.
由此可见,在图6所描述的终端设备中,当新消息为涉及用户财产安全和隐私类型的消息时,终端设备在验证了用户身份后,才在屏幕上显示上述新消息,有效防止不法分子窃取用户的消息内容,危害用户的财产安全和隐私安全。除此以外,当上述新消息为验证码消息时,终端设备可以复制用户在新消息中选定的验证码内容,并自动跳转到需要填写上述验证码的界面并完成粘贴,起到简化用户操作步骤,提高用户体验的作用。It can be seen that in the terminal device described in Figure 6, when the new message is a message related to the user's property security and privacy, the terminal device will display the above-mentioned new message on the screen after verifying the user's identity, effectively preventing illegal Molecules steal the user's message content, endangering the user's property security and privacy security. In addition, when the above-mentioned new message is a verification code message, the terminal device can copy the content of the verification code selected by the user in the new message, and automatically jump to the interface where the above-mentioned verification code needs to be filled in and paste it, which simplifies user Operation steps to improve user experience.
值得注意的是,上述消息管理设备和终端设备实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that, in the above embodiment of the message management device and the terminal device, the units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, each The specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.
另外,本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned method embodiments can be completed by instructing related hardware through programs, and the corresponding programs can be stored in a computer-readable storage medium. The storage medium can be read-only memory, magnetic disk or optical disk and so on.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only preferred specific implementation modes of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610717816.5A CN106407771A (en) | 2016-08-24 | 2016-08-24 | Message management method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610717816.5A CN106407771A (en) | 2016-08-24 | 2016-08-24 | Message management method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106407771A true CN106407771A (en) | 2017-02-15 |
Family
ID=58005071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610717816.5A Pending CN106407771A (en) | 2016-08-24 | 2016-08-24 | Message management method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106407771A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106850416A (en) * | 2017-03-31 | 2017-06-13 | 努比亚技术有限公司 | Message processing apparatus and method |
| CN107172068A (en) * | 2017-06-14 | 2017-09-15 | 珠海市魅族科技有限公司 | Information sending control method, server, system, device and storage medium |
| CN107395865A (en) * | 2017-06-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Push information processing method and electronic device |
| CN107493378A (en) * | 2017-08-07 | 2017-12-19 | 广东欧珀移动通信有限公司 | Application program login method and device, computer equipment and readable storage medium |
| CN111046355A (en) * | 2019-11-29 | 2020-04-21 | 维沃移动通信(杭州)有限公司 | Information prompting method and electronic equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020052885A1 (en) * | 2000-05-02 | 2002-05-02 | Levy Kenneth L. | Using embedded data with file sharing |
| CN102946475A (en) * | 2012-10-30 | 2013-02-27 | 深圳市金立通信设备有限公司 | Information security control method and terminal |
| CN103200325A (en) * | 2013-03-28 | 2013-07-10 | 金硕澳门离岸商业服务有限公司 | Peripheral device for mobile terminal and communication method for mobile terminal and peripheral device |
| CN104980580A (en) * | 2015-06-17 | 2015-10-14 | 小米科技有限责任公司 | Short message checking method and short message checking device |
| CN105095790A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Hidden object view method and device |
| CN105893826A (en) * | 2016-04-25 | 2016-08-24 | 北京奇虎科技有限公司 | Message display method and intelligent terminal based on fingerprint information |
-
2016
- 2016-08-24 CN CN201610717816.5A patent/CN106407771A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020052885A1 (en) * | 2000-05-02 | 2002-05-02 | Levy Kenneth L. | Using embedded data with file sharing |
| CN102946475A (en) * | 2012-10-30 | 2013-02-27 | 深圳市金立通信设备有限公司 | Information security control method and terminal |
| CN103200325A (en) * | 2013-03-28 | 2013-07-10 | 金硕澳门离岸商业服务有限公司 | Peripheral device for mobile terminal and communication method for mobile terminal and peripheral device |
| CN104980580A (en) * | 2015-06-17 | 2015-10-14 | 小米科技有限责任公司 | Short message checking method and short message checking device |
| CN105095790A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Hidden object view method and device |
| CN105893826A (en) * | 2016-04-25 | 2016-08-24 | 北京奇虎科技有限公司 | Message display method and intelligent terminal based on fingerprint information |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106850416A (en) * | 2017-03-31 | 2017-06-13 | 努比亚技术有限公司 | Message processing apparatus and method |
| CN107172068A (en) * | 2017-06-14 | 2017-09-15 | 珠海市魅族科技有限公司 | Information sending control method, server, system, device and storage medium |
| CN107395865A (en) * | 2017-06-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Push information processing method and electronic device |
| CN107493378A (en) * | 2017-08-07 | 2017-12-19 | 广东欧珀移动通信有限公司 | Application program login method and device, computer equipment and readable storage medium |
| CN111046355A (en) * | 2019-11-29 | 2020-04-21 | 维沃移动通信(杭州)有限公司 | Information prompting method and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9703971B2 (en) | Sensitive operation verification method, terminal device, server, and verification system | |
| CN106778175B (en) | Interface locking method and device and terminal equipment | |
| WO2019205065A1 (en) | Method for quickly opening application or application function, and terminal | |
| CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
| CN106203035A (en) | A data access control method and mobile terminal | |
| CN106658354B (en) | Data transmission method and equipment | |
| CN104852885A (en) | Method, device and system for verifying verification code | |
| CN106341809B (en) | Data transmission method and equipment | |
| CN106599641A (en) | A method, device and terminal for restricting terminal locking | |
| CN106331370A (en) | A data transmission method and terminal equipment | |
| CN106131804A (en) | A notification message processing method and device | |
| CN106550361B (en) | Data transmission method, equipment and computer readable storage medium | |
| WO2018214748A1 (en) | Method and apparatus for displaying application interface, terminal and storage medium | |
| CN103279272B (en) | A kind of method and device starting application program in an electronic | |
| CN106407771A (en) | Message management method and device | |
| CN108615158B (en) | Risk detection method and device, mobile terminal and storage medium | |
| CN107451450A (en) | Biometric discrimination method and Related product | |
| CN107025434A (en) | A fingerprint registration method and mobile terminal | |
| CN103455751B (en) | Password hint generation method, device and terminal equipment | |
| CN107272985B (en) | Notification message processing method and related product | |
| CN107577933B (en) | Application login method and device, computer equipment and computer readable storage medium | |
| CN107480495A (en) | Unlocking method of mobile terminal and related products | |
| CN106940770A (en) | A screen locking method, device and terminal | |
| CN106874751A (en) | Input method, device and mobile terminal under system protection pattern | |
| CN104683555B (en) | Message management method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
| RJ01 | Rejection of invention patent application after publication |