[go: up one dir, main page]

CN114282561A - A code identification display method, device, electronic device and storage medium - Google Patents

A code identification display method, device, electronic device and storage medium Download PDF

Info

Publication number
CN114282561A
CN114282561A CN202111592220.4A CN202111592220A CN114282561A CN 114282561 A CN114282561 A CN 114282561A CN 202111592220 A CN202111592220 A CN 202111592220A CN 114282561 A CN114282561 A CN 114282561A
Authority
CN
China
Prior art keywords
scanning device
code identification
preset
scanning
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111592220.4A
Other languages
Chinese (zh)
Inventor
杨小勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111592220.4A priority Critical patent/CN114282561A/en
Publication of CN114282561A publication Critical patent/CN114282561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明涉及一种码标识显示方法、装置、电子设备及存储介质,码标识显示方法包括:确定是否检测到显示码标识的触发事件;若检测到生成码标识的触发事件,显示不包含所述码标识的界面;检测预设扫描区域内是否存在扫描设备;若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。本发明实施例能够在显示码标识前,首先判断是否预设扫描区域内存在扫描设备,只有在预设扫描区域内存在扫描设备时,才显示码标识,实现码标识只展示给扫描设备,减小码标识展示给其他非法设备的概率,提高码标识显示的安全性。

Figure 202111592220

The invention relates to a code identification display method, device, electronic equipment and storage medium. The code identification display method comprises: determining whether a trigger event for displaying a code identification is detected; if a triggering event for generating a code identification is detected, the display does not include the The interface of the code identification; detecting whether there is a scanning device in the preset scanning area; if the scanning device exists in the preset scanning area, the interface containing the code identification is displayed. This embodiment of the present invention can first determine whether a scanning device exists in the preset scanning area before displaying the code identification, and display the code identification only when there is a scanning device in the preset scanning area, and realize that the code identification is only displayed to the scanning device, reducing the The probability that the small code logo is displayed to other illegal devices improves the security of the code logo display.

Figure 202111592220

Description

一种码标识显示方法、装置、电子设备及存储介质A code identification display method, device, electronic device and storage medium

技术领域technical field

本申请涉及电子信息技术领域,尤其涉及一种码标识显示方法、装置、电子设备及存储介质。The present application relates to the technical field of electronic information, and in particular, to a code identification display method, device, electronic device and storage medium.

背景技术Background technique

随着人们的生活水平在不断的提高,智能手机使用越来越普遍,也给人们带来的各种便利,二维码的使用已经渗透到生活的方方面面。同时现在智能手机的功能也越来越强大,多倍距镜头不断涌现,被盗刷的风险也越来越高。With the continuous improvement of people's living standards, the use of smart phones has become more and more common, and it has brought various conveniences to people. The use of QR codes has penetrated into all aspects of life. At the same time, the functions of smart phones are becoming more and more powerful, and the multi-lens lens is constantly emerging, and the risk of being stolen is also increasing.

一般情况下用户通过智能手机出示二维码给对应的商家完成身份认证或支付等功能。然而在出示二维码的过程中如果被其它设备远距离扫码就可能造成个人信息泄露或者财产损失。Under normal circumstances, the user presents the QR code to the corresponding merchant through the smartphone to complete functions such as identity authentication or payment. However, in the process of presenting the QR code, if the code is scanned by other devices from a long distance, it may cause personal information leakage or property damage.

发明内容SUMMARY OF THE INVENTION

为了解决出示二维码进行身份认证或者支付时安全性差的技术问题,本申请提供了一种码标识显示方法、装置、电子设备及存储介质。In order to solve the technical problem of poor security when presenting a two-dimensional code for identity authentication or payment, the present application provides a code identification display method, device, electronic device and storage medium.

第一方面,本申请提供了一种码标识显示方法,包括:In a first aspect, the present application provides a method for displaying a code identification, including:

确定是否检测到显示码标识的触发事件;Determine whether the trigger event of the display code identification is detected;

若检测到生成码标识的触发事件,显示不包含所述码标识的界面;If the trigger event of the generated code identification is detected, an interface that does not contain the code identification is displayed;

检测预设扫描区域内是否存在扫描设备;Detect whether there is a scanning device in the preset scanning area;

若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。If the scanning device exists in the preset scanning area, an interface including the code identification is displayed.

可选地,检测预设扫描区域内是否存在扫描设备,包括:Optionally, detecting whether there is a scanning device in the preset scanning area includes:

检测是否存在与自身之间的间隔距离位于预设距离范围内的扫描设备;Detect whether there is a scanning device with a separation distance from itself within a preset distance range;

若存在与自身之间的间隔距离位于预设距离范围内的扫描设备,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备;If there is a scanning device whose separation distance from itself is within the preset distance range, detect whether there is a scanning device whose included angle with itself is within the preset included angle range;

若存在与自身之间的夹角位于预设夹角范围内的扫描设备,确定在预设扫描区域内存在所述扫描设备。If there is a scanning device whose included angle with itself is within the preset included angle range, it is determined that the scanning device exists in the preset scanning area.

可选地,检测是否存在与自身之间的距离位于预设距离范围内的扫描设备,包括:Optionally, detecting whether there is a scanning device with a distance from itself within a preset distance range, including:

检测自身与扫描设备之间的间隔距离;Detect the distance between itself and the scanning device;

将所述间隔距离与所述预设距离范围的最大边界值与最小边界值比较;comparing the separation distance with the maximum boundary value and the minimum boundary value of the preset distance range;

