CN108664818A - A kind of unlock control method and device - Google Patents
A kind of unlock control method and device Download PDFInfo
- Publication number
- CN108664818A CN108664818A CN201810457673.8A CN201810457673A CN108664818A CN 108664818 A CN108664818 A CN 108664818A CN 201810457673 A CN201810457673 A CN 201810457673A CN 108664818 A CN108664818 A CN 108664818A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- application
- target application
- user
- unlocking
- 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.)
- Granted
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/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
-
- 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/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种解锁控制方法及装置,该方法包括:当所述移动终端进行锁屏时,检测是否存在目标应用,所述目标应用为已启动的播放多媒体内容的应用;若存在播放多媒体内容的目标应用,确定播放提示信息;将所述播放提示信息展示在所述移动终端的锁屏界面,以提示用户发出第一预设解锁操作指令;若接收到所述第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。本发明实施例通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。
The present invention provides an unlocking control method and device. The method includes: when the mobile terminal locks the screen, detect whether there is a target application, and the target application is an application that has started playing multimedia content; The target application of the content determines the play prompt information; displays the play prompt information on the lock screen interface of the mobile terminal to prompt the user to issue a first preset unlock operation instruction; if the first preset unlock operation is received Instructing to unlock the mobile terminal, and to close the target application. In the embodiment of the present invention, after being unlocked by the first preset unlocking operation command, the mobile terminal will not play the multimedia played when the screen is locked, and will not expose the multimedia content watched by the user, which protects the user's privacy and prevents the mobile terminal from unlocking after unlocking. Sudden disturbance of multimedia content to the user and people around the user.
Description
技术领域technical field
本发明涉及移动通信领域,特别是涉及一种解锁控制方法及装置。The invention relates to the field of mobile communications, in particular to an unlocking control method and device.
背景技术Background technique
随着移动终端技术的发展,人们可以越来越方便的使用移动终端收听音乐、观看视频等多媒体内容。在用户使用移动终端播放多媒体内容时,比如视频,经常会有突发事件使得用户将正在播放多媒体内容的移动终端直接锁屏。With the development of mobile terminal technology, people can use mobile terminals to listen to music, watch multimedia content such as videos more and more conveniently. When a user uses a mobile terminal to play multimedia content, such as a video, an unexpected event often occurs so that the user directly locks the screen of the mobile terminal that is playing the multimedia content.
现有技术中,用户将正在播放多媒体内容的移动终端直接锁屏后,移动终端通常在锁屏界面关闭音效,保留播放多媒体文件的应用的进程,当用户进行解锁操作后,自动播放多媒体文件。In the prior art, after the user directly locks the screen of the mobile terminal playing multimedia content, the mobile terminal usually turns off the sound effect on the lock screen interface to keep the progress of the application playing the multimedia file, and automatically play the multimedia file after the user performs an unlocking operation.
申请人发现上述技术方案存在如下缺点:用户在对移动终端进行解锁操作时,经常会忘记播放多媒体内容的应用处于打开状态,正常解锁后多媒体内容会立即在移动终端进行播放,一方面会对用户自己带来惊扰,另一方面,如果用户处于公众场合,会暴露用户的观看多媒体内容的行为,令用户非常尴尬,也不利于保护用户隐私。The applicant found that the above technical solution has the following disadvantages: when the user unlocks the mobile terminal, he often forgets that the application that plays the multimedia content is in the open state, and the multimedia content will be played on the mobile terminal immediately after the normal unlocking. On the other hand, if the user is in a public place, the user's behavior of watching multimedia content will be exposed, which makes the user very embarrassed and is not conducive to protecting the user's privacy.
发明内容Contents of the invention
本发明实施例提供一种解锁控制方法及装置,以解决锁屏时播放的多媒体内容,会在解锁时给用户带来干扰的问题。Embodiments of the present invention provide an unlocking control method and device to solve the problem that the multimedia content played when the screen is locked will cause interference to the user when the screen is unlocked.
为了解决上述技术问题,本发明提供了一种解锁控制方法,应用于移动终端,所述方法包括:In order to solve the above technical problems, the present invention provides an unlocking control method applied to a mobile terminal, the method comprising:
当所述移动终端进行锁屏时,检测是否存在目标应用,所述目标应用为已启动的播放多媒体内容的应用;When the mobile terminal locks the screen, it is detected whether there is a target application, and the target application is an application for playing multimedia content that has been started;
若存在播放多媒体内容的目标应用,确定播放提示信息;If there is a target application for playing multimedia content, determine the playing prompt information;
将所述播放提示信息展示在所述移动终端的锁屏界面;Displaying the playing prompt information on the lock screen interface of the mobile terminal;
若接收到第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用If a first preset unlock operation instruction is received, unlock the mobile terminal, and close the target application
本发明实施例还提供了一种解锁控制装置,应用于移动终端,包括:The embodiment of the present invention also provides an unlocking control device applied to a mobile terminal, including:
目标应用检测模块,用于当所述移动终端进行锁屏时,检测是否存在目标应用,所述目标应用为已启动的播放多媒体内容的应用;The target application detection module is used to detect whether there is a target application when the mobile terminal locks the screen, and the target application is an application for playing multimedia content that has been started;
播放提示信息确定模块,用于若存在所述目标应用,确定播放提示信息;A playing prompt information determining module, configured to determine playing prompt information if the target application exists;
显示模块,用于将所述播放提示信息展示在所述移动终端的锁屏界面;A display module, configured to display the playing prompt information on the lock screen interface of the mobile terminal;
第一解锁模块,用于若接收到第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。The first unlocking module is configured to unlock the mobile terminal and close the target application if a first preset unlock operation instruction is received.
本发明实施例另外还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现前述的解锁控制的处理方法的步骤。The embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program is executed by the processor to realize Steps in the aforementioned unlocking control processing method.
本发明实施例另外还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现前述的解锁控制的处理方法的步骤。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the aforementioned unlocking control processing method are implemented.
本发明实施例中,当移动终端进行锁屏时,若检测到存在已启动的播放多媒体的目标应用,则确定出播放提示信息,并将该播放提示信息在锁屏界面显示,以达到提示用户锁屏时存在着正在播放的多媒体内容的目标应用的效果,用户在解锁时,可以根据该提示,发出第一预设解锁操作指令,当接收到第一预设解锁操作指令时,在解锁移动终端的同时关闭目标应用,因此,在本发明实施例中,通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体内容,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。In the embodiment of the present invention, when the mobile terminal locks the screen, if it is detected that there is an activated target application for playing multimedia, it will determine the playback prompt information, and display the playback prompt information on the lock screen interface to remind the user When the screen is locked, there is the effect of the target application of the multimedia content being played. When unlocking, the user can issue the first preset unlocking operation instruction according to the prompt. When the first preset unlocking operation instruction is received, the unlocking movement The terminal simultaneously closes the target application. Therefore, in the embodiment of the present invention, after the mobile terminal is unlocked through the first preset unlocking operation command, the multimedia content played when the mobile terminal is locked will not be played, and the multimedia content watched by the user will not be exposed. , which protects the privacy of the user, and also prevents the multimedia content suddenly played by the mobile terminal from interfering with the user and people around the user after unlocking.
附图说明Description of drawings
图1是本发明实施例一的一种解锁控制方法的步骤流程图;FIG. 1 is a flow chart of the steps of an unlocking control method according to Embodiment 1 of the present invention;
图2是本发明实施例一的一种锁屏界面显示图;FIG. 2 is a display diagram of a lock screen interface according to Embodiment 1 of the present invention;
图3是本发明实施例二的一种解锁控制方法的具体步骤流程图;Fig. 3 is a flow chart of specific steps of an unlocking control method according to Embodiment 2 of the present invention;
图4是本发明装置实施例三的一种解锁控制装置的结构框图;Fig. 4 is a structural block diagram of an unlocking control device according to Embodiment 3 of the device of the present invention;
图5是本发明装置实施例三的一种解锁控制装置的具体结构框图;Fig. 5 is a specific structural block diagram of an unlocking control device according to Embodiment 3 of the device of the present invention;
图6是本发明实施例的一种移动终端的结构框图。Fig. 6 is a structural block diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
【方法实施例一】【Method Embodiment 1】
参照图1,示出了本发明实施例中的一种解锁控制方法的步骤流程图。该方法应用于移动终端,具体步骤包括:Referring to FIG. 1 , it shows a flowchart of steps of an unlocking control method in an embodiment of the present invention. The method is applied to a mobile terminal, and the specific steps include:
步骤101:当所述移动终端进行锁屏时,检测是否存在目标应用,所述目标应用为已启动的播放多媒体内容的应用。Step 101: When the mobile terminal locks the screen, detect whether there is a target application, and the target application is a started application for playing multimedia content.
在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
具体应用中,用户可以通过按压移动终端的物理按键、选择移动终端屏幕的锁屏图标等方式触发移动终端进行锁屏。多媒体内容通常具备声音数据,目标应用在播放多媒体数据时,会占用声音播放系统,当移动终端进行锁屏时,可以通过检测移动终端的声音播放系统是否被目标应用程序占用,该声音播放系统被占用,则可以说明该移动终端锁屏时存在着已启动的播放多媒体内容的目标应用;该声音播放系统不被占用,则可以说明该移动终端锁屏时不存在已启动的播放多媒体内容的目标应用,该多媒体内容具体可以是具有音效的视频内容、幻灯片内容等。本领域技术人员也可以根据实际应用场景,采用其他的方式检测是否存在已启动的播放多媒体内容的目标应用,本发明实施例对此不作具体限制。In a specific application, the user may trigger the mobile terminal to lock the screen by pressing a physical button of the mobile terminal, selecting a screen lock icon on the screen of the mobile terminal, or the like. Multimedia content usually has sound data. When the target application plays multimedia data, it will occupy the sound playback system. When the mobile terminal locks the screen, it can be checked whether the sound playback system of the mobile terminal is occupied by the target application. If it is occupied, it means that there is an activated target application for playing multimedia content when the mobile terminal locks the screen; if the sound playback system is not occupied, it means that there is no activated target application for playing multimedia content when the mobile terminal locks the screen. application, the multimedia content may specifically be video content with sound effects, slide content, and the like. Those skilled in the art may also use other methods to detect whether there is an activated target application playing multimedia content according to the actual application scenario, which is not specifically limited in this embodiment of the present invention.
步骤102:若存在所述目标应用,确定播放提示信息。Step 102: If the target application exists, determine to play prompt information.
本发明实施例中,播放提示信息可以是该目标应用对应的应用图标,例如,若检测到移动终端中的目标应用正在播放视频,则可以将该目标应用的应用图标作为播放提示信息;播放提示信息还可以是一段文字提示信息,例如,若检测到移动终端中的第一目标应用正在播放视频,则可以将文字“请注意:第一目标应用在锁屏时正在播放视频”作为播放提示信息;播放提示信息还可以是其他形式的具体内容,例如表情,目标应用图标和文字提示信息的组合等等,本发明实施例对播放提示信息的具体内容不做限定。In the embodiment of the present invention, the play prompt information may be the application icon corresponding to the target application. For example, if it is detected that the target application in the mobile terminal is playing a video, the application icon of the target application may be used as the play prompt information; The information can also be a piece of text prompt information. For example, if it is detected that the first target application in the mobile terminal is playing a video, the text "Please note: the first target application is playing a video when the screen is locked" can be used as the playback prompt information The play prompt information can also be other forms of specific content, such as emoticons, combinations of target application icons and text prompt information, etc. The embodiment of the present invention does not limit the specific content of the play prompt information.
具体应用中,播放提示信息可以预先设置在数据库等存储空间中,当若存在播放多媒体内容的目标应用,则将该目标应用与预先设置的播放提示信息进行匹配,进而从存储空间中直接调用播放提示信息。例如,当播放提示信息是目标应用图标时,可以根据播放多媒体内容的目标应用与应用图标的对应关系,调出该目标应用对应的应用图标,确定出播放提示信息。In a specific application, the playback prompt information can be pre-set in a storage space such as a database. If there is a target application for playing multimedia content, the target application will be matched with the preset playback prompt information, and then the playback prompt information will be directly called from the storage space. Prompt information. For example, when the play prompt information is a target application icon, the application icon corresponding to the target application may be called out according to the correspondence between the target application for playing multimedia content and the application icon, and the play prompt information may be determined.
具体应用中,播放提示信息还可以是:在检测到存在播放多媒体内容的目标应用后,实时生成。例如,当播放提示信息是文字提示信息时,可以根据播放多媒体内容的具体目标应用,实时生成与该目标应用相关的文字提示信息。In a specific application, the playing prompt information may also be: generated in real time after detecting the presence of a target application playing multimedia content. For example, when the playing prompt information is text prompt information, text prompt information related to the target application may be generated in real time according to the specific target application playing the multimedia content.
步骤103:将所述播放提示信息展示在所述移动终端的锁屏界面。Step 103: Displaying the playback prompt information on a lock screen interface of the mobile terminal.
本发明实施例中,在移动终端的锁屏界面展示播放提示信息的方式可以是:在锁屏界面的预设区域展示播放提示信息,该预设区域可以在解锁区域的上方、下方、左方、右方等任何位置,如图2所示,假设播放提示信息是目标应用的应用图标,则可以在锁屏界面解锁区域20的上方显示目标应用的应用图标10。In the embodiment of the present invention, the method of displaying and playing prompt information on the lock screen interface of the mobile terminal may be: displaying play prompt information in a preset area of the lock screen interface, and the preset area may be above, below, or to the left of the unlock area , right, etc., as shown in FIG. 2 , assuming that the play prompt information is the application icon of the target application, the application icon 10 of the target application can be displayed above the unlocking area 20 of the lock screen interface.
本发明实施例中,在移动终端的锁屏界面展示播放提示信息的方式还可以是:设置弹窗、悬浮窗等,将播放提示信息设置在弹窗、悬浮窗中,显示在在锁屏界面的任何区域,如果该弹窗、悬浮窗等与解锁区域重合,用户可以将该弹窗、悬浮窗等滑动至不与解锁区域重合的位置后,在解锁区域进行解锁操作。本领域技术人员还可以根据实际应用场景,选择其他的在移动终端的锁屏界面展示播放提示信息的方式,本发明实施例对此不作具体限制。In the embodiment of the present invention, the method of displaying the playing prompt information on the lock screen interface of the mobile terminal may also be: setting a pop-up window, a floating window, etc., setting the playing prompt information in the pop-up window or floating window, and displaying it on the lock screen interface In any area of , if the pop-up window, floating window, etc. overlaps with the unlocking area, the user can slide the pop-up window, floating window, etc. to a position that does not overlap with the unlocking area, and then perform the unlocking operation in the unlocking area. Those skilled in the art may also select other ways of displaying and playing prompt information on the lock screen interface of the mobile terminal according to actual application scenarios, which is not specifically limited in this embodiment of the present invention.
具体应用中,第一预设解锁操作指令的作用是,指示移动终端在解锁的同时关闭播放多媒体内容的目标应用。将播放提示信息展示在移动终端的锁屏界面,则当用户需要对移动终端进行解锁操作时,可以在锁屏界面看到该播放提示信息,进而可以提示用户发出第一预设解锁操作指令。该第一预设解锁操作指令是具体可以是用户通过手势、指纹、密码等的一种或多种的操作发出的操作指令。本发明实施例对此不作具体限定。In a specific application, the function of the first preset unlocking operation instruction is to instruct the mobile terminal to close the target application playing the multimedia content while unlocking. Displaying the playing prompt information on the lock screen interface of the mobile terminal, when the user needs to unlock the mobile terminal, he can see the playing prompt information on the lock screen interface, and then the user can be prompted to issue the first preset unlocking operation command. The first preset unlocking operation instruction may specifically be an operation instruction issued by the user through one or more operations such as gestures, fingerprints, and passwords. This embodiment of the present invention does not specifically limit it.
步骤104:若接收到第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。Step 104: If a first preset unlocking operation instruction is received, unlock the mobile terminal, and close the target application.
本发明实施例中,若接收到第一预设解锁操作指令,可以反映解锁用户希望在解锁移动终端的同时,关闭播放多媒体内容的目标应用。因此,移动终端执行解锁,且,关闭播放多媒体内容的目标应用的操作。In the embodiment of the present invention, if the first preset unlocking operation instruction is received, it may reflect that the unlocking user wishes to close the target application playing multimedia content while unlocking the mobile terminal. Therefore, the mobile terminal performs an operation of unlocking and closing the target application playing the multimedia content.
具体目标应用中,关闭播放多媒体内容的目标应用具体可以是:关闭该目标应用的前台进程,例如:音效、播放画面等播放进程;且,保留该目标应用的后台进程,使得用户触发该目标应用时,可以直接进入锁屏时该目标应用的界面。In the specific target application, closing the target application for playing multimedia content may specifically be: closing the foreground process of the target application, for example: playing processes such as sound effects and playing screens; and retaining the background process of the target application so that the user triggers the target application , you can directly enter the interface of the target application when the screen is locked.
具体应用中,关闭播放多媒体内容的目标应用具体还可以是:关闭该目标应用的前台进程,例如:音效、播放画面等播放进程;且,关闭该目标应用的后台进程,以减少该目标应用对移动终端资源的目标应用。本领域技术人员还可以根据实际应用场景,选择其他的关闭播放多媒体内容的目标应用的方式,本发明实施例对此不作具体限制。In a specific application, closing the target application for playing multimedia content may specifically be: closing the foreground process of the target application, such as: playing processes such as sound effects and playing pictures; and closing the background process of the target application to reduce the impact of the target application on The target application of mobile terminal resources. Those skilled in the art may also choose other ways to close the target application playing multimedia content according to the actual application scenario, which is not specifically limited in the embodiment of the present invention.
本发明实施例中,当移动终端进行锁屏时,若检测到存在已启动的播放多媒体的目标应用,则确定出播放提示信息,并将该播放提示信息在锁屏界面显示,以达到提示用户锁屏时存在着正在播放的多媒体内容的目标应用的效果,用户在解锁时,可以根据该提示,发出第一预设解锁操作指令,当接收到第一预设解锁操作指令时,在解锁移动终端的同时关闭目标应用,因此,在本发明实施例中,通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体内容,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。In the embodiment of the present invention, when the mobile terminal locks the screen, if it is detected that there is an activated target application for playing multimedia, it will determine the playback prompt information, and display the playback prompt information on the lock screen interface to remind the user When the screen is locked, there is the effect of the target application of the multimedia content being played. When unlocking, the user can issue the first preset unlocking operation instruction according to the prompt. When the first preset unlocking operation instruction is received, the unlocking movement The terminal simultaneously closes the target application. Therefore, in the embodiment of the present invention, after the mobile terminal is unlocked through the first preset unlocking operation command, the multimedia content played when the mobile terminal is locked will not be played, and the multimedia content watched by the user will not be exposed. , which protects the privacy of the user, and also prevents the multimedia content suddenly played by the mobile terminal from interfering with the user and people around the user after unlocking.
【方法实施例二】[Method Embodiment 2]
参照图3,示出了本发明实施例中的一种解锁控制方法的具体步骤流程图。具体步骤包括:Referring to FIG. 3 , it shows a flow chart of specific steps of an unlocking control method in an embodiment of the present invention. Specific steps include:
步骤201:当所述移动终端进行锁屏时,检测所述移动终端的声音组件是否被应用占用。Step 201: When the mobile terminal locks the screen, detect whether the sound component of the mobile terminal is occupied by an application.
步骤202:若所述声音组件被应用占用,则确定存在目标应用,所述目标应用为已启动的播放多媒体内容的应用。Step 202: If the sound component is occupied by an application, determine that there is a target application, and the target application is a started application for playing multimedia content.
本发明实施例中,声音组件是移动终端中播放声音的模块,通过检测声音组件的占用情况,可以确定移动终端是否在播放包含声音的多媒体内容。In the embodiment of the present invention, the sound component is a module for playing sound in the mobile terminal. By detecting the occupancy of the sound component, it can be determined whether the mobile terminal is playing multimedia content containing sound.
具体应用中,当移动终端进行锁屏时,可以通过检测移动终端的声音组件被应用的占用情况,来判定该移动终端在进行锁屏时是否存在正在播放多媒体内容的应用。具体来说,当移动终端进行锁屏时,如果检测到移动终端的声音组件被占用,则说明存在已启动的播放多媒体内容的目标应用;如果检测到移动终端的声音组件没有被占用,则说明不存在已启动的播放多媒体内容的目标应用。In a specific application, when the mobile terminal locks the screen, it can be determined whether there is an application playing multimedia content when the mobile terminal is locking the screen by detecting the occupancy of the sound component of the mobile terminal by the application. Specifically, when the mobile terminal locks the screen, if it is detected that the sound component of the mobile terminal is occupied, it means that there is a target application for playing multimedia content that has been started; if it is detected that the sound component of the mobile terminal is not occupied, it means that There is no launched target application playing multimedia content.
本发明实施例中,通过声音组件的占用情况,判定是否存在目标应用,因为声音组件占用情况的检测方式简单且高效,因此,能提升判定是否存在目标应用的效率。In the embodiment of the present invention, it is determined whether there is a target application based on the occupancy of the sound component. Because the detection method of the occupancy of the sound component is simple and efficient, the efficiency of determining whether the target application exists can be improved.
步骤203:若存在所述目标应用,确定播放提示信息。Step 203: If the target application exists, determine to play the prompt information.
作为本发明实施例的一种优选方案,在检测到所述移动终端完成所述锁屏之后,还可以进一步判定所述目标应用是否播放所述多媒体内容;若所述目标应用不播放所述多媒体内容,则确定所述目标应用对应的播放提示信息。As a preferred solution of the embodiment of the present invention, after detecting that the mobile terminal has finished locking the screen, it can further determine whether the target application plays the multimedia content; if the target application does not play the multimedia content content, then determine the playback prompt information corresponding to the target application.
具体应用中,可能还存在着在移动终端完成锁屏后,依然播放多媒体内容的目标应用,比如说,在移动终端锁屏后,还可能存在依然播放声音的音乐播放应用,在该应用场景下,可以认为用户可能是基于省电等考虑进行了锁屏,此时,不需要在解锁时对该目标应用进行关闭。因此,在检测到移动终端完成锁屏后,该目标应用不播放多媒体内容时,再确定播放提示信息,可以避免给出用户不必要的播放提示信息,对用户的正常解锁操作带来干扰。In specific applications, there may still be target applications that still play multimedia content after the mobile terminal is locked. For example, after the mobile terminal is locked, there may be music playback applications that still play sound. In this application scenario , it can be considered that the user may have locked the screen based on considerations such as power saving, and at this time, it is not necessary to close the target application when unlocking. Therefore, after detecting that the mobile terminal is locked and the target application does not play the multimedia content, it is determined to play the prompt information, which can avoid giving the user unnecessary playback prompt information and causing interference to the user's normal unlocking operation.
步骤204:检测所述移动终端的耳机连接状态。Step 204: Detect the earphone connection state of the mobile terminal.
步骤205:若所述移动终端没有连接耳机,则将所述播放提示信息展示在所述移动终端的锁屏界面。Step 205: If the mobile terminal is not connected to an earphone, display the playback prompt information on the lock screen interface of the mobile terminal.
本发明实施例中,确定存在有播放多媒体内容的目标应用后,检测移动终端的耳机连接状态,如果移动终端连接有耳机,则解锁时即使存在播放多媒体内容的目标应用,也不会因为突然发出声音而对用户造成干扰,此时,可以不需要关闭该目标应用;如果移动终端没有连接耳机,则在解锁移动终端的同时关闭目标应用。In the embodiment of the present invention, after it is determined that there is a target application for playing multimedia content, the headphone connection status of the mobile terminal is detected. At this time, it is not necessary to close the target application; if the mobile terminal is not connected to an earphone, the target application is closed while unlocking the mobile terminal.
本发明实施例考虑到移动终端接入耳机时,声音会通过耳机输出,不会对用户造成干扰,也不必要提示用户关闭目标应用,因此,在检测到移动终端没有接入耳机时,将播放提示信息展示在移动终端的锁屏界面,以提示用户发出第一预设解锁操作指令,能避免对接入耳机用户进行不必要的目标应用关闭提示操作。The embodiment of the present invention considers that when the mobile terminal is connected to the earphone, the sound will be output through the earphone, which will not cause interference to the user, and there is no need to prompt the user to close the target application. Therefore, when it is detected that the mobile terminal is not connected to the earphone, it will play The prompt information is displayed on the lock screen interface of the mobile terminal to prompt the user to issue the first preset unlock operation command, which can avoid unnecessary target application closing prompt operation for the user who accesses the earphone.
作为本发明实施例的另一种优选方案,步骤204和步骤205还可以替换为步骤206至步骤208实现:As another preferred solution of the embodiment of the present invention, steps 204 and 205 can also be replaced by steps 206 to 208:
步骤206:通过所述移动终端的前置摄像头和后置摄像头获取人物特征图像。Step 206: Obtain character feature images through the front camera and rear camera of the mobile terminal.
步骤207:识别所述人物特征图像中包含的人物个数。Step 207: Identify the number of people included in the character feature image.
步骤208:若所述人物个数为多个,则将所述播放提示信息展示在所述移动终端的锁屏界面。Step 208: If the number of the characters is more than one, display the playing prompt information on the lock screen interface of the mobile terminal.
本发明实施例中,确定存在有播放多媒体内容的目标应用后,通过移动终端的前置摄像头和后置摄像头获取人物特征图像,并识别人物特征图像中包含的人物个数,如果人物个数为一个,则可以认为只有移动终端操作者一个人使用该移动终端,在该情况下,解锁后即使目标应用继续播放多媒体内容,也不会暴露用户的隐私,不必要提示用户关闭目标应用,因此,在识别到人物个数为多个时,将播放提示信息展示在移动终端的锁屏界面,以提示用户发出第一预设解锁操作指令,能避免对单独使用移动终端的用户进行不必要的目标应用关闭提示操作。In the embodiment of the present invention, after it is determined that there is a target application playing multimedia content, the character feature image is obtained through the front camera and rear camera of the mobile terminal, and the number of characters contained in the character feature image is identified. If the number of characters is One, it can be considered that only the operator of the mobile terminal uses the mobile terminal. In this case, even if the target application continues to play multimedia content after unlocking, the user's privacy will not be exposed, and it is unnecessary to prompt the user to close the target application. Therefore, When it is recognized that there are multiple characters, the prompt information will be displayed on the lock screen interface of the mobile terminal to prompt the user to issue the first preset unlocking operation command, which can avoid unnecessary targets for users who use the mobile terminal alone App close prompt action.
步骤209:若接收到第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。Step 209: If a first preset unlocking operation instruction is received, unlock the mobile terminal, and close the target application.
步骤210:若接收到第二预设解锁操作指令,解锁所述移动终端,且,运行所述目标应用。Step 210: If a second preset unlocking operation instruction is received, unlock the mobile terminal, and run the target application.
作为本发明实施例的一种优选方案,所述第一预设解锁操作指令为:通过接收第一预设指纹产生的第一预设解锁操作指令;和/或,通过接收第一预设手势产生的第一预设解锁操作指令。所述第二预设解锁操作指令为:通过接收第二预设指纹产生的第二预设解锁操作指令;和/或,通过接收第二预设手势产生的第二预设解锁操作指令。As a preferred solution of the embodiment of the present invention, the first preset unlock operation instruction is: a first preset unlock operation instruction generated by receiving a first preset fingerprint; and/or, by receiving a first preset gesture The generated first preset unlocking operation instruction. The second preset unlocking operation instruction is: a second preset unlocking operation instruction generated by receiving a second preset fingerprint; and/or a second preset unlocking operation instruction generated by receiving a second preset gesture.
具体应用中,可以在移动终端中预先录入本发明实施例的:解锁的同时关闭播放多媒体内容的目标应用的第一解锁方式,以及解锁时不关闭播放多媒体内容的目标应用的第二解锁方式。例如,用户有10个指纹,可以预先设定当采用其中一个或多个指纹解锁时,发出第一预设解锁操作指令,实现第一解锁方式;当用户采用另外的一个或多个指纹解锁时,发出第二预设解锁操作指令,实现第二解锁方式。再例如,预先录入特定的解锁手势,当用户采用其中一种或多种解锁手势时,发出第一预设解锁操作指令,实现第一解锁方式;当采用另外的一种或多种解锁手势时,发出第二预设解锁操作指令,实现第二解锁方式。再例如,预先录入手势和指纹组合的解锁方式,当用户采用其中的一种或多种手势和指纹组合时,发出第一预设解锁操作指令,实现第一解锁方式;当用户采用另外的一种或多种手势和指纹组合时,发出第二预设解锁操作指令,实现第二解锁方式。In a specific application, the embodiment of the present invention can be pre-recorded in the mobile terminal: the first unlocking method of closing the target application playing multimedia content while unlocking, and the second unlocking method of not closing the target application playing multimedia content when unlocking. For example, if the user has 10 fingerprints, it can be pre-set that when using one or more fingerprints to unlock, the first preset unlocking operation command will be issued to realize the first unlocking method; when the user uses another one or more fingerprints to unlock to issue a second preset unlocking operation instruction to realize the second unlocking mode. For another example, a specific unlocking gesture is pre-recorded, and when the user adopts one or more unlocking gestures, the first preset unlocking operation command is issued to realize the first unlocking method; when another one or more unlocking gestures are adopted to issue a second preset unlocking operation instruction to realize the second unlocking mode. For another example, the unlocking method of pre-entering gesture and fingerprint combination, when the user adopts one or more gestures and fingerprint combination, sends out the first preset unlocking operation instruction to realize the first unlocking method; when the user adopts another When one or more gestures and fingerprints are combined, a second preset unlocking operation command is issued to realize the second unlocking method.
举例来说,可以设定第二解锁方式对应的指纹、或手势、或指纹与手势的组合为特定解锁方式;除了该第二解锁方式对应的解锁操作以外,其他解锁操作都对应第一解锁方式。当然,还可以设定第一解锁方式对应的指纹、或手势、或指纹与手势的组合为特定解锁方式;除了该第一解锁方式对应的操作以外,其他解锁操作都对应第二解锁方式。实际应用中,本领域技术人员可以根据应用场景,设定相应的第一预设解锁操作指令实现方式、第二预设解锁操作指令实现方式,使得当接收到第一预设解锁操作指令时,解锁移动终端,且,关闭目标应用;当接收到第二预设解锁操作指令时,解锁移动终端,且,运行目标应用,本发明实施例对此不作具体限定。For example, the fingerprint, or gesture, or the combination of fingerprint and gesture corresponding to the second unlocking method can be set as a specific unlocking method; except for the unlocking operation corresponding to the second unlocking method, other unlocking operations correspond to the first unlocking method . Of course, fingerprints, gestures, or a combination of fingerprints and gestures corresponding to the first unlocking method can also be set as a specific unlocking method; except for the operations corresponding to the first unlocking method, other unlocking operations correspond to the second unlocking method. In practical applications, those skilled in the art can set the corresponding first and second preset unlocking operation instructions according to the application scenario, so that when the first preset unlocking operation instruction is received, Unlock the mobile terminal, and close the target application; when receiving the second preset unlock operation instruction, unlock the mobile terminal, and run the target application, which is not specifically limited in this embodiment of the present invention.
本发明实施例中,当移动终端进行锁屏时,若检测到存在已启动的播放多媒体的目标应用,则确定出播放提示信息,并将该播放提示信息在锁屏界面显示,以达到提示用户锁屏时存在着正在播放的多媒体内容的目标应用的效果,用户在解锁时,可以根据该提示,发出第一预设解锁操作指令,当接收到第一预设解锁操作指令时,在解锁移动终端的同时关闭目标应用,因此,在本发明实施例中,通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体内容,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。In the embodiment of the present invention, when the mobile terminal locks the screen, if it is detected that there is an activated target application for playing multimedia, it will determine the playback prompt information, and display the playback prompt information on the lock screen interface to remind the user When the screen is locked, there is the effect of the target application of the multimedia content being played. When unlocking, the user can issue the first preset unlocking operation instruction according to the prompt. When the first preset unlocking operation instruction is received, the unlocking movement The terminal simultaneously closes the target application. Therefore, in the embodiment of the present invention, after the mobile terminal is unlocked through the first preset unlocking operation command, the multimedia content played when the mobile terminal is locked will not be played, and the multimedia content watched by the user will not be exposed. , which protects the privacy of the user, and also prevents the multimedia content suddenly played by the mobile terminal from interfering with the user and people around the user after unlocking.
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.
【装置实施例三】[Device Embodiment 3]
参照图4,示出了本发明实施例中的一种解锁控制装置300的结构框图。包括:Referring to FIG. 4 , it shows a structural block diagram of an unlocking control device 300 in an embodiment of the present invention. include:
目标应用检测模块310,用于当所述移动终端进行锁屏时,检测是否存在目标应用,所述目标应用为已启动的播放多媒体内容的应用。The target application detection module 310 is configured to detect whether there is a target application when the mobile terminal locks the screen, and the target application is a started application for playing multimedia content.
播放提示信息确定模块320,用于若存在播放多媒体内容的目标应用,确定播放提示信息。The play prompt information determining module 320 is configured to determine play prompt information if there is a target application playing multimedia content.
显示模块330,用于将所述播放提示信息展示在所述移动终端的锁屏界面。The display module 330 is configured to display the playback prompt information on a lock screen interface of the mobile terminal.
第一解锁模块340,用于若接收到第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。The first unlocking module 340 is configured to unlock the mobile terminal and close the target application if a first preset unlock operation instruction is received.
优选地,参照图5,在图4的基础上,该解锁控制装置还可以包括:Preferably, referring to FIG. 5, on the basis of FIG. 4, the unlocking control device may further include:
所述目标应用检测模块310包括:The target application detection module 310 includes:
声音组件检测子模块3101,用于当所述移动终端进行锁屏时,检测所述移动终端的声音组件是否被应用占用;The sound component detection submodule 3101 is used to detect whether the sound component of the mobile terminal is occupied by an application when the mobile terminal locks the screen;
目标应用检测子模块3102,用于若所述声音组件被应用占用,则确定存在目标应用。The target application detection sub-module 3102 is configured to determine that there is a target application if the sound component is occupied by an application.
优选地,该装置还包括:Preferably, the device also includes:
耳机检测模块350,用于检测所述移动终端的耳机连接状态。The earphone detection module 350 is configured to detect the earphone connection state of the mobile terminal.
所述显示模块包括:The display module includes:
第一显示子模块,用于若所述移动终端没有连接耳机,则将所述播放提示信息展示在所述移动终端的锁屏界面。The first display sub-module is configured to display the playback prompt information on a lock screen interface of the mobile terminal if the mobile terminal is not connected to an earphone.
优选地,该装置还包括:Preferably, the device also includes:
人物图像获取模块360,用于通过所述移动终端的前置摄像头和后置摄像头获取人物特征图像。A character image acquiring module 360, configured to acquire character feature images through the front camera and the rear camera of the mobile terminal.
人物个数识别模块370,用于识别所述人物特征图像中包含的人物个数。The number of people identification module 370 is configured to identify the number of people included in the character feature image.
所述显示模块包括:The display module includes:
第二显示子模块,用于若所述人物个数为多个,则将所述播放提示信息展示在所述移动终端的锁屏界面。The second display submodule is configured to display the play prompt information on the lock screen interface of the mobile terminal if the number of the characters is multiple.
优选地,该装置还包括:Preferably, the device also includes:
第二解锁模块380,用于若接收到第二预设解锁操作指令,解锁所述移动终端,且,不关闭所述目标应用;其中,所述第二预设解锁操作指令为:通过接收第二预设指纹产生的第二预设解锁操作指令;和/或,通过接收第二预设手势产生的第二预设解锁操作指令。The second unlocking module 380 is configured to unlock the mobile terminal without closing the target application if a second preset unlocking operation instruction is received; wherein, the second preset unlocking operation instruction is: by receiving the second preset unlocking operation instruction A second preset unlocking operation instruction generated by two preset fingerprints; and/or a second preset unlocking operation instruction generated by receiving a second preset gesture.
所述第一预设解锁操作指令为:通过接收第一预设指纹产生的第一预设解锁操作指令;和/或,通过接收第一预设手势产生的第一预设解锁操作指令。The first preset unlocking operation instruction is: a first preset unlocking operation instruction generated by receiving a first preset fingerprint; and/or a first preset unlocking operation instruction generated by receiving a first preset gesture.
本发明实施例中,当移动终端进行锁屏时,若检测到存在已启动的播放多媒体的目标应用,则确定出播放提示信息,并将该播放提示信息在锁屏界面显示,以达到提示用户锁屏时存在着正在播放的多媒体内容的目标应用的效果,用户在解锁时,可以根据该提示,发出第一预设解锁操作指令,当接收到第一预设解锁操作指令时,在解锁移动终端的同时关闭目标应用,因此,在本发明实施例中,通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体内容,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。In the embodiment of the present invention, when the mobile terminal locks the screen, if it is detected that there is an activated target application for playing multimedia, it will determine the playback prompt information, and display the playback prompt information on the lock screen interface to remind the user When the screen is locked, there is the effect of the target application of the multimedia content being played. When unlocking, the user can issue the first preset unlocking operation instruction according to the prompt. When the first preset unlocking operation instruction is received, the unlocking movement The terminal simultaneously closes the target application. Therefore, in the embodiment of the present invention, after the mobile terminal is unlocked through the first preset unlocking operation command, the multimedia content played when the mobile terminal is locked will not be played, and the multimedia content watched by the user will not be exposed. , which protects the privacy of the user, and also prevents the multimedia content suddenly played by the mobile terminal from interfering with the user and people around the user after unlocking.
上述移动终端能够实现图1至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The aforementioned mobile terminal can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.
图6为实现本发明各个实施例的一种移动终端的硬件结构示意图。Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
其中,处理器510,用于当所述移动终端进行锁屏时,检测是否存目标应用,所述目标应用为已启动的播放多媒体内容的应用;若存在播放多媒体内容的目标应用,确定播放提示信息;显示单元506,用于将所述播放提示信息展示在所述移动终端的锁屏界面;处理器510,还用于若接收到所述第一预设解锁操作指令,解锁所述移动终端,且,关闭所述目标应用。Wherein, the processor 510 is configured to detect whether there is a target application when the mobile terminal locks the screen, and the target application is an application for playing multimedia content that has been started; if there is a target application for playing multimedia content, determine the playback prompt information; a display unit 506, configured to display the playback prompt information on the lock screen interface of the mobile terminal; a processor 510, further configured to unlock the mobile terminal if the first preset unlock operation instruction is received , and, close the target application.
本发明实施例中,当移动终端进行锁屏时,若检测到存在已启动的播放多媒体的目标应用,则确定出播放提示信息,并将该播放提示信息在锁屏界面显示,以达到提示用户锁屏时存在着正在播放的多媒体内容的目标应用的效果,用户在解锁时,可以根据该提示,发出第一预设解锁操作指令,当接收到第一预设解锁操作指令时,在解锁移动终端的同时关闭目标应用,因此,在本发明实施例中,通过第一预设解锁操作指令解锁后,移动终端不会播放出锁屏时播放的多媒体内容,不会暴露用户所观看的多媒体内容,保护了用户的隐私,也避免解锁后移动终端突然播放的多媒体内容对用户及用户周围人员的干扰。In the embodiment of the present invention, when the mobile terminal locks the screen, if it is detected that there is an activated target application for playing multimedia, it will determine the playback prompt information, and display the playback prompt information on the lock screen interface to remind the user When the screen is locked, there is the effect of the target application of the multimedia content being played. When unlocking, the user can issue the first preset unlocking operation instruction according to the prompt. When the first preset unlocking operation instruction is received, the unlocking movement The terminal simultaneously closes the target application. Therefore, in the embodiment of the present invention, after the mobile terminal is unlocked through the first preset unlocking operation command, the multimedia content played when the mobile terminal is locked will not be played, and the multimedia content watched by the user will not be exposed. , which protects the privacy of the user, and also prevents the multimedia content suddenly played by the mobile terminal from interfering with the user and people around the user after unlocking.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 510 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 can also provide audio output related to a specific function performed by the mobile terminal 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver and the like.
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used for receiving audio or video signals. The input unit 504 may include a graphics processing unit (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage media) or sent via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a phone call mode.
移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the display panel 5061 when the mobile terminal 500 moves to the ear / or backlighting. 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 still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 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.
用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 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 terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, 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 5071 or near the touch panel 5071). operate). The touch panel 5071 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 For the processor 510, receive the command sent by the processor 510 and execute it. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 5071 can be covered on the display panel 5061, and when the touch panel 5071 detects a touch operation on or near it, it will be sent to the processor 510 to determine the type of the touch event, and then the processor 510 can The type of event provides a corresponding visual output on the display panel 5061 . Although in FIG. 5, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs as well as various data. The memory 509 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 509 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.
处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510 .
移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 can also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述解锁控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and operable on the processor 510. When the computer program is executed by the processor 510 Each process of the above embodiment of the unlocking control method can be realized and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述解锁控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned unlocking control method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810457673.8A CN108664818B (en) | 2018-05-14 | 2018-05-14 | Unlocking control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810457673.8A CN108664818B (en) | 2018-05-14 | 2018-05-14 | Unlocking control method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108664818A true CN108664818A (en) | 2018-10-16 |
| CN108664818B CN108664818B (en) | 2020-07-07 |
Family
ID=63778460
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810457673.8A Active CN108664818B (en) | 2018-05-14 | 2018-05-14 | Unlocking control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108664818B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109889657A (en) * | 2019-01-11 | 2019-06-14 | 上海连尚网络科技有限公司 | The method and apparatus of information flow and/or Media Stream is shown in locking screen interface |
| CN110401806A (en) * | 2019-06-21 | 2019-11-01 | 努比亚技术有限公司 | A kind of video call method of mobile terminal, mobile terminal and storage medium |
| CN110865858A (en) * | 2019-10-28 | 2020-03-06 | 维沃移动通信有限公司 | A screen wake-up method and electronic device |
| CN114489560A (en) * | 2022-01-28 | 2022-05-13 | 维沃移动通信有限公司 | Sound effect adjusting method, sound effect adjusting device and electronic equipment |
| WO2023098551A1 (en) * | 2021-12-01 | 2023-06-08 | 维沃移动通信有限公司 | Audio adjusting method and audio adjusting apparatus |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103064585A (en) * | 2012-12-24 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Terminal unlocking method and terminal |
| CN103246427A (en) * | 2012-02-09 | 2013-08-14 | 广州三星通信技术研究有限公司 | Method and device for unlocking electronic device |
| CN103257873A (en) * | 2013-04-18 | 2013-08-21 | 北京小米科技有限责任公司 | Method and system for controlling intelligent terminal device |
| US8560004B1 (en) * | 2012-08-31 | 2013-10-15 | Google Inc. | Sensor-based activation of an input device |
| CN104573456A (en) * | 2014-12-29 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal interface control method |
| CN104598792A (en) * | 2014-12-29 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
| CN105025165A (en) * | 2015-07-06 | 2015-11-04 | 北京乐动卓越科技有限公司 | Interface unlocking method and system corresponding to multiple passwords |
| CN105630354A (en) * | 2015-12-25 | 2016-06-01 | 小米科技有限责任公司 | Application control method and device |
| CN106687969A (en) * | 2015-10-08 | 2017-05-17 | 华为技术有限公司 | A method and terminal equipment for protecting private information |
| CN107133504A (en) * | 2016-02-29 | 2017-09-05 | 广州市动景计算机科技有限公司 | Rights Management System, right management method and electronic equipment |
| CN107306358A (en) * | 2016-04-20 | 2017-10-31 | 中兴通讯股份有限公司 | Control method for playing back and device |
| CN107370873A (en) * | 2017-06-19 | 2017-11-21 | 北京珠穆朗玛移动通信有限公司 | Using management-control method, mobile terminal and storage medium |
-
2018
- 2018-05-14 CN CN201810457673.8A patent/CN108664818B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103246427A (en) * | 2012-02-09 | 2013-08-14 | 广州三星通信技术研究有限公司 | Method and device for unlocking electronic device |
| US8560004B1 (en) * | 2012-08-31 | 2013-10-15 | Google Inc. | Sensor-based activation of an input device |
| CN103064585A (en) * | 2012-12-24 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Terminal unlocking method and terminal |
| CN103257873A (en) * | 2013-04-18 | 2013-08-21 | 北京小米科技有限责任公司 | Method and system for controlling intelligent terminal device |
| CN104573456A (en) * | 2014-12-29 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal interface control method |
| CN104598792A (en) * | 2014-12-29 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
| CN105025165A (en) * | 2015-07-06 | 2015-11-04 | 北京乐动卓越科技有限公司 | Interface unlocking method and system corresponding to multiple passwords |
| CN106687969A (en) * | 2015-10-08 | 2017-05-17 | 华为技术有限公司 | A method and terminal equipment for protecting private information |
| CN105630354A (en) * | 2015-12-25 | 2016-06-01 | 小米科技有限责任公司 | Application control method and device |
| CN107133504A (en) * | 2016-02-29 | 2017-09-05 | 广州市动景计算机科技有限公司 | Rights Management System, right management method and electronic equipment |
| CN107306358A (en) * | 2016-04-20 | 2017-10-31 | 中兴通讯股份有限公司 | Control method for playing back and device |
| CN107370873A (en) * | 2017-06-19 | 2017-11-21 | 北京珠穆朗玛移动通信有限公司 | Using management-control method, mobile terminal and storage medium |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109889657A (en) * | 2019-01-11 | 2019-06-14 | 上海连尚网络科技有限公司 | The method and apparatus of information flow and/or Media Stream is shown in locking screen interface |
| CN110401806A (en) * | 2019-06-21 | 2019-11-01 | 努比亚技术有限公司 | A kind of video call method of mobile terminal, mobile terminal and storage medium |
| CN110865858A (en) * | 2019-10-28 | 2020-03-06 | 维沃移动通信有限公司 | A screen wake-up method and electronic device |
| WO2023098551A1 (en) * | 2021-12-01 | 2023-06-08 | 维沃移动通信有限公司 | Audio adjusting method and audio adjusting apparatus |
| CN114489560A (en) * | 2022-01-28 | 2022-05-13 | 维沃移动通信有限公司 | Sound effect adjusting method, sound effect adjusting device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108664818B (en) | 2020-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021098678A1 (en) | Screencast control method and electronic device | |
| CN109241775B (en) | Privacy protection method and terminal | |
| CN108471498A (en) | A kind of shooting preview method and terminal | |
| WO2021169959A1 (en) | Application starting method and electronic device | |
| CN108664818B (en) | Unlocking control method and device | |
| CN108519850A (en) | A kind of keyboard interface display methods and mobile terminal | |
| CN108089891A (en) | A kind of application program launching method, mobile terminal | |
| CN111290810A (en) | An image display method and electronic device | |
| CN108833709A (en) | Method for starting camera and mobile terminal | |
| CN108052251A (en) | A kind of screenshotss method for information display and mobile terminal | |
| CN110221795A (en) | A kind of screen recording method and terminal | |
| CN111459362A (en) | Information display method, information display device, electronic device and storage medium | |
| CN108628644A (en) | A kind of the startup method, apparatus and mobile terminal of application | |
| WO2021037074A1 (en) | Audio output method and electronic apparatus | |
| CN108108111A (en) | A kind of inspection method, device and the mobile terminal of screen locking pictorial information | |
| CN108446156A (en) | A kind of application control method and terminal | |
| CN108984099B (en) | Man-machine interaction method and terminal | |
| CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
| CN110147186A (en) | Applied control method and terminal equipment | |
| CN110096203A (en) | A kind of screenshot method and mobile terminal | |
| WO2021208889A1 (en) | Application startup method, and electronic device | |
| CN108345775A (en) | A kind of application access method and mobile terminal | |
| WO2021121178A1 (en) | Application startup method and electronic device | |
| CN108509131A (en) | A kind of application program launching method and terminal | |
| WO2021036529A1 (en) | Control method and terminal device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |