HK1241070B - Control method of biological characteristic collection hardware and apparatus - Google Patents
Control method of biological characteristic collection hardware and apparatus Download PDFInfo
- Publication number
- HK1241070B HK1241070B HK18100316.7A HK18100316A HK1241070B HK 1241070 B HK1241070 B HK 1241070B HK 18100316 A HK18100316 A HK 18100316A HK 1241070 B HK1241070 B HK 1241070B
- Authority
- HK
- Hong Kong
- Prior art keywords
- user
- preset
- target service
- threshold
- prediction
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及计算机应用领域,尤其涉及一种生物特征采集硬件的控制方法及装置。The present application relates to the field of computer applications, and in particular to a method and device for controlling biometric feature acquisition hardware.
背景技术Background Art
随着移动互联网的不断发展,在智能终端上搭载生物特征采集硬件,来采集用户的生物特征对用户的身份进行认证,也变的越来越普遍。通过采集用户的生物特征来对用户的身份进行认证,可以简化对用户的身份认证的流程,也可以降低在对用户身份进行认证时用户的操作复杂度;例如,通过引入基于用户的生物特征对用户的身份进行认证的机制,使得用户在通过智能终端执行需要对身份进行认证的业务时,可以不再需要执行诸如输入密码等复杂的交互操作。With the continuous development of the mobile internet, it is becoming increasingly common to equip smart terminals with biometric hardware to collect user biometrics for identity authentication. Collecting user biometrics for identity authentication simplifies the authentication process and reduces the complexity of user authentication. For example, by introducing a biometric-based authentication mechanism, users can perform services requiring identity authentication through smart terminals without having to perform complex interactions such as entering a password.
在实际应用中,由于在智能终端上搭载生物特征采集硬件,可能会造成智能终端耗电量增加,因此通常会常态化的关闭生物特征采集硬件,只有在需要调用时再启动该生物特征采集硬件;例如,在一些场景下,如果在智能终端中搭载专用的生物识别摄像头(比如虹膜相机),那么只有需要调用该生物识别摄像头采集用户的诸如眼纹特征或者虹膜特征对用户身份进行认证时,再启动该生物识别摄像头。In actual applications, since the biometric collection hardware installed on the smart terminal may increase the power consumption of the smart terminal, the biometric collection hardware is usually turned off normally and is only started when needed. For example, in some scenarios, if a dedicated biometric camera (such as an iris camera) is installed in the smart terminal, the biometric camera is only started when it is needed to collect the user's eye pattern features or iris features to authenticate the user's identity.
然而,启动生物特征采集硬件,通常会存在一个硬件初始化的延时;例如,以生物识别摄像头为例,对于智能终端内置的生物摄像头模组,从开启到初始化完成出图大概需要2秒左右(该延迟的大小取决于具体设备)的延时;而对于通过USB外置于智能终端的摄像头模组,从开启到初始化完成出图大概需要3秒左右的延时;可见,在现有的基于用户的生物特征对用户身份进行认证的方案中,并不能很好的兼顾设备耗电以及硬件初始化给用户造成的延迟体验。However, when starting the biometric feature acquisition hardware, there is usually a hardware initialization delay. For example, taking the biometric camera as an example, for the biometric camera module built into the smart terminal, it takes about 2 seconds (the size of the delay depends on the specific device) from the time it is turned on to the time the initialization is completed and the image is output. For the camera module external to the smart terminal via USB, it takes about 3 seconds from the time it is turned on to the time the initialization is completed and the image is output. It can be seen that in the existing scheme for authenticating user identity based on the user's biometric features, it is not possible to take into account the balance between device power consumption and the delay experience caused to the user by hardware initialization.
发明内容Summary of the Invention
本申请提出一种生物特征采集硬件的控制方法,应用于客户端,所述方法包括:This application proposes a method for controlling biometric feature collection hardware, which is applied to a client. The method includes:
采集用户的操作行为数据;Collect user operation behavior data;
基于采集到的所述操作行为数据预判目标业务是否满足预设的触发条件;其中,所述目标业务为需要基于用户的生物特征执行安全认证的用户业务;Pre-determining whether a target service meets a preset trigger condition based on the collected operation behavior data; wherein the target service is a user service that requires security authentication based on the user's biometric characteristics;
如果预判出所述目标业务满足预设的触发条件,则启动预设的生物特征采集硬件。If it is pre-determined that the target service meets the preset triggering condition, the preset biometric feature collection hardware is started.
本申请还提出一种生物特征采集硬件的控制装置,应用于客户端,所述装置包括:This application also proposes a control device for biometric feature collection hardware, which is applied to a client, and the device includes:
采集模块,采集用户的操作行为数据;Collection module, collects user operation behavior data;
预判模块,基于采集到的所述操作行为数据预判目标业务是否满足预设的触发条件;其中,所述目标业务为需要基于用户的生物特征执行安全认证的用户业务;A prediction module, which predicts whether a target service meets a preset trigger condition based on the collected operation behavior data; wherein the target service is a user service that requires security authentication based on the user's biometric characteristics;
启动模块,如果预判出所述目标业务满足预设的触发条件,则启动预设的生物特征采集硬件。The startup module starts the preset biometric feature collection hardware if it is pre-determined that the target service meets the preset triggering condition.
本申请中,通过基于采集到的用户的操作行为数据,来预判需要基于用户的生物特征执行安全认证的目标业务是否满足触发条件,并在预判出该目标业务满足触发条件时,立即启动生物特征采集硬件;In this application, based on the collected user operation behavior data, it is predicted whether the target business that needs to perform security authentication based on the user's biometrics meets the trigger conditions, and when it is predicted that the target business meets the trigger conditions, the biometric collection hardware is immediately started;
一方面,由于采用了目标业务被触发时刻的预判机制,使得在执行对上述目标业务进行安全认证时,可以提前启动生物特征采集硬件,因而可以确保用户感受不到生物特征采集硬件的硬件初始化延时,提升用户体验;On the one hand, due to the use of a prediction mechanism for the time when the target service is triggered, the biometric collection hardware can be started in advance when performing security authentication for the above target service, thus ensuring that users do not feel the hardware initialization delay of the biometric collection hardware, thereby improving the user experience;
另一方面,由于在默认情况下,生物特征采集硬件仍然保持关闭状态,只有在预判出目标业务满足触发条件时,才会开启生物特征采集硬件,因而在确保用户感受不到生物特征采集硬件的硬件初始化延时的前提下,可以尽可能的兼顾设备的耗电量。On the other hand, since the biometric collection hardware remains turned off by default, it will only be turned on when it is predicted that the target business meets the trigger conditions. Therefore, while ensuring that users do not feel the hardware initialization delay of the biometric collection hardware, the power consumption of the device can be taken into account as much as possible.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请一实施例示出的一种生物特征采集硬件的控制方法的流程图;FIG1 is a flow chart of a method for controlling biometric feature acquisition hardware according to an embodiment of the present application;
图2是本申请一实施例提供的一种生物特征采集硬件的控制装置的逻辑框图;FIG2 is a logic block diagram of a control device for biometric feature collection hardware provided by an embodiment of the present application;
图3是本申请一实施例提供的承载所述一种生物特征采集硬件的控制装置的终端设备所涉及的硬件结构图。FIG3 is a hardware structure diagram of a terminal device carrying a control device for biometric feature collection hardware according to an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
本申请旨在提出一种,在基于生物特征对用户触发的目标业务进行安全认证的应用场景中,引入目标业务是否满足触发条件的预判机制,并基于预判结果来提前开启智能终端搭载的生物特征采集硬件,进而可以优化由于生物特征采集硬件的硬件初始化延时,对用户造成的延时体验,同时在此基础上尽可能的兼顾智能终端的耗电量的技术方案。This application aims to propose a method for introducing a prediction mechanism for whether the target service meets the triggering conditions in an application scenario of performing security authentication on the target service triggered by the user based on biometrics, and based on the prediction result, to start the biometric collection hardware carried by the smart terminal in advance, thereby optimizing the delay experience caused to the user due to the hardware initialization delay of the biometric collection hardware, and at the same time, on this basis, taking into account the power consumption of the smart terminal as much as possible. Technical solution.
例如,当本申请的技术方案应用于VR(Virtual Reality虚拟现实)场景中的快捷支付场景时,上述生物特征采集硬件,具体可以是VR终端中搭载的生物识别摄像头;用户在VR场景中触发了快捷支付业务时,VR客户端可以调用VR终端搭载的上述生物识别摄像头采集用户的眼纹特征或者虹膜特征,对用户在VR场景中触发的该支付业务,快捷的完成安全认证。For example, when the technical solution of the present application is applied to a quick payment scenario in a VR (Virtual Reality) scenario, the above-mentioned biometric feature collection hardware can specifically be a biometric camera installed in a VR terminal; when a user triggers a quick payment service in a VR scenario, the VR client can call the above-mentioned biometric camera installed in the VR terminal to collect the user's eye pattern features or iris features, and quickly complete security authentication for the payment service triggered by the user in the VR scenario.
在这种场景下,为了优化由于生物识别硬件的硬件初始化延时,对用户造成的延时体验,VR客户端可以基于用户的操作行为数据来预判上述快捷支付业务是否满足触发条件,当预判出该快捷支付业务满足触发条件即将被用户触发时,此时可以提前开启上述生物识别摄像头,从而可以确保用户感受不到生物识别摄像头的硬件初始化延时,提升用户体验;比如,当用户在VR场景中购买商品的过程中,在显示商品购买界面时(即预判出用户可能即将要执行付款操作时),VR客户端就可以在后台提前开启生物识别摄像头,从而用户在确认支付时,生物识别摄像头已经初始化完成,使得用户不会感受到生物识别摄像头从开启到硬件初始化完成出图的这一过程对用户造成的延时体验。In this scenario, in order to optimize the delay experience caused to the user by the hardware initialization delay of the biometric hardware, the VR client can predict whether the above-mentioned quick payment service meets the trigger conditions based on the user's operation behavior data. When it is predicted that the quick payment service meets the trigger conditions and is about to be triggered by the user, the above-mentioned biometric camera can be turned on in advance, thereby ensuring that the user does not feel the hardware initialization delay of the biometric camera, thereby improving the user experience; for example, when the user is purchasing goods in the VR scene, when the product purchase interface is displayed (that is, when it is predicted that the user may be about to perform a payment operation), the VR client can turn on the biometric camera in advance in the background, so that when the user confirms the payment, the biometric camera has been initialized, so that the user will not feel the delay experience caused by the process from turning on the biometric camera to completing the hardware initialization and outputting the image.
下面通过具体实施例并结合具体的应用场景对本申请进行描述。The present application is described below through specific embodiments and in combination with specific application scenarios.
请参考图1,图1是本申请一实施例提供的一种生物特征采集硬件的控制方法,应用于客户端,执行以下步骤:Please refer to FIG1 , which shows a method for controlling biometric feature collection hardware according to an embodiment of the present application. The method is applied to a client and performs the following steps:
步骤101,采集用户的操作行为数据;Step 101: Collect user operation behavior data;
步骤102,基于采集到的所述操作行为数据预判目标业务是否满足预设的触发条件;其中,所述目标业务为需要基于用户的生物特征执行安全认证的用户业务;Step 102: Pre-determine whether a target service meets a preset trigger condition based on the collected operation behavior data; wherein the target service is a user service that requires security authentication based on the user's biometric characteristics;
步骤103,如果预判出所述目标业务满足预设的触发条件,则启动预设的生物特征采集硬件。Step 103: If it is determined that the target service meets the preset triggering condition, the preset biometric feature collection hardware is started.
上述目标业务,可以包括需要基于用户的生物特征进行安全认证的任意类型的用户业务;例如,在实际应用中,上述目标业务可以是用户通过客户端发起的线上支付业务。The target service may include any type of user service that requires security authentication based on the user's biometrics; for example, in actual applications, the target service may be an online payment service initiated by the user through the client.
上述客户端,可以包括用户的智能终端上搭载的,可以面向用户提供上述目标业务相关的服务的客户端软件;例如,在一种应用场景中,上述客户端可以是VR客户端,上述目标业务可以是用户在VR场景中发起的快捷支付业务。The above-mentioned client may include client software installed on the user's smart terminal, which can provide services related to the above-mentioned target business to the user; for example, in one application scenario, the above-mentioned client may be a VR client, and the above-mentioned target business may be a quick payment business initiated by the user in the VR scene.
上述生物特征,可以包括能够对用户的身份进行验证的任意类型的生物特征;与上述生物特征相对应,上述生物特征采集硬件,则可以包括用于采集用户的上述生物特征的相关硬件;其中,该生物特征硬件,具体可以是用户的智能终端中内置的硬件模组,也可以是通过诸如USB等方式外界于用户的智能终端的硬件模组。The above-mentioned biometric features may include any type of biometric features that can verify the identity of the user; corresponding to the above-mentioned biometric features, the above-mentioned biometric feature collection hardware may include related hardware for collecting the above-mentioned biometric features of the user; wherein, the biometric feature hardware may specifically be a hardware module built into the user's smart terminal, or it may be a hardware module external to the user's smart terminal through methods such as USB.
例如,在实际应用中,上述生物特征可以包括用户的虹膜特征或者眼纹特征,而上述生物特征采集硬件具体可以是用户的智能终端内置的,或者外接的生物识别摄像头。For example, in actual applications, the above-mentioned biometric features may include the user's iris features or eye pattern features, and the above-mentioned biometric feature collection hardware may specifically be a built-in or external biometric recognition camera in the user's smart terminal.
上述操作行为数据,具体可以是对应于用户所执行的用于触发上述目标业务的操作行为,且可以用于对上述目标业务是否即将被触发进行预判的行为数据;The aforementioned operation behavior data may specifically be the operation behavior performed by the user to trigger the aforementioned target service, and may be used to predict whether the aforementioned target service is about to be triggered;
例如,以在VR场景中的快捷支付业务场景为例,用户通常可以通过发出语音指令、通过视觉焦点凝视VR场景中提供的用于触发快捷支付业务的用户选项、或者通过视觉焦点的移动轨迹穿过上述用于触发快捷支付业务的用户选项所在区域,来触发在VR场景下的快捷支付;因此在这种场景下,上述操作行为数据,具体可以包括用户发出的语音指令片段,或者用户的视觉焦点的移动轨迹数据,等等。For example, taking the quick payment service scenario in a VR scene as an example, users can usually trigger quick payment in the VR scene by issuing voice commands, gazing at the user options for triggering the quick payment service provided in the VR scene with visual focus, or passing through the area where the user options for triggering the quick payment service are located by moving the visual focus; therefore, in this scenario, the above-mentioned operation behavior data may specifically include voice command fragments issued by the user, or the movement trajectory data of the user's visual focus, etc.
以下以上述客户端为VR客户端,并结合上述步骤101~103示出的技术方案在VR场景下的应用为例,对本申请的技术方案进行详细说明。显然,以上述客户端为VR客户端仅为示例性的,并不用于对本申请的技术方案进行具体限定。The following describes the technical solution of this application in detail, taking the client as a VR client and combining the application of the technical solution shown in steps 101 to 103 in a VR scenario as an example. Obviously, the use of the client as a VR client is only exemplary and is not intended to specifically limit the technical solution of this application.
以下通过VR场景模型创建,操作行为数据的采集,目标业务触发的预判,用户生物特征采集硬件的控制四个阶段,对本申请的技术方案进行详细描述。The following describes the technical solution of this application in detail through four stages: VR scene model creation, collection of operation behavior data, prediction of target business triggering, and control of user biometric collection hardware.
1)VR场景模型创建。1) VR scene model creation.
在本例中,开发人员可以通过特定的建模工具,完成VR场景模型的创建。上述建模工具,在本例中不进行特别的限定;例如,开发人员可以使用诸如Unity、3dsMax、Photoshop等较为成熟的建模工具完成VR场景模型的创建。In this example, developers can use specific modeling tools to create VR scene models. The above modeling tools are not specifically limited in this example; for example, developers can use more mature modeling tools such as Unity, 3dsMax, Photoshop, etc. to create VR scene models.
其中,开发人员在通过建模工具创建VR场景模型的过程中,该VR场景模型,以及该VR场景的纹理贴图,都可来源于现实生活中的真实场景;例如,可以事先通过摄像,采集材质纹理贴图,和真实场景的平面模型,然后通过Photoshop或3dmax等建模工具,来处理纹理和构建真实场景的三维模型,然后导入到unity3D平台(简称U3D),在U3D平台中通过音效、图形界面、插件、灯光等多个维度进行画面渲染,然后编写交互代码,最后完成VR场景模型的建模。Among them, when developers use modeling tools to create VR scene models, the VR scene model and the texture map of the VR scene can all be derived from real scenes in real life; for example, you can use video to collect material texture maps and plane models of real scenes in advance, and then use modeling tools such as Photoshop or 3dmax to process the texture and build a three-dimensional model of the real scene, and then import it into the unity3D platform (U3D for short), and render the picture in multiple dimensions such as sound effects, graphical interface, plug-ins, and lighting on the U3D platform, and then write interactive code to finally complete the modeling of the VR scene model.
在本例中,开发人员除了需要创建VR场景模型以外,为了使用户能够在VR场景中执行上述目标业务,还可以通过上述建模工具,在上述VR场景模型中,创建一个与上述目标业务对应的2D或者3D的业务界面。In this example, in addition to creating a VR scene model, in order to enable users to perform the above-mentioned target business in the VR scene, the developer can also use the above-mentioned modeling tool to create a 2D or 3D business interface corresponding to the above-mentioned target business in the above-mentioned VR scene model.
例如,在示出的一种实施方式中,上述业务界面,可以是一个基于上述建模工具创建的快捷支付界面;比如,虚拟的收银台界面。用户可以通过特定的交互操作(比如将视觉焦点定位到支付界面中)与支付界面进行交互,在VR场景中完成快捷支付。For example, in one embodiment, the business interface can be a quick payment interface created using the modeling tool, such as a virtual cashier interface. Users can interact with the payment interface through specific interactions (such as focusing on the payment interface) to complete quick payments in the VR scene.
2)操作行为数据的采集。2) Collection of operational behavior data.
在VR场景下,用户在VR场景中触发上述目标业务,通常可以包括以下三种方式:In a VR scenario, users can trigger the above target services in the VR scene in the following three ways:
第一种,用户可以通过发出语音指令,在VR场景下触发上述目标业务。First, users can trigger the above-mentioned target services in a VR scenario by issuing voice commands.
例如,以上述目标业务为VR场景下的快捷支付业务为例,VR客户端可以搭载语音识别模块,而用户可以通过在佩戴VR终端进行沉浸体验的过程中,可以发出一个用于触发快捷支付业务的自定义的语音指令,以一种更加自然的交互方式在VR场景中发起快捷支付。For example, taking the above-mentioned target business as the quick payment business in the VR scenario, the VR client can be equipped with a voice recognition module, and the user can issue a customized voice command for triggering the quick payment business while wearing the VR terminal for an immersive experience, thereby initiating quick payment in the VR scenario in a more natural interactive way.
在以上示出的这种情况下,上述操作行为数据,则可以包括用户在VR场景中通过语音操作触发上述目标业务时,发出的语音指令数据;比如,语音指令片段。In the case shown above, the above-mentioned operation behavior data may include voice command data issued by the user when triggering the above-mentioned target service through voice operation in the VR scene; for example, voice command fragments.
在这种情形下,用户在通过发出语音指令与VR客户端进行交互的过程中,VR客户端则可以通过搭载的相关的语音采集硬件,来采集用户发出的语音指令片段,作为后续预判上述目标业务是否满足触发条件的计算参数。In this case, when the user interacts with the VR client by issuing voice commands, the VR client can use the relevant voice acquisition hardware to collect the voice command fragments issued by the user as calculation parameters for subsequent prediction of whether the above-mentioned target business meets the trigger conditions.
第二种,在VR场景中可以提供一个用于触发上述目标业务的交互选项(比如交互按钮),而用户可以通过视觉焦点凝视VR场景中的该交互选项,来选中该交互选项,进而触发上述目标业务。The second method is to provide an interactive option (such as an interactive button) for triggering the above-mentioned target service in the VR scene, and the user can stare at the interactive option in the VR scene with visual focus to select the interactive option, thereby triggering the above-mentioned target service.
例如,仍以上述目标业务为VR场景下的快捷支付业务为例,在VR场景中可以提供一个用于触发快捷支付的支付按钮,用户可以通过控制视觉焦点的位移,将视觉焦点移动到该支付按钮所在区域,并保持凝视,通过凝视来选中该支付按钮,进而在VR场景中发起快捷支付。For example, still taking the above-mentioned target business as the quick payment business in the VR scene as an example, a payment button for triggering quick payment can be provided in the VR scene. The user can control the displacement of the visual focus, move the visual focus to the area where the payment button is located, and keep staring at it, select the payment button by staring, and then initiate quick payment in the VR scene.
第三种,也可以在VR场景中可以提供一个用于触发上述目标业务的交互选项,而用户可以通过控制视觉焦点的位移,将视觉焦点的移动轨迹穿过该交互选项所在区域,来选中该交互选项,进而触发上述目标业务。Thirdly, an interactive option for triggering the above-mentioned target business can also be provided in the VR scene, and the user can control the displacement of the visual focus and move the visual focus through the area where the interactive option is located to select the interactive option, thereby triggering the above-mentioned target business.
例如,仍以上述目标业务为VR场景下的快捷支付业务为例,在VR场景中仍然可以提供一个用于触发快捷支付的支付按钮,用户可以控制视觉焦点的位移,通过控制视觉焦点的移动轨迹穿过该支付按钮所在区域(具体的穿过方式在本申请不进行特别限定,本领域技术人员在实现时可以参考相关技术中的记载),来选中该支付按钮,进而在VR场景中发起快捷支付。For example, still taking the above-mentioned target business as the quick payment business in the VR scene as an example, a payment button for triggering quick payment can still be provided in the VR scene. The user can control the displacement of the visual focus and control the movement trajectory of the visual focus to pass through the area where the payment button is located (the specific passing method is not specifically limited in this application, and technical personnel in this field can refer to the records in the relevant technology when implementing it) to select the payment button and then initiate quick payment in the VR scene.
在以上示出的这两种情况下,上述操作行为数据,则可以包括用户在VR场景中通过视觉焦点操作来触发上述目标业务时,用户的视觉焦点的移动轨迹数据。In the two cases shown above, the above-mentioned operation behavior data may include the movement trajectory data of the user's visual focus when the user triggers the above-mentioned target service through visual focus operation in the VR scene.
在这种情形下,用户在通过控制视觉焦点的移动与VR客户端进行交互的过程中,VR客户端可以在后台实时记录用户的视觉焦点在VR场景中的坐标数据,以及对应的发生时刻,然后按照记录的每一个坐标数据对应的发生时刻,将记录的所有历史坐标数据组织成时间序列,来还原出用户的视觉焦点的移动轨迹数据。此时组织成的该时间序列,即为上述视觉焦点的移动轨迹数据,可以作为后续预判上述目标业务是否满足触发条件的计算参数。In this scenario, as the user interacts with the VR client by controlling the movement of their visual focus, the VR client can record the coordinate data of the user's visual focus in the VR scene and the corresponding occurrence time in real time. Then, based on the corresponding occurrence time of each recorded coordinate data, all recorded historical coordinate data is organized into a time series to restore the user's visual focus movement trajectory data. This organized time series, the visual focus movement trajectory data, can be used as a calculation parameter to subsequently predict whether the target service meets the trigger conditions.
当然,在实际应用中,上述用户操作行为数据除了可以包括以上示出的语音指令数据以及用户的视觉焦点的移动轨迹数据以外,也可以包括其它类型的操作行为数据。Of course, in actual applications, the above-mentioned user operation behavior data may include not only the voice instruction data and the movement trajectory data of the user's visual focus shown above, but also other types of operation behavior data.
即在本申请中,凡是与用户所执行的可用于触发上述目标的操作行为对应的行为数据,均可以作为预判上述目标业务是否即将被触发的操作行为数据,在本申请不再进行一一列举。That is, in this application, all behavioral data corresponding to the operational behavior performed by the user that can be used to trigger the above-mentioned target can be used as operational behavior data to predict whether the above-mentioned target business is about to be triggered, and will not be listed one by one in this application.
3)目标业务触发的预判。3) Prediction of target business triggering.
在本例中,上述操作行为数据,具体可以包括用户在触发上述目标业务时,所发出的语音指令片段,以及用户的视觉焦点的移动轨迹数据等数据类型。In this example, the above-mentioned operation behavior data may specifically include data types such as the voice command fragment issued by the user when triggering the above-mentioned target service, and the movement trajectory data of the user's visual focus.
其中,VR客户端在将上述操作行为数据作为输入,预判上述目标业务是否满足预设的触发条件时,该触发条件的具体内容可以与上述操作行为数据对应的数据类型相对应,针对不同的数据类型,可以针对上述目标业务分别配置不同的触发条件。Among them, when the VR client takes the above-mentioned operation behavior data as input and predicts whether the above-mentioned target business meets the preset trigger conditions, the specific content of the trigger conditions can correspond to the data type corresponding to the above-mentioned operation behavior data. For different data types, different trigger conditions can be configured for the above-mentioned target business.
以下以上述操作行为数据为语音指令片段以及视觉焦点的移动轨迹数据为例,对预判上述目标业务是否满足预设的触发条件的处理过程,分别进行描述。The following describes the process of predicting whether the target service meets the preset triggering conditions, taking the above-mentioned operation behavior data as voice command segments and visual focus movement trajectory data as examples.
一、基于语音指令片段预判1. Prediction based on voice command fragments
在示出的一种实施方式中,当上述操作行为数据为语音指令片段时,上述预设的触发条件具体可以是“该语音指令片段与完整的语音指令的相似概率,大于预设的相似度的阈值。In one embodiment shown, when the operation behavior data is a voice instruction segment, the preset trigger condition may specifically be "the similarity probability between the voice instruction segment and the complete voice instruction is greater than a preset similarity threshold.
具体地,由于用户在通过语音指令来触发上述目标业务时,用户所发出的语音指令,通常是由若干个语音指令片段按照一定的语义关系构成的;因此,为了在VR客户端基于用户发出的完整的语音指令成功触发上述目标业务之前,提前预判出该目标业务是否满足触发条件,VR客户端可以通过搭载用于计算语音指令片段对应于完整的语音指令的相似概率的语音解析匹配模型,将接收到的用户发出的语音指令片段输入该模型进行计算,得出该语音指令片段对应于完成的语音指令的相似概率,并根据计算出的该相似概率是否大于指令相似度阈值,来预判上述目标业务是否满足触发条件。Specifically, when a user triggers the above-mentioned target service through voice commands, the voice commands issued by the user are usually composed of several voice command fragments according to a certain semantic relationship; therefore, in order to predict in advance whether the target service meets the triggering conditions before the VR client successfully triggers the above-mentioned target service based on the complete voice command issued by the user, the VR client can be equipped with a voice analysis matching model for calculating the similarity probability of the voice command fragment corresponding to the complete voice command, input the received voice command fragment issued by the user into the model for calculation, and obtain the similarity probability of the voice command fragment corresponding to the completed voice command, and predict whether the above-mentioned target service meets the triggering conditions based on whether the calculated similarity probability is greater than the command similarity threshold.
其中,上述语音解析匹配模型的具体类型,在本申请中不进行特别的限定,在实际应用中,可以基于实际的需求进行选择;例如,在示出的一种实施方式中,上述语音解析匹配模型可以是HMM(Hidden Markov Model,隐马尔可夫模型)模型,或者基于诸如viterbi算法搭建的其它类型的相同功能的统计分析模型。Among them, the specific type of the above-mentioned speech analysis and matching model is not particularly limited in this application. In practical applications, it can be selected based on actual needs; for example, in one embodiment shown, the above-mentioned speech analysis and matching model can be an HMM (Hidden Markov Model) model, or other types of statistical analysis models with the same function based on the Viterbi algorithm.
用户在通过发出语音指令触发上述目标业务的过程中,VR客户端可以实时的逐个解析用户发出的语音指令片段,将用户发出的首个语音指令片段解析为对应的字符串片段;其中,该字符串片段为完整的语音指令解析出的字符串的子集,具体可以是完整的语音指令解析出的字符串中的一个单位字符,或者按照语义划分的出的一个由多个字符组成的字符片段。When a user triggers the above-mentioned target service by issuing a voice command, the VR client can parse the voice command fragments issued by the user one by one in real time, and parse the first voice command fragment issued by the user into a corresponding character string fragment; wherein, the character string fragment is a subset of the character string parsed from the complete voice command, specifically, it can be a unit character in the character string parsed from the complete voice command, or a character fragment composed of multiple characters divided according to semantics.
当将用户发出的首个语音指令片段解析为对应的字符串片段后,此时VR客户端可以将该字符串片段作为输入参数,输入至上述语音解析匹配模型进行计算,得到该首个语音指令片段对应于完整的语音指令解析出的完整的指令字符串的相似概率,然后将计算得到的相似概率与预设的相似度阈值进行比较;其中,该相似度阈值用于度量计算出的该相似概率是否能够成功触发上述目标业务,在实际应用中,可以基于具体的预判精度的需求,进行自定义设置。After the first voice command fragment issued by the user is parsed into a corresponding string fragment, the VR client can use the string fragment as an input parameter and input it into the above-mentioned voice parsing matching model for calculation to obtain the similarity probability of the first voice command fragment corresponding to the complete command string parsed from the complete voice command, and then compare the calculated similarity probability with a preset similarity threshold; wherein, the similarity threshold is used to measure whether the calculated similarity probability can successfully trigger the above-mentioned target business. In actual application, it can be customized based on the specific prediction accuracy requirements.
如果计算出的该相似概率大于该相似度阈值,此时可以确定预判出了上述目标业务满足触发条件即将被用户触发;反之,如果计算出的该相似概率小于或者等于该指令相似度阈值,此时表明基于用户发出的首个语音指令片段,预判出上述目标业务当前并不满足触发条件。If the calculated similarity probability is greater than the similarity threshold, it can be determined that the above-mentioned target service meets the trigger conditions and is about to be triggered by the user; conversely, if the calculated similarity probability is less than or equal to the instruction similarity threshold, it indicates that based on the first voice instruction segment issued by the user, it is predicted that the above-mentioned target service does not currently meet the trigger conditions.
在这种情况下,VR客户端可以按照相同的方式,继续将用户发出的下一个语音指令片段解析为对应的字符串片段,然后可以将首个语音指令片段对应的字符串片段,与用户发出的该下一个语音指令片段对应的字符串片段进行合并,然后按照相同的方式,将各并后的字符串片段重新输入上述语音解析匹配模型进行计算,得到该合并后的语音指令片段对应于完整的语音指令解析出的完整的指令字符串的相似概率,然后重新将计算得到的相似概率与预设的相似度阈值进行比较,并根据比较结果来预判上述目标业务是否满足触发条件。In this case, the VR client can continue to parse the next voice command segment issued by the user into the corresponding string segment in the same manner, and then merge the string segment corresponding to the first voice command segment with the string segment corresponding to the next voice command segment issued by the user. Then, in the same manner, re-input the merged string segments into the above-mentioned voice parsing matching model for calculation to obtain the similarity probability of the merged voice command segment corresponding to the complete command string parsed from the complete voice command, and then re-compare the calculated similarity probability with the preset similarity threshold, and predict whether the above-mentioned target business meets the trigger condition based on the comparison result.
相似的,如果基于合并后的语音指令片段,仍然无法预判出上述目标业务是否即将被用户触发,即通过判断确定合并后的语音指令片段对应于完整的语音指令解析出的完整的指令字符串的相似概率,仍然小于或者等于上述相似度阈值,此时可以基于按照相同的操作,按顺序将合并后的该语音指令片段,与后来接收到的下一个语音指令片段解析出的字符串片段继续进行合并,然后执行相同的预判过程,直到合并出的语音指令片段与完整的语音指令解析出的完整语音指令片段匹配时停止(即合并出完整的语音指令后,此时上述目标业务已经被触发,此时预判过程已经结束)。Similarly, if based on the merged voice instruction segment, it is still impossible to predict whether the above-mentioned target service is about to be triggered by the user, that is, the similarity probability of the merged voice instruction segment corresponding to the complete instruction string parsed from the complete voice instruction is still less than or equal to the above-mentioned similarity threshold, then based on the same operation, the merged voice instruction segment can be merged in sequence with the string segment parsed from the next voice instruction segment received later, and then the same prediction process is performed until the merged voice instruction segment matches the complete voice instruction segment parsed from the complete voice instruction (that is, after the complete voice instruction is merged, the above-mentioned target service has been triggered, and the prediction process has ended).
例如,以上述目标业务为VR场景下的快捷支付业务为例,假设在VR场景下通过自定义的语音指令“芝麻开门”来触发快捷支付,那么用户在通过发出该语音指令触发快捷支付的过程中,VR客户端首先可以按照以上示出的预判方式,计算用户发出的首个语音指令片段“芝”对应于完整语音指令“芝麻开门”的相似度概率,然后基于该相似度概率来预判快捷支付业务是否即将用户触发;如果预判失败,VR客户端可以继续将首个语音指令片段“芝”与下一个语音指令片段“麻”合并为“芝麻”,然后继续进行相似的预判处理。如果基于合并后的语音指令片段“芝麻”仍然预判失败,可以进一步将合并后的该语音指令片段“芝麻”与下一个语音指令片段“开”合并为语音指令片段“芝麻开”,然后继续执行相似的预判处理,直至合并后的指令片段与完整的指令片段完全匹配时停止。For example, taking the above-mentioned target business as the quick payment business in the VR scene as an example, assuming that the quick payment is triggered by the customized voice command "Open Sesame" in the VR scene, then in the process of the user triggering the quick payment by issuing the voice command, the VR client can first calculate the similarity probability of the first voice command segment "Zhi" issued by the user corresponding to the complete voice command "Open Sesame" according to the prediction method shown above, and then predict whether the quick payment business is about to be triggered by the user based on the similarity probability; if the prediction fails, the VR client can continue to merge the first voice command segment "Zhi" with the next voice command segment "Ma" into "Zhima", and then continue to perform similar prediction processing. If the prediction still fails based on the merged voice command segment "Zhima", the merged voice command segment "Zhima" and the next voice command segment "Kai" can be further merged into the voice command segment "Zhima Kai", and then continue to perform similar prediction processing until the merged command segment completely matches the complete command segment.
通过这种方式,VR客户端可以在用户尚未完全发出完整的语音指令时,提前预判出上述目标业务是否满足触发条件,从而后续可以采用该预判结果,提前对VR客户端所在的VR终端搭载的生物特征采集硬件进行启动。In this way, the VR client can predict whether the above-mentioned target service meets the triggering conditions in advance before the user has fully issued a complete voice command, so that the prediction result can be used to start the biometric collection hardware equipped with the VR terminal where the VR client is located in advance.
二、基于视觉焦点的轨迹数据预判2. Trajectory Data Prediction Based on Visual Focus
在示出的另一种实施方式中,当上述操作行为数据为用户的视觉焦点的移动轨迹数据时,上述预设的触发条件具体可以是“基于用户的视觉焦点的移动轨迹数据预测出的用户视觉焦点从当前时刻开始至预设的时长阈值后的移动轨迹,落入预设的用于触发上述目标业务的交互选项所在区域”。In another embodiment shown, when the above-mentioned operation behavior data is the movement trajectory data of the user's visual focus, the above-mentioned preset trigger condition can specifically be "the movement trajectory of the user's visual focus from the current moment to the preset time threshold predicted based on the movement trajectory data of the user's visual focus falls into the preset area where the interactive option for triggering the above-mentioned target business is located."
在这种情况下,在基于视觉焦点的轨迹数据预判上述目标业务是否即将被触发时,可以通过预判用户的视觉焦点从当前时刻开始至N秒之后(N即为上述预设的时长阈值)的移动轨迹是否进入上述交互选项所在区域来实现。In this case, when predicting whether the above-mentioned target service is about to be triggered based on the trajectory data of the visual focus, it can be achieved by predicting whether the movement trajectory of the user's visual focus from the current moment to N seconds later (N is the above-mentioned preset time threshold) enters the area where the above-mentioned interactive option is located.
在实现时,在上述VR场景中,可以提供一个用于触发上述目标业务的交互选项;例如,如果上述目标业务为VR场景下的快捷支付业务,则该交互选项具体可以是VR场景中的商品界面中提供的一“立即购买”的交互按钮。During implementation, in the above-mentioned VR scene, an interactive option for triggering the above-mentioned target business can be provided; for example, if the above-mentioned target business is a quick payment business in the VR scene, then the interactive option can specifically be a "Buy Now" interactive button provided in the product interface in the VR scene.
具体地,VR客户端可以预先搭载一个基于用户的视觉焦点的历史移动轨迹数据,训练完成的预测模型;该预测模型可以用于预测用户的视觉焦点从当前时刻开始至N秒后的移动轨迹。Specifically, the VR client can be pre-loaded with a trained prediction model based on the historical movement trajectory data of the user's visual focus; the prediction model can be used to predict the movement trajectory of the user's visual focus from the current moment to N seconds later.
其中,上述预测模型的具体类型,在本申请中不进行特别限定,可以是基于神经网络搭建的深度学习模型,也可以是基于特定的预测算法搭建的预测模型;例如,在示出的一种实施方式中,上述预测模型可以是基于卡尔曼滤波预测方程搭建的预测模型。Among them, the specific type of the above-mentioned prediction model is not particularly limited in this application. It can be a deep learning model built based on a neural network, or it can be a prediction model built based on a specific prediction algorithm; for example, in one embodiment shown, the above-mentioned prediction model can be a prediction model built based on the Kalman filter prediction equation.
当客户端基于记录的用户的视觉焦点的历史坐标,以及对应的发生时刻,成功还原出用户视觉焦点的移动轨迹数据后,可以将该移动轨迹数据作为输入数据,输入至上述预测模型进行计算,以预测出用户的视觉焦点从当前时刻开始至N秒后的移动轨迹。当预测出从当前时刻开始至N秒后的移动轨迹后,此时可以进一步判断预测出的该移动轨迹是否落入上述交互选项所在区域;After the client successfully restores the movement trajectory data of the user's visual focus based on the recorded historical coordinates of the user's visual focus and the corresponding occurrence time, the movement trajectory data can be used as input data and input into the above-mentioned prediction model for calculation to predict the movement trajectory of the user's visual focus from the current moment to N seconds later. After the movement trajectory from the current moment to N seconds is predicted, it can be further determined whether the predicted movement trajectory falls within the area where the above-mentioned interactive options are located;
如果预测出的所述移动轨迹落入上述交互选项所在区域,此时VR客户端可以确定预判出了上述目标业务满足上述触发条件,该目标业务即将被上述用户触发;反之,可以确定本次预判失败。If the predicted movement trajectory falls into the area where the above-mentioned interactive option is located, the VR client can determine that the above-mentioned target service meets the above-mentioned triggering conditions, and the target service is about to be triggered by the above-mentioned user; otherwise, it can be determined that this prediction has failed.
另外,为了提升预判的精准度,防止用户误操作的发生,还可以在上述交互选项所在区域中,设置一个有效区域;其中,该有效区域可以是该交互选项所在区域中划分出的一个位置居中的子区域;比如,可以是上述交互选项所在区域的中心50%的区域。In addition, in order to improve the accuracy of prediction and prevent user misoperation, a valid area can be set in the area where the above-mentioned interactive options are located; wherein, the valid area can be a sub-area centered in the area where the interactive options are located; for example, it can be the center 50% area of the area where the above-mentioned interactive options are located.
通过这种方式,只有当预测出的上述移动轨迹落入上述交互选项所在区域中的有效区域,才会判定该移动轨迹落入了该交互选项所在区域,因此可以有效的防止用户误操作的发生。In this way, only when the predicted movement trajectory falls into the valid area of the area where the interactive option is located, will it be determined that the movement trajectory falls into the area where the interactive option is located, thereby effectively preventing the occurrence of user misoperation.
当然,在实际应用中,由于用户的视觉焦点在大多数情况下,并不是一个条很标准的直线,因此即便VR客户端预测出了从当前时刻开始至N秒后的移动轨迹,可能也很难确定该移动轨迹是否能够进入到上述交互选项所在区域。Of course, in actual applications, since the user's visual focus is not a very standard straight line in most cases, even if the VR client predicts the movement trajectory from the current moment to N seconds later, it may be difficult to determine whether the movement trajectory can enter the area where the above-mentioned interactive options are located.
在这种情况下,VR客户端搭载的上述预测模型中,还可以进一步引入用于计算预测出的移动轨迹进入上述交互选项所在区域的概率的相关算法,从而当VR客户端预测出了上述移动轨迹后,可以仅进一步通过预设模型输出一个进入上述交互选项所在区域的概率,然后可以基于计算出的该概率值是否达到阈值,来判定该移动轨迹是否进入了上述交互选项所在区域。In this case, the above-mentioned prediction model carried by the VR client can further introduce a relevant algorithm for calculating the probability that the predicted movement trajectory enters the area where the above-mentioned interactive option is located. Therefore, after the VR client predicts the above-mentioned movement trajectory, it can only further output a probability of entering the area where the above-mentioned interactive option is located through the preset model, and then it can be determined whether the movement trajectory has entered the area where the above-mentioned interactive option is located based on whether the calculated probability value reaches the threshold.
其中,上述用于计算移动轨迹进入上述交互选项所在区域的概率的相关算法,在本例中不进行特别限定;The algorithm for calculating the probability of the movement trajectory entering the area where the interactive option is located is not particularly limited in this example.
例如,在示出的一种实施方式中,如果上述预测模型是卡尔曼滤波预测模型,那么可以在该模型预测出的移动轨迹的结果的基础上,进一步执行近似积分计算,计算出移动轨迹进入上述交互选项所在区域的概率,并将计算出的概率值进行输出。For example, in one embodiment shown, if the above-mentioned prediction model is a Kalman filter prediction model, then based on the results of the movement trajectory predicted by the model, an approximate integral calculation can be further performed to calculate the probability of the movement trajectory entering the area where the above-mentioned interactive option is located, and the calculated probability value can be output.
另外,需要说明的是,上述N值的具体取值,在本申请中不进行特别限定,在实际应用中,可以基于需求进行自定义;In addition, it should be noted that the specific value of the above N value is not particularly limited in this application and can be customized based on needs in actual applications;
例如,在示出的一种实现方式中,可以将该N值的初始值设置为上述生物特征采集硬件执行硬件初始化的延时时长;比如,假设上述生物特征采集硬件进行硬件初始化,从开启到初始化完成需要2秒的延时,那么可以将上述N值的初始值也设置为2秒。For example, in one implementation shown, the initial value of the N value can be set to the delay duration for the above-mentioned biometric acquisition hardware to perform hardware initialization; for example, assuming that the above-mentioned biometric acquisition hardware performs hardware initialization, it takes a 2-second delay from startup to completion of initialization, then the initial value of the above-mentioned N value can also be set to 2 seconds.
在示出的另一种实施方式中,当上述操作行为数据为用户的视觉焦点的移动轨迹数据时,上述预设的触发条件具体也可以是“基于用户的视觉焦点的移动轨迹数据确定出的用户视觉焦点落入预设的用于触发上述目标业务的交互选项所在区域,并且停留时长大于凝视等待时长阈值”。即在这种情况下,在基于视觉焦点的轨迹数据预判上述目标业务是否即将被触发时,可以通过计算用户的视觉焦点落入上述交互选项所在区域后的停留时长,并通过判定该停留时长是否达到预设的凝视等待时长阈值来实现。In another illustrated embodiment, when the operational behavior data is the movement trajectory data of the user's visual focus, the preset trigger condition may specifically be "the user's visual focus, as determined based on the movement trajectory data, falls within a preset area containing an interactive option for triggering the target service, and the duration of the focus exceeds a gaze wait time threshold." In this case, when predicting whether the target service is about to be triggered based on the visual focus trajectory data, this can be achieved by calculating the duration of the user's visual focus after it falls within the area containing the interactive option, and then determining whether this duration of focus reaches the preset gaze wait time threshold.
在VR场景中,通常用户可以通过控制视觉焦点停留在上述交互选项所在区域,并保持悬停,通过“凝视”的方式来选中上述交互选项,进而触发上述目标业务。In a VR scenario, users can usually control their visual focus to stay in the area where the above-mentioned interactive options are located, keep hovering, and select the above-mentioned interactive options by "staring", thereby triggering the above-mentioned target business.
然而,在相关技术中,用户通过“凝视”的方式来选中上述交互选项时,用户的视觉焦点在上述交互选项所在区域的停留时长通常由凝视等待时长(记为T1)和凝视确认时长(记为T2)组成。However, in related technologies, when a user selects the above-mentioned interactive option by "gazing", the time that the user's visual focus stays in the area where the above-mentioned interactive option is located is usually composed of the gaze waiting time (denoted as T1) and the gaze confirmation time (denoted as T2).
当用户的视觉焦点进入上述交互选项所在区域后,VR客户端可以在后台统计视觉焦点在该交互选项所在区域中的停留时长,当该停留时长的取值大于T1时,此时凝视等待结束,VR客户端可以在后台确认用户当前的操作为有效的“凝视”操作,并在该交互选项所在区域中输出一个相关的等待提示;与此同时,VR客户端可以从这一时刻开始重新进行计时,统计视觉焦点在该交互选项所在区域中的停留时长,如果重新计时后得到的停留时长大于T2时,此时凝视确认结束,VR客户端可以选中该交互选项,进而触发上述目标业务。When the user's visual focus enters the area where the above-mentioned interactive option is located, the VR client can count the length of time the visual focus stays in the area where the interactive option is located in the background. When the value of the stay time is greater than T1, the gaze waiting ends at this time, and the VR client can confirm that the user's current operation is a valid "gaze" operation in the background, and output a related waiting prompt in the area where the interactive option is located; at the same time, the VR client can re-time from this moment and count the length of time the visual focus stays in the area where the interactive option is located. If the stay time obtained after re-timing is greater than T2, the gaze confirmation ends at this time, and the VR client can select the interactive option, thereby triggering the above-mentioned target service.
可见,在相关技术中,用户在通过“凝视”的方式选中上述交互选项时,停留时长为上述T1和T2之和。It can be seen that in the related art, when the user selects the above interactive option by "gazing", the length of stay is the sum of T1 and T2.
在本例中,为了在用户通过“凝视”的方式选中上述交互选项的过程中,提前预判出用户是否即将触发上述目标业务,可以对现有的“凝视”选中交互选项的机制进行改进,省略上述凝视等待过程,在用户通过传统的“凝视”的方式成功触发上述目标业务之前,提前得出预判结果。In this example, in order to predict in advance whether the user is about to trigger the above-mentioned target service when the user selects the above-mentioned interactive option by "gazing", the existing "gazing" mechanism for selecting interactive options can be improved, and the above-mentioned staring waiting process can be omitted, so that the prediction result can be obtained in advance before the user successfully triggers the above-mentioned target service by the traditional "gazing" method.
具体地,当用户的视觉焦点进入上述交互选项所在区域后,VR客户端仍然可以在后台统计视觉焦点在该交互选项所在区域中的停留时长;并判断该停留时长是否大于预设的凝视等待时长阈值T1,如果该停留时长大于T1,此时可以直接确定预判出了上述目标业务即将被上述用户触发。Specifically, when the user's visual focus enters the area where the above-mentioned interactive option is located, the VR client can still count the length of time the visual focus stays in the area where the interactive option is located in the background; and determine whether the stay time is greater than the preset gaze waiting time threshold T1. If the stay time is greater than T1, it can be directly determined that the above-mentioned target service is about to be triggered by the above-mentioned user.
通过这种方式,实际上省略了传统的“凝视”选中交互选项的流程中的凝视等待过程,在传统的凝视等待过程,就可以提前预判出上述目标业务是否即将被上述用户触发的预判结果。In this way, the gaze-waiting process in the traditional process of "gazing" to select an interactive option is actually omitted. During the traditional gaze-waiting process, it is possible to predict in advance whether the target service will be triggered by the user.
4)用户生物特征采集硬件的控制。4) Control of user biometric collection hardware.
在本例中,当VR客户端按照以上示出的任意一种预判方式,成功预判出上述目标业务满足了触发条件即将被用户触发时,此时VR客户端可以立即启动VR终端所搭载的上述生物特征采集硬件。In this example, when the VR client successfully predicts that the above-mentioned target service meets the trigger conditions and is about to be triggered by the user according to any of the prediction methods shown above, the VR client can immediately start the above-mentioned biometric collection hardware carried by the VR terminal.
当上述生物特征采集硬件基于预判结果被成功启动后,此时VR客户端可以进一步确认上述预判结果的准确性,来确定上述目标业务是否真的被用户触发;When the biometric feature collection hardware is successfully activated based on the prediction result, the VR client can further confirm the accuracy of the prediction result to determine whether the target service is actually triggered by the user;
例如,VR客户端可以确认是否接收到由用户发出的用于触发上述目标业务的完整的语音指令,如果是,此时VR客户端可以确定上述预判结果正确,此时上述目标业务被用户触发;For example, the VR client may confirm whether it has received a complete voice command issued by the user for triggering the target service. If so, the VR client may determine that the prediction result is correct and the target service is triggered by the user.
又如,上述VR客户端也可以确定用户的视觉焦点的移动轨迹是否穿过上述交互选项所在区域、或者确定用户的视觉焦点在上述交互选项所在区域的停留时长是为大于上述T1和T2之和(即完成凝视等待以及凝视确认);如果是,此时VR客户端可以确定上述预判结果正确,此时上述目标业务被用户触发。For another example, the VR client may also determine whether the movement trajectory of the user's visual focus passes through the area where the interactive option is located, or determine whether the length of time the user's visual focus stays in the area where the interactive option is located is greater than the sum of T1 and T2 (i.e., gaze waiting and gaze confirmation are completed); if so, the VR client may determine that the prediction result is correct, and the target service is triggered by the user.
即在本申请中,当VR客户端完成上述目标业务是否满足触发条件的预判后,该目标业务后续的触发过程以及触发条件,仍然可以与VR场景下的常规实现保持一致。That is, in this application, after the VR client completes the prediction of whether the above-mentioned target business meets the triggering conditions, the subsequent triggering process and triggering conditions of the target business can still be consistent with the conventional implementation in the VR scenario.
在本例中,如果上述VR客户端确认上述预判结果准确,上述目标业务最终被用户触发,由于此时上述生物特征采集硬件已经提前启动,因此VR客户端可以直接调用该生物特征采集硬件采集用户的生物特征,并基于采集到的生物特征发起对上述目标业务的安全认证即可。此时对于用户来说,并不会感受到生物特征采集硬件的硬件初始化所造成的延时。In this example, if the VR client confirms the prediction result is accurate and the target service is ultimately triggered by the user, the biometric collection hardware will have already been activated. Therefore, the VR client can directly call the biometric collection hardware to collect the user's biometrics and initiate security authentication for the target service based on the collected biometrics. In this case, the user will not experience any delay caused by the hardware initialization of the biometric collection hardware.
当针对上述目标业务的安全认证通过后,此时VR客户端可以与相应的服务端进行业务交互,来执行上述目标业务;例如,以在VR场景中的快捷支付业务为例,当用户在VR场景中触发了快捷支付业务,此时VR客户端可以通过提前启动的生物识别摄像头采集用户的虹膜特征或者眼纹特征,并基于采集到的虹膜特征或者眼纹特征对用户进行身份认证,当身份认证通过后,此时发起的该支付业务通过安全认证,VR客户端可以与服务端进行业务交互,完成该笔支付。When the security authentication for the above-mentioned target business is passed, the VR client can interact with the corresponding server to execute the above-mentioned target business; for example, taking the quick payment business in the VR scene as an example, when the user triggers the quick payment business in the VR scene, the VR client can collect the user's iris features or eye pattern features through the pre-activated biometric camera, and authenticate the user based on the collected iris features or eye pattern features. When the identity authentication is passed, the payment business initiated at this time passes the security authentication, and the VR client can interact with the server to complete the payment.
当然,如果上述VR客户端确认上述预判结果不准确,上述目标业务最终未被用户触发,即以上示出的预判过程出现预判错误,在这种情况下,VR客户端可以将提前启动的上述生物特征采集硬件重新关闭即可。Of course, if the VR client confirms that the prediction result is inaccurate, and the target service is ultimately not triggered by the user, that is, a prediction error occurs in the prediction process shown above, in this case, the VR client can simply shut down the biometric feature collection hardware that was started in advance.
在本例中,由于VR客户端在通过以上示出的各种预判过程,预判上述目标业务是否满足触发条件时,是依赖于特定的预判阈值来实现的;In this example, the VR client relies on a specific prediction threshold when predicting whether the target service meets the triggering conditions through the various prediction processes shown above;
例如,当基于用户的语音指令片段来预判时,上述预判阈值即为以上描述的相似度阈值。当基于预测用户的视觉焦点从当前时刻开始至N秒后的移动轨迹来预判时,上述预判阈值即为上述N(即上述预设时长阈值)的取值。而当基于用户的视觉焦点在上述交互选项所在区域中的停留时长来预判时,上述预判阈值即为上述凝视等待时长阈值。For example, when predicting based on a user's voice command fragment, the prediction threshold is the similarity threshold described above. When predicting based on the predicted movement trajectory of the user's visual focus from the current moment to N seconds later, the prediction threshold is the value of N (i.e., the preset duration threshold). When predicting based on the length of time the user's visual focus remains in the area where the interactive option is located, the prediction threshold is the gaze wait time threshold described above.
然而,由于不同的用户的操作行为习惯存在差异,针对不同的用户采用取值完全相同的上述预判阈值,显然会影响最终的预判结果的准确度。因此,在本申请中,还提出一种基于上述目标业务是否被真实触发的判定结果,对上述预判阈值进行反向调整的动态预判阈值的机制。However, due to differences in user behavior, using the same prediction threshold for different users will obviously affect the accuracy of the final prediction result. Therefore, this application also proposes a dynamic prediction threshold mechanism that adjusts the prediction threshold inversely based on the determination result of whether the target service has actually been triggered.
具体地,当VR客户端按照以上示出的任意一种预判方式,成功预判出上述目标业务满足触发条件,并且VR客户端确定出目标业务最终是否被用户触发后:Specifically, when the VR client successfully predicts that the target service meets the triggering condition according to any of the prediction methods shown above, and the VR client determines whether the target service is ultimately triggered by the user:
一方面,如果确定出上述目标业务最终被上述用户触发,则可以对预判上述目标业务是否满足触发条件时使用的预判阈值进行调整,来提高上述生物特征采集硬件被启动的概率;On the one hand, if it is determined that the target service is ultimately triggered by the user, the prediction threshold used when predicting whether the target service meets the triggering condition can be adjusted to increase the probability of the biometric feature collection hardware being activated;
例如,当基于用户的语音指令片段来预判时,上述预判阈值即为以上描述的指令相似度阈值,在这种情况下,可以通过降低上述指令相似度阈值,来提高上述生物特征采集硬件被启动的概率;For example, when the prediction is based on the user's voice command fragment, the above-mentioned prediction threshold is the command similarity threshold described above. In this case, the probability of the above-mentioned biometric feature collection hardware being activated can be increased by lowering the above-mentioned command similarity threshold;
当基于当基于预测用户的视觉焦点从当前时刻开始至N秒后的移动轨迹来预判时,上述预判阈值即为上述N(即上述预设时长阈值)的取值,在这种情况下,可以通过增大上述N的取值,来提高上述生物特征采集硬件被启动的概率;When the prediction is based on the predicted movement trajectory of the user's visual focus from the current moment to N seconds later, the prediction threshold is the value of N (i.e., the preset time threshold). In this case, the probability of the biometric feature collection hardware being activated can be increased by increasing the value of N.
而当基于用户的视觉焦点在上述交互选项所在区域中的停留时长来预判时,上述预判阈值即为上述凝视等待时长阈值,在这种情况下,可以通过减小上述凝视等待时长阈值,来提高上述生物特征采集硬件被启动的概率。When the prediction is made based on the length of time the user's visual focus stays in the area where the above-mentioned interactive options are located, the above-mentioned prediction threshold is the above-mentioned gaze waiting time threshold. In this case, the probability of the above-mentioned biometric feature collection hardware being activated can be increased by reducing the above-mentioned gaze waiting time threshold.
另一方面,如果所述目标业务最终未被上述用户触发,可以对预判上述目标业务是否满足触发条件时使用的预判阈值进行调整,以降低生物特征采集硬件被启动的概率。On the other hand, if the target service is ultimately not triggered by the user, the prediction threshold used when predicting whether the target service meets the triggering condition may be adjusted to reduce the probability of the biometric feature collection hardware being activated.
例如,当基于用户的语音指令片段来预判时,上述预判阈值即为以上描述的指令相似度阈值,在这种情况下,可以通过增大上述指令相似度阈值,来降低上述生物特征采集硬件被启动的概率;For example, when the prediction is based on the user's voice command fragment, the above-mentioned prediction threshold is the command similarity threshold described above. In this case, the probability of the above-mentioned biometric feature collection hardware being activated can be reduced by increasing the above-mentioned command similarity threshold;
当基于当基于预测用户的视觉焦点从当前时刻开始至N秒后的移动轨迹来预判时,上述预判阈值即为上述N(即上述预设时长阈值)的取值,在这种情况下,可以通过减小上述N的取值,来降低上述生物特征采集硬件被启动的概率;When the prediction is based on the predicted movement trajectory of the user's visual focus from the current moment to N seconds later, the prediction threshold is the value of N (i.e., the preset time threshold). In this case, the probability of the biometric feature collection hardware being activated can be reduced by reducing the value of N.
而当基于用户的视觉焦点在上述交互选项所在区域中的停留时长来预判时,上述预判阈值即为上述凝视等待时长阈值,在这种情况下,可以通过增大上述凝视等待时长阈值,来降低上述生物特征采集硬件被启动的概率。When the prediction is made based on the length of time the user's visual focus stays in the area where the above-mentioned interactive options are located, the above-mentioned prediction threshold is the above-mentioned gaze waiting time threshold. In this case, the probability of the above-mentioned biometric feature collection hardware being activated can be reduced by increasing the above-mentioned gaze waiting time threshold.
其中,需要说明的是,在针对上述预判阈值进行调整时,具体的增大或者降低的幅度,在本申请不进行特别的限定,在实际应用中,可以基于实际的需求进行自定义设置。It should be noted that when adjusting the above-mentioned prediction threshold, the specific increase or decrease is not particularly limited in this application. In actual application, it can be customized based on actual needs.
通过以上各实施例的描述可知,本申请通过基于采集到的用户的操作行为数据,来预判需要基于用户的生物特征执行安全认证的目标业务是否满足触发条件,并在预判出该目标业务满足触发条件时,立即启动生物特征采集硬件;As can be seen from the description of the above embodiments, the present application uses the collected user operation behavior data to predict whether the target business that requires security authentication based on the user's biometrics meets the trigger condition, and immediately starts the biometric collection hardware when it is predicted that the target business meets the trigger condition;
一方面,由于采用了目标业务被触发时刻的预判机制,使得在执行对上述目标业务进行安全认证时,可以提前启动生物特征采集硬件,因而可以确保用户感受不到生物特征采集硬件的硬件初始化延时,提升用户体验;On the one hand, due to the use of a prediction mechanism for the time when the target service is triggered, the biometric collection hardware can be started in advance when performing security authentication for the above target service, thus ensuring that users do not feel the hardware initialization delay of the biometric collection hardware, thereby improving the user experience;
另一方面,由于在默认情况下,生物特征采集硬件仍然保持关闭状态,只有在预判出目标业务满足触发条件时,才会开启生物特征采集硬件,因而与现有技术相比,在确保用户感受不到生物特征采集硬件的硬件初始化延时的前提下,可以尽可能的兼顾设备的耗电量。On the other hand, since the biometric collection hardware remains turned off by default, it will only be turned on when it is predicted that the target business meets the trigger conditions. Therefore, compared with the existing technology, the power consumption of the device can be taken into account as much as possible while ensuring that the user does not feel the hardware initialization delay of the biometric collection hardware.
与上述方法实施例相对应,本申请还提供了装置的实施例。Corresponding to the above method embodiments, the present application also provides device embodiments.
请参见图2,本申请提出一种生物特征采集硬件的控制装置20,应用于客户端;Please refer to FIG2 , the present application proposes a control device 20 for biometric feature collection hardware, which is applied to a client;
请参见图3,作为承载所述客户端的终端设备所涉及的硬件架构中,通常包括CPU、内存、非易失性存储器、网络接口以及内部总线等;以软件实现为例,所述生物特征采集硬件的控制装置20通常可以理解为加载在内存中的计算机程序,通过CPU运行之后形成的软硬件相结合的逻辑装置,所述装置20包括:Referring to FIG3 , the hardware architecture of the terminal device serving as the client typically includes a CPU, memory, non-volatile memory, a network interface, and an internal bus. Taking software implementation as an example, the biometric feature acquisition hardware control device 20 can generally be understood as a computer program loaded into memory, which, when executed by the CPU, forms a logical device combining software and hardware. The device 20 includes:
采集模块201,采集用户的操作行为数据;Collection module 201, collects user operation behavior data;
预判模块202,基于采集到的所述操作行为数据预判目标业务是否满足预设的触发条件;其中,所述目标业务为需要基于用户的生物特征执行安全认证的用户业务;The prediction module 202 predicts whether a target service meets a preset trigger condition based on the collected operation behavior data; wherein the target service is a user service that requires security authentication based on the user's biometric characteristics;
启动模块203,如果预判出所述目标业务满足预设的触发条件,则启动预设的生物特征采集硬件。The starting module 203 starts the preset biometric feature collection hardware if it is pre-determined that the target service meets the preset triggering condition.
在本例中,所述预判模块202进一步:In this example, the prediction module 202 further:
确定所述目标业务是否被触发;Determining whether the target service is triggered;
如果所述目标业务被触发,则对预判所述目标业务是否满足预设的触发条件时使用的预判阈值进行调整,以提高所述生物特征采集硬件被启动的概率;以及,If the target service is triggered, adjusting the prejudgment threshold used when prejudging whether the target service meets a preset triggering condition to increase the probability of the biometric feature collection hardware being activated; and
如果所述目标业务未被触发,则关闭所述生物特征采集硬件,并对预判所述目标业务是否满足预设的触发条件时使用的预判阈值进行调整,以降低生物特征采集硬件被启动的概率。If the target service is not triggered, the biometric feature collection hardware is turned off, and the pre-judgment threshold used when pre-judging whether the target service meets the preset triggering condition is adjusted to reduce the probability of the biometric feature collection hardware being activated.
在本例中,所述操作行为数据包括所述用户发出的语音指令片段;所述语音指令用于触发所述目标业务;所述预判阈值为预设的相似度阈值;In this example, the operation behavior data includes a voice command segment issued by the user; the voice command is used to trigger the target service; the prediction threshold is a preset similarity threshold;
所述预判模块202:The prediction module 202:
将采集到的用户发出的首个语音指令片段解析为对应的字符串片段;Parse the first voice command segment sent by the user into a corresponding string segment;
计算所述字符串片段对应于所述语音指令解析出的指令字符串的相似概率,并判断所述相似概率是否大于预设的相似度阈值;Calculating a similarity probability between the character string segment and the instruction character string parsed from the voice instruction, and determining whether the similarity probability is greater than a preset similarity threshold;
如果所述相似概率大于所述相似度阈值,则预判出所述目标业务满足预设的触发条件。If the similarity probability is greater than the similarity threshold, it is pre-determined that the target service meets a preset trigger condition.
在本例中,所述预判模块202进一步:In this example, the prediction module 202 further:
如果所述相似概率小于或者等于所述相似度阈值,将用户发出的所述首个语音指令片段对应的字符串片段,与用户发出的下一个语音指令片段对应的字符串片段进行合并;If the similarity probability is less than or equal to the similarity threshold, merging the character string segment corresponding to the first voice instruction segment issued by the user with the character string segment corresponding to the next voice instruction segment issued by the user;
计算合并后的字符串片段对应于所述指令字符串的相似概率,并重新执行判断所述相似概率是否大于所述预设的相似度阈值的步骤;Calculating the similarity probability between the merged character string segment and the instruction character string, and re-performing the step of determining whether the similarity probability is greater than the preset similarity threshold;
如果所述相似概率仍小于或者等于所述相似度阈值,则继续将合并后的所述指令字符串与用户发出的下一个语音指令片段进行合并,并重新执行判断所述相似概率是否大于所述预设的相似度阈值的步骤,直到合并后的字符串片段与所述完整指令字符串匹配时停止。If the similarity probability is still less than or equal to the similarity threshold, continue to merge the merged instruction string with the next voice instruction segment issued by the user, and re-execute the step of determining whether the similarity probability is greater than the preset similarity threshold until the merged string segment matches the complete instruction string.
在本例中,所述操作行为数据包括所述用户的视觉焦点的移动轨迹数据;所述预判阈值为预设的时长阈值;In this example, the operation behavior data includes the movement trajectory data of the user's visual focus; the prediction threshold is a preset time threshold;
所述预判模块202:The prediction module 202:
将记录的所述用户的视觉焦点的移动轨迹数据输入预设的预测模型进行计算,以预测出所述用户的视觉焦点从当前时刻开始至预设的时长阈值后的移动轨迹;Inputting the recorded movement trajectory data of the user's visual focus into a preset prediction model for calculation to predict the movement trajectory of the user's visual focus from the current moment to a preset time threshold;
判断预测出的所述移动轨迹是否落入预设的交互选项所在区域;其中,所述预设的交互选项用于触发所述目标业务;Determining whether the predicted movement trajectory falls within an area where a preset interaction option is located; wherein the preset interaction option is used to trigger the target service;
如果预测出的所述移动轨迹落入预设的交互选项所在区域,则预判出所述目标业务满足预设的触发条件。If the predicted movement trajectory falls into the area where the preset interactive options are located, it is pre-determined that the target service meets the preset triggering condition.
在本例中,所述操作行为数据包括所述用户的视觉焦点的位移数据;所述预判阈值为预设的凝视等待时长阈值;In this example, the operation behavior data includes displacement data of the user's visual focus; the prediction threshold is a preset gaze waiting time threshold;
所述预判模块202:The prediction module 202:
基于记录的所述用户的视觉焦点的移动轨迹数据,确定所述用户的视觉焦点是否落入预设的交互选项所在区域;Determining, based on the recorded movement trajectory data of the user's visual focus, whether the user's visual focus falls within a preset interactive option area;
如果确定所述用户的视觉焦点落入预设的交互选项所在区域,统计所述视觉焦点在所述预设的交互选项所在区域中的停留时长,并判断所述停留时长是否大于预设的凝视等待时长阈值;If it is determined that the user's visual focus falls into the preset interactive option area, the duration of the visual focus staying in the preset interactive option area is counted, and whether the duration is greater than a preset gaze waiting time threshold is determined;
如果所述停留时长大于所述凝视等待时长阈值,则预判出所述目标业务即将被所述用户触发。If the dwell time is greater than the gaze waiting time threshold, it is predicted that the target service is about to be triggered by the user.
在本例中,所述客户端为虚拟现实客户端;所述生物特征采集硬件为生物识别摄像头;所述生物特征为眼纹特征、虹膜特征以及掌纹特征中一种或者多种的组合;所述目标业务为支付业务。In this example, the client is a virtual reality client; the biometric feature acquisition hardware is a biometric recognition camera; the biometric feature is a combination of one or more of eye print features, iris features, and palm print features; and the target service is a payment service.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims (12)
Publications (3)
| Publication Number | Publication Date |
|---|---|
| HK1241070A HK1241070A (en) | 2018-06-01 |
| HK1241070A1 HK1241070A1 (en) | 2018-06-01 |
| HK1241070B true HK1241070B (en) | 2021-06-18 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107038361B (en) | Service realization method and device based on virtual reality scene | |
| TWI683236B (en) | Business implementation method and device based on virtual reality scene | |
| JP6727631B2 (en) | Virtual reality environment-based ID authentication method and apparatus | |
| US11170087B2 (en) | Virtual reality scene-based business verification method and device | |
| CN107018121B (en) | Method and device for user authentication | |
| JP2020515945A5 (en) | ||
| CN107066079A (en) | Service implementation method and device based on virtual reality scenario | |
| CN111292092A (en) | Face-scanning payment method, device and electronic device | |
| JP7147860B2 (en) | Biometric authentication device, biometric authentication method, and biometric authentication program | |
| CN108958573B (en) | Identity authentication method and device based on virtual reality scene | |
| WO2024212861A1 (en) | Login verification method and apparatus for application program, and electronic device, computer-readable storage medium and computer program product | |
| CN107015854B (en) | Control method and device of biological characteristic acquisition hardware | |
| CN114519177B (en) | Verification processing method and device, electronic equipment and storage medium | |
| HK1241070B (en) | Control method of biological characteristic collection hardware and apparatus | |
| HK1241070A (en) | Control method of biological characteristic collection hardware and apparatus | |
| HK1241070A1 (en) | Control method of biological characteristic collection hardware and apparatus | |
| WO2022222735A1 (en) | Information processing method and apparatus, computer device, and storage medium | |
| HK1241493A (en) | Vr scene-based business realization method and device | |
| HK1241493A1 (en) | Vr scene-based business realization method and device | |
| HK1241493B (en) | Vr scene-based business realization method and device | |
| HK40068473B (en) | Verification processing method and apparatus, electronic device, and storage medium | |
| HK1241059A1 (en) | Vr scene-based business realization method and device | |
| HK1241059A (en) | Vr scene-based business realization method and device | |
| HK40068473A (en) | Verification processing method and apparatus, electronic device, and storage medium | |
| HK1241510A (en) | Vr scene-based service realization method and device |