若所述间隔距离大于所述最小边界值且小于所述最大边界值,确定存在与自身之间的间隔距离位于预设距离范围内的扫描设备。If the separation distance is greater than the minimum boundary value and smaller than the maximum boundary value, it is determined that there is a scanning device whose separation distance from itself is within a preset distance range.

可选地,检测自身与扫描设备之间的间隔距离,包括:Optionally, detecting the separation distance between itself and the scanning device, including:

控制距离检测传感器发射第一探测信号;controlling the distance detection sensor to emit a first detection signal;

接收所述第一探测信号遇到障碍物后返回的第一回波信号;receiving a first echo signal returned after the first detection signal encounters an obstacle;

基于所述第一探测信号和所述第一回波信号计算所述间隔距离。The separation distance is calculated based on the first detection signal and the first echo signal.

可选地,检测自身与扫描设备之间的间隔距离,包括:Optionally, detecting the separation distance between itself and the scanning device, including:

获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera;

若在所述采集图像中识别到扫描设备,获取所述采集图像中所述扫描设备的扫描窗口的窗口图像尺寸;If the scanning device is identified in the captured image, obtain the window image size of the scanning window of the scanning device in the captured image;

基于所述扫描设备的扫描窗口的窗口实际尺寸及预设的尺寸距离对应关系,计算与所述窗口图像尺寸对应的实际距离;Calculate the actual distance corresponding to the image size of the window based on the actual window size of the scanning window of the scanning device and the preset size-distance correspondence;

将所述实际距离确定为所述间隔距离。The actual distance is determined as the separation distance.

可选地,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备,包括:Optionally, detecting whether there is a scanning device with an included angle with itself within a preset included angle range, including:

获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera;

在所述采集图像中检测扫描设备的扫描窗口的图像区域;detecting an image area of a scan window of the scanning device in the acquired image;

若所述图像区域占所述采集图像的面积的比例超过预设面积阈值,确定存在与自身之间的夹角位于预设夹角范围内的扫描设备。If the ratio of the image area to the area of the captured image exceeds a preset area threshold, it is determined that there is a scanning device whose included angle with itself is within a preset included angle range.

可选地,所述方法还包括:Optionally, the method further includes:

若在预设扫描区域内不存在所述扫描设备,显示不包含所述码标识的界面。If the scanning device does not exist in the preset scanning area, an interface that does not include the code identification is displayed.

第二方面,本申请提供了一种码标识显示装置,包括:In a second aspect, the present application provides a code identification display device, comprising:

第一检测模块,用于确定是否检测到显示码标识的触发事件;The first detection module is used to determine whether to detect the trigger event of the display code identification;

第一显示模块,用于若检测到生成码标识的触发事件,显示不包含所述码标识的界面;a first display module, configured to display an interface that does not contain the code identification if a trigger event for generating a code identification is detected;

第二检测模块,用于检测预设扫描区域内是否存在扫描设备;The second detection module is used to detect whether there is a scanning device in the preset scanning area;

第二显示模块,用于若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。The second display module is configured to display an interface including the code identifier if the scanning device exists in the preset scanning area.

可选地,所述第二检测模块包括:Optionally, the second detection module includes:

第一检测单元,用于检测是否存在与自身之间的间隔距离位于预设距离范围内的扫描设备;a first detection unit, configured to detect whether there is a scanning device with an interval distance from itself within a preset distance range;

第二检测单元,用于若存在与自身之间的间隔距离位于预设距离范围内的扫描设备,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备;a second detection unit, configured to detect whether there is a scanning device with an included angle between itself and a scanning device within a preset included angle range if there is a scanning device with a separation distance between itself and itself within a preset distance range;

确定单元,用于若存在与自身之间的夹角位于预设夹角范围内的扫描设备,确定在预设扫描区域内存在所述扫描设备。The determining unit is configured to determine that the scanning device exists in the preset scanning area if there is a scanning device whose included angle with itself is within a preset included angle range.

可选地,所述第一检测单元包括:Optionally, the first detection unit includes:

第一检测子单元,用于检测自身与扫描设备之间的间隔距离;The first detection subunit is used to detect the separation distance between itself and the scanning device;

比较子单元,用于将所述间隔距离与所述预设距离范围的最大边界值与最小边界值比较;a comparison subunit for comparing the separation distance with the maximum boundary value and the minimum boundary value of the preset distance range;

第一确定子单元,用于若所述间隔距离大于所述最小边界值且小于所述最大边界值,确定存在与自身之间的间隔距离位于预设距离范围内的扫描设备。A first determination subunit, configured to determine that there is a scanning device with a separation distance from itself within a preset distance range if the separation distance is greater than the minimum boundary value and smaller than the maximum boundary value.

可选地,所述第一检测子单元还用于:Optionally, the first detection subunit is also used for:

控制距离检测传感器发射第一探测信号;controlling the distance detection sensor to emit a first detection signal;

接收所述第一探测信号遇到障碍物后返回的第一回波信号;receiving a first echo signal returned after the first detection signal encounters an obstacle;

基于所述第一探测信号和所述第一回波信号计算所述间隔距离。The separation distance is calculated based on the first detection signal and the first echo signal.

可选地,所述第一检测子单元还用于:Optionally, the first detection subunit is also used for:

获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera;

若在所述采集图像中识别到扫描设备,获取所述采集图像中所述扫描设备的扫描窗口的窗口图像尺寸;If the scanning device is identified in the captured image, obtain the window image size of the scanning window of the scanning device in the captured image;

