HK1238752B - Method and apparatus for invoking function in application - Google Patents
Method and apparatus for invoking function in application Download PDFInfo
- Publication number
- HK1238752B HK1238752B HK17112727.6A HK17112727A HK1238752B HK 1238752 B HK1238752 B HK 1238752B HK 17112727 A HK17112727 A HK 17112727A HK 1238752 B HK1238752 B HK 1238752B
- Authority
- HK
- Hong Kong
- Prior art keywords
- user
- application
- predefined
- sensing module
- function
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及信息处理技术领域,尤其涉及一种应用中功能的调用方法及装置。The present application relates to the field of information processing technology, and in particular to a method and device for calling a function in an application.
背景技术Background Art
手机、平板电脑、智能手表等智能设备的一个特点是用户可以自定义安装各式各样的应用,从而令设备的功能得到扩展。随着智能设备的发展,各种应用的功能也越来强大,在很多应用中甚至集成了多种功能,以满足用户的多方面需求。A key feature of smart devices like mobile phones, tablets, and smartwatches is the ability for users to customize and install a wide variety of apps, expanding their functionality. As smart devices evolve, apps are becoming increasingly powerful, with many integrating multiple functions to meet diverse user needs.
应用中功能的集成可能带来的一个问题是用户操作的复杂化,目前,用户使用手机等智能设备调用应用内的某个功能时,典型的操作过程如下:用户取出手机→唤醒手机→解锁手机→找到需要使用的APP→运行APP→跳转到需要使用的功能子界面(通过菜单、按钮等方式)→在子界面执行相关的操作。可见,在实际应用中,一次应用中功能的使用需要较多的步骤才能实现,不仅操作不便,而且会消耗用户很多时间。One potential problem with integrating features within an app is the increased complexity of user operations. Currently, when a user uses a smart device like a mobile phone to access an app function, the typical process is as follows: user takes out their phone → wakes it up → unlocks it → finds the desired app → runs it → navigates to the desired function's sub-screen (via menus, buttons, etc.) → performs the required operation within that sub-screen. This means that, in practice, accessing an app function requires numerous steps, which is not only inconvenient but also consumes significant user time.
发明内容Summary of the Invention
针对上述技术问题,本申请提供一种应用中功能的调用方法及装置,技术方案如下:To address the above technical issues, this application provides a method and device for calling functions in an application. The technical solutions are as follows:
根据本申请的第1方面,提供应用中功能的调用方法,应用于用户设备,该方法包括:According to a first aspect of the present application, a method for calling a function in an application is provided, which is applied to a user device, and the method includes:
获取用户在用户设备上的操作;Get the user's operations on the user's device;
在所获取的操作与预定义用户操作相匹配时,调用与所述预定义用户操作相关联的应用中的功能。When the acquired operation matches a predefined user operation, a function in the application associated with the predefined user operation is called.
根据本申请的第2方面,提供一种条形码支付方法,应用于用户设备,该方法包括:According to a second aspect of the present application, a barcode payment method is provided, applied to a user device, the method comprising:
获取用户在用户设备上的操作;Get the user's operations on the user's device;
在所获取的操作与预定义用户操作相匹配时,调用支付应用中的支付条形码显示界面,以在用户设备的屏幕上显示用于支付的条形码图像。When the acquired operation matches a predefined user operation, a payment barcode display interface in the payment application is called to display a barcode image for payment on the screen of the user device.
根据本申请的第3方面,提供一种应用中功能的调用装置,应用于用户设备,该装置包括:According to a third aspect of the present application, a device for calling a function in an application is provided, which is applied to a user equipment, and the device includes:
检测控制模块,用于获取用户在用户设备上的操作;A detection control module is used to obtain the user's operations on the user device;
调用控制模块,用于在所获取的操作与预定义用户操作相匹配时,调用与所述预定义用户操作相关联的应用中的功能。The calling control module is used to call a function in the application associated with the predefined user operation when the acquired operation matches the predefined user operation.
根据本申请的第4方面,提供一种条形码支付装置,应用于用户设备,该装置包括:According to a fourth aspect of the present application, a barcode payment device is provided, applied to a user device, the device comprising:
检测控制模块,用于获取用户在用户设备上的操作;A detection control module is used to obtain the user's operations on the user device;
支付条形码显示控制模块,用于在所获取的操作与预定义用户操作相匹配时,调用支付应用中的支付条形码显示界面,以在用户设备的屏幕上显示用于支付的条形码图像。The payment barcode display control module is used to call the payment barcode display interface in the payment application when the acquired operation matches the predefined user operation, so as to display the barcode image for payment on the screen of the user device.
本申请所提供的技术方案,利用利用预定义用户操作作为应用中功能的调用的触发条件,通过获取用户的操作,可以在所获取的操作与预定义用户操作相匹配时,自动调用特定应用内的特定功能,从而避免唤醒设备、解锁设备等繁琐操作步骤,实现特定应用中特定功能的快捷调用。The technical solution provided in this application utilizes predefined user operations as trigger conditions for calling functions in an application. By obtaining the user's operations, a specific function within a specific application can be automatically called when the obtained operations match the predefined user operations, thereby avoiding tedious operating steps such as waking up the device and unlocking the device, and realizing quick calling of specific functions in a specific application.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
图1是本申请的应用中功能调用方法的第一种流程示意图;FIG1 is a schematic diagram of a first flow chart of a function calling method in an application of the present application;
图2是本申请方案的第一种具体应用场景示意图;FIG2 is a schematic diagram of a first specific application scenario of the present application solution;
图3是本申请方案的第二种具体应用场景示意图;FIG3 is a schematic diagram of a second specific application scenario of the present application solution;
图4是本申请方案的第三种具体应用场景示意图;FIG4 is a schematic diagram of a third specific application scenario of the present application solution;
图5是本申请方案的第四种具体应用场景示意图;FIG5 is a schematic diagram of a fourth specific application scenario of the present application solution;
图6是本申请的应用中功能调用装置的结构示意图;FIG6 is a schematic diagram of the structure of a function calling device in an application of the present application;
图7是本申请的二维码支付装置的结构示意图;FIG7 is a schematic diagram of the structure of the QR code payment device of the present application;
图8是用于配置本申请装置的一种设备的结构示意图。FIG8 is a schematic structural diagram of a device used to configure the apparatus of the present application.
具体实施方式DETAILED DESCRIPTION
为了使本领域技术人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be described in detail below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art should fall within the scope of protection of this application.
图1所示,为本申请提供的应用中功能的调用方法的流程图,该方法的执行主体可以是移动终端等设备,例如手机等,该方法具体可以包括以下步骤:FIG1 is a flowchart of a method for calling a function in an application provided by the present application. The method may be executed by a mobile terminal or other device, such as a mobile phone, and the method may specifically include the following steps:
S101,获取用户在用户设备上的操作;S101, obtaining the user's operation on the user device;
S102,在所获取的操作与预定义用户操作相匹配时,调用与所述预定义用户操作相关联的应用中的功能。S102: When the acquired operation matches a predefined user operation, call a function in the application associated with the predefined user operation.
本申请所提供的应用中功能的调用方案,可应用于具有感应模块、按键、触控输入模块的用户设备。其中的感应模块可以包括重力传感器、加速度传感器、陀螺仪、距离传感器、指纹传感器等等。按键可以包括用户设备上的物理按键或触摸式虚拟按键、触屏操作系统界面或具体应用界面中的虚拟按键等等。用户设备的形式可以是手机、平板电脑、智能手表等复合型设备,还可以是如电子名片、电子标签等单一功能设备,本申请对此并不进行限定。The calling scheme of the functions in the application provided by this application can be applied to user devices with a sensing module, a button, and a touch input module. The sensing module may include a gravity sensor, an acceleration sensor, a gyroscope, a distance sensor, a fingerprint sensor, and the like. The button may include a physical button or a touch-sensitive virtual button on the user device, a virtual button in a touch-screen operating system interface or a specific application interface, and the like. The user device may be a composite device such as a mobile phone, a tablet computer, a smart watch, or a single-function device such as an electronic business card or an electronic tag, and this application does not limit this.
本申请中,调用的应用中功能可以是直接跳转到显示某个特定应用中的某个功能界面,例如支付应用中的支付条形码显示界面、即时通信应用中与特定用户的聊天对话界面等等;也可以是直接触发执行某个特定应用的中的某个具体功能,例如媒体播放应用中的播放/暂停/切换功能、资讯类应用中的信息刷新功能,等等。In this application, the function in the called application can be to directly jump to display a function interface in a specific application, such as the payment barcode display interface in the payment application, the chat dialogue interface with a specific user in the instant messaging application, etc.; it can also be to directly trigger the execution of a specific function in a specific application, such as the play/pause/switch function in the media playback application, the information refresh function in the information application, etc.
本申请方案中,可利用预定义用户操作作为特定应用中特定功能的快捷触发方式,实现对特定应用中的特定功能界面的快捷显示,或者是特定应用中的特定功能界面的快捷执行。这样,在设备开机的状态下,就可以获取对用户操作的检测结果,如果能够检测到预定义的用户操作,就可以直接调用与预定义用户操作相关联的特定应用内的特定功能。不仅可以避免解锁设备、查找应用等操作,而且直接调用特定应用的特定功能,而不是仅仅打开应用的主界面,从而进一步减少用户在应用内的操作步骤,提高操作效率。In the present application, predefined user operations can be used as a quick triggering method for specific functions in specific applications, thereby realizing quick display of a specific function interface in a specific application, or quick execution of a specific function interface in a specific application. In this way, when the device is turned on, the detection result of the user operation can be obtained. If the predefined user operation can be detected, the specific function in the specific application associated with the predefined user operation can be directly called. Not only can the operations such as unlocking the device and searching for applications be avoided, but the specific function of a specific application can be directly called instead of just opening the main interface of the application, thereby further reducing the user's operation steps in the application and improving operation efficiency.
实际使用过程中,该特定应用可以采用预先启动并在系统后台运行的方式,以便实现在需要时快速调用;也可以不采用预先启动的方式,这种情况下,设备可以在检测到预定义的用户操作后再启动该特定应用,并在系统前台或后台运行,实现应用中功能的快捷调用,以降低内存资源的占用。During actual use, the specific application can be pre-launched and run in the system background so that it can be quickly called when needed; or the pre-launch method can be used. In this case, the device can launch the specific application after detecting a predefined user operation and run it in the system foreground or background to achieve quick call of application functions and reduce memory resource usage.
实际使用时,检测到预定义用户操作之后,可以先查找对应的应用是否已经在系统后台运行,如果是则直接切换至该应用中,并且跳转到用于显示信息图像的特定功能界面;如果没有查找到该应用在后台运行,则启动该应用并在系统前台或后台运行,并且跳转到该应用的特定功能界面、或者执行特定的应用中功能。During actual use, after detecting a predefined user operation, you can first check whether the corresponding application is already running in the system background. If so, switch directly to the application and jump to the specific function interface for displaying information images; if the application is not found running in the background, start the application and run it in the system foreground or background, and jump to the specific function interface of the application, or execute a specific function in the application.
实际应用中,可预先建立预定义用户操作与“调用特定功能”操作的关联,以实现检测到预定义用户操作后能够直接调用该特定功能而非进入应用主界面。具体的,可在移动终端的系统中进行相关设置,以便建立预定义用户操作与调用的特定功能的关联关系,在检测到预定义用户操作时,实现对该特定功能的快速调用,或者,也可以在系统中安装的应用中来设置其中的特定功能是否支持快捷调用的功能,并在设置为是的情况下与预定义用户操作进行关联。例如,在移动终端的支付应用中,可在支付应用的设置界面,将支付二维码的界面设置为可通过预定义用户操作进行快捷调用,并可与特定的预定义用户操作进行关联,或者也可以在系统中默认设置,并可允许用户进行关联预定义用户操作的设置。本申请中,所述的特定的应用,特定的功能界面可以是预先由用户设定,或者系统设定,或者其他方式设定的;所述的特定的预定义用户操作也可以是用户设定。In actual applications, an association between a predefined user operation and a "call a specific function" operation can be pre-established so that after detecting a predefined user operation, the specific function can be directly called instead of entering the main interface of the application. Specifically, relevant settings can be made in the system of the mobile terminal to establish an association between the predefined user operation and the called specific function, so that when the predefined user operation is detected, the specific function can be quickly called. Alternatively, it is also possible to set whether the specific function in the application installed in the system supports the quick call function, and if it is set to yes, it is associated with the predefined user operation. For example, in the payment application of the mobile terminal, the payment QR code interface can be set in the settings interface of the payment application to allow quick call through predefined user operations and can be associated with specific predefined user operations, or it can be set by default in the system, and the user can make settings to associate with predefined user operations. In this application, the specific application and the specific function interface can be set in advance by the user, or by the system, or by other means; the specific predefined user operation can also be set by the user.
根据本申请的一种具体实施方式,可以基于用户设备上配置的感应模块实现应用中功能的快捷调用,相应地:According to a specific embodiment of the present application, quick calling of functions in an application can be implemented based on a sensing module configured on a user device. Accordingly:
S101的具体实现为:获取感应模块对用户操作的检测结果;The specific implementation of S101 is: obtaining the detection result of the user operation by the sensing module;
S102的具体实现为:在检测到预定义用户操作输入后,调用与所述预定义用户操作相关联的应用中功能。S102 is specifically implemented as follows: after detecting a predefined user operation input, calling a function in the application associated with the predefined user operation.
利用条形码、二维码等图像进行信息交换是一种目前较为普遍的应用,常见的应用场景包括支付、门禁、交换名片等。而目前用户使用手机等智能设备进行图像信息交换的操作仍然比较繁琐,以手机二维码进行快捷支付为例,典型的操作过程如下:用户取出手机→唤醒手机→解锁手机→找到支付功能APP →运行APP→找到二维码功能子页面→执行二维码显示操作。可见,在实际应用中,一次完整的二维码显示操作需要较多的操作步骤才能实现,不仅用户使用不便,而且也无法很好地适应超市、公交等用户流量较大的应用场景。Exchanging information using images such as barcodes and QR codes is a common application, with common scenarios including payment, access control, and exchanging business cards. However, using smart devices like mobile phones to exchange image information remains cumbersome. For example, using a mobile QR code for quick payment typically involves the following steps: user removes phone → wakes up → unlocks phone → finds payment app → runs app → finds QR code subpage → executes QR code display. This means that, in practice, a complete QR code display requires numerous steps, making it inconvenient and unsuitable for high-traffic scenarios like supermarkets and public transportation.
本实施例将以利用手机条形码(包括一维条形码、二维条形码等)进行快捷支付的应用场景为例,即在支付应用中,通过本申请方案可快捷调出支付条形码的支付界面,对本申请方案进行详细说明。This embodiment will take the application scenario of quick payment using mobile phone barcodes (including one-dimensional barcodes, two-dimensional barcodes, etc.) as an example, that is, in the payment application, the payment interface of the payment barcode can be quickly called out through this application solution, and this application solution will be explained in detail.
手机用户可预先设定一种操作方式,作为支付条形码显示时的触发口令,该操作可以利用手机上的重力传感器、加速度传感器、陀螺仪、距离传感器、指纹传感器等感应模块实现:以下是几种自定义用户操作的举例:Mobile phone users can pre-set an operation method as a trigger code when the payment barcode is displayed. This operation can be achieved by using the phone's gravity sensor, acceleration sensor, gyroscope, distance sensor, fingerprint sensor and other sensing modules. The following are some examples of custom user operations:
利用重力传感器:重力传感器也称G-sensor,是一种特殊的加速度传感器。重力传感技术是利用压电效应实现的。通过测量手机内部一片重物重力正交两个方向分力的大小来判断水平方向。一般默认手机水平放置时为重力感应中心点。通过重力传感器测量由于重力引起的加速度,可以计算出设备相对于水平面的姿态。手机重力传感器的一种典型应用是自动控制手机的横屏显示模式和竖屏显示模式的切换。Using a gravity sensor: A gravity sensor, also known as a G-sensor, is a specialized accelerometer. Gravity sensing technology utilizes the piezoelectric effect. It determines horizontal orientation by measuring the magnitude of the gravitational force exerted by a weight inside the phone in two orthogonal directions. The default gravity sensing center is typically when the phone is horizontal. By measuring the acceleration caused by gravity, the gravity sensor can calculate the device's position relative to the horizontal plane. A typical application of a mobile phone's gravity sensor is to automatically control the switching between landscape and portrait display modes.
在本申请方案中,可以基于在手机屏幕基本垂直与水平面时的姿态变化实现预定义用户操作,例如“横置手机”/“竖置手机”的动作变化、“向左倾斜手机”/“向右倾斜手机”(倾斜角度达到一定阈值)的动作变化等,实际应用时,可以设定当上述动作的连续变化次数达到预设阈值时,认为输入了预定义用户操作。In the present application scheme, predefined user operations can be implemented based on the posture changes when the mobile phone screen is basically vertical and horizontal, such as the action changes of "horizontally placing the phone"/"vertically placing the phone", the action changes of "tilting the phone to the left"/"tilting the phone to the right" (the tilt angle reaches a certain threshold), etc. In actual application, it can be set that when the number of consecutive changes of the above actions reaches a preset threshold, it is considered that a predefined user operation has been input.
利用加速度传感器:加速度传感器也称加速度计、线加速度计等。加速度传感器可以测量由包括重力在内的各种外力所产生的线性加速度。与重力传感器的区别在于,加速度传感器除了可以感知相对于水平面的姿态之外,还可以感知手机的线性静止/运动状态以及运动方向。Using an accelerometer: An accelerometer, also known as an accelerometer or linear accelerometer, measures linear acceleration caused by various external forces, including gravity. Unlike gravity sensors, accelerometers can detect the phone's linear state of rest and motion, as well as its direction of motion, in addition to its relative position to the horizontal plane.
在本申请方案中,可以基于手机运动方向的变化实现预定义用户操作,例如,例如,对手机的上下晃动、左右晃动、或者在任意一近似直线正反方向上的晃动等等。实际应用时,可以设定当上述动作的连续晃动次数达到预设的次数阈值、且晃动的幅度达到预设的幅度阈值时,认为输入了预定义用户操作。In the present application, predefined user operations can be implemented based on changes in the direction of the mobile phone's movement, for example, shaking the phone up and down, left and right, or shaking it in the positive and negative directions of any approximate straight line, etc. In actual application, it can be set that when the number of consecutive shakings of the above actions reaches a preset number threshold and the amplitude of the shaking reaches a preset amplitude threshold, it is considered that the predefined user operation has been input.
利用陀螺仪:陀螺仪可以测量外力对物体作用并发生转动时的角速度,能够感知转动/静止状态以及转动方向。Using a gyroscope: A gyroscope can measure the angular velocity of an object when an external force acts on it and causes it to rotate. It can also sense the rotation/stationary state and the direction of rotation.
在本申请方案中,可以基于手机转动方向的变化实现预定义用户操作,例如,例如对手机的甩动操作,也即手机在基于任意轴向的转动操作。实际应用时,可以设定当上述动作的连续甩动次数达到预设的次数阈值、且甩动的幅度达到预设的幅度阈值时,认为输入了预定义用户操作。In the present application, predefined user operations can be implemented based on changes in the rotation direction of the mobile phone. For example, a swing operation of the mobile phone, that is, a rotation operation of the mobile phone along any axis, can be implemented. In actual application, when the number of consecutive swings of the above action reaches a preset number threshold and the swing amplitude reaches a preset amplitude threshold, it can be set that the predefined user operation has been input.
利用距离传感器,距离可以通过检测物理量的变化,将检测结果换算为距离,从而测量从模块到对象物的相对距离,根据检测物理量的不同,距离感应模块可以包括光学式位移传感器、线性接近传感器、超声波位移传感器等。手机距离传感器的一种常见应用是:当用户在接听或拨打电话时,将手机靠近头部,距离传感器可以测量手机与头部之间的距离,当距离缩小到一定程度后便熄灭屏幕背景灯,移开时再度点亮背景灯。这样既能防止通话时的误操作,也能达到省电的效果。Distance sensors can measure the relative distance between the module and an object by detecting changes in physical quantities and converting the results into distance. Depending on the physical quantity being detected, distance sensing modules can include optical displacement sensors, linear proximity sensors, ultrasonic displacement sensors, and others. A common application of mobile phone distance sensors is when a user holds their phone close to their head while answering or making a call. The distance sensor measures the distance between the phone and their head, turning off the screen backlight when the distance decreases to a certain level, and then turning it back on again when the distance is removed. This prevents accidental operation during calls and saves power.
在本申请方案中,可以基于手机与某物体(例如手掌、墙壁等)的距离变化实现用户操作,例如“接近物体”/“移开物体”的动作变化,其中“接近”“离开”通过预设的距离阈值进行判决。实际应用时,可以设定当上述动作的连续变化次数达到预设的阈值时,认为输入了预定义用户操作。例如,用户将手掌靠近至距离手机屏幕较近的位置,将手掌基本平行于手机屏幕、向两个相反的方向各晃动一次,则认为输入了预定义用户操作。In the present application, user operations can be implemented based on the change in the distance between the mobile phone and an object (such as a palm, a wall, etc.), such as the action change of "approaching the object"/"moving away the object", where "approaching" and "leaving" are judged by a preset distance threshold. In actual application, it can be set that when the number of consecutive changes in the above-mentioned actions reaches a preset threshold, it is considered that a predefined user operation has been input. For example, if the user moves his palm close to the mobile phone screen, and shakes his palm basically parallel to the mobile phone screen in two opposite directions once, it is considered that a predefined user operation has been input.
关于预定义用户操作,还有很多种其他的实现方式,本申请不一一例举,在实际应用时只要该自定义用户操作不会与其他操作发生冲突即可。另外可以理解的是,也可以结合两种以上的感应模块实现预定义用户操作。例如结合加速度传感器和陀螺仪,实现更为复杂的手机姿态/运动状态的判定并形成对应的用户自定义操作。There are many other ways to implement predefined user operations, which are not listed here. In practice, as long as the customized user operation does not conflict with other operations, it is sufficient. It is also understood that predefined user operations can be implemented by combining two or more sensing modules. For example, combining an accelerometer and a gyroscope can achieve more complex determination of the phone's posture/motion state and generate corresponding user-defined operations.
用户录入自定义操作后,手机侧对该按键信息进行记录并存储。本申请方案对各类用户预定义操作信息的采集算法不做限定,可采用传统的信息采集算法。当然在一些场景下,也可以是设备系统默认的一些操作作为用户的预定义操作,本申请对用户的预定义操作的设定方式,例如是系统默认还是由用户设置,例如由用户在系统中设置,还是由用户在系统中的一特定应用中的设置,不做特别限定。After the user enters the custom operation, the phone records and stores the key information. This application does not limit the collection algorithm for various types of user predefined operation information, and traditional information collection algorithms can be used. Of course, in some scenarios, some operations that are the default of the device system can also be used as the user's predefined operations. This application does not specifically limit the setting method of the user's predefined operations, such as whether it is system default or user-set, such as by the user in the system, or by the user in a specific application in the system.
预定义用户操作设置完成后,在手机开机的状态下,就可以获取感应模块对预定义用户操作的检测结果,如果当前检测到的用户操作与预定义用户操作相匹配,则直接跳转至支付应用中的支付条形码显示界面,显示用于支付的条形码图像,从而简化用户操作。本申请方案对各类具体操作信息的匹配算法不做限定,可以采用传统的匹配算法。After the predefined user operations are set, the phone can be powered on to obtain the detection results of the sensor module for the predefined user operations. If the currently detected user operation matches the predefined user operation, the user is directly redirected to the payment barcode display interface in the payment application, displaying the barcode image for payment, thereby simplifying the user operation. This application does not limit the matching algorithm for various specific operation information, and traditional matching algorithms can be used.
本申请方案中,特定功能界面在显示信息图像时,可以是获取预先生成的静态信息图像,也可以实时生成信息图像,例如在支付应用中的支付条形码界面的快捷显示场景下,该支付条形码界面显示时,支付条形码这一信息图像可以是静态的图形,也可以是实时生成并且可动态变化的图形。In the present application, when a specific function interface displays an information image, it can obtain a pre-generated static information image or generate an information image in real time. For example, in the quick display scenario of the payment barcode interface in the payment application, when the payment barcode interface is displayed, the information image of the payment barcode can be a static graphic or a graphic generated in real time and can change dynamically.
在一种实施方式中,感应模块的检测功能可处于持续性的开启状态,感应模块实时检测用户的预定义用户操作,并可以中断的方式进行上报,即用户设备可以中断的方式获得感应模块检测到的预定义用户操作,以便用户设备获取该预定义用户操作,进行相应的处理,这样用户在任何情况下输入预定义用户操作都可以快速在手机屏幕上显示支付条形码,保证用户能够随时利用预定义操作快捷触发条形码显示,也就是说,手机设备会实时通过感应模块来检测预定义用户操作,在任何情况下均可通过采集预定义用户操作来快捷的启动相关的特定功能界面。In one embodiment, the detection function of the sensing module can be in a continuously turned-on state. The sensing module detects the user's predefined user operations in real time and can report them in an interrupted manner. That is, the user device can obtain the predefined user operations detected by the sensing module in an interrupted manner, so that the user device can obtain the predefined user operations and perform corresponding processing. In this way, the user can quickly display the payment barcode on the mobile phone screen by entering the predefined user operations under any circumstances, ensuring that the user can use the predefined operations to quickly trigger the barcode display at any time. In other words, the mobile phone device will detect the predefined user operations through the sensing module in real time, and can quickly start the relevant specific function interface by collecting the predefined user operations under any circumstances.
在一种实施方式中,也可在设备处于非使用状态下,获取感应模块对用户操作的检测结果。这里的非使用状态可以包括:锁定状态、休眠状态、待机状态等状态中的一种或者几种。在这种情况下,手机可以在一些特定状态下进行检测结果的获取,只有在这些特定状态下才会通过获取感应模块的采集结果来快捷的启动相关应用中的特定功能。In one embodiment, the sensing module's detection results of user operations can also be obtained when the device is not in use. This non-use state may include one or more of the following: locked, dormant, and standby. In this case, the mobile phone can obtain detection results in certain specific states, and only in these specific states will it quickly activate specific functions in related applications by obtaining the results collected by the sensing module.
上述几种非使用状态中,锁定状态可表示的是一种用户对设备操作权限的限制,而休眠和待机状态则可以是对设备的软件或硬件模块工作状态的描述,在定义上并不进行明确的划分。在一些情况下,上述几种非使用状态是可以同时存在于一台设备的,例如有些设备会在待机或休眠一段时间后自动锁定、或者在锁定一段时间后自动将特定的软硬件模块切换为待机或休眠状态。总之,上述状态的共同特征是:如果设备当前处于这些状态,那么用户使用常规的条形码显示操作将比较繁琐。应用本申请方案,能够使得用户在这些情况下,省去唤醒设备、解锁设备等操作步骤而直接显示条形码。并且能够减少获取预定义用户操作检测结果功能的开启时间,以降低设备的电量消耗。Among the above-mentioned non-use states, the locked state can represent a restriction on the user's device operation permissions, while the sleep and standby states can be descriptions of the working status of the device's software or hardware modules, and there is no clear division in the definition. In some cases, the above-mentioned non-use states can exist simultaneously in a device. For example, some devices will automatically lock after being in standby or sleep for a period of time, or automatically switch specific software and hardware modules to standby or sleep after being locked for a period of time. In short, the common feature of the above states is that if the device is currently in these states, it will be cumbersome for the user to use conventional barcode display operations. The application of this application solution can enable users to directly display the barcode in these cases without having to wake up the device, unlock the device, and other operating steps. It can also reduce the activation time of the function of obtaining predefined user operation detection results to reduce the power consumption of the device.
在一种实施方式中,还可以设置令感应模块仅在非使用状态对预定义用户操作进行检测,从而避免感应模块长期开启所导致的电量消耗。In one embodiment, the sensing module may be configured to detect predefined user operations only when the sensing module is not in use, thereby avoiding power consumption caused by long-term activation of the sensing module.
在一种实施方式中,根据一般智能设备的“先唤醒,再解锁”的操作顺序,可以将从感应模块获取检测结果的时机设置在“在用户设备从休眠状态被唤醒后、且未被解锁”这段时间。能够减少获取检测结果功能的开启时间,以降低设备的电量消耗。In one embodiment, based on the typical "wake up, then unlock" operation sequence of typical smart devices, the timing for obtaining detection results from the sensing module can be set to "after the user device is awakened from sleep and before it is unlocked." This can reduce the time it takes to obtain detection results, thereby reducing device power consumption.
在一种实施方式中,还可以设置令感应模块仅在“用户设备从休眠状态被唤醒后、且未被解锁”时对预定义用户操作进行检测,在手机处于锁屏且黑屏的状态下,可关闭感应模块的检测功能,在手机被唤醒后可启动该感应模块以进行预定义用户操作检测,从而进一步降低感应模块所导致的电量消耗。In one embodiment, the sensing module can also be set to detect predefined user operations only when "the user device is awakened from sleep mode and is not unlocked". When the mobile phone is in a locked and black screen state, the detection function of the sensing module can be turned off. After the mobile phone is awakened, the sensing module can be started to perform predefined user operation detection, thereby further reducing the power consumption caused by the sensing module.
也就是说,在手机不被使用的大部分时间(例如放在口袋、皮包时),预定义用户操作检测结果获取功能或感应模块的检测功能可以不开启。当手机以其他方式(例如电源键、音量键等)被唤醒后,启动相应的功能,根据预定义用户操作的检测结果,可能存在以下情况:That is, when the phone is not in use most of the time (for example, when it is in a pocket or bag), the function of obtaining the predefined user operation detection results or the detection function of the sensing module can be disabled. When the phone is awakened by other means (such as the power button, volume button, etc.), the corresponding function is activated. Based on the detection results of the predefined user operation, the following situations may occur:
1)用户输入预定义用户操作,快捷显示支付条形码的支付界面。除显示支付界面之外,可以对手机进行解锁处理,也可以保持手机的锁定状态,本申请对此并不进行限定。1) The user enters a predefined user operation to quickly display the payment interface of the payment barcode. In addition to displaying the payment interface, the phone can be unlocked or kept locked, which is not limited in this application.
2)用户正常解锁手机(通过密码、手势等),解锁成功后,手机进入使用状态,关闭感应模块的检测功能。2) The user unlocks the phone normally (via a password, gesture, etc.). After successful unlocking, the phone enters the use state and the detection function of the sensing module is turned off.
3)用户未输入任何信息,可能是误操作导致,一段时间后,手机恢复休眠状态,关闭感应模块的检测功能。3) The user does not enter any information, which may be caused by an incorrect operation. After a period of time, the phone returns to sleep mode and the detection function of the sensing module is turned off.
可见,应用本申请方案,可以在适应用户基本操作习惯的前提下,进一步缩短感应模块的开启时间,从而降低设备的电量消耗。It can be seen that by applying the solution of this application, the activation time of the sensing module can be further shortened while adapting to the basic operating habits of the user, thereby reducing the power consumption of the device.
本申请中,对感应模块的工作模式,例如是在用户设备开机后一直处于可检测预定义用户操作的状态,还是说在设定的时间内处于可检测预定义用户操作的状态等,还是预定义用户操作检测模块采用中断的方式来进行预定义用户操作的上报,还是由手机中的处理器主动的调用感应模块进行工作等等方式,不做特别限定。可根据具体需要对感应模块的具体工作模式进行控制或设定。In this application, there are no specific limitations on the operating mode of the sensing module, such as whether the sensing module is always in a state capable of detecting predefined user operations after the user device is turned on, whether the sensing module is in a state capable of detecting predefined user operations within a set time, whether the predefined user operation detection module uses an interrupt to report predefined user operations, or whether the processor in the mobile phone actively calls the sensing module to operate. The specific operating mode of the sensing module can be controlled or set according to specific needs.
在一种实施方式中,如果在条形码显示界面调用之后,一段时间内没有检测到用户对设备的其他操作,则可以停止对条形码图像进行显示。从而避免条形码图像被偷拍、盗用等,提高信息使用的安全性。控制停止显示条形码图像的时长阈值可以根据实际需求设定,例如30秒、60秒等等。停止显示条形码图像的具体实现方式可以是退出特定的应用中功能的调用功能界面、退出特定应用、返回系统待机界面、也可以是将设备恢复至锁定状态、休眠状态等,本申请对此并不做限定。In one embodiment, if no other user operations on the device are detected within a period of time after the barcode display interface is called, the display of the barcode image can be stopped. This prevents the barcode image from being secretly photographed or stolen, thereby improving the security of information use. The time threshold for controlling the cessation of displaying the barcode image can be set according to actual needs, such as 30 seconds, 60 seconds, etc. The specific implementation method of stopping the display of the barcode image can be to exit the function call interface of a specific application, exit a specific application, return to the system standby interface, or restore the device to a locked state, a dormant state, etc. This application does not limit this.
图2为将本申请方案应用于商户支付的一种具体实施场景示意图,手机处于休眠并且锁定的非使用状态时,用户手持手机在任意方向连续晃动3次以上,且晃动幅度达到一定要求,加速度传感器检测该操作并与预定义用户操作进行匹配认证,认证通过后,触发支付应用中的支付条形码(包括一维条形码、二维条形码)图像在手机屏幕上显示。如果用户超过60秒不对手机进行其他操作,则在手机屏幕上显示的支付条形码图像消失。Figure 2 is a schematic diagram of a specific implementation scenario for applying the present application solution to merchant payments. When the mobile phone is in a dormant and locked non-use state, the user shakes the mobile phone in any direction for more than three times continuously, and the shaking amplitude meets a certain requirement. The acceleration sensor detects the operation and matches it with the predefined user operation for authentication. After authentication is passed, the payment barcode (including one-dimensional barcode and two-dimensional barcode) image in the payment application is triggered to be displayed on the mobile phone screen. If the user does not perform other operations on the mobile phone for more than 60 seconds, the payment barcode image displayed on the mobile phone screen disappears.
在本申请方案的另一种具体实施场景中,可以利用预定义用户操作实现支付应用或购物应用中具体商户界面的快捷展示。在使用该功能之前,用户预先设置某预定义操作(例如晃动操作等等)与支付应用或购物应用中的“当前商户界面展示”功能的关联。在使用该功能时,用户进入某商户营业场所后取出手机,输入前述已设置关联的预定义操作,手机侧将该操作与预定义操作进行匹配认证,认证通过后,调用手机的定位功能(例如基于WIFI、GPS、Bluetooth 的定位功能)获取手机当前所在位置,根据所获取的位置信息进一步计算该位置所对应的商户,然后将该商户的相关信息(例如商品信息、优惠折扣信息) 等展示在手机屏幕上。In another specific implementation scenario of the present application, predefined user operations can be used to quickly display a specific merchant interface in a payment application or shopping application. Before using this function, the user pre-sets the association between a predefined operation (such as a shaking operation, etc.) and the "current merchant interface display" function in the payment application or shopping application. When using this function, the user enters a merchant's business premises, takes out the mobile phone, and enters the predefined operation that has been associated with the aforementioned association. The mobile phone matches the operation with the predefined operation for authentication. After the authentication is passed, the positioning function of the mobile phone (such as a positioning function based on WIFI, GPS, or Bluetooth) is called to obtain the current location of the mobile phone. Based on the obtained location information, the merchant corresponding to the location is further calculated, and then the relevant information of the merchant (such as product information, discount information, etc.) is displayed on the mobile phone screen.
根据本申请方案,还可以利用预定义用户操作检测结合其他方式实现特定应用的调用,例如,可以在预定义按键被按压的状态下,获取所述感应模块对用户操作的检测结果。According to the solution of the present application, predefined user operation detection can also be combined with other methods to implement the call of a specific application. For example, the detection result of the user operation by the sensing module can be obtained when a predefined button is pressed.
用户可以预先指定一个或多个按键,作为应用中功能调用的触发条件之一,该按键可以是手机上自带的物理按键或触摸式虚拟按键,也可以是触屏操作系统界面或具体应用界面中的虚拟按键。当用户需要快捷调用应用中功能时,需要在压下预定义按键的情况下输入预定义操作。对于设备侧而言,除了需要获取感应模块对预定义用户操作的检测结果,还需要判断预定义的按键是否被按压,只有当“检测到预定义用户操作”和“预定义按键被按压”两个条件同时满足时,才会触发后续的应用中功能调用。The user can pre-specify one or more buttons as one of the triggering conditions for calling functions in the application. The button can be a physical button or a touch-sensitive virtual button on the mobile phone, or a virtual button in the touch-screen operating system interface or a specific application interface. When the user needs to quickly call a function in the application, he needs to input the predefined operation while pressing the predefined button. For the device side, in addition to obtaining the detection results of the predefined user operation by the sensing module, it is also necessary to determine whether the predefined button is pressed. Only when the two conditions of "predefined user operation is detected" and "predefined button is pressed" are met at the same time, will the subsequent function call in the application be triggered.
仍以手机支付条形码应用场景为例,根据使用习惯,用户可以将“音量降低”按键指定为预定义按键。用手指按住“音量降低”按键的同时,对手机进行甩动,手机检测上述两个条件同时满足后调用应用显示支付条形码。Taking the mobile payment barcode application scenario as an example, based on user habits, users can designate the "Volume Down" button as a predefined key. While holding down the "Volume Down" button, they shake the phone. The phone detects that both conditions are met and then calls the app to display the payment barcode.
对于显示支付条形码这类涉及用户隐私的快捷操作,可能对安全性具有一定的要求,而应用例如上述的预定义操作与预定义按键配合来实现特定应用中特定功能调用时,由于“预定义按键”也属于用户个人的私密信息(由用户预定义),因此利用这种方式,能够有效地确认用户设备当前操作者是合法用户,避免非法用户操作用户设备所导致的损失。在有些情况下,还能避免误操作,例如手机放在皮包中时,可能由于晃动幅度过大、频率过快而触发应用中功能的快捷调用,而结合预定义按键的方式则可以有效避免或减少这种非用户主观意愿触发情况的发生。For quick operations involving user privacy, such as displaying a payment barcode, certain security requirements may be required. When using predefined operations such as the above-mentioned ones in conjunction with predefined buttons to implement specific function calls in specific applications, since the "predefined buttons" are also the user's personal private information (predefined by the user), this method can effectively confirm that the current operator of the user device is a legitimate user, avoiding losses caused by illegal users operating the user device. In some cases, it can also avoid misoperations. For example, when a mobile phone is placed in a bag, it may trigger the quick call of the application function due to excessive shaking or excessive frequency. Combining it with predefined buttons can effectively avoid or reduce the occurrence of such non-user-intentional triggering situations.
为了提高用户使用的安全性,还可以进一步加入其他的安全验证机制。例如,可以在检测到预定义用户操作输入后、调用应用中功能之前,要求用户输入一种或多种认证信息,认证信息可以是文本密码、指纹、手势、面部信息等多种形式,如果用户输入的认证信息正确,则调用应用中功能,反之如果用户输入认证信息的不正确,则不调用应用功能。To improve user security, other security verification mechanisms can be added. For example, after detecting predefined user input and before invoking a function in the application, the user may be asked to enter one or more authentication information. The authentication information can be in the form of a text password, fingerprint, gesture, facial information, etc. If the authentication information entered by the user is correct, the function in the application is invoked. Conversely, if the authentication information entered by the user is incorrect, the function in the application is not invoked.
图3为将本申请方案应用于商户支付的一种具体实施场景示意图,手机处于黑屏、锁屏或待机等状态时,用户手持手机基于任意近似轴向连续甩动2次以上,且甩动幅度达到一定要求,陀螺仪检测该操作并与预定义用户操作进行匹配认证,认证通过后,认证通过后,调用支付应用,屏幕上显示当前使用的支付方式(用户可以根据需求自行修改),并提示用输入一种或多种认证信息。Figure 3 is a schematic diagram of a specific implementation scenario of applying the solution of the present application to merchant payment. When the mobile phone is in black screen, locked screen or standby state, the user holds the mobile phone and swings it continuously for more than 2 times based on any approximate axis, and the swing amplitude meets certain requirements. The gyroscope detects the operation and matches it with the predefined user operation for authentication. After the authentication is passed, the payment application is called, the currently used payment method is displayed on the screen (the user can modify it according to needs), and the user is prompted to enter one or more authentication information.
例如,对于一些第三方支付应用而言,如果用户没有开启“免登录”功能,则在甩动认证通过后,会进一步要求用户输入支付应用的登录口令,该登录口令可以是文本密码、指纹、手势、面部信息等形式,用户输入登录口令后,手机侧采用本地或发送至网络侧的方式对口令进行认证,认证通过后,在手机屏幕上显示支付条形码。For example, for some third-party payment applications, if the user has not turned on the "login-free" function, after the shake authentication is passed, the user will be further required to enter the login password of the payment application. The login password can be in the form of a text password, fingerprint, gesture, facial information, etc. After the user enters the login password, the mobile phone side authenticates the password locally or sends it to the network side. After the authentication is passed, the payment barcode is displayed on the mobile phone screen.
在另一种实施方式中,甩动认证通过后,在手机屏幕上展示支付应用的付款方式选择界面,并提示用户输入解锁口令(包括指纹和数字密码),用户输入正确的解锁口令后,点击某付款方式标识则展示相应的支付条形码。In another embodiment, after the shake authentication is passed, the payment method selection interface of the payment application is displayed on the mobile phone screen, and the user is prompted to enter the unlock password (including fingerprint and digital password). After the user enters the correct unlock password, clicks on a payment method logo to display the corresponding payment barcode.
可以理解的是,本申请实施例中的支付条形码界面的快捷调用,仅用于对“应用中功能的快捷调用”进行示意性说明。不应理解为对本申请具体实施方案以及应用场景的限定。此外,可以利用不同的基于感应模块的操做关联同一应用中的不同功能,也可以关联多个不同应用中的功能,从而实现对多个不同应用功能的快捷调用。It is understood that the quick call of the payment barcode interface in the embodiment of this application is only used to schematically illustrate "quick call of application functions." It should not be understood as limiting the specific implementation scheme and application scenarios of this application. In addition, different sensing module-based operations can be used to associate different functions in the same application, or to associate functions in multiple different applications, thereby achieving quick call of multiple different application functions.
根据本申请的一种具体实施方式,可以基于用户设备上配置的指纹模块实现应用中功能的快捷调用,这里的指纹模块可以是指包括指纹采集、匹配运算,认证或识别判决等一系列功能的模块的统称,相应地:According to a specific embodiment of the present application, quick call of application functions can be implemented based on the fingerprint module configured on the user device. The fingerprint module here can refer to a general term for modules including a series of functions such as fingerprint collection, matching operation, authentication or recognition judgment, etc. Accordingly:
S101的具体实现为:获取用户在所述指纹模块上输入的指纹;The specific implementation of S101 is: obtaining the fingerprint input by the user on the fingerprint module;
S102的具体实现为:在检测到指纹信息输入之后,调用与所述预定义用户操作相关联的应用中功能。S102 is specifically implemented as follows: after detecting the input of fingerprint information, calling a function in the application associated with the predefined user operation.
即时通信是用户经常使用的应用功能之一,而目前用户使用手机等智能设备进行即时通信聊天操作比较繁琐,典型的操作过程如下:用户取出手机→唤醒手机→解锁手机→找到即时通信APP→运行APP→点击聊天对象的图标进入聊天子界面→开始聊天。可见,在实际应用中,一次完整的聊天操作需要多个步骤才能实现。Instant messaging is a frequently used application feature. However, using smart devices like mobile phones to conduct instant messaging chats is currently quite cumbersome. The typical process is as follows: user takes out their phone → wakes it up → unlocks it → finds the instant messaging app → runs the app → taps the chat partner's icon to enter the chat sub-screen → starts chatting. As can be seen, in practice, a complete chat operation requires multiple steps.
本实施例将以即时通信聊天应用场景为例,对本申请方案进行详细说明。即在即时通信应用中,通过本申请方案可快捷调出与特定好友的聊天界面,This embodiment will take the instant messaging chat application scenario as an example to explain the present application scheme in detail. That is, in the instant messaging application, the present application scheme can quickly call up the chat interface with a specific friend.
实际应用中,可预先建立指纹信息与“调用特定好友聊天界面”操作的关联,以实现检测到指纹信息后能够直接跳转至该特定好友聊天界面而非主界面。具体的,可在移动终端的系统中进行相关设置,以便建立指纹信息与调用的特定好友聊天界面的关联关系,在检测到指纹信息时,实现对该特定好友聊天界面的快速调用,或者,也可以在系统中安装的应用中来设置其中的特定好友聊天界面是否支持快捷调用的功能,并在设置为是的情况下与指纹信息进行关联。例如,在即时通信应用的设置界面,将特定好友聊天界面的界面设置为可通过指纹信息进行快捷调用,并可与特定的指纹信息进行关联,或者也可以在系统中默认设置,并可允许用户进行关联指纹的设置。本申请中,特定好友聊天界面可以包括多个,并可以通过关联不同手指指纹等方式进行区分。In actual applications, an association between fingerprint information and the operation of "calling a specific friend chat interface" can be established in advance, so that after the fingerprint information is detected, it is possible to jump directly to the specific friend chat interface instead of the main interface. Specifically, relevant settings can be made in the system of the mobile terminal to establish an association relationship between fingerprint information and the called specific friend chat interface, so that when the fingerprint information is detected, the specific friend chat interface can be quickly called. Alternatively, it can be set in the application installed in the system whether the specific friend chat interface supports the quick call function, and if it is set to yes, it is associated with the fingerprint information. For example, in the settings interface of the instant messaging application, the interface of the specific friend chat interface is set to be quickly called through fingerprint information and can be associated with specific fingerprint information, or it can be set by default in the system, and the user can set the associated fingerprint. In this application, the specific friend chat interface can include multiple, and can be distinguished by associating different finger fingerprints.
在一种实现方式中,利用指纹模块检测到指纹信息时,可通过指纹模块的认证处理功能,加入用户验证机制,以提升安全性。即在检测到指纹信息后,与预设的指纹进行匹配处理,若匹配则再调用特定好友聊天界面的快捷显示。上述的指纹信息与调用特定好友聊天界面的关联,可以是设置特定的指纹信息作为该特定好友聊天界面的快速调用的触发条件。具体而言,设备用户需要预先对自己的一个或多个指纹信息进行录入,由指纹模块生成认证指纹信息并存储。实际应用时,用户设备的指纹模块检测到指纹信息后,进一步判断检测到的指纹信息与预存的认证指纹信息是否匹配,只有在指纹信息匹配的情况下,才触发特定好友聊天界面的显示,反之,在指纹信息不匹配(可以包括检测不到指纹信息)时,用户设备屏幕上不会显示特定好友聊天界面。这种触发机制能够有效地确认用户设备当前操作者是合法用户,避免非法用户操作用户设备所导致不良后果。本申请方案对具体的指纹采集及认证算法不做限定,可采用传统的指纹采集及认证算法。In one implementation, when a fingerprint module detects fingerprint information, a user verification mechanism can be incorporated into the fingerprint module's authentication processing function to enhance security. Specifically, after fingerprint information is detected, it is matched against a preset fingerprint. If a match occurs, a quick display of a specific friend chat interface is invoked. The aforementioned association of fingerprint information with invoking a specific friend chat interface can involve setting a specific fingerprint as a trigger condition for quickly invoking the specific friend chat interface. Specifically, the device user is required to pre-enter one or more of their fingerprints, and the fingerprint module generates and stores authentication fingerprint information. In actual use, after the fingerprint module of the user device detects fingerprint information, it further determines whether the detected fingerprint information matches the pre-stored authentication fingerprint information. Only if the fingerprint information matches is the specific friend chat interface displayed. Conversely, if the fingerprint information does not match (which may include no fingerprint information being detected), the specific friend chat interface will not be displayed on the user device screen. This triggering mechanism effectively confirms that the current user of the user device is a legitimate user, preventing adverse consequences caused by unauthorized users operating the user device. This application does not limit the specific fingerprint collection and authentication algorithm; conventional fingerprint collection and authentication algorithms can be used.
在一种实施方式中,指纹模块的检测功能可处于持续性的开启状态,指纹模块实时检测用户的指纹信息,并可以中断的方式进行上报,即用户设备可以中断的方式获得指纹模块检测到的指纹信息,以便用户设备获取该指纹信息,进行相应的处理,这样用户在任何情况下输入指纹信息都可以快速在手机屏幕上显示特定好友聊天界面,保证用户能够随时利用指纹快捷触发特定好友聊天界面显示,也就是说,手机设备会实时的通过指纹模块来检测指纹信息,在任何情况下均可通过采集指纹信息来快捷的启动相关的特定好友聊天界面。In one embodiment, the detection function of the fingerprint module can be in a continuously turned-on state. The fingerprint module detects the user's fingerprint information in real time and can report it in an interrupted manner. That is, the user device can obtain the fingerprint information detected by the fingerprint module in an interrupted manner so that the user device can obtain the fingerprint information and perform corresponding processing. In this way, the user can quickly display a specific friend chat interface on the mobile phone screen by inputting fingerprint information under any circumstances, ensuring that the user can use the fingerprint to quickly trigger the display of the specific friend chat interface at any time. In other words, the mobile phone device will detect fingerprint information through the fingerprint module in real time, and can quickly start the relevant specific friend chat interface by collecting fingerprint information under any circumstances.
在一种实施方式中,也可在设备处于非使用状态下,获取指纹模块对指纹信息的检测结果。这里的非使用状态可以包括:锁定状态、休眠状态、待机状态等状态中的一种或者几种。在这种情况下,手机可以在一些特定状态下进行指纹信息的采集,只有在该些特定状态下才会通过采集指纹信息来快捷的启动相关应用中的特定好友聊天界面。关于“非使用状态”的说明可参见前面实施例,本实施例不再重复说明。应用本申请方案,能够使得用户在这些情况下,省去唤醒设备、解锁设备等操作步骤而直接显示特定好友聊天界面。并且能够减少获取指纹检测结果功能的开启时间,以降低设备的电量消耗。In one embodiment, the detection result of the fingerprint information by the fingerprint module can also be obtained when the device is in a non-use state. The non-use state here may include one or more of the following states: locked state, dormant state, standby state, etc. In this case, the mobile phone can collect fingerprint information in certain specific states, and only in these specific states will it quickly start the specific friend chat interface in the relevant application by collecting fingerprint information. For the description of the "non-use state", please refer to the previous embodiment, and the description will not be repeated in this embodiment. The application of this application scheme can enable users to omit the steps of waking up the device, unlocking the device, etc. in these cases and directly display the specific friend chat interface. It can also reduce the activation time of the fingerprint detection result acquisition function to reduce the power consumption of the device.
在一种实施方式中,还可以设置令指纹模块仅在非使用状态对指纹信息进行检测,从而避免指纹模块长期开启所导致的电量消耗。例如,在手机处于锁屏且黑屏的状态下,可关闭指纹模块的检测功能,在手机被唤醒后可启动该指纹模块以进行指纹检测。In one embodiment, the fingerprint module can be configured to detect fingerprint information only when not in use, thereby avoiding power consumption caused by the fingerprint module being turned on for a long time. For example, when the phone is locked and the screen is black, the fingerprint module detection function can be disabled, and the fingerprint module can be activated to detect fingerprints after the phone is awakened.
在一种实施方式中,根据一般智能设备的“先唤醒,再解锁”的操作顺序,可以将从指纹模块获取检测结果的时机设置在“在用户设备从休眠状态被唤醒后、且未被解锁”这段时间。能够减少获取指纹检测结果功能的开启时间,以降低设备的电量消耗。In one embodiment, based on the typical "wake up first, then unlock" operation sequence of typical smart devices, the timing for obtaining detection results from the fingerprint module can be set to "after the user device is awakened from sleep mode and before it is unlocked." This can reduce the time it takes to obtain fingerprint detection results, thereby reducing device power consumption.
在一种实施方式中,还可以设置令指纹模块仅在“用户设备从休眠状态被唤醒后、且未被解锁”时对指纹信息进行检测,例如,在手机处于锁屏且黑屏的状态下,可关闭指纹模块的检测功能,在手机被唤醒后可启动该指纹模块以进行指纹检测,从而进一步降低指纹模块所导致的电量消耗。In one embodiment, the fingerprint module can also be set to detect fingerprint information only when "the user device is awakened from sleep mode and is not unlocked". For example, when the mobile phone is in a locked and black screen state, the detection function of the fingerprint module can be turned off, and the fingerprint module can be started after the mobile phone is awakened to perform fingerprint detection, thereby further reducing the power consumption caused by the fingerprint module.
也就是说,在手机不被使用的大部分时间(例如放在口袋、皮包时),指纹检测结果获取功能或指纹模块的检测功能可以不开启。当手机以其他方式(例如电源键、音量键等)被唤醒后,启动相应的功能,根据指纹检测的结果,可能存在以下情况:That is to say, when the phone is not in use most of the time (for example, when it is in a pocket or bag), the fingerprint detection result acquisition function or the fingerprint module detection function can be disabled. When the phone is awakened by other means (such as the power button, volume button, etc.), the corresponding function is activated. Depending on the fingerprint detection results, the following situations may occur:
1)用户输入指纹信息,快捷显示特定好友聊天界面。为了方便用户后续的聊天操作,可以进一步对手机进行解锁处理。1) The user enters the fingerprint information and quickly displays the chat interface of a specific friend. In order to facilitate the user's subsequent chat operations, the phone can be further unlocked.
2)用户正常解锁手机(通过密码、手势等),解锁成功后,手机进入使用状态,关闭指纹模块的检测功能。2) The user unlocks the phone normally (via a password, gesture, etc.). After successful unlocking, the phone enters the use state and the fingerprint module detection function is turned off.
3)用户未输入任何信息,可能是误操作导致,一段时间后,手机恢复休眠状态,关闭指纹模块的检测功能。3) The user did not enter any information, which may be caused by an incorrect operation. After a period of time, the phone returns to sleep mode and the fingerprint module detection function is turned off.
可见,应用本申请方案,可以在适应用户基本操作习惯的前提下,进一步缩短指纹模块的开启时间,从而降低设备的电量消耗。It can be seen that by applying the solution of this application, the activation time of the fingerprint module can be further shortened while adapting to the basic operating habits of the user, thereby reducing the power consumption of the device.
本申请中,对指纹模块的工作模式,例如是在用户设备开机后一直处于可检测指纹的状态,还是说在设定的时间内处于可检测指纹的状态等,还是指纹检测模块采用中断的方式来进行指纹的上报,还是有手机中的处理器主动的调用指纹模块进行工作等等方式,不做特别限定。可根据具体需要对指纹模式的具体工作模式进行控制或设定。In this application, there are no specific restrictions on the operating mode of the fingerprint module, such as whether the fingerprint detection module is always in a state of detecting fingerprints after the user device is turned on, whether the fingerprint detection module is in a state of detecting fingerprints within a set time, whether the fingerprint detection module uses an interrupt method to report fingerprints, or whether the processor in the mobile phone actively calls the fingerprint module to operate, etc. The specific operating mode of the fingerprint module can be controlled or set according to specific needs.
图4为将本申请方案应用于即时通信应用中特定功能调用的一种具体实施场景示意图,手机处于休眠并且锁定的非使用状态时,用户将手指放在位于手机背面的指纹采集器上,指纹模块采集指纹信息并对指纹信息进行认证,认证通过后,触发即时通信应用中的特定好友聊天界面图像在手机屏幕上显示,用户可以直接开始与该特定好友(小美)进行聊天。Figure 4 is a schematic diagram of a specific implementation scenario of applying the present application solution to a specific function call in an instant messaging application. When the mobile phone is in a dormant and locked non-use state, the user places his finger on the fingerprint collector on the back of the mobile phone. The fingerprint module collects the fingerprint information and authenticates the fingerprint information. After the authentication is passed, the chat interface image of a specific friend in the instant messaging application is triggered to be displayed on the mobile phone screen, and the user can directly start chatting with the specific friend (Xiaomei).
在一种实施方式中,还可以利用指纹信息对设备进行解锁,在这种情况下,可以对“利用指纹解锁”功能以及“利用指纹快捷显示特定好友聊天界面”功能进行以下区分:In one embodiment, the device can also be unlocked using fingerprint information. In this case, the "unlock using fingerprint" function and the "quickly display a specific friend chat interface using fingerprint" function can be distinguished as follows:
用户可分别预先录入用于显示特定好友聊天界面的认证指纹信息(以下简称“显示指纹”)以及用于解锁用户设备的认证指纹信息(以下简称“解锁指纹”)。并且分别建立“显示指纹”与“调用特定即时应用中的特定好友聊天界面显示界面”操作的关联、以及建立“解锁指纹”与“解锁用户设备”操作的关联。进而,在用户设备锁定状态下,指纹模块检测到用户输入的指纹信息后,根据当前检测到的指纹信息与预存指纹信息的匹配情况进行不同的处理,具体处理方式如下:The user can pre-enter the authentication fingerprint information for displaying a specific friend chat interface (hereinafter referred to as "display fingerprint") and the authentication fingerprint information for unlocking the user device (hereinafter referred to as "unlock fingerprint"), and establish an association between the "display fingerprint" and the "call a specific friend chat interface display interface in a specific instant application" operation, and establish an association between the "unlock fingerprint" and the "unlock user device" operation. Furthermore, when the user device is locked, after the fingerprint module detects the fingerprint information input by the user, it performs different processing based on the matching between the currently detected fingerprint information and the pre-stored fingerprint information. The specific processing methods are as follows:
用户设备锁定状态下,获取指纹模块对指纹信息的检测结果;When the user device is locked, the fingerprint module detects the fingerprint information;
如果没有检测到指纹信息,则不执行任何操作,在检测到指纹信息的情况下:If no fingerprint information is detected, no action is performed. If fingerprint information is detected:
如果检测到的指纹信息与“显示指纹”相匹配,则调用特定好友聊天界面应用中的与特定好友的聊天功能,以在用户设备的屏幕上显示特定好友聊天界面。If the detected fingerprint information matches the "display fingerprint", a chat function with a specific friend in a specific friend chat interface application is called to display the specific friend chat interface on the screen of the user device.
如果检测到的指纹信息与“解锁指纹”相匹配,则,执行用户设备解锁操作。If the detected fingerprint information matches the "unlock fingerprint", the user device unlocking operation is performed.
例如,根据使用习惯,用户可以将右手食指指纹录入为“解锁指纹”,将右手中指指纹录入为“显示指纹”。实际使用时,用户拿出手机,执行唤醒操作后,手机屏幕显示解锁提示,此时如果用户需要快捷显示特定好友聊天界面,则将中指放在指纹采集器上,匹配成功后调用应用并显示特定好友聊天界面;如果用户需要使用手机的其他功能,则将食指放在指纹采集器上,匹配成功后手机按照默认方式解锁。利用这种方式,可以在不影响用户正常使用习惯的情况下,有效地区分“快捷显示”与“指纹解锁”两种操作。For example, based on usage habits, users can register the fingerprint of their right index finger as the "unlock fingerprint" and the fingerprint of their right middle finger as the "display fingerprint." In actual use, the user takes out their phone, wakes it up, and the phone screen displays an unlock prompt. If the user needs to quickly display a specific friend chat interface, they place their middle finger on the fingerprint collector. After a successful match, the app is called and the specific friend chat interface is displayed. If the user needs to use other phone functions, they place their index finger on the fingerprint collector. After a successful match, the phone is unlocked by default. This method effectively distinguishes between "quick display" and "fingerprint unlock" without affecting the user's normal usage habits.
在一种实施方式中,也可以利用同一指纹来实现利用指纹解锁的功能以及利用指纹快捷显示特定好友聊天界面的功能,即可以录入用户的同一个指纹信息,同时作为解锁的指纹以及快捷显示特定好友聊天界面的指纹,并可设置指纹采集的时长来区分是将采集的指纹作为解锁还是快捷显示特定好友聊天界面,例如,指纹检测模块采集到用户的指纹信息,并记录用户的指纹在指纹传感器上的停留时间,若时间在1s以内,则认为是解锁的指纹,进行设备解锁,若时间在1s以上,则认为是快捷显示特定好友聊天界面(例如即时通信应用中的特定好友聊天界面页面)的指纹,则快捷调用特定好友聊天界面。当然在一些其它场景下也可以有不同的实现方式,实现同一指纹实现解锁或快捷显示特定好友聊天界面,例如可将指纹传感器与压力传感器集成在一起,通过检测指纹采集时的压力状况来区分是进行解锁还是快捷显示特定好友聊天界面,等等。In one embodiment, the same fingerprint can also be used to implement the function of using fingerprint to unlock and the function of using fingerprint to quickly display a specific friend chat interface. That is, the same fingerprint information of the user can be entered as the fingerprint for unlocking and the fingerprint for quickly displaying a specific friend chat interface. The fingerprint collection time can be set to distinguish whether the collected fingerprint is used for unlocking or for quickly displaying a specific friend chat interface. For example, the fingerprint detection module collects the user's fingerprint information and records the time the user's fingerprint stays on the fingerprint sensor. If the time is less than 1 second, it is considered to be the unlocking fingerprint and the device is unlocked. If the time is more than 1 second, it is considered to be the fingerprint for quickly displaying a specific friend chat interface (such as a specific friend chat interface page in an instant messaging application), and the specific friend chat interface is quickly called. Of course, in some other scenarios, there can be different implementation methods to achieve the same fingerprint to unlock or quickly display a specific friend chat interface. For example, the fingerprint sensor can be integrated with the pressure sensor to distinguish whether to unlock or quickly display a specific friend chat interface by detecting the pressure condition during fingerprint collection, etc.
可以理解的是,在一种实施方式中,也可以利用不同的指纹、或者同一指纹的不同操作方式(例如手指在指纹采集器上的不同停留时间、不同压力等) 来区分不同的好友,以实现快捷显示不同特定好友的聊天界面。It is understandable that, in one embodiment, different fingerprints or different operating methods of the same fingerprint (such as different dwell time of the finger on the fingerprint collector, different pressure, etc.) can also be used to distinguish different friends, so as to quickly display the chat interface of different specific friends.
在一种实施方式中,还可以利用指纹信息检测结合其他方式实现特定应用中特定好友聊天界面的调用,例如:用户可以预先指定一个或多个按键,作为特定好友聊天界面显示时的触发口令,该按键可以是手机上自带的物理按键或触摸式虚拟按键,也可以是触屏操作系统界面或具体应用界面中的虚拟按键。当用户需要快捷显示特定好友聊天界面时,除了输入指纹信息之外,还需要同时按下自定义的按键。对于设备侧而言,除了需要获取指纹模块对指纹信息的检测结果,还需要判断预定义的按键是否被按压,只有当“检测到指纹信息”和“预定义按键被按压”两个条件同时满足时,才会触发后续的特定好友聊天界面显示操作。In one embodiment, fingerprint information detection can also be combined with other methods to implement the call of a specific friend chat interface in a specific application. For example, the user can pre-specify one or more buttons as the trigger password when the specific friend chat interface is displayed. The button can be a physical button or a touch-sensitive virtual button on the mobile phone, or a virtual button in the touch-screen operating system interface or a specific application interface. When the user needs to quickly display a specific friend chat interface, in addition to entering the fingerprint information, he also needs to press a custom button at the same time. For the device side, in addition to obtaining the fingerprint module's detection result of the fingerprint information, it is also necessary to determine whether the predefined button is pressed. Only when the two conditions of "fingerprint information is detected" and "predefined button is pressed" are met at the same time, will the subsequent specific friend chat interface display operation be triggered.
例如,根据使用习惯,用户可以将“音量降低”按键指定为预定义按键。实际使用时,用户拿出手机,将某个手指(例如右手食指)放在指纹采集器上,同时用另一手指(例如右手拇指)按住“音量降低”按键,手机检测上述两个条件同时满足后调用即时通信应用显示特定好友聊天界面。For example, based on usage habits, users can designate the "Volume Down" button as a predefined button. In actual use, the user takes out the phone, places a finger (such as the right index finger) on the fingerprint sensor, and simultaneously presses the "Volume Down" button with another finger (such as the right thumb). When the phone detects that both conditions are met, it calls the instant messaging app to display the chat interface for a specific friend.
在一些实施方式中,也可将指纹信息作为一种快捷显示特定好友聊天界面的触发手段,并不需要对检测到的指纹信息进行实际的认证处理,也就是说,任意的指纹信息均可以触发特定好友聊天界面的快捷显示。例如上述的与预定义按键配合来实现特定应用中特定好友聊天界面的显示时,由于“预定义按键”也属于用户个人的私密信息(由用户预定义),因此利用这种方式,可以在不对当前检测到的指纹信息与认证指纹信息进行比较运算就可以来启动特定好友聊天界面,并保证聊天的安全性,同时也可以不对指纹匹配解锁机制产生影响。当然在一些其它场景下,也可以在检测到有指纹信息后,就调用特定应用的特定功能界面,而不用对指纹信息进行匹配认证过程,例如在手机设备处于工作状态时,若检测到有指纹信息,即用户将指纹放在指纹采集器时,就可以调用即时通信应用中的特定好友聊天界面显示界面。In some embodiments, fingerprint information can also be used as a trigger to quickly display a specific friend chat interface, without the need to actually authenticate the detected fingerprint information. In other words, any fingerprint information can trigger the quick display of a specific friend chat interface. For example, when using the above-mentioned predefined button to display a specific friend chat interface in a specific application, since the "predefined button" is also the user's personal private information (predefined by the user), this method can be used to launch the specific friend chat interface without comparing the currently detected fingerprint information with the authenticated fingerprint information, thus ensuring the security of the chat and not affecting the fingerprint matching unlocking mechanism. Of course, in some other scenarios, a specific function interface of a specific application can be called after fingerprint information is detected, without performing a fingerprint matching and authentication process. For example, when a mobile device is in operation, if fingerprint information is detected, that is, when the user places the fingerprint on the fingerprint collector, the specific friend chat interface in the instant messaging application can be called.
可以理解的是,本申请实施例中的对特定好友聊天界面的快捷调用,仅用于对“应用中功能的快捷调用”进行示意性说明。不应理解为对本申请具体实施方案以及应用场景的限定。此外,不同的指纹、或者同一指纹的不同操作方式(例如手指在指纹采集器上的不同停留时间、不同压力等),除了可以关联同一应用中的不同功能之外,也可以关联多个不同应用中的功能,从而实现对多个不同应用功能的快捷调用。It is understandable that the quick call to the specific friend chat interface in the embodiment of the present application is only used to illustrate the "quick call of the function in the application". It should not be understood as a limitation on the specific implementation plan and application scenario of the present application. In addition, different fingerprints, or different operation modes of the same fingerprint (such as different dwell time and pressure of the finger on the fingerprint collector), in addition to being associated with different functions in the same application, can also be associated with functions in multiple different applications, thereby realizing quick call to multiple different application functions.
根据本申请的一种具体实施方式,可以基于用户设备上配置的按键、触控输入模块等实现应用中功能的快捷调用,这里的触控输入模块可以包括触摸屏或触摸板等独立的触控输入模块。相应地:According to a specific embodiment of the present application, quick call of application functions can be implemented based on the buttons, touch input modules, etc. configured on the user device. The touch input module here can include an independent touch input module such as a touch screen or a touchpad. Accordingly:
S101的具体实现为:获取用户设备上的操作,该操作可以是对设备按键的按压操作,或者是在所述触控输入模块输入的触控手势。S101 is specifically implemented as follows: obtaining an operation on the user device, where the operation may be a pressing operation on a device button, or a touch gesture inputted by the touch input module.
S102的具体实现为:在所获取的操作与按压预定义按键的操作、或者与预定义触控手势相匹配时,调用与所述预定义用户操作相关联的应用中功能。S102 is specifically implemented as follows: when the acquired operation matches an operation of pressing a predefined key or a predefined touch gesture, calling a function in the application associated with the predefined user operation.
媒体播放是用户经常使用的应用功能之一,而目前用户使用进行媒体播放控制时,典型的操作过程如下:用户取出手机→唤醒手机→解锁手机→找到媒体播放APP→运行APP→点击播放/暂停/切换等功能按钮实现控制。可见,在实际应用中,每次媒体播放控制都需要多个步骤才能实现。Media playback is a frequently used application feature. Currently, the typical process for controlling media playback is as follows: Take out your phone → Wake it up → Unlock it → Find the media playback app → Run the app → Click the Play/Pause/Switch button to control the media playback. This means that in practice, each media playback control requires multiple steps.
本实施例将以即时媒体播放控制应用场景为例,对本申请方案进行详细说明。即在媒体播放应用中,通过本申请方案可快捷进行媒体播放控制。This embodiment will take the instant media playback control application scenario as an example to explain the present application scheme in detail. That is, in a media playback application, the present application scheme can be used to quickly control media playback.
实际应用中,可预先建立操作方式与媒体播放应用中特定播放控制功能(例如播放、暂停、停止、切换至前一媒体文件、切换至后一媒体文件等等)的关联,以实现检测到预定义用户操作后能够直接触发该功能而非调用应用的主界面。具体的,可在移动终端的系统中进行相关设置,以便建立指纹信息与调用的特定播放控制功能的关联关系,或者,也可以在系统中安装的应用中来设置其中的特定播放控制功能是否支持快捷调用的功能,并在设置为是的情况下与预定义用户操作进行关联。例如,在媒体播放应用的设置界面,将特定播放控制功能设置为可通过预定义用户操作进行快捷调用,并可与特定的预定义用户操作进行关联,或者也可以在系统中默认设置,并可允许用户进行关联预定义用户操作的设置。本申请中,特定播放控制功能可以包括多种,并可以通过关联不同的预定义用户操作的方式进行区分。In actual applications, an association between an operation mode and a specific playback control function (such as play, pause, stop, switch to the previous media file, switch to the next media file, etc.) in a media playback application can be pre-established, so that after detecting a predefined user operation, the function can be directly triggered instead of calling the main interface of the application. Specifically, relevant settings can be made in the system of the mobile terminal to establish an association relationship between fingerprint information and the specific playback control function called, or, it can also be set in the application installed in the system whether the specific playback control function supports the quick call function, and if it is set to yes, it is associated with the predefined user operation. For example, in the settings interface of the media playback application, the specific playback control function is set to be able to be quickly called through a predefined user operation, and can be associated with a specific predefined user operation, or it can be set by default in the system, and the user can be allowed to set the association predefined user operation. In this application, the specific playback control function can include multiple types, and can be distinguished by associating different predefined user operations.
手机用户可预先设定一种或多种操作方式,作为特定播放控制功能调用时的触发口令,该操作可以使用手机上的物理按键(例如电源键、音量增加键、音量减小键等、iOS手机的Home键、键盘式手机的任意按键)或触摸式虚拟按键(例如Android手机的Home键、Back键、Menu键等)实现,也可以使用触屏手机操作系统界面或具体应用界面中的虚拟按键、或特定的触控手势实现。以下是几种自定义用户操作的举例:Mobile phone users can pre-set one or more operation methods as trigger commands when calling specific playback control functions. These operations can be implemented using physical buttons on the phone (such as the power button, volume up button, volume down button, etc., the Home button on iOS phones, and any button on keyboard phones) or touch-sensitive virtual buttons (such as the Home button, Back button, and Menu button on Android phones). They can also be implemented using virtual buttons in the operating system interface or specific application interface of touch-screen phones, or specific touch gestures. The following are some examples of customized user operations:
点击某一按键:在某些手机上或操作系统中,会提供一个或多个无预置功能的按键,用户可以自行定义该按键的功能,例如截图、静音、启动特定应用等。这类按键可以直接用于实现本申请方案的自定义用户操作;Clicking a button: On some mobile phones or operating systems, one or more buttons without pre-set functions are provided, and users can define their own functions for these buttons, such as taking a screenshot, muting the sound, launching a specific application, etc. Such buttons can be directly used to implement the customized user operations of the present application solution;
长按某一按键:包括手机自带的物理按键、触摸式虚拟按键,或者手机界面中的虚拟按键,其中“长按”的标准以操作系统的配置参数为准,本申请并不进行限定。Long press a button: including the physical buttons on the mobile phone, touch-sensitive virtual buttons, or virtual buttons in the mobile phone interface. The standard of "long press" is based on the configuration parameters of the operating system and is not limited in this application.
同时按下两个或更多数量的按键组合:可以是同种类型按键的组合,例如同时按下电源键和音量减小键(均为物理按键);也可以是不同类型按键的组合,例如同时按下电源键(物理按键)和Back键(触控式虚拟按键)。Press two or more buttons simultaneously: This can be a combination of buttons of the same type, such as pressing the power button and volume down button (both physical buttons) at the same time; or a combination of buttons of different types, such as pressing the power button (physical button) and the back button (touch-sensitive virtual button) at the same time.
按照一定的顺序依次按下两个或更多数量的按键:可以是同种类型按键的组合,例如输入密码序列、也可以是不同类型按键的组合,例如。此外,可以限定输入需要在一定时间内完成。Press two or more keys in a certain order: this can be a combination of keys of the same type, such as a password sequence, or a combination of keys of different types, such as . In addition, the input can be limited to be completed within a certain time.
特定的触控手势:通过对点击/长按/滑动、单指/多指、特定的屏幕位置等几个维度的排列组合,可以得到多种触控手势,例如连接点击屏幕两次、从屏幕底端滑到屏幕上端、三指长按屏幕任意位置等等,这些手势均可以作为自定义用户操作。此外,还可以将特定的滑动轨迹作为自定义用户操作,例如在屏幕上划出“Z”字形、在屏幕上划出“V”字形,等等。触控手势可以基于触屏实现,也可以基于例如触摸板等独立的触控设备实现。Specific touch gestures: By combining multiple touch gestures, such as click/long press/swipe, single finger/multi-finger gestures, and specific screen positions, you can create a variety of touch gestures. These gestures include double-clicking the screen, swiping from the bottom to the top, and a three-finger long press anywhere on the screen. These gestures can all be used as custom user actions. Furthermore, you can also use specific swipe paths as custom user actions, such as swiping a "Z" or "V" on the screen. Touch gestures can be implemented on a touchscreen or on a separate touch device such as a touchpad.
关于自定义用户操作,还有很多种其他的实现方式,本申请不一一例举,在实际应用时只要该自定义用户操作不会与其他操作发生冲突即可。用户录入自定义操作后,手机侧对该按键信息进行记录并存储。当然在一些场景下,也可以是设备系统默认的一些操作作为用户的预定义操作,本申请对用户的预定义操作的设定方式,例如是系统默认还是由用户设置,例如由用户在系统中设置,还是有用户在系统中的一特定应用中的设置,不做特别限定。Regarding customized user operations, there are many other implementation methods, which are not listed one by one in this application. In actual application, as long as the customized user operation does not conflict with other operations, it can be used. After the user enters the customized operation, the mobile phone side records and stores the key information. Of course, in some scenarios, some operations that are the default of the device system can also be used as the user's predefined operations. This application does not specifically limit the setting method of the user's predefined operations, such as whether it is system default or set by the user, such as set by the user in the system, or set by the user in a specific application in the system.
在一种实施方式中,为了保证用户能够随时利用预定义操作快捷触发特定播放控制功能,可以设置对用户的输入行为进行检测的功能处于持续性的开启状态。以便用户在任何情况下输入预定义操作信息都可以快速触发特定播放控制功能。In one embodiment, to ensure that users can quickly trigger specific playback control functions at any time using predefined operations, the function of detecting user input behavior can be set to be in a continuously enabled state. This allows users to quickly trigger specific playback control functions by inputting predefined operation information in any situation.
在一种实施方式中,也可以在设备处于非使用状态下时,对用户的输入行为进行检测;这里的非使用状态可以包括:锁定状态、休眠状态、待机状态等状态中的一种或者几种。关于“非使用状态”的说明可参见前面实施例,本实施例不再重复说明。应用上述方案,能够使得用户在这些情况下,省去唤醒设备、解锁设备等操作步骤而直接调用特定播放控制功能,同时还能够避免输入检测功能长期开启所导致的电量消耗。In one embodiment, user input can also be detected when the device is not in use; this non-use state may include one or more of the following: locked, dormant, and standby. For a description of "non-use state," please refer to the previous embodiment and will not be repeated in this embodiment. Applying this solution allows users to directly access specific playback control functions in these situations without having to wake up or unlock the device, while also avoiding the power consumption caused by the long-term activation of the input detection function.
在本申请的一种实施方式中,根据一般智能设备的“先唤醒,再解锁”的操作顺序,还可以将对用户的输入行为进行检测的时机设置在“在用户设备从休眠状态被唤醒后、且未被解锁”这段时间。也就是说,在手机的不被使用的大部分时间(例如放在口袋、皮包时),输入行为检测功能都可以不开启。当手机以其他方式(例如电源键、音量键等)被唤醒后,启动输入检测功能,并可发生如下情况:In one embodiment of the present application, based on the "wake up first, then unlock" operation sequence of general smart devices, the timing for detecting user input behavior can also be set to the period "after the user device is awakened from sleep mode and not unlocked." In other words, the input behavior detection function can be disabled during most of the time when the phone is not in use (for example, when it is in a pocket or bag). When the phone is awakened by other means (such as the power button, volume button, etc.), the input detection function is activated, and the following situations may occur:
1)用户输入预定义用户操作,调用媒体播放应用中特定播放控制功能。除调用功能之外,可以同时对手机进行解锁处理,也可以保持手机的锁定状态,本申请对此并不进行限定。1) The user inputs a predefined user operation to call a specific playback control function in the media playback application. In addition to calling the function, the phone can be unlocked or locked at the same time, which is not limited in this application.
2)用户正常解锁手机(通过密码、手势等),解锁成功后,手机进入使用状态,关闭输入行为检测功能。2) The user unlocks the phone normally (via a password, gesture, etc.). After successful unlocking, the phone enters the use state and the input behavior detection function is disabled.
3)用户未输入任何信息,可能是误操作导致,一段时间后,手机恢复休眠状态,关闭输入行为检测功能。3) The user did not enter any information, which may be caused by an incorrect operation. After a period of time, the phone returns to sleep mode and the input behavior detection function is turned off.
可见,应用上述方案,可以在适应用户基本操作习惯的前提下,进一步缩短输入行为检测功能的开启时间,从而降低设备的电量消耗。It can be seen that by applying the above solution, the activation time of the input behavior detection function can be further shortened while adapting to the user's basic operating habits, thereby reducing the power consumption of the device.
图5为将本申请方案应用于媒体播放场景的一种具体实施场景示意图,手机处于休眠并且锁定的非使用状态时,用户在手机屏幕上利用手势绘制“Z”字形图案,手机侧对该图案与预存的自定义操作手势进行匹配认证,认证通过后,触发媒体播放应用中的“播放”功能。Figure 5 is a schematic diagram of a specific implementation scenario in which the solution of the present application is applied to a media playback scenario. When the mobile phone is in a dormant and locked non-use state, the user draws a "Z"-shaped pattern on the mobile phone screen using gestures. The mobile phone side matches and authenticates the pattern with a pre-stored custom operation gesture. After the authentication is passed, the "play" function in the media playback application is triggered.
为了提高某些特定应用功能(例如支付二维码显示)使用的安全性,还可以进一步加入其他的安全验证机制。例如,可以在检测到预定义用户操作输入后、调用特定功能之前,要求用户输入一种或多种认证信息,认证信息可以是文本密码、指纹、手势等多种形式,如果用户输入的认证信息正确,则调用特定功能,如果用户输入认证信息的不正确,则不调用上述特定功能。To improve the security of certain application functions (such as payment QR code display), other security verification mechanisms can be further added. For example, after detecting a predefined user operation input and before calling a specific function, the user can be required to enter one or more authentication information. The authentication information can be in the form of a text password, fingerprint, gesture, etc. If the authentication information entered by the user is correct, the specific function is called. If the authentication information entered by the user is incorrect, the above-mentioned specific function is not called.
在一种实施方式中,还可以利用预定义用户操作对设备进行解锁,为了对“利用预定义用户操作解锁”功能以及“利用预定义用户操作快捷调用特定播放控制功能”功能进行区分,本申请提供如下方案:In one embodiment, the device can also be unlocked using a predefined user operation. In order to distinguish between the "unlock using a predefined user operation" function and the "quickly invoke a specific playback control function using a predefined user operation" function, this application provides the following solution:
用户可分别预先录入用于调用特定播放控制功能的预定义用户操作(以下简称“调用操作”)以及用于解锁用户设备的预定义用户操作(以下简称“解锁操作”)。并且分别建立“调用操作”与“调用媒体播放应用中的特定播放控制功能”的关联、以及建立“解锁操作”与“解锁用户设备处理”的关联。进而,在用户设备锁定状态下,输入行为检测功能检测到用户当前输入的操作后,根据当前检测到的操作与预存预定义用户操作的匹配情况进行不同的处理,具体处理方式如下:The user can pre-enter a predefined user operation for invoking a specific playback control function (hereinafter referred to as the "call operation") and a predefined user operation for unlocking the user device (hereinafter referred to as the "unlock operation"). Furthermore, an association is established between the "call operation" and the "calling a specific playback control function in the media playback application," and an association is established between the "unlock operation" and the "unlock user device process." Furthermore, when the user device is locked, after the input behavior detection function detects the user's current input operation, different processing is performed based on the match between the currently detected operation and the pre-stored predefined user operation. The specific processing methods are as follows:
用户设备锁定状态下,对用户的输入行为进行检测;Detect user input behavior when the user device is locked;
如果没有检测到用户操作,则不执行任何处理,在检测到用户操作的情况下:If no user operation is detected, no processing is performed. In the case of a user operation being detected:
如果当前检测到的用户操作与“调用操作”相匹配,则,调用特定应用中的特定播放控制功能。If the currently detected user operation matches the "call operation", a specific playback control function in a specific application is called.
如果当前检测到的用户操作与“解锁操作”相匹配,则对用户设备进行解锁处理。If the currently detected user operation matches the "unlock operation", the user device is unlocked.
例如,假设手机使用图形方式解锁,根据使用习惯,用户可以将手势绘制图形“N”录入为“解锁操作”,将手势绘制图形“Z”录入为“调用操作”。实际使用时,用户拿出手机,执行唤醒操作后,手机屏幕调用解锁提示,此时如果用户需要快捷调用特定播放控制功能,则在屏幕上绘制图形“Z”,匹配成功后调用媒体播放应用中的特定播放控制功能;如果用户需要使用手机的其他功能,则在屏幕上绘制图形“N”,匹配成功后手机按照默认方式解锁。For example, if a phone uses a graphic unlock method, based on user habits, the user can record the gesture drawing graphic "N" as the "unlock operation" and the gesture drawing graphic "Z" as the "call operation." In actual use, the user takes out the phone, performs the wake-up operation, and the phone screen displays the unlock prompt. At this time, if the user needs to quickly access a specific playback control function, they can draw the graphic "Z" on the screen. After a successful match, the specific playback control function in the media playback application is called. If the user needs to use other functions of the phone, they can draw the graphic "N" on the screen. After a successful match, the phone is unlocked according to the default method.
在一个实施例中,假设手机使用数字密码解锁,则根据使用习惯,用户可以将密码“1111”录入为“解锁操作”,将密码“2222”为“调用操作”。实际使用时,用户拿出手机,执行唤醒操作后,手机屏幕调用解锁提示,此时如果用户需要快捷调用特定播放控制功能,则输入密码“2222”,匹配成功后调用媒体播放应用中的特定播放控制功能;如果用户需要使用手机的其他功能,则输入密码“1111”,匹配成功后手机按照默认方式解锁。In one embodiment, assuming a phone is unlocked using a numeric password, based on user habits, the user can enter the password "1111" as the "unlock operation" and the password "2222" as the "call operation." In actual use, the user takes out the phone and performs the wake-up operation. The phone screen will display the unlock prompt. At this time, if the user needs to quickly access a specific playback control function, they can enter the password "2222". After a successful match, the specific playback control function in the media playback application will be called. If the user needs to use other functions of the phone, they can enter the password "1111". After a successful match, the phone will be unlocked in the default manner.
可见,利用上述方式,可以在不影响用户正常使用习惯的情况下,有效地区分“快捷调用”与“解锁”两种操作。It can be seen that by using the above method, the two operations of "quick call" and "unlock" can be effectively distinguished without affecting the user's normal usage habits.
可以理解的是,在一种实施方式中,也可以利用不同的预定义操作(例如不同的手势、不同的密码等)来区分不同的播放控制功能,例如,将“向左滑动”与“切换至前一媒体文件”功能关联、将“向右滑动”与“切换至后一媒体文件”功能关联、将“向上滑动”与“暂停”功能关联、将“向下滑动”与“停止”功能关联、从而实现不同播放控制功能的快捷调用。It is understandable that, in one embodiment, different predefined operations (such as different gestures, different passwords, etc.) can also be used to distinguish different playback control functions. For example, "swipe left" is associated with the "switch to the previous media file" function, "swipe right" is associated with the "switch to the next media file" function, "swipe up" is associated with the "pause" function, and "swipe down" is associated with the "stop" function, thereby realizing quick call of different playback control functions.
可以理解的是,本申请实施例中的对特定播放控制功能的快捷调用,仅用于对“应用中功能的快捷调用”进行示意性说明。不应理解为对本申请具体实施方案以及应用场景的限定。此外,不同的按键、操作手势等,除了可以关联同一应用中的不同功能之外,也可以关联多个不同应用中的功能,从而实现对多个不同应用功能的快捷调用。It is understood that the quick call to a specific playback control function in the embodiments of this application is only used to illustrate the "quick call to a function in an application". It should not be understood as a limitation on the specific implementation scheme and application scenarios of this application. In addition, different buttons, operation gestures, etc., in addition to being associated with different functions in the same application, can also be associated with functions in multiple different applications, thereby realizing quick calls to functions in multiple different applications.
相应于上述方法实施例,本申请还提供一种应用中的功能的调用装置,参见图6所示,该装置可以包括:Corresponding to the above method embodiment, the present application also provides a device for calling a function in an application, as shown in FIG6 , which may include:
检测控制模块110,用于获取用户在用户设备上的操作;A detection control module 110 is used to obtain user operations on the user device;
调用控制模块120 ,用于在所获取的操作与预定义用户操作相匹配时,调用与预定义用户操作相关联的应用中的功能。The calling control module 120 is configured to call a function in an application associated with a predefined user operation when the acquired operation matches the predefined user operation.
在本申请的一种具体实施方式中,用户设备上配置有感应模块;In a specific embodiment of the present application, a sensing module is configured on the user equipment;
检测控制模块110可以具体用于:获取感应模块对用户操作的检测结果;The detection control module 110 may be specifically configured to: obtain the detection result of the sensing module on the user operation;
调用控制模块120 可以具体用于:在检测到预定义用户操作输入后,调用与预定义用户操作相关联的应用中的功能。The calling control module 120 may be specifically configured to: after detecting a predefined user operation input, call a function in an application associated with the predefined user operation.
在本申请的一种具体实施方式中,检测控制模块110可以具体用于:在用户设备处于非使用状态下,获取感应模块对用户操作的检测结果;其中非使用状态可以包括:锁定状态、休眠状态、和/或待机状态。In a specific embodiment of the present application, the detection control module 110 can be specifically used to: obtain the detection results of the sensing module on the user operation when the user device is in a non-use state; the non-use state may include: a locked state, a sleep state, and/or a standby state.
在本申请的一种具体实施方式中,检测控制模块110,可以具体用于:在用户设备从休眠状态被唤醒后、且未被解锁的状态下,获取感应模块对用户操作的检测结果。In a specific embodiment of the present application, the detection control module 110 may be specifically configured to obtain a detection result of a user operation by the sensing module after the user device is awakened from a dormant state and is not unlocked.
在本申请的一种具体实施方式中,检测控制模块110,可以具体用于:在预定义按键被按压的状态下,获取感应模块对用户操作的检测结果。In a specific embodiment of the present application, the detection control module 110 may be specifically configured to obtain a detection result of a user operation by the sensing module when a predefined key is pressed.
在本申请的一种具体实施方式中,调用控制模块120 ,可以具体用于:在检测到预定义用户操作输入后,进一步判断用户是否输入了正确的认证信息,如果是则调用与预定义用户操作相关联的应用中的功能。In a specific embodiment of the present application, the call control module 120 can be specifically used to: after detecting a predefined user operation input, further determine whether the user has entered correct authentication information, and if so, call a function in the application associated with the predefined user operation.
在本申请的一种具体实施方式中,感应模块为加速度传感器;预定义用户操作为:对用户设备的晃动操作;晃动操作的次数与幅度均分别不小于预设的阈值。In a specific embodiment of the present application, the sensing module is an acceleration sensor; the predefined user operation is: shaking the user device; the number and amplitude of the shaking operation are not less than a preset threshold.
在本申请的一种具体实施方式中,感应模块为陀螺仪;预定义用户操作为:对用户设备的甩动操作;甩动操作的次数与幅度分别不小于预设的阈值。In a specific embodiment of the present application, the sensing module is a gyroscope; the predefined user operation is: a shaking operation on the user device; the number and amplitude of the shaking operation are not less than a preset threshold value.
在本申请的一种具体实施方式中,用户设备上配置有按键;In a specific embodiment of the present application, a button is configured on the user device;
检测控制模块110,可以具体用于:获取用户对用户设备按键的按压操作;The detection control module 110 may be specifically configured to: obtain a user's pressing operation on a button of a user device;
预定义用户操作具体可以包括:按压预定义按键的操作。The predefined user operation may specifically include: an operation of pressing a predefined button.
在本申请的一种具体实施方式中,用户设备上配置有触控输入模块;In a specific embodiment of the present application, a touch input module is configured on the user device;
检测控制模块110,可以具体用于:获取用户在触控输入模块输入的触控手势;The detection control module 110 may be specifically configured to: obtain a touch gesture input by a user in the touch input module;
预定义用户操作具体可以包括:输入预定义触控手势的操作。The predefined user operation may specifically include: an operation of inputting a predefined touch gesture.
在本申请的一种具体实施方式中,用户设备上配置有指纹模块,In a specific embodiment of the present application, a fingerprint module is configured on the user device.
检测控制模块110可以具体用于:获取用户在指纹模块上输入的指纹,The detection control module 110 can be specifically used to: obtain the fingerprint input by the user on the fingerprint module,
预定义用户操作具体可以包括:输入预设指纹信息。The predefined user operation may specifically include: inputting preset fingerprint information.
在本申请的一种具体实施方式中,调用控制模块120 可以具体用于:In a specific implementation of the present application, the call control module 120 may be specifically used to:
调用信息图像所在应用中的信息图像显示功能界面,以在用户设备的屏幕上显示信息图像。The information image display function interface in the application where the information image is located is called to display the information image on the screen of the user device.
本申请还提供一种条形码支付装置,应用于具有感应模块的用户设备,参见图7所示,该装置可以包括:The present application also provides a barcode payment device, which is applied to a user device having an induction module. As shown in FIG7 , the device may include:
检测控制模块210,用于获取用户在用户设备上的操作;A detection control module 210 is used to obtain user operations on the user device;
支付条形码显示控制模块220,用于在所获取的操作与预定义用户操作相匹配时,调用支付应用中的支付条形码显示界面,以在用户设备的屏幕上显示用于支付的条形码图像。The payment barcode display control module 220 is configured to call the payment barcode display interface in the payment application to display a barcode image for payment on the screen of the user device when the acquired operation matches a predefined user operation.
在本申请的一种具体实施方式中,用户设备上配置有感应模块;In a specific embodiment of the present application, a sensing module is configured on the user equipment;
检测控制模块210可以具体用于:获取感应模块对用户操作的检测结果;The detection control module 210 may be specifically used to: obtain the detection result of the sensing module on the user operation;
支付条形码显示控制模块220可以具体用于:在检测到预定义用户操作输入后,调用支付应用中的支付条形码显示界面,以在用户设备的屏幕上显示用于支付的条形码图像。The payment barcode display control module 220 may be specifically configured to: after detecting a predefined user operation input, call the payment barcode display interface in the payment application to display a barcode image for payment on the screen of the user device.
可以理解的是,该条形码支付装置可以是前述应用中功能调用装置在具体应用环境下的一种实现,因此其具体的实施原理前述应用中的功能的调用装置实施例及方法实施例的介绍,在本实施例中不再重复说明。It can be understood that the barcode payment device can be an implementation of the function calling device in the aforementioned application in a specific application environment. Therefore, the specific implementation principle of the function calling device and method embodiments in the aforementioned application will not be repeated in this embodiment.
此外,上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。In addition, the implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
本申请所提供的上述应用中的功能的调用装置或条形码支付装置可以应用于手机、平板电脑、智能手表等设备上,图7所示,为本申请所提供的用于配置上述装置的一种设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。The function-calling device or barcode payment device provided in the above application can be applied to devices such as mobile phones, tablet computers, and smart watches. FIG7 shows a schematic diagram of the hardware structure of a device provided in the present application for configuring the above device. The device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040 are connected to each other within the device via the bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请所提供的技术方案。The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in this application.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM (Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本申请所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solution provided in this application is implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect input/output modules to implement information input and output. The input/output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WiFi, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。The bus 1050 comprises a path for transmitting information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input/output interface 1030 , and the communication interface 1040 ).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/ 输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本申请方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will understand that the above device may only include the components necessary to implement the solution of the present application, and does not necessarily include all the components shown in the figure.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,在实施本申请方案时可以把各模块的功能在同一个或多个软件和/或硬件中实现。也可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and/or hardware when implementing the scheme of this application. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without paying any creative work.
以上所述仅是本申请的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above is only a specific implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims (12)
Publications (3)
| Publication Number | Publication Date |
|---|---|
| HK1238752A1 HK1238752A1 (en) | 2018-05-04 |
| HK1238752A HK1238752A (en) | 2018-05-04 |
| HK1238752B true HK1238752B (en) | 2021-04-30 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106959841B (en) | Method and device for invoking functions in an application | |
| US11995171B2 (en) | User interface for managing access to credentials for use in an operation | |
| EP3482345B1 (en) | Implementation of biometric authentication with detection and display of an error indication | |
| TWI698800B (en) | Information image display method and device | |
| US9910973B2 (en) | Fingerprint gestures | |
| CN107395889B (en) | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal | |
| EP2684115B1 (en) | Method and apparatus for providing quick access to media functions from a locked screen | |
| TWI474263B (en) | Method of executing software functions using biometric detection and related electronic device | |
| CN103634107B (en) | Authentication method, password setting method and authentication system for electronic device | |
| TWI515636B (en) | Portable electronic device and automatic unlocking method thereof | |
| TWI675329B (en) | Information image display method and device | |
| US20140189604A1 (en) | Method and system for unlocking a touchscreen of an electronic device | |
| JP5244200B2 (en) | Portable terminal device having security function excellent in convenience and access control method | |
| CN105912163A (en) | Entity key assembly, terminal, and touch control response method and apparatus | |
| US12430000B2 (en) | User input interfaces | |
| US9424416B1 (en) | Accessing applications from secured states | |
| CN107422860A (en) | Black screen gesture-based control method, device, storage medium and mobile terminal | |
| HK1238752B (en) | Method and apparatus for invoking function in application | |
| Wang et al. | Identity authentication based on dynamic touch behavior on smartphone | |
| HK1238752A (en) | Method and apparatus for invoking function in application | |
| HK1238752A1 (en) | Method and apparatus for invoking function in application | |
| Ponnusamy et al. | Mobile Authentication using Hybrid Modalities (MAHM) in Pervasive Computing | |
| HK1238749A1 (en) | Information image display method and device | |
| HK1238749A (en) | Information image display method and device | |
| HK40007147B (en) | Implementation of biometric authentication with detection and display of an error indication |