基于所述扫描设备的扫描窗口的窗口实际尺寸及预设的尺寸距离对应关系,计算与所述窗口图像尺寸对应的实际距离;Calculate the actual distance corresponding to the image size of the window based on the actual window size of the scanning window of the scanning device and the preset size-distance correspondence;

将所述实际距离确定为所述间隔距离。The actual distance is determined as the separation distance.

可选地,所述第二检测单元包括:Optionally, the second detection unit includes:

获取子单元,用于获取前置摄像头采集的采集图像;an acquisition sub-unit for acquiring the captured image captured by the front camera;

第二检测子单元,用于在所述采集图像中检测扫描设备的扫描窗口的图像区域;a second detection subunit, configured to detect the image area of the scanning window of the scanning device in the captured image;

第二确定子单元,用于若所述图像区域占所述采集图像的面积的比例超过预设面积阈值,确定存在与自身之间的夹角位于预设夹角范围内的扫描设备。The second determination subunit is configured to determine that there is a scanning device whose included angle with itself is within a preset included angle range if the ratio of the image area to the area of the captured image exceeds a preset area threshold.

可选地,所述装置还包括:Optionally, the device further includes:

界面显示模块,用于若在预设扫描区域内不存在所述扫描设备,显示不包含所述码标识的界面。The interface display module is configured to display an interface that does not contain the code identification if the scanning device does not exist in the preset scanning area.

第三方面,本申请提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现第一方面任一所述的码标识显示方法。The processor is configured to implement any one of the code identification display methods described in the first aspect when executing the program stored in the memory.

第四方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有码标识显示方法的程序,所述码标识显示方法的程序被处理器执行时实现第一方面任一所述的码标识显示方法的步骤。In a fourth aspect, the present application provides a computer-readable storage medium on which a program of a code identification display method is stored, and the first aspect is implemented when the program of the code identification display method is executed by a processor Any of the steps of the code identification display method.

本申请实施例提供的上述技术方案与现有技术相比具有如下优点:Compared with the prior art, the above-mentioned technical solutions provided in the embodiments of the present application have the following advantages:

本发明实施例通过首先确定是否检测到显示码标识的触发事件,若检测到生成码标识的触发事件,显示不包含所述码标识的界面,再检测预设扫描区域内是否存在扫描设备,若在预设扫描区域内存在所述扫描设备,可以显示包含所述码标识的界面。The embodiment of the present invention firstly determines whether a trigger event for displaying a code identifier is detected, and if a trigger event for generating a code identifier is detected, an interface that does not contain the code identifier is displayed, and then it is detected whether there is a scanning device in the preset scanning area. The scanning device exists in the preset scanning area, and an interface including the code identification can be displayed.

本发明实施例能够在显示码标识前,首先判断是否预设扫描区域内存在扫描设备,只有在预设扫描区域内存在扫描设备时,才显示码标识,实现码标识只展示给扫描设备,减少码标识展示给其他非法设备的概率,提高码标识显示的安全性。This embodiment of the present invention can first determine whether a scanning device exists in the preset scanning area before displaying the code identification, and display the code identification only when there is a scanning device in the preset scanning area, so as to realize that the code identification is only displayed to the scanning device, reducing The probability of displaying the code identification to other illegal devices improves the security of the code identification display.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.

图1为本申请实施例提供的一种码标识显示方法的流程图;1 is a flowchart of a method for displaying a code identification provided by an embodiment of the present application;

图2为本申请实施例提供的一种码标识显示装置的结构图;2 is a structural diagram of a code identification display device provided by an embodiment of the present application;

图3为本申请实施例提供的一种电子设备的结构图。FIG. 3 is a structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

目前,在用户通过智能手机出示二维码给对应的商家完成身份认证或支付等功能过程中,如果被其它设备远距离扫码就可能造成个人信息泄露或者财产损失,为此,本申请实施例提供了一种码标识显示方法、装置、电子设备及存储介质。At present, when a user presents a QR code to a corresponding merchant through a smartphone to complete functions such as identity authentication or payment, if the code is scanned by other devices from a distance, personal information may be leaked or property damage may be caused. For this reason, the embodiments of the present application Provided are a code identification display method, device, electronic device and storage medium.

该码标识显示方法可以应用于用户终端中,用户终端内可以设置距离检测传感器和摄像头等,如图1所示,码标识显示方法可以包括以下步骤:The code identification display method can be applied to a user terminal, and a distance detection sensor and a camera can be set in the user terminal. As shown in FIG. 1 , the code identification display method may include the following steps:

步骤S101,确定是否检测到显示码标识的触发事件;Step S101, determining whether a trigger event of the display code identification is detected;

系统可以一直在监控所有app页面的显示内容和退出,当用户操作app展示支付页面或者认证页面等需要展示码标识,以供其它扫描设备读取时,可以确定检测到显示码标识的触发事件。The system can always monitor the display content and exit of all app pages. When the user operates the app to display the payment page or authentication page, etc. and needs to display the code identification for other scanning devices to read, it can determine that the triggering event of the display code identification is detected.

步骤S102,若检测到生成码标识的触发事件,显示不包含所述码标识的界面;Step S102, if the triggering event of the generated code identification is detected, an interface that does not contain the code identification is displayed;

本发明实施例中,可以在码标识上方添加用于遮挡码标识的蒙层,显示蒙层的界面,也可以直接显示其它内容,如与码标识无关的图片、视频、文字等等。In the embodiment of the present invention, a mask layer for blocking the code mark can be added above the code mark, and the interface of the mask layer can be displayed, and other contents can also be directly displayed, such as pictures, videos, texts, etc. unrelated to the code mark.

步骤S103,检测预设扫描区域内是否存在扫描设备;Step S103, detecting whether there is a scanning device in the preset scanning area;

可以预先设置预设扫描区域,用以检测扫描设备的位置是否符合显示码标识的条件,预设扫描区域可以是与用户终端之间的间隔距离位于预设距离范围内且扫描设备与用户终端之间的夹角位于预设夹角范围的区域,扫描设备与用户终端之间的夹角可以指扫描设备的扫描窗口的中心与用户终端的屏幕的中心的连线,与垂直于用户终端的屏幕的直线之间的夹角。A preset scanning area can be set in advance to detect whether the position of the scanning device meets the conditions for displaying the code identification. The included angle between the scanning device and the user terminal is located in the area of the preset included angle range. the angle between the lines.

预设距离范围例如可以为5cm-50cm,预设夹角范围例如可以为15度~30度。The preset distance range may be, for example, 5cm-50cm, and the preset angle range may be, for example, 15 degrees to 30 degrees.

若在预设扫描区域内不存在所述扫描设备,显示不包含所述码标识的界面。也就是说,若在预设扫描区域内未检测到扫描设备,则可以认为此刻用户终端距离扫描设备过远,当前用户终端的位置可能存在码标识被盗刷的风险,所以可以显示不包含码标识的界面。If the scanning device does not exist in the preset scanning area, an interface that does not include the code identification is displayed. That is to say, if the scanning device is not detected in the preset scanning area, it can be considered that the user terminal is too far away from the scanning device at this moment, and the current position of the user terminal may have the risk of the code identification being stolen and swiped, so the display does not contain the code. Identified interface.

步骤S104,若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。Step S104, if the scanning device exists in the preset scanning area, display an interface including the code identifier.

若在预设扫描区域内检测到扫描设备,可以直接显示码标识,以便于扫描设备扫描。If the scanning device is detected in the preset scanning area, the code identification can be displayed directly, which is convenient for the scanning device to scan.

本发明实施例通过首先确定是否检测到显示码标识的触发事件,若检测到生成码标识的触发事件,显示不包含所述码标识的界面,再检测预设扫描区域内是否存在扫描设备,若在预设扫描区域内存在所述扫描设备,可以显示包含所述码标识的界面。The embodiment of the present invention firstly determines whether a trigger event for displaying a code identifier is detected, and if a trigger event for generating a code identifier is detected, an interface that does not contain the code identifier is displayed, and then it is detected whether there is a scanning device in the preset scanning area. The scanning device exists in the preset scanning area, and an interface including the code identification can be displayed.

本发明实施例能够在显示码标识前,首先判断是否预设扫描区域内存在扫描设备,只有在预设扫描区域内存在扫描设备时,才显示码标识,实现码标识只展示给扫描设备,减小码标识展示给其他非法设备的概率,提高码标识显示的安全性。The embodiment of the present invention can first determine whether a scanning device exists in the preset scanning area before displaying the code identification, and display the code identification only when there is a scanning device in the preset scanning area, so as to realize that the code identification is only displayed to the scanning device, reducing The probability that the small code logo is displayed to other illegal devices improves the security of the code logo display.

在本发明的又一实施例中,步骤S103检测预设扫描区域内是否存在扫描设备,包括:In yet another embodiment of the present invention, step S103 detects whether there is a scanning device in the preset scanning area, including:

201,检测是否存在与自身之间的间隔距离位于预设距离范围内的扫描设备;201. Detect whether there is a scanning device with a separation distance from itself within a preset distance range;

在该步骤中,可以检测自身与扫描设备之间的间隔距离,然后将所述间隔距离与所述预设距离范围的最大边界值与最小边界值比较,若所述间隔距离大于所述最小边界值且小于所述最大边界值,确定存在与自身之间的间隔距离位于预设距离范围内的扫描设备。In this step, the separation distance between itself and the scanning device can be detected, and then the separation distance can be compared with the maximum boundary value and the minimum boundary value of the preset distance range. If the separation distance is greater than the minimum boundary If the value is smaller than the maximum boundary value, it is determined that there is a scanning device with a separation distance from itself within a preset distance range.

在本发明的一种实施方式中,检测自身与扫描设备之间的间隔距离,包括:控制距离检测传感器发射第一探测信号,接收所述第一探测信号遇到障碍物后返回的第一回波信号,基于所述第一探测信号和所述第一回波信号计算所述间隔距离。In an embodiment of the present invention, detecting the distance between itself and the scanning device includes: controlling the distance detection sensor to transmit a first detection signal, and receiving the first detection signal to return after encountering an obstacle. wave signal, and the separation distance is calculated based on the first detection signal and the first echo signal.

其中,距离检测传感器可以指红外测距传感器或者超声波测距传感器等。The distance detection sensor may refer to an infrared ranging sensor or an ultrasonic ranging sensor or the like.

在本发明的另一种实施方式中,检测自身与扫描设备之间的间隔距离,包括:获取前置摄像头采集的采集图像;若在所述采集图像中识别到扫描设备,获取所述采集图像中所述扫描设备的扫描窗口的窗口图像尺寸;基于所述扫描设备的扫描窗口的窗口实际尺寸及预设的尺寸距离对应关系,计算与所述窗口图像尺寸对应的实际距离,将所述实际距离确定为所述间隔距离。In another embodiment of the present invention, detecting the separation distance between itself and the scanning device includes: acquiring a captured image captured by a front-facing camera; if a scanning device is identified in the captured image, acquiring the captured image The window image size of the scanning window of the scanning device described in the above; based on the actual size of the window of the scanning window of the scanning device and the preset size-distance correspondence, the actual distance corresponding to the window image size is calculated, and the actual distance corresponding to the window image size is calculated. The distance is determined as the separation distance.

本发明实施例中,可以预先收集市面上现存的各种扫描设备的扫描窗口的尺寸,如:可以预先获取多个型号的扫描设备的扫描窗口的窗口尺寸,保存在数据集中,也可以在使用过程中,在检测到扫描设备与数据集中的扫描设备均不同时,联网从网络中获取该扫描设备的扫描窗口的尺寸,再将获取到的尺寸添加到数据集中等等,以便不断更新丰富数据集,始终能够找到每个扫描设备的扫描设备的尺寸。In this embodiment of the present invention, the size of the scanning window of various scanning devices on the market can be collected in advance. For example, the window size of the scanning window of multiple types of scanning devices can be obtained in advance, stored in the data set, and can also be used in During the process, when it is detected that the scanning device is different from the scanning device in the data set, the network obtains the size of the scanning window of the scanning device from the network, and then adds the obtained size to the data set, etc., so as to continuously update the rich data. Set, always be able to find the size of the scanning device for each scanning device.

而且,可以预先设置不同窗口尺寸的扫描窗口与用户设备在不同实际距离时,在用户终端拍摄的采集图像中的窗口图像尺寸,进而,可以根据本次采集的采集图像中窗口图像尺寸及该对应关系计算得到间隔距离。Moreover, when the scanning windows of different window sizes are at different actual distances from the user equipment, the window image size in the captured image captured by the user terminal can be preset, and further, the window image size in the captured image captured this time and the corresponding The relationship is calculated to get the separation distance.

202,若存在与自身之间的间隔距离位于预设距离范围内的扫描设备,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备;202, if there is a scanning device with an interval distance between itself and itself within a preset distance range, detect whether there is a scanning device with an included angle with itself within a preset included angle range;

在本发明实施例中,可以首先获取前置摄像头采集的采集图像,然后在所述采集图像中检测扫描设备的扫描窗口的图像区域,若所述图像区域占所述采集图像的面积的比例超过预设面积阈值,确定存在与自身之间的夹角位于预设夹角范围内的扫描设备。In this embodiment of the present invention, the captured image captured by the front camera may be acquired first, and then the image area of the scanning window of the scanning device is detected in the captured image. If the ratio of the image area to the area of the captured image exceeds The preset area threshold is used to determine that there is a scanning device whose included angle with itself is within the preset included angle range.

在扫描窗口的图像区域占采集图像总面积的比例超过预设面积阈值,则可以认为是扫描设备的扫描窗口向用户终端的屏幕投影,若投影面积超过预设面积阈值,则可以确定存在与用户终端自身之间的夹角位于预设夹角范围内的扫描设备。If the proportion of the image area of the scanning window to the total area of the captured image exceeds the preset area threshold, it can be considered that the scanning window of the scanning device is projected onto the screen of the user terminal. A scanning device in which the angle between the terminals themselves is within a preset angle range.

203,若存在与自身之间的夹角位于预设夹角范围内的扫描设备,确定在预设扫描区域内存在所述扫描设备。203. If there is a scanning device with an included angle with itself within a preset included angle range, determine that the scanning device exists in the preset scanning area.

本发明实施例能够通过距离判断及夹角判断,确定是否在预设扫描区域内存在扫描设备,实现准确的检测需要扫描的场景的目的,进而便于准确确定何时显示码标识。The embodiment of the present invention can determine whether there is a scanning device in the preset scanning area through distance judgment and angle judgment, so as to achieve the purpose of accurately detecting the scene to be scanned, thereby facilitating accurate determination of when to display the code mark.

在本发明的又一实施例中,还提供一种码标识显示装置,如图2所示,包括:In yet another embodiment of the present invention, a code identification display device is also provided, as shown in FIG. 2 , comprising:

第一检测模块11,用于确定是否检测到显示码标识的触发事件;The first detection module 11 is used to determine whether the trigger event of the display code identification is detected;

第一显示模块12,用于若检测到生成码标识的触发事件,显示不包含所述码标识的界面;The first display module 12 is used to display an interface that does not contain the code identification if the trigger event of the generated code identification is detected;

第二检测模块13,用于检测预设扫描区域内是否存在扫描设备;The second detection module 13 is used to detect whether there is a scanning device in the preset scanning area;

第二显示模块14,用于若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。The second display module 14 is configured to display an interface including the code identifier if the scanning device exists in the preset scanning area.

可选地,所述第二检测模块包括:Optionally, the second detection module includes:

第一检测单元,用于检测是否存在与自身之间的间隔距离位于预设距离范围内的扫描设备;a first detection unit, configured to detect whether there is a scanning device with an interval distance from itself within a preset distance range;

第二检测单元,用于若存在与自身之间的间隔距离位于预设距离范围内的扫描设备,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备;a second detection unit, configured to detect whether there is a scanning device with an included angle between itself and a scanning device within a preset included angle range if there is a scanning device with a separation distance between itself and itself within a preset distance range;

确定单元,用于若存在与自身之间的夹角位于预设夹角范围内的扫描设备,确定在预设扫描区域内存在所述扫描设备。The determining unit is configured to determine that the scanning device exists in the preset scanning area if there is a scanning device whose included angle with itself is within a preset included angle range.

可选地,所述第一检测单元包括:Optionally, the first detection unit includes:

第一检测子单元,用于检测自身与扫描设备之间的间隔距离;The first detection subunit is used to detect the separation distance between itself and the scanning device;

比较子单元,用于将所述间隔距离与所述预设距离范围的最大边界值与最小边界值比较;a comparison subunit for comparing the separation distance with the maximum boundary value and the minimum boundary value of the preset distance range;

第一确定子单元,用于若所述间隔距离大于所述最小边界值且小于所述最大边界值,确定存在与自身之间的间隔距离位于预设距离范围内的扫描设备。A first determination subunit, configured to determine that there is a scanning device with a separation distance from itself within a preset distance range if the separation distance is greater than the minimum boundary value and smaller than the maximum boundary value.

可选地,所述第一检测子单元还用于:Optionally, the first detection subunit is also used for:

控制距离检测传感器发射第一探测信号;controlling the distance detection sensor to emit a first detection signal;

接收所述第一探测信号遇到障碍物后返回的第一回波信号;receiving a first echo signal returned after the first detection signal encounters an obstacle;

基于所述第一探测信号和所述第一回波信号计算所述间隔距离。The separation distance is calculated based on the first detection signal and the first echo signal.

可选地,所述第一检测子单元还用于:Optionally, the first detection subunit is also used for:

获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera;

若在所述采集图像中识别到扫描设备,获取所述采集图像中所述扫描设备的扫描窗口的窗口图像尺寸;If the scanning device is identified in the captured image, acquiring the window image size of the scanning window of the scanning device in the captured image;

基于所述扫描设备的扫描窗口的窗口实际尺寸及预设的尺寸距离对应关系,计算与所述窗口图像尺寸对应的实际距离;Calculate the actual distance corresponding to the image size of the window based on the actual window size of the scanning window of the scanning device and the preset size-distance correspondence;

将所述实际距离确定为所述间隔距离。The actual distance is determined as the separation distance.

可选地,所述第二检测单元包括:Optionally, the second detection unit includes:

获取子单元,用于获取前置摄像头采集的采集图像;an acquisition sub-unit for acquiring the captured image captured by the front camera;

第二检测子单元,用于在所述采集图像中检测扫描设备的扫描窗口的图像区域;a second detection subunit, configured to detect the image area of the scanning window of the scanning device in the captured image;

第二确定子单元,用于若所述图像区域占所述采集图像的面积的比例超过预设面积阈值,确定存在与自身之间的夹角位于预设夹角范围内的扫描设备。The second determination subunit is configured to determine that there is a scanning device whose included angle with itself is within a preset included angle range if the ratio of the image area to the area of the captured image exceeds a preset area threshold.

可选地,所述装置还包括:Optionally, the device further includes:

界面显示模块,用于若在预设扫描区域内不存在所述扫描设备,显示不包含所述码标识的界面。The interface display module is configured to display an interface that does not contain the code identification if the scanning device does not exist in the preset scanning area.

在本发明的又一实施例中,还提供一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In yet another embodiment of the present invention, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现前述任一方法实施例所述的码标识显示方法。The processor is configured to implement the code identification display method described in any of the foregoing method embodiments when executing the program stored in the memory.

本发明实施例提供的电子设备,处理器通过执行存储器上所存放的程序实现了通过首先确定是否检测到显示码标识的触发事件,若检测到生成码标识的触发事件,显示不包含所述码标识的界面,再检测预设扫描区域内是否存在扫描设备,若在预设扫描区域内存在所述扫描设备,可以显示包含所述码标识的界面。In the electronic device provided by the embodiment of the present invention, by executing the program stored in the memory, the processor first determines whether a trigger event of the display code identifier is detected. If the trigger event of the generated code identifier is detected, the display does not contain the Then, it is detected whether there is a scanning device in the preset scanning area. If the scanning device exists in the preset scanning area, an interface including the code identification can be displayed.

本发明实施例能够在显示码标识前,首先判断是否预设扫描区域内存在扫描设备,只有在预设扫描区域内存在扫描设备时,才显示码标识,实现码标识只展示给扫描设备,减小码标识展示给其他非法设备的概率,提高码标识显示的安全性。This embodiment of the present invention can first determine whether a scanning device exists in the preset scanning area before displaying the code identification, and display the code identification only when there is a scanning device in the preset scanning area, and realize that the code identification is only displayed to the scanning device, reducing the The probability that the small code logo is displayed to other illegal devices improves the security of the code logo display.

上述电子设备提到的通信总线1140可以是外设部件互连标准(PeripheralComponentInterconnect,简称PCI)总线或扩展工业标准结构(ExtendedIndustryStandardArchitecture,简称EISA)总线等。该通信总线1140可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA for short) bus or the like. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.

通信接口1120用于上述电子设备与其他设备之间的通信。The communication interface 1120 is used for communication between the above electronic device and other devices.

存储器1130可以包括随机存取存储器(RandomAccessMemory,简称RAM),也可以包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory 1130 may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

上述的处理器1110可以是通用处理器,包括中央处理器(CentralProcessingUnit,简称CPU)、网络处理器(NetworkProcessor,简称NP)等;还可以是数字信号处理器(DigitalSignalProcessing,简称DSP)、专用集成电路(ApplicationSpecificIntegratedCircuit,简称ASIC)、现场可编程门阵列(Field-ProgrammableGateArray,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor 1110 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (NetworkProcessor, NP for short), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP), an application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC for short), Field-Programmable Gate Array (Field-ProgrammableGateArray, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

在本发明的又一实施例中,还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有码标识显示方法的程序,所述码标识显示方法的程序被处理器执行时实现前述任一方法实施例所述的码标识显示方法的步骤。In yet another embodiment of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium stores a program of a code identification display method, and when the program of the code identification display method is executed by a processor Implement the steps of the code identification display method described in any of the foregoing method embodiments.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these Any such actual relationship or sequence exists between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims (10)

1.一种码标识显示方法,其特征在于,包括:1. a code identification display method, is characterized in that, comprises: 确定是否检测到显示码标识的触发事件;Determine whether the trigger event of the display code identification is detected; 若检测到生成码标识的触发事件,显示不包含所述码标识的界面;If the trigger event of the generated code identification is detected, an interface that does not contain the code identification is displayed; 检测预设扫描区域内是否存在扫描设备;Detect whether there is a scanning device in the preset scanning area; 若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。If the scanning device exists in the preset scanning area, an interface including the code identification is displayed. 2.根据权利要求1所述的码标识显示方法,其特征在于,检测预设扫描区域内是否存在扫描设备,包括:2. The code identification display method according to claim 1, wherein detecting whether there is a scanning device in the preset scanning area comprises: 检测是否存在与自身之间的间隔距离位于预设距离范围内的扫描设备;Detect whether there is a scanning device with a separation distance from itself within a preset distance range; 若存在与自身之间的间隔距离位于预设距离范围内的扫描设备,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备;If there is a scanning device whose separation distance from itself is within the preset distance range, detect whether there is a scanning device whose included angle with itself is within the preset included angle range; 若存在与自身之间的夹角位于预设夹角范围内的扫描设备,确定在预设扫描区域内存在所述扫描设备。If there is a scanning device whose included angle with itself is within a preset included angle range, it is determined that the scanning device exists in the preset scanning area. 3.根据权利要求2所述的码标识显示方法,其特征在于,检测是否存在与自身之间的距离位于预设距离范围内的扫描设备,包括:3. The code identification display method according to claim 2, wherein detecting whether there is a scanning device with a distance from itself within a preset distance range, comprising: 检测自身与扫描设备之间的间隔距离;Detect the distance between itself and the scanning device; 将所述间隔距离与所述预设距离范围的最大边界值与最小边界值比较;comparing the separation distance with the maximum boundary value and the minimum boundary value of the preset distance range; 若所述间隔距离大于所述最小边界值且小于所述最大边界值,确定存在与自身之间的间隔距离位于预设距离范围内的扫描设备。If the separation distance is greater than the minimum boundary value and smaller than the maximum boundary value, it is determined that there is a scanning device whose separation distance from itself is within a preset distance range. 4.根据权利要求3所述的码标识显示方法,其特征在于,检测自身与扫描设备之间的间隔距离,包括:4. code identification display method according to claim 3, is characterized in that, detecting the interval distance between self and scanning device, comprises: 控制距离检测传感器发射第一探测信号;controlling the distance detection sensor to emit a first detection signal; 接收所述第一探测信号遇到障碍物后返回的第一回波信号;receiving a first echo signal returned after the first detection signal encounters an obstacle; 基于所述第一探测信号和所述第一回波信号计算所述间隔距离。The separation distance is calculated based on the first detection signal and the first echo signal. 5.根据权利要求3所述的码标识显示方法,其特征在于,检测自身与扫描设备之间的间隔距离,包括:5. code identification display method according to claim 3, is characterized in that, detecting the interval distance between self and scanning device, comprises: 获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera; 若在所述采集图像中识别到扫描设备,获取所述采集图像中所述扫描设备的扫描窗口的窗口图像尺寸;If the scanning device is identified in the captured image, obtain the window image size of the scanning window of the scanning device in the captured image; 基于所述扫描设备的扫描窗口的窗口实际尺寸及预设的尺寸距离对应关系,计算与所述窗口图像尺寸对应的实际距离;Calculate the actual distance corresponding to the image size of the window based on the actual window size of the scanning window of the scanning device and the preset size-distance correspondence; 将所述实际距离确定为所述间隔距离。The actual distance is determined as the separation distance. 6.根据权利要求2所述的码标识显示方法,其特征在于,检测是否存在与自身之间的夹角位于预设夹角范围内的扫描设备,包括:6. The code identification display method according to claim 2, wherein detecting whether there is a scanning device with an included angle with itself within a preset included angle range, comprising: 获取前置摄像头采集的采集图像;Obtain the captured image captured by the front camera; 在所述采集图像中检测扫描设备的扫描窗口的图像区域;detecting an image area of a scan window of the scanning device in the acquired image; 若所述图像区域占所述采集图像的面积的比例超过预设面积阈值,确定存在与自身之间的夹角位于预设夹角范围内的扫描设备。If the ratio of the image area to the area of the captured image exceeds a preset area threshold, it is determined that there is a scanning device with an included angle between itself and itself within a preset included angle range. 7.根据权利要求1所述的码标识显示方法,其特征在于,所述方法还包括:7. The code identification display method according to claim 1, wherein the method further comprises: 若在预设扫描区域内不存在所述扫描设备,显示不包含所述码标识的界面。If the scanning device does not exist in the preset scanning area, an interface that does not include the code identification is displayed. 8.一种码标识显示装置,其特征在于,包括:8. A code identification display device, characterized in that, comprising: 第一检测模块,用于确定是否检测到显示码标识的触发事件;The first detection module is used to determine whether to detect the trigger event of the display code identification; 第一显示模块,用于若检测到生成码标识的触发事件,显示不包含所述码标识的界面;a first display module, configured to display an interface that does not contain the code identification if a trigger event for generating a code identification is detected; 第二检测模块,用于检测预设扫描区域内是否存在扫描设备;The second detection module is used to detect whether there is a scanning device in the preset scanning area; 第二显示模块,用于若在预设扫描区域内存在所述扫描设备,显示包含所述码标识的界面。The second display module is configured to display an interface including the code identifier if the scanning device exists in the preset scanning area. 9.一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;9. An electronic device, characterized in that it comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 存储器,用于存放计算机程序;memory for storing computer programs; 处理器,用于执行存储器上所存放的程序时,实现权利要求1~7任一所述的码标识显示方法。The processor is configured to implement the code identification display method according to any one of claims 1 to 7 when executing the program stored in the memory. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有码标识显示方法的程序,所述码标识显示方法的程序被处理器执行时实现权利要求1-7任一所述的码标识显示方法的步骤。10. A computer-readable storage medium, characterized in that, a program of a code identification display method is stored on the computer-readable storage medium, and claims 1-7 are realized when the program of the code identification display method is executed by a processor Any of the steps of the code identification display method.
CN202111592220.4A 2021-12-23 2021-12-23 A code identification display method, device, electronic device and storage medium Pending CN114282561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111592220.4A CN114282561A (en) 2021-12-23 2021-12-23 A code identification display method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111592220.4A CN114282561A (en) 2021-12-23 2021-12-23 A code identification display method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114282561A true CN114282561A (en) 2022-04-05

Family

ID=80874711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111592220.4A Pending CN114282561A (en) 2021-12-23 2021-12-23 A code identification display method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114282561A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160147994A1 (en) * 2014-11-20 2016-05-26 Alibaba Group Holding Limited Method and apparatus for displaying information
CN106557711A (en) * 2016-11-04 2017-04-05 深圳大学 The screen privacy guard method of mobile terminal device and system
CN110458563A (en) * 2019-08-09 2019-11-15 Oppo(重庆)智能科技有限公司 Display interface treating method and apparatus, electronic equipment, readable storage medium storing program for executing
CN111833045A (en) * 2020-07-10 2020-10-27 苏宁金融科技(南京)有限公司 Method and device for preventing payment code from being embezzled
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN112734416A (en) * 2019-10-14 2021-04-30 华为技术有限公司 Secure payment method and mobile terminal
CN112837057A (en) * 2019-11-22 2021-05-25 华为技术有限公司 Method for preventing payment code from being stolen, terminal equipment and computer readable storage medium
CN113643024A (en) * 2021-07-06 2021-11-12 阿里巴巴新加坡控股有限公司 Graphic code processing method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160147994A1 (en) * 2014-11-20 2016-05-26 Alibaba Group Holding Limited Method and apparatus for displaying information
CN106557711A (en) * 2016-11-04 2017-04-05 深圳大学 The screen privacy guard method of mobile terminal device and system
CN110458563A (en) * 2019-08-09 2019-11-15 Oppo(重庆)智能科技有限公司 Display interface treating method and apparatus, electronic equipment, readable storage medium storing program for executing
CN112734416A (en) * 2019-10-14 2021-04-30 华为技术有限公司 Secure payment method and mobile terminal
CN112837057A (en) * 2019-11-22 2021-05-25 华为技术有限公司 Method for preventing payment code from being stolen, terminal equipment and computer readable storage medium
CN111833045A (en) * 2020-07-10 2020-10-27 苏宁金融科技(南京)有限公司 Method and device for preventing payment code from being embezzled
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN113643024A (en) * 2021-07-06 2021-11-12 阿里巴巴新加坡控股有限公司 Graphic code processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10169671B2 (en) Face detection with temperature and distance validation
KR102195303B1 (en) Method and apparatus for displaying information
CN109190539B (en) Face recognition method and device
US11093773B2 (en) Liveness detection method, apparatus and computer-readable storage medium
RU2643473C2 (en) Method and tools for fingerprinting identification
JP6392991B2 (en) Spatial parameter identification method, apparatus, program, recording medium, and terminal device using image
US20180012094A1 (en) Spoofing attack detection during live image capture
CN106934320B (en) Fingerprint identification method and device
US20150261997A1 (en) Apparatus and method for recognizing image
CN105049709B (en) A kind of big visual angle camera control method and user terminal
CN207264409U (en) The testimony of a witness veritifies device
US20130308835A1 (en) Mobile Communication Device with Image Recognition and Method of Operation Therefor
CN113780212A (en) User identity verification method, device, equipment and storage medium
CN113379999A (en) Fire detection method and device, electronic equipment and storage medium
US10838601B2 (en) Processing method and terminal
CN112989299A (en) Interactive identity recognition method, system, device and medium
JP7029732B2 (en) Vehicle number recognition device that analyzes multiple frames that make up the license plate image and recognizes the vehicle number.
US20200051276A1 (en) Fingerprint image enhancement method and fingerprint image module
WO2020119315A1 (en) Face acquisition method and related product
CN114282561A (en) A code identification display method, device, electronic device and storage medium
CN105929969B (en) A kind of method and mobile terminal of display interface switching
US20170006212A1 (en) Device, system and method for multi-point focus
CN112650379B (en) Activation method and device, electronic device and computer-readable storage medium
CN111611470A (en) A data processing method, device and electronic device
CN111985305A (en) Privacy screen method, device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220405

RJ01 Rejection of invention patent application after